473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

What's at the end of empty xhtml tags?

If < is stago, </ is etago, > is tagc, what is the />
at the end of empty xhtml tags?
--
Lars Eighner us****@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_
Feb 19 '06 #1
1 1302
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
Feb 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: vega | last post by:
How do I detect empty tags if I have the DOM document? For example: <br /> and <br></br> I tried org.w3c.dom.Node.getFirstChild(), it returns null for both <br /> and <br></br> I also tried...
23
by: Mikko Ohtamaa | last post by:
From XML specification: The representation of an empty element is either a start-tag immediately followed by an end-tag, or an empty-element tag. (This means that <foo></foo> is equal to...
1
by: Mark | last post by:
(I'm new to these groups, so I'm not sure which one to use ...) XHTML has been emabled in virtually all modern browsers. So is there any more need for the space before the closing tags in empty...
12
by: Stefan Weiss | last post by:
Hi. (this is somewhat similar to yesterday's thread about empty links) I noticed that Tidy issues warnings whenever it encounters empty tags, and strips those tags if cleanup was requested....
12
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
63
by: Jake Barnes | last post by:
In the course of my research I stumbled upon this article by Alex Russel and Tim Scarfe: http://www.developer-x.com/content/innerhtml/default.html The case is made that innerHTML should never...
5
by: Summercoolness | last post by:
after using float, I know it is needed to continue the flow if we want the enclosing div to include the whole thing (with the obj being floated)... so i know of <br style="clear: both" /> or...
5
by: Jan Danielsson | last post by:
Hello all, I'm using mod_python+ElementTree to build XHTML pages. But I stumbled across this problem: -------------------- def foo(req, desc = None): ...
11
Dormilich
by: Dormilich | last post by:
Lately I have seen so much awful HTML, that I like to show what a HTML document should look like, regarding the requirements from the W3C. the absolute minimum is defined as: or expressed in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.