HTML Text Formatting
HTML provides a range of tags that can be used to format text on a web page.
Following is the list of HTML formatting text.
Following is the list of HTML formatting text.
- <b> - Text is Bold
- <strong> - Text is Important
- <mark> - Text is Marked
- <i> - Text is Italic
- <em> - Text is Emphasized
- <big> - Text is bigger
- <small> -Text is Smaller
- <del> - Text is Deleted
- <u> - Text is underlined
- <ins> - Text is Inserted
- <sub> - Text is Subscript
- <sup> - Text is Superscript
HTML <b> Element
Used to make text bold.
You can use a style font-weight to make it bold.
You can use a style font-weight to make it bold.
Example
<p>Text becomes <b>bold</b></p>
<p>Text becomes <span style="font-weight:bold">bold</span></p>
HTML <strong> Element
Used to indicate that the text is important.
A strong tag is the same as a bold tag.
A strong tag is the same as a bold tag.
HTML <mark> Element
Used to make text highlighted.
HTML <i> Element
Used to make the text italic.
HTML <em> Element
Used to make text emphasized and italic.
HTML <big> Element
Used to make text bigger than normal.
HTML <small> Element
Used to make text smaller than normal.
HTML <del> Element
Used to indicate that a section of text has been deleted or removed from a document.
HTML <ins> Element
Used to indicate a section of text has been inserted or added to a html page.
HTML <u> Element
Used to underline a text.
HTML <sub> Element
Used to make the text appear below the normal text in a smaller size.
HTML <sup> Element
Used to make the text appear above the normal text in a smaller.
Quick Recap
Topics Covered
<b>, <stong> and <mark> tags
<i> and <em> tags
<big> and <small> tags
<del>, <ins> and <u> tags
<sup> and <sub> tags
Practice With Examples in Compilers
The Concepts and codes you leart practice in Compilers till you are confident of doing on your own. A Various methods of examples, concepts, codes availble in our websites. Don't know where to start Down some code examples are given for this page topic use the code and compile or Try on own Now
Example 1
Example 1
Example 2
Example 3
Example 4
Example 5