This website is made for people who want to learn the basics of XHTML and CSS. Not only to help make a website that works, but also one that validates according to the World Wide Web Consortium (W3C) XHTML and CSS standards. All code snippets found on this website will validate as XHTML 1.0 Transitional and CSS2.


So by which principles are the lessons, tips and tricks governed?

  • Anything that can be done with CSS should be done with CSS.
    • Rollover images with CSS instead of JavaScript
    • Layout and positioning with CSS instead of tables
    • All styling including image sizes, font types and alignments
  • Accessibility for people with disabilities
    • Promote use of title, alternate text and long description attributes to facilitate screen readers
    • Elastic layouts that keep pages looking as intended when increasing or decreasing browser font size
  • The visitor is King
    • When building a website, the visitors experience should be priority. Just like a DJ in a club needs to play the music the guests like, to keep them dancing, a webmaster needs to build the website to make it a pleasant experience for the visitors. If a DJ only plays the music he likes, the dance floor is going to end up empty. Therefore some sacrifices may have to be made to keep visitors coming back.

Comments are closed.