Text Formatting in Html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Text Formatting in Html

Please i need someone to clear this out for me. in text formatting can you use different tags to obtain the same result?? It's said the answer is yes and i am trying to get my head around that. someone should try and explain better please..

6th Oct 2017, 5:19 PM
Ike Daniel
Ike Daniel - avatar
4 Answers
0
In HTML the text can be formatted in many ways with the ability to make text bold, italicized, or underlined , these are few of the option available to indicate how text can appear in HTML .
6th Oct 2017, 5:23 PM
Rishita
Rishita - avatar
0
You can use <strong> as <b>, and <em> as <i>. However, the meanings of these tags differ: <b> and <i> define bold and italic text, respectively, while <strong> and <em> indicate that the text is "important".
6th Oct 2017, 5:24 PM
Rishita
Rishita - avatar
0
Still, <em> and <i> makes the text italic. And, <b> and<strong> makes the text bold. The display appears the same.
6th Oct 2017, 5:25 PM
Rishita
Rishita - avatar
0
Example- Try this: <strong>Strong,</strong> <b>Bold</b><br> <em>Emphasis, </em> <i>Italics</i>
6th Oct 2017, 5:27 PM
Rishita
Rishita - avatar