I kind of like Levels of HTML knowledge and the way it tries to stay away from the whole HTML versus XHTML debate. Generally I see it like this:
I know about tags;
So XHTML is this better way without font
tags, right?
Using XHTML, table
elements are superfluous;
I know about media type issues, but I don’t care (document.write
doesn’t work);
I do content negotiation between XHTML astext/html
and XHTML asapplication/xhtml+xml
because I can;
I do content negotiation between HTML and XHTML;
All that crap, just use HTML.
Aah, controversial! Of course, there are several levels in between and after (thinking about what to use and knowing what to use for example). Just illustrating another point here.
Well, under that, I've gone from Level 6, to Level 5, and up to Level 7 :P
There's a missing level. Just use XHTML with application/xhtml+xml without content negociation.
Haha, at last up to level 7!
What about those just smacking a xhtml
doctype on some Frontpage code because its cool? Like most big developing companies...
Level 8: see the bigger picture.
Why is it controversial? when you are often correct. Gee, you've elevated me to Level 7 by just posting this.
I follow the Web Applications 1.0 draft and pretend my websites are from a happy future!
I tend to agree.. I've been at stage 7 for the past few years myself, much for the reasons you outline :) (even to the extent of carefully rewriting the default MT template on my site from XHTML to HTML Strict :P)
Ah, I smell an agenda here.
Level 9: All of the above doesn't matter.
Level 10: (x)HTML documents can never be media independent.
Level 11: Where the f*** is my <b> tag?
I think I'm at level 7 or something, I think I shold use ASCII text just because it works and of corse no more than 78 characters on each row and only 22 rows :-)
However I'm working on a liquid stuff Aron design 1.0
What about "all that crap, just use HTML, but close the tags and use quotes on ALL attributes so it's at least a structured file, not just a tag soup"? :-)
P. S. "comments are validated as XHTML"? "You need to use block level elements in order to post a comment"? Now THAT is controversial...
What about "all that crap, just use HTML, but close the tags and use quotes on ALL attributes so it's at least a structured file, not just a tag soup"? :-)
Precisely. In short: use HTML, not tag soup.
As for how the input of comments must be structured, that's PHP4 for you. :) Fortunately PHP5 has much better XML and HTML parsing facilities. :)
I love it! I'm at level 7 myself, largely thanks to you.
It's a pain in the rear at my uni to hear people talking & realise that I know more than the lecturers themselves, when I'm not even doing any web design subjects. I had a short discussion with one of them, & he was convinced that everyone would be using either XHTML or XML in a few years. Yeah, like IE8 is going to come out before 2010, if it even supports them.
OK, I'll stop with my bitching now, but it's funny how few people have a clue about some of this stuff.
Now, what does this tell about people who've always stuck with plain HTML, and only switched from 3.2 to 4.0 Strict to 4.01 Strict? Can you be Level 7 without going through other levels? :-)
Rijk, I believe one can be level 7 by only doing the XHTML stuff in one’s /test/ URI subspace. :-)
What about "all that crap, just use HTML, but close the tags and use quotes on ALL attributes so it's at least a structured file, not just a tag soup"? :-)
Please do not apply XML rules to HTML markup. The following is well-formed and defines a structured document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <title>Short HTML doc</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <h1>Short HTML document</h1> <p>As SGML has a more powerful grammar than XML, the obvious need not be stated.
Could anyone to whom this looks like tag soup please try to validate it and consult authoritative sources.
Feels good to be elitist, doesn't it?
FWIW, I've been through all those phases, as you well know. Other considerations have led me to my current PoV: yes, I do like XHTML for its lowercaseness and wellformedness, but I don't see the point of app/x+x where it hurts accessibility.
Hm.. I'll admit I did change my coding style over the years. Nowadays I use lowercase element names, optional close elements, etc. It looks better that way...
Could anyone to whom this looks like tag soup please try to validate it and consult authoritative sources.
A major reason that I’m looking forward to HTML5 at this point is that it does away with any pretense that the markup’s based on SGML. Hooray, hooray!
<meta http-equiv="Content-Type" content="tag/soup">
That one's quite common
Right, all that crap, just use HTML
just to use XHTML some (enter period of time here) later (again).
A major reason that I’m looking forward to HTML5 at this point is that it does away with any pretense that the markup’s based on SGML. Hooray, hooray!
I agree heartily: Abandoning SGML constructs like the following, which have never been implemented in browsers, is certainly a good idea, as is the formal specification of parsing rules for HTML.
<h1>Rare constructs</h1 <p>Their <i/raison d’être/ is...
However, the following is currently valid HTML5, and I think that is a good thing, too.
<!DOCTYPE html> <title>Short HTML doc</title> <h1>Shorter HTML5 document</h1> <p>HTML may not be SGML, but being neither SGML nor XML is not necessarily a major disadvantage.
If tags for mathematics are introduced in HTML5 (proposition currently under consideration), omission of optional tags may really become a useful feature, allowing to write e.g.* <root>3<of>8</root>
as opposed to <root><order>3</order><of>8</of></root>
.
*) Anne: the <i> tag should be available for latin expressions.
Good to see other people on level 7
I find myself agreeing with "&". People should realise that xhtml has been the 'future' for the past five years. It's highly unlikely to ever become anything else but the future however, so I strongly believe html5 to be the future
*) Karl-Grange: And leave out 80+% of the internets users! Way to make your site accessible! Genious! ;)
*) Faruk: That's already level 7. Use html and get on with the bigger picture.
*) Anne: Why are the comments choking on xhtml wellformedness issues when the page itself is html?
Yes! Level 7! Now if only I could get others there.
I'm a little confused. In previous comments, I see some people posting fragments from HTML 5 without the <head> and <body> elements, but I noticed that in the working draft, a <head> element is required for the <title> element.
Contexts in which this element may be used: In a head element containing no other title elements.
- http://whatwg.org/specs/web-apps/current-work/#the-title
Am I missing something?
Yes.
Oh, okay. I've always included the end tags even in HTML (back when they were saying there would be no future versions of HTML -- so start preparing for XHTML).
I've never thought of it that way though. So... if an element is assumed to belong to a parent element, then the parent's tags aren't necessary?
Forgive my ignorance. I've since read through the W3C's HTML 4 spec, and everything is crystal clear now ;)
Just when you think you've mastered something, you find there's so much more to it.
<meta http-equiv="Content-Type" content="soup/x-tag-soup">