Thursday, October 9, 2008

CSS vs HTML

CSS vs HTML


There are those that are attached to the old way of doing things, and don't want to let go of their simple html roots, then there are those that evolve with the change.

If  you are still designing your websites in plain old html you might want to think about the opportunities in design that you are missing out on.  It is generally accepted by many that the only thing CSS is good for is search engines.   CSS makes it is easier for search engines to crawl your page.  While this is true is not the only benefit to using CSS.

Fast download time - 
Because of organizational structure, and complex referencing system, users can access the data on your page at an accelerated rate.

More accessible - 
CSS is more friendly to hand held devices.  One third of the world owns a wireless device.

Print friendly - 
You can specify print instructions in the CSS, so when someone prints off the content on your web page it is laid out in a print user friendly form.

One of the things that I like most about CSS  is its level of specificity.  There are more options concerning space, function, and form.  

Organization is another huge benefit.  At least for me, I like to keep things as simple as possible.  When you code your site in straight html, you have a gigantic list of all kinds of commands weaving in and out of each other, its absolute chaos.

CSS allows you to keep everything separated, you can have a layout sheet concerning just the structure of the page, a style sheet regarding things like color and images, and then the separate xhtml sheet that just references everything.  So on the whole you are only observing one specific section of the code.  Instead of trying to view all the code simultaneously, it is sectioned out for you.  So writing and editing code is way easier.

Please give me some feedback, I know for some this is somewhat of a debate, I would love to hear your opinion regardless of what your views are.

thanks all


No comments: