what are advantage of using css?
Answers
Answer:
The advantages of using a separate CSS file rather than embedding the CSS code inside the HTML file include:
The layout of a web page is better controlled.
Style (CSS) kept separate from structure (HTML), means smaller file size.
Reduced file size means reduced bandwidth, which means faster loading time.
hope IT helps
If you’re not using cascading style sheets in your web pages yet shame on you. CSS has excellent support in today’s browsers. It’s relatively easy to learn and produces better and cleaner code than applying all those styles directly to your HTML.
Using CSS modularizes your websites in much the same way that programmers have been modularizing software code for year. Modular code in your website allows for greater design consistency and easier maintenance. CSS is the new standard and has been now for several years. It’s time to separate the structure of HTML and the presentation of CSS.
So if we’ve been using HTML for years and creating all sorts of great websites with them why make the switch? Some of the advantages of using CSS are:
Easier to maintain and update
Greater consistency in design
More formatting options
Lightweight code
Faster download times
Search engine optimization benefits
Ease of presenting different styles to different viewers
Greater accessibility