How to Gain Maximum from CSS

by Hiroshi on November 10, 2008

in CSS

CSS is a simple file which controls the visual appearance of a web page without compromising its structure. Why to use it and how to use it properly. If you don’t use CSS on your web pages and you have many tables and content on them, chances are that your HTML file size will be quite heavy. Fact is that we live in a busy world, and people will not wait more than 5 seconds for web page to load. Some web developers implement the CSS on wrong way. They write their CSS in HTML code of the page, like this:

<title>My Page</title>
A { font-family: Verdana; font-size:8pt; color:black; text-decoration:none } 
<body>some content</body>

Correct way is to link the external CSS file in the pages. i.e.

<link rel='stylesheet' href='css/styles.css' type='text/css' media='all' />

Related Posts

Previous post:

Next post: