8/02/2013

Why CSS should be linked to instead of written in your HTML file


CSS (or cascading style sheets) are the core of modern Web layout, they allow a page to have everything from font size to line spacing to even picture details configured depending on where the content sits on a Web Page respectively.

Many designers in the past have had a practice of placing the style protocols inside the HTML document, and while this is very much acceptable there is sound reason as to why it should be avoided.

On a basic Web Design project, where a Designer or the Web Master who manages the Site, may find it of little issue going in to each Page of a Site to adjust details like background color (coded usually to read #000000 which is Black for example).  But what happens when faced with a much larger Site and your company needs to change the colors due to a new image, or even a merger?

With the practice of a linked CSS file, a Site Manager only has to work with one file and changing one entry in order to deploy an update to multiple pages.  The result being less stress in meeting deadline and less cost to maintain the image of your Site

No comments:

Post a Comment