Mozilla.com

  1. Creating a Microsummary

Creating a Microsummary

Table of contents
No headers

Nickolay> (undo the xhtml change, this page clearly has examples in HTML)

It's not because only the xhtml requires that all tags be closed that it's not valid with html.

See http://www.westciv.com/style_master/...tml/index.html : "In HTML, some elements, such as paragraphs and list items can be implicitly closed. That means you may leave off the closing tag and you still have valid HTML. In XHTML, all elements must be explicitly closed." Additionally, I don't see how you can tell that "this page clearly has examples in HTML".

The examples on that page are HTML. Parsing them as XHTML would fail because of the unquoted ampersand in the script example at the bottom of the page.
The XHTML vs HTML discussion is something I don't want to get involved in. There are many articles on this topic on the web. --Nickolay 01:23, 22 September 2006 (PDT)
For the script, you're right. But I don't want either to compare XHTML and HTML, it's just that it's perfectly valid to close the tag in HTML, so why not do it ? Some XHTML users will probably use this code, so I was thinking that it would be better to make it more universal.
No, <link ... /> is not valid HTML. I don't think we should use this syntax, since currently for majority of people it's pointless to use XHTML. --Nickolay 16:08, 22 September 2006 (PDT)
Again, here you're right. I was thinking that HTML 4.0.1 Strict was real HTML, but it's not (and anyway, most of people use the Transitional version). The RedBurn 02:47, 23 September 2006 (PDT)

Page last modified 09:47, 23 Sep 2006 by The RedBurn?

Tags:

Files (0)