Post Pic

12 Principles For Keeping Your CSS and XHTML Code Clean

Beautiful HTML is the foundation of a beautiful website. When I teach people about CSS, I always begin by telling them that good CSS can only exist with equally good HTML markup. A house is only as s

Beautiful HTML is the foundation of a beautiful website. When I teach people about CSS, I always begin by telling them that good CSS can only exist with equally good HTML markup. A house is only as strong as its foundation, right? The advantages of clean, semantic HTML are many, yet so many websites suffer from poorly written markup.

Let?s take a look at some poorly written HTML, discuss its problems, and then whip it into shape! Bear in mind, we are not passing any judgment on the content or design of this page, only the markup that builds it. If you are interested, take a peek at the bad code and the good code before we start so you can see the big picture. Now let?s start right at the top.

Related posts:

  1. 7 Principles Of Clean And Optimized CSS Code By Tony White Some of you may remember the days...
  2. CSS Frameworks + CSS Reset: Design From Scratch You don't have to write the same CSS-code or (X)HTML-Markup...
  3. Introduction to HTML HTML is a language for describing web pages. * HTML...
  4. First HTML Example Page – HTML 5 Code HTML 5 will soon be the standard for designing and...
  5. Improving Code Readability With CSS Style guides Once your latest project is finished, you are very likely...

Leave Your Response

* Name, Email, Comment are Required

RSS Feeds
Like Cypherbox on Facebook