|
Posted by Lars Eighner on February 19, 2006, 2:55 am
Please log in for more thread options
If < is stago, </ is etago, > is tagc, what is the />
at the end of empty xhtml tags?
--
Lars Eighner usenet@larseighner.com http://www.larseighner.com/ War on Terrorism: Treat Viewers like Mushrooms
"It seems perverse to focus too much on the casualties or hardship in
Afghanistan." -Walter Isaacson, _CNN_
|
|
Posted by Jukka K. Korpela on February 19, 2006, 3:56 am
Please log in for more thread options
Lars Eighner wrote:
> If < is stago, </ is etago, > is tagc, what is the />
> at the end of empty xhtml tags?
It is NESTC followed by NET.
XML and XHTML specifications do not use concepts like STAGO, ETAGO,
TAGC, etc., since they lack the level of abstraction that these terms
relate to. In SGML, STAGO stands for start tag open, which can be a
different character or string in different SGML-based languages, though
most of them use the "reference" (default) syntax where STAGO is "<".
When SGML was obscured to allow the simplification known as XML to be
treated formally as SGML, via the so-called Web Adaptations Annex, the
term NESTC was introduced. It stands for "NET-enabling start tag close",
where "NET" means "null end tag". In "<br/>", the "/" is NESTC and
the ">" is NET, so in terms of (transmogrified) SGML, "<br/>" is two
tags, the start tag "<br/" and the end tag ">".
More info: http://www.cs.tut.fi/~jkorpela/html/empty.html#diff
|
| Similar Threads | Posted | | Empty Alt Tags | April 1, 2005, 3:16 pm |
| Tidy trimming empty tags | August 29, 2005, 6:30 pm |
| Migrating to XHTML: empty elements | July 9, 2005, 12:55 pm |
| [XHTML] «src» attribute in most tags | January 27, 2006, 10:07 am |
| Style tags -- Eeek how obese these tags make HTML! | November 8, 2006, 3:33 am |
| Meta Tags, Link Tags, other | September 27, 2005, 3:29 pm |
| Empty fragment | July 7, 2005, 10:10 am |
| Empty link | August 28, 2005, 12:33 pm |
| empty form actions | September 5, 2006, 4:48 pm |
| W3C Validator and empty body element | August 1, 2004, 2:37 am |
|