HTML Formatting Elements
HTML Formatting Elements
HTML Formatting Elements :
The HTML defines special elements for give format to a text and defining text with a special meaning.
HTML uses elements like <b> and <i> for formatting output and convert to bold or italic text.
Formatting elements are :
<b> - Bold text
<i> - Italic text
<sub> - Subscript text
<sup> - Superscript text
<strong> - Important text
<em> - Emphasized text
<mark> - Marked text
<small> - Small text
<del> - Deleted text
<ins> - Inserted text
<b> - Bold text :
The <b> element use to display text as bold.
Here is an example:
<i> - Italic text
The <i> elements use for text to be displayed as italic.
Here is an example:
<sub> - Subscript text
The <sub> elements use for text to be displayed in smaller characters (subscript).
Here is an example:
<sup> - Superscript text
This <sup> elements use for text to be displayed in smaller characters.
And lifted up from the text base line.
Here is an example:
<strong> - Important text
The <strong> element is used for text to be displayed strong.
The effect of <strong> element is similar to the <b> element.
Here is an example:
<em> - Emphasized text
The <em> element use for text to be displayed as emphasized.
The effect of <em> tag is similar to that of the <i> element.
Here is an example:
<del> - Deleted text
The <del> element use for text as deleted , it means it will be displayed with a line through it.
Here is an example:
Comments
Post a Comment