+ 2
why use this?
Why should we use the css in case of putting something in italic or bold, ... when we can also use html for it like <i> or <b> ?
4 Respostas
+ 17
There is hidden CSS behind those tags that makes them look like this.... ~_~
+ 3
Use of <b>, <i>, and all html styling stuff is strongly discouraged and/or deprecated with Html5 to favour seperation between view and data... We must use Css instead Html to style elements, and Html validator will not validate such codes, and search engines will downranks your web pages ^^
Anyway, Html continue to have permissive behaviour, and browsers are supposed to display web pages as well as they can, in any cases, so they auto-correct invalid codes, but depending on context, the implicit expectation may not be obvious, and in such cases, may vary from one to another: as well as you cannot predict behaviour in most of such cases, it's all the more true for evolution of browsers behaviour in future :P
+ 1
CSS is more than formating text(bold,italic).
u can style whole document and more..
try this https://www.w3schools.com/css/
0
it will be easy to use CSS styling instead of using HTML tags because it prevents a mess that gets created while writing those codes , which would further lead to the hardships of the coder while rechecking his codes. if the coder uses these in different sytle sheets , it would make the work of coder much easier and lead to less mistakes .