1] Less code
Designing websites with css leads to use of less code as we define the property with value at a common style class and use the same class at different locations. Less code means lighter web pages which is an important SEO factor.
2] Easy maintenance
Since styles are defined globally or at a common place any changes of the website architecture or design in the future becomes easy.
3] Higher content to code (tag) ratio
We can achieve higher content to code ratio in a page by using css as we move the style declarations to an external file. This is an important SEO factor as we present less style tags or codes and more content to the spiders for indexing.
4] Faster page download The external css style sheet is cached only once by various browsers so the styles are not loaded from server each time when a webpage is requested The CSS file is downloaded just once by the visitor's browser and re-used for different pages on a web site. This reduces the bandwidth requirements for your server and also ensures a faster download for your visitors.
5] Making changes to the layout
Css makes it very easy to change the style of a document. The look and layout of a site can be changed just by altering the css file. This makes css indispensable for large web sites.
6] Less File Size
Probably the mostly useful feature of CSS is that all of the style and layout is removed from the html, so the html page size is very much smaller.
7] Accessibility
Separating style from content makes life very easy for visitors who prefer to view only the content of a web page, or to modify the content. These could be blind or partially sighted people who might use a screen reader to interpret a page.
8] Consistency
Layout and position of navigation can be completely consistent across a site. This was previously possible only using frames.
Monday, June 15, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment