Tag | Description |
---|---|
<i>...</i> | Renders as italic text |
<b>...</b> | Renders as bold text |
<big>...</big> | Renders as bigger text |
<small>...</small> | Renders as smaller text |
<em>...</em> | Renders as emphasized text |
<strong>...</strong> | Renders as strong (highlighted) text |
<dfn>...</dfn> | Defines a definition term |
<code>...</code> | Defines computer code text |
<samp>...</samp> | Defines sample computer code |
<kbd>...</kbd> | Defines keyboard text |
<var>...</var> | Defines a variable part of a text |
<cite>...</cite> | Defines a citation |
<tt>...</tt> | Defines "Typewriter" font |
<pre>...</pre> | Defines preformatted text. |
<sub>...</sub> | Defines subscript text. |
<sup>...</sup> | Defines superscript text. |
<ins>...</ins> | Defines text that has been inserted into a document. |
<del>...</del> | Defines text that has been deleted from a document. |
Horizontal line:
The <hr/> tag creates a horizontal line in an HTML page.It has no end tag.
Line Breaks:
The<br/> element is an empty HTML element. Which is used to put new line.It has no end tag.
Example :
< Html >
< Head >
< Title >Hello HTML</Title>
< /Head >
< Body >
<i>Renders as italic text</i>
<b>Renders as bold text</b>
<big>Renders as bigger text</big>
<small>Renders as smaller text</small>
<em>Renders as emphasized text</em>
<strong>Renders as strong (highlighted) text</strong>
<dfn>Defines a definition term</dfn>
<code>Defines computer code text</code>
<samp>Defines sample computer code</samp>
<kbd>Defines keyboard text</kbd>
<var>Defines a variable part of a text</var>
<cite>Defines a citation</cite>
<tt>Defines "Typewriter" font</tt>
<pre>Defines preformatted text.</pre>
<sub>Defines subscript text</sub>
<sup>Defines superscript text.</sup>
<ins>Defines text that has been inserted into a document.</ins>
<del>Defines text that has been deleted from a document.</del>
</ Body >
< /Html >
RESULT:
No comments:
Post a Comment