why we need CSS for styling texts ,as we can do this in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why we need CSS for styling texts ,as we can do this in HTML

21st Nov 2016, 1:28 PM
PAWAN KUMAR
PAWAN KUMAR - avatar
4 Answers
+ 1
since you can target large groups it is much more effective. it is also easier.
21st Nov 2016, 1:41 PM
NICKALL [EP]
NICKALL [EP] - avatar
+ 1
in html there are only few styles like color font or bolditalicunderline that can be done more styles we need CSS also it has to be done on all elements all sections and all webpage which is not in CSS we can quickly improve styles by modifying the CSS code it is difficult in html
21st Nov 2016, 2:18 PM
Sandeep Chatterjee
0
It's easier and can target groups of text / images / graphics, instead of just one section at a time.
21st Nov 2016, 1:32 PM
Samuel Neo
Samuel Neo - avatar
0
I like to have a "clean" code, and it would be a mess if I have to apply the same style to the same element over and over again. It's easier to have one CSS file for multiple HTML files.
21st Nov 2016, 8:32 PM
Miller Santos (Goy)
Miller Santos (Goy) - avatar