Why would you use class in Html to define italics when you could just use <I> ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why would you use class in Html to define italics when you could just use <I> ?

22nd Mar 2016, 11:52 AM
Menelik Simpson
Menelik Simpson - avatar
4 Answers
0
You probably know this by now but for others who have the same question... Using <i> is putting the style in-line with the text making changes to that text more difficult (impossible?) if you wanted to add a class later. Using <i> also only changes one place.
5th Apr 2016, 11:29 AM
Craig
0
Italic tag use inline with html file. Recommended using italic with css so it more efficient
1st Jul 2016, 10:09 AM
Rohmat S
0
you can use any time class italic.
6th Jul 2016, 2:31 PM
Rezaul Karim
Rezaul Karim - avatar
0
The whole idea is to have a consistent look in a web page that can easily be changed or if you prefer updated.
13th Sep 2016, 8:04 PM
Boris Ferguson
Boris Ferguson - avatar