Paragraphs
Within HTML, a paragraph will be created whenever text in between the tags is actually inserted.
<body>
<p>This is my first HTML page.</p>
</body>
Online browsers don't pay any attention to how many blank lines that are place in the text; they only look closely at the HTML tags. Should the text in the Site reaches the edge in the browser window, it automatically continues for the next line regardless of the place that the <p> is located.
<p>This is the first line.
But is this the second?</p>
<p>No, this is.</p>
Line break
The actual line break tag <br /> forces the browser to advance any text following the tag on the next line of the browser, without adding a blank line in between.<p> This is the first line.<br/> Line break forces this line to start at a new line.
</p>
Text Emphasis
For you to quickly apply some typical formats, such as boldface in addition to italic, HTML has a predefined list of tags. All these tags occur in pairs (corresponding cracking open and closing tags) and must surround the text likely emphasizing.| Tag | Usage |
| <big> | Specifying large text |
| <small> | Specifying small text |
| <i> | Specifying text in italics |
| <b> | Specifying bold text. |
| <tt> | Used for rendering teletype (or monospaced) text. |
| <em> | Used for indicating emphasis |
| <strong> | The HTML strong tag is used for indicating stronger emphasis than the <em> tag. |
| <s> | Used for rendering a strike (or line) through the middle of the text. |
<body>
<p>Make your text one size larger with the
<big>big tag.</big></p><p>Try the <b>bold tag</b> or the <strong>strong tag</strong>
to make an impact.</p><p>The <i>italics tag</i> and the <em>emphasis tag</em>
create a different impact.</p>
<p>Use the <tt>teletype tag</tt> to imitate a typewriter.</p>
<p>Make your text one size smaller with the
<small>small tag.</small></p></body>
Headings
For formatting a web site page, HTML provides six diverse heading tags to your pages with the tags <h1><h6>. The final heading tags also produce an automatic paragraph bust. HTML's Heading 4 may be the same size as typical text.<h1>This is Heading 1</h1>
Math and Science Notations
HTML DOCUMENT does give two tags that will simple equations using <sup> in addition to <sub> tags.
| A<sup>2</sup> + B<sup>2</sup> = C<sup>2</sup> | A2+ B2 = C2 |
| CO<sub>2</sub> = Carbon Dioxide | CO2 = Carbon Dioxide |
| In HTML | The Browser Displays |
Blockquote
Your <blockquote> tag defines some quotation. A browser walkfit platinum shoe inserts white space before plus after a blockquote feature. It also inserts margins for the blockquote element.<blockquote>
Here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation.
</blockquote>
No comments:
Post a Comment