+ 1
What's the use of CSS if most work of it can be done using HTML tags (like playing with the fonts)?
Till now whatever I have learnt from CSS most of the work I have learn to do with html like font size,color, design....?
3 Antworten
+ 11
A very wide array of styling can only be done with CSS. From linear gradients, borders, shadows, to transitions, animations, etc. Whatever styling techniques you have learnt in HTML is a microscopic portion of CSS.
+ 8
With HTML you can only make the layout of the page. And although you can use some attributes to modify the appearance of an element, that is considered bad practice. It is much better to have a CSS file (or several, depending on the project) where all the styles you need are, that way if you need to make modifications it is easier and the code can be reusable.
+ 2
HTML = content of your page
CSS = style your content
Potentially you can edit all your page by changing only CSS (better if linked in external file) and this keep your html code more cleaner, more easy to update and other things