PHP, CSS, Ajax, webdevelop and everything else.
    Archives for June 2011 (2)
5 June 2011

A simple markup standard for HTML5

Here is a simple HTML5 coding standard:

  • Always add a lang attribute on html element, e.g.: <html lang=”en-US”>
  • No self close empty tags anymore, e.g.: wirte <br> instead of <br />
  • No style attribute for rel links for css or in the <script> tags, e.g.:
    Just <link media=”all” href=”_css/style.css” rel=”stylesheet”>
    or <script src=”_js/calendar.js”></script>
  • Make all tags in lowercase
  • Use double quotes for attribute value
  • Jusrt write the attribute indicate instead of the value and the attribute for boolean attributes, e.g.:
    <section hidden>xxx</section> instead of <section hidden=”hidden”>xxx</section>

What do you think? :)

2 June 2011

Checking out Concretr5

Just read about a new CMS: Concrete5 at www.concrete5.org:-)

last comments  
Hapjes Maken
Hapjes Maken

I just read it.. I must say. Interesting cms!
page 1 of 1