+ 1

If we can style the webpages by using html,why use css?

16th Feb 2017, 5:42 PM
Sivakumar
Sivakumar - avatar
7 ответов
+ 5
we can not, HTML is for the pages meanning not styling, while CSS is for styling, and HTML have a really small collection of tags for styling webpages
16th Feb 2017, 6:33 PM
Jihad Naji
Jihad Naji - avatar
+ 3
Because first Html version were designed by this way ( structure and styling content ), but years of use and evolutions show a new better way to try separate structure and style ( for reason suggested in others answers ), so it was used/designed a new descriptvie textual language for that purpose: Cascading Style Sheet :P So, you can style only with Html, but without Css, you can less by less, as tags styling specifics are deprecated in newest versions, and browsers will suspend ascending compatibility in future ^^ ( and a pure Html page is sad, all genius of layout you coul be ^^ )
17th Feb 2017, 2:28 PM
visph
visph - avatar
+ 1
CSS allows you to quickly and easily change the entire appearance and layout of your site. If you embed the style information in the HTML directly, you have to work a lot harder if something needs to change; with a style sheet, you simply change the CSS file in a single location, and the change becomes global everywhere that style sheet is used.
16th Feb 2017, 6:19 PM
Varun Moghe
Varun Moghe - avatar
+ 1
With HTML you can style the file, but with css you can style more in an easier way.
16th Feb 2017, 10:23 PM
Phoenix24
0
because the styling of the HTML is too basic so personally I always use CSS to style my HTML so I don't have to check on my HTML and my CSS for the styling in that way you only have to check your CSS so you can use the basic and the complex in one file. after that in CSS you can makes norm for example all the <p> and you only have to write it one time and not each time you use <p>
16th Feb 2017, 5:54 PM
Christophe Nadeau
Christophe Nadeau - avatar
0
because CSS makes the code more compacts i think
16th Feb 2017, 6:00 PM
Damian
Damian - avatar
0
Because the html code can be loaded faster by Browser, because when you divide the code into formatting and page it gets much faster. Besides that when we edit in the file css we have a standard in the file html. *** sorry for my English ***
16th Feb 2017, 6:12 PM
Luiz Henrique Santos de Lima
Luiz Henrique Santos de Lima - avatar