¿HTML 4.0, XHTML 1.0, HTML5?
¿Cuál usar? La respuesta está en el cómic Misunderstanding Markup: XHTML 2/HTML 5 Comic Strip que publicaron en el año 2009 en la revista Smashing Magazine.
Muy buenas las dos citas que aparecen en el cómic:
Drew McLellan:
Whenever this argument surfaces, there seems to be the assumption that loose syntax is easier for beginners. This baffles me. In my experience simple, strict rules are much easier to learn and code to than loose rules with multiple shorcuts. I like XHTML because attributes must always be quoted. Tags must always be closed. These are simple rules that require no thought, and result in uniform, predictable markup.
Bruce Lawson, HTML5 + XML = XHMTL 5:
I like the xhtml syntax. It’s how I learned. I’m used to lowercase code, quoted attributes and trailing slashes on elements like br and img. They make me feel nice and comfy, like a cup of Ovaltine and The Evil Dead on the telly.
Deja un comentario