Is it better to style nothing at all in you html code (<b>,<strong>,location) and use css for that. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it better to style nothing at all in you html code (<b>,<strong>,location) and use css for that.

5th Nov 2018, 3:31 AM
Damian Casu
Damian Casu - avatar
3 Answers
+ 1
Generally speaking, yes. This would be best practice. This helps reserve the higher specificity levels for overriding any cascading that seems to be misbehaving. Further reading: https://css-tricks.com/specifics-on-css-specificity/
5th Nov 2018, 5:22 AM
Janning⭐
Janning⭐ - avatar
0
Html is for the content, css for style. It is better.
5th Nov 2018, 5:21 AM
Björn Thomsen
Björn Thomsen - avatar
0
Yes
19th Dec 2018, 8:43 AM
Okwara Chidozie
Okwara Chidozie - avatar