We use given below elements to formatting the html.
Italic and Bold: <i> <em> <b> <strong>
Big and Small: <big> <small>
Subscript & Superscript: <sub> <sup>
Inserted & Deleted: <ins> <del>
<i> makes the text italic; <em> does the same thing.
The difference is that <em> emphasises importance
He said <i> I am just going outside and may be some time </i>.
If you don't have a vaccination <em> you may catch malaria and die </em>.
<b> makes the text bold; <strong> does the same thing.
The difference is that <strong> emphasises importance.
She said <b> If you want something said, ask a man; if you want something done, ask a woman </b> .
If you can't repay your mortgage <strong> you may lose your home </strong>.
<u> makes the text underline
The viewer <u> may be confused </u> if you use underline.
Her name is <u> Cheng </u> Sin Ying.
<big> and <small> do exactly what you expect.
However, <big> is not part of the latest HTML standard.
It's dangerous to use <big> big </big> because it isn't part of HTML 5!
I'm embarrassed to say it loudly so here it is: <small> I love you! </small>
<mark> highlights the text
Send us your bank details and you may become a <mark> millionaire </mark>!
<sub> and <sup> are used for offsetting
If x <sub>1 </sub> = 2 and x <sub>2 </sub> = 4 then x <sub> 1 </sub> <sup> 2 </sup> + x <sub> 2 </sub> <sup>3 </sup> equals 68
Some video streaming may use XML1
1 G. Lam & D. Rossiter, 'A Web Service Framework Supporting Multimedia Streaming', IEEE Transactions on Services Computing, 2013
<ins> and <del> are used for showing edits
Let's do this edit: Prof. Rossiter is <ins> </ins> the most intelligent.
Also this: Prof. Rossiter has an <del>
astonishingly </del> old car.
Browser view of the code: