I want to condense several html tags into one or just a selection. For example I could turn this:
<html>
<body>
Into This:
<mytag>
I just want a clean neat way of using multiple tags at once. Classes would be fine too in fact div classes or something along the lines of that would be good. Any suggestions?
You can’t define custom tags for HTML, but you can omit some closing tags and even a couple of opening ones. See http://code.google.com/speed/articles/optimizing-html.html or directly the specs http://www.w3.org/TR/html4/sgml/dtd.html .
Note that this is allowed only for HTML and not for XHTML.