Friday, October 1, 2010

HTML - Formatting



TagDescription
<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

Send your Design, Code or any other Creations to qualitypointmail@gmail.com for showing them here. You can mention your contact details(email id, phone) also

If you are an Expert, you can give review comments or feedback to show your skills

This blog will help you to get more opportunities as this blog will be linked to our other blogs and sites which attract more visitors.

A Good Beginning Is Half Done

Start Freelancing