How do I know where to use HTML and where to use CSS (for the same things like bold text)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do I know where to use HTML and where to use CSS (for the same things like bold text)?

Some text styling could be done both in HTML and CSS. Is there any difference in it? Are there any rules or “good manners” for such things?

16th Nov 2018, 8:20 PM
Darlen Blake
3 Answers
+ 3
Most of the coders says that using inline css isnt a good practice. So always try to use css stylesheets
18th Nov 2018, 3:09 PM
Seniru
Seniru - avatar
+ 2
Use css for designs, square boxes, attractive colours, use html for formal syntax, like content etc
18th Nov 2018, 8:54 AM
VRASHANK RAO M
VRASHANK RAO M - avatar
+ 1
Html is used to prepare the structure of the web page..then u can beautify it by css js jQuery etc..
19th Nov 2018, 1:30 AM
Yasas Sandeepa
Yasas Sandeepa - avatar