I have been experimenting and reading more on Cascading Style Sheets (CSS) and using the http://www.w3schools.com/css/css_intro.asp (Accessed 13-10-2010) which has an excellent tutorial.
W3C schools also state that:
"When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file." http://www.w3schools.com/css/css_intro.asp (Accessed 13-10-2010)
This allows much more flexibility for web page design, as user defined elements called "id" and "class" can be given defnined styles, and used in the HTML code to apply style to any elements.
No comments:
Post a Comment