G
Gus Richter
A template should be evaluated as a template, not on the basis of some
creations based on it. And I'm not sure whether it is useful to analyze
your template, but on request, here are three comments that first came
into my mind:
The demos use the contruct as per my Template. You were critical of my
Template, so I presented two demos which validate and requested your
critique on the demos. You choose instead to again refer to the Template.
1) <html lang="en">
A template should not have a particular language code wired in. There
are far too many web pages that claim to be in English but aren't,
either because they were based on wrong templates or because some
authoring software spits out lang="en" no matter what.
I remind you that it is a *simple* Template not to be muddled up with
details. If anyone, authoring in another language is unable to note that
s/he must modify this part, then that person is not up to par IMHO.
2) <head>
Not needed, and does not serve a useful purpose.
You must have missed the part somewhere in this thread, or another,
where I advocate to disregard all optional methods in the specs and not
try to save keystrokes.
3) <title>Template for HTML5</title>
No reason to put any text inside the element. It serves no purpose, it
just needs to be erased when actually using the template, and there
*are* people who just won't change the text.
I like to see the title of the page displayed on all my browsers and I
suspect that most people do as well.
As in my response to 1) I sadly must say that if s/he does not know
enough to replace the text between the start and end tags of the title
element, then that person is not up to par IMHO.
4) <style>
Embedded style sheets should be avoided. There are situations where they
are a comfortable tool, but a template should not encourage the use of
embedded CSS.
Hmm, aside from your opinion, although you may be confusing Embedded
with Inline, the Template simply points out the difference in construct
in HTML5 from that of the old HTML 4.01
5) <script>
Linked JavaScript files should be preferred. And if embedded JS is used,
it should often go the end of the body, or otherwise inside the body,
not in the head. (Think about simply referring to elements by their ids
in straight code not wrapped in functions.)
Once again, whether the script is used in the head or body, the Template
simply points out the difference in construct in HTML5 from that of the
old HTML 4.01