Use CSS to Code with Style

broomCSS or Cascading Style Sheets are great. CSS is a file which you can link to in the head of your document. Although styles can be applied inline within your HTML using the <style></style> tag, it is better form to link to an external style sheet. This can be done using the <link> tag eg. <link rel=”stylesheet” href=”style.css”>. By using an external style sheet, you can take advantage of the most powerful aspect of CSS which is that it can apply a uniform aspect to your entire site. If your page background is white and you want to change it to grey, you need only change a single line in you CSS file rather than have to go in and change every page individually. The other important aspect of CSS is that it allows you to separate content which should be in your HTML from presentation which is handled by your CSS. A nice free tutorial can be found at W3Schools.

Some useful CSS cleaners were recently described in a Sitepoint article 10 Terrific Time-Saving CSS Cleanup Tools by Peter North.

About Robert

Robert is a novice web site developer. A lack of professional training has not prevented him from creating some very nice websites for small businesses who would otherwise have gone without a web presence.


Subscribe to our e-mail newsletter to receive updates.

No comments yet.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.