Text Formatting Tags
- The choice is all yours, wherever you want you can use as per your need
- Tags are:
<b>, <big>, <del>, <i>, <ins>, <sup>, <sub>, <small>, <strong>, <u>
Tag:
- label_outlineBold Tag
<b>
<!DOCTYPE html> <html> <head><title>Bold Tag Example</title></head> <body> <p><b>I am inside bold tag</b> and am not inside bold tag</p> </body> </html>
Output:
I am inside bold tag and am not inside bold tag
- Used to provide Bold Appearance to your text
- label_outlineItalic Tag
<i>
<!DOCTYPE html> <html> <head><title>Italic Tag Example</title></head> <body> <p><i>I am inside Italic tag</i> and am not inside Italic tag</p> </body> </html>
Output:
I am inside Italic tag and am not inside Italic tag
- Used to provide Italic Appearance to your text
- label_outlineUnderline Tag
<u>
<!DOCTYPE html> <html> <head><title>Underline Tag Example</title></head> <body> <p><u>I am inside Underline tag</u> and am not inside Underline tag</p> </body> </html>
Output:
I am inside Underline tag and am not inside Underline tag
- Used to provide Underline Appearance to your text
- label_outlineBig Tag
<big>
<!DOCTYPE html> <html> <head><title>Big Tag Example</title></head> <body> <p><big>Word inside Big tag</big> and Word not inside Big tag</p> </body> </html>
Output:
Word inside Big tag and Word not inside Big tag
- To make text a Bit Larger than the default text size
- label_outlineSmall Tag
<small>
<!DOCTYPE html> <html> <head><title>Small Tag Example</title></head> <body> <p><small>Word inside Small tag</small> and Word not inside Small tag</p> </body> </html>
Output:
Word inside Small tag and Word not inside Small tag
- To make text a Bit Smaller than the default text size
- label_outlineStrong Tag
<strong>
<!DOCTYPE html> <html> <head><title>Strong Tag Example</title></head> <body> <p><strong>Word inside Strong tag</strong> and Word not inside Strong tag</p> </body> </html>
Output:
Word inside Strong tag and Word not inside Strong tag
- Used for important words used in your text
- label_outlineInsert Tag
<ins>
<!DOCTYPE html> <html> <head><title>Insert Tag Example</title></head> <body> <p><ins>Word inside Insert tag</ins> and Word not inside Insert tag</p> </body> </html>
Output:
Word inside Insert tag and Word not inside Insert tag
- Similar to Underline Tag
- label_outlineDelete Tag
<del>
<!DOCTYPE html> <html> <head><title>Delete Tag Example</title></head> <body> <p><del>Word inside Delete tag</del> and Word not inside Delete tag</p> </body> </html>
Output:
Word inside Delete tagand Word not inside Delete tag- Similar to
Strike Tag, thin line through the text
- Similar to
- label_outlineSuperscript Tag
<sup>
<!DOCTYPE html> <html> <head><title>Superscript Tag Example</title></head> <body> <p><sup>Word inside Superscript tag</sup> and Word not inside Superscript tag</p> </body> </html>
Output:
Word inside Superscript tag and Word not inside Superscript tag
- Mostly used in mathematical terms (like 24=16) ,Hope you Remember that ! 😃
- label_outlineSubscript Tag
<sub>
<!DOCTYPE html> <html> <head><title>Subscript Tag Example</title></head> <body> <p><sub>Word inside Subscript tag</sub> and Word not inside Subscript tag</p> </body> </html>
Output:
Word inside Subscript tag and Word not inside Subscript tag
- Mostly used in Mathematical and Chemistry terms (like: log22=1, H2O) ,Hope you Remember that too !😊
- Tips! Hope,You remember Nested Element, You can use above tags inside each other as per your need
Browsers Supports
Safari | Microsoft Edge | Mozilla Firefox | Chrome | Opera Mini |
Click on the above icon to see the name of the browser !
- Tips! Always try to use latest version of browser