+ 3

Why use css

We can use font tag in html to give color to heading to any text so why use css instead of it

30th Jun 2017, 2:11 PM
Shaswat Singh
Shaswat Singh - avatar
11 Answers
+ 3
Styling in your HTML is very messy and unorganized, which is a good enough reason in itself. However, as Cheeze pointed out, the HTML styling has been deprecated in HTML5 because it's poor practice. CSS is organized, and allows you to be able to easily change style from one place instead of having to always go through your code to individual remove/edit styles. As well, you can utilize CSS classes, which is insanely useful. This isn't even taking into consideration all of the amazing extra functionality that CSS provides, such as animation and other such things. Trust me, you'll want to master CSS, and not only that, but you'll love that you did.
30th Jun 2017, 2:29 PM
AgentSmith
+ 9
just remember one think. HTML is a BODY CSS is a BEAUTY JAVASCRIPT is a BRAIN
30th Jun 2017, 5:10 PM
meherDev
meherDev - avatar
+ 6
because font tag is deprecated
30th Jun 2017, 2:13 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 6
1.CSS can be written separately and the code u write in CSS can be reused. 2.A lot more modifications to text is possible with CSS 3.Remember: HTMl:Structure CSS:The way the page looks JS:Interactive pages
30th Jun 2017, 2:29 PM
Calden Rodrigues
Calden Rodrigues - avatar
+ 3
Using HTML for styling the site can be a messy job but using CSS makes it easier and has more options to style the webpage than which HTML has. Some of HTML tags used for styling (such as fonts tag) has been deprecated in HTML5 so its better to use CSS.
1st Aug 2017, 11:26 AM
Kiran P Das
+ 2
Just A Makeup for your site :)
30th Jun 2017, 7:13 PM
Abdallah Omar
Abdallah Omar - avatar
+ 1
CSS is an industry standard worldwide. For styling just one HTML page, it is not necessary using CSS, if the possibilities of HTML are satisfying your needs. But if the amount of pages grow, you want an easier way to maintain them, and here comes CSS into play.
2nd Jul 2017, 4:48 AM
Mike Commercial
Mike Commercial - avatar
+ 1
CSS is used to style the HTML tag and attribute
7th Jul 2017, 5:02 PM
md khaled
md khaled - avatar
+ 1
Use css for the style an look of the page. CSS can style multiple elements in the body of a page. External css can style multiple elements in a page and multiple web pages.
12th Jun 2019, 8:39 PM
Jian
Jian - avatar
+ 1
Another think i tell you. CSS3 has many properties. Many times you will go stuck. Learn pure CSS not just easy. So i suggest for beginners go to framework instead of CSS. Slowly slowly you will be understand everything about CSS. (my english is not so good)
24th Oct 2019, 11:58 AM
meherDev
meherDev - avatar
- 5
just stop
14th Jul 2017, 9:43 AM
Jeff