<pedrocorreia.net ⁄>
 

<12 Principles For Keeping Your Code Clean ⁄ >




clicks: 105 105 2008-11-13 2008-11-13 goto misc myNews misc  Bookmark This Bookmark This


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.



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://www.smashingmagazine.com/2008/11/12/12-principles-for-keeping-y...




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="misc" ⁄>

History's Worst Software Bugs

Last month automaker Toyota announced a recall of 160,000 of its Prius hybrid ve (...)

clicks: 239 239 2008-05-13 2008-05-13 goto url (new window) wired.com/softw... goto myNews misc


The day Microsoft 'embraced and extended' Java

Myths and legends It's early December 1995 and it has been a heady few days for (...)

clicks: 272 272 2007-12-10 2007-12-10 goto url (new window) regdeveloper.co... goto myNews misc


The future of .NET, Visual Studio and more

Last year I blogged about Microsoft SOA initiative "Oslo" and the first mentions (...)

clicks: 177 177 2008-05-28 2008-05-28 goto url (new window) blog.jemm.net/2... goto myNews misc


Should Links Open In New Windows?

No, they shouldn't. At first glance the decision to open links in new windows or (...)

clicks: 137 137 2008-07-02 2008-07-02 goto url (new window) smashingmagazin... goto myNews misc


Microsoft Joins the Apache Software Foundation

Microsoft announced on Friday that it would be joining the Apache Software Found (...)

clicks: 127 127 2008-07-30 2008-07-30 goto url (new window) ostatic.com/169... goto myNews misc


Will Java Die?

I seem to be living a theme this week, constantly running into articles and/or d (...)

clicks: 205 205 2007-10-06 2007-10-06 goto url (new window) javalobby.org/n... goto myNews misc


12 myths about how the Internet works

Here's the rub: IP has continued to evolve, but no one has been carefully docume (...)

clicks: 76 76 2008-11-24 2008-11-24 goto url (new window) networkworld.co... goto myNews misc


The new face of R&amp;D: What

Is R&amp;D in the U.S. losing focus, or just shifting focus? Pundits in recen (...)

clicks: 150 150 2008-07-13 2008-07-13 goto url (new window) computerworld.c... goto myNews misc