[Coquelicot] </div>: let's make Coquelicot more semantic with HTML5

Garreau Alexandre galex-713 at galex-713.eu
Fri Aug 30 20:57:33 CEST 2013


Hello, I’ve noticed that the HTML code produced by Coquelicot is very
nice made (except maybe that the code isn’t wrapped at 72th column so it
looks better, like HTML-tidy do), but there’s one thing that could be
improved: the HTML version.
  Although XHTML is very good, I think (X)HTML5 (yes it has an
XML-complient version) is better: it’s really more semantic, and more
simple on some points. For example, that could take away all these ugly
“</div>” which have no sense. The “<div id="header">” would become
“<header>”, the “<div id="footer">” would become “<footer>”, the
“<code>git clone https://[…]/coquelicot.git</code>” would become more
semantic with the “<kbd>” element, the “<em>Coquelicot</em>” that would
become *really* semantically correct with “<cite>” element, the sections
would be marked more explicitly with the “<section>” elements around and
of course the “<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">” would become
simpler with “<!DOCTYPE html>”.
  Notice that today most of web browser support HTML5 (even *IE*, yes
*Microsoft Internet Explorer now supports new HTML5 semantic elements*),
and are very urged to implement a lot of new HTML5 standards by great
evolution of some new great CSS features (which often make the code
cleaner) implemented in more popular browsers and the two most used Web
layout engines (seems to be the lasts, after the great death of IE and
the abandonment of Presto) are WebKit (Safari, Chrome, GNOME, etc.) and
Gecko (Firefox, Greasemonkey, Thunderbird, Iceweasel, Icedove, etc.),
which are both interoperable and free! Let’s take that opportunity!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://listes.potager.org/pipermail/coquelicot/attachments/20130830/326a2e81/attachment.pgp>


More information about the Coquelicot mailing list