deleted Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
<nextid>
is an obsolete HTML element that served to enable the NeXT web designing tool to generate automatic NAME labels for its anchors. It was generated by that web editing tool automatically and was not to be adjusted or entered by hand. This element has the distinction of being the first element to become one of the "Lost Tags" by being eliminated from the official public DTD's of the HTML versions. It is also probably one of the least understood of all of the early HTML elements.
<NEXTID>
in a non-SGML compliant form that simply used the numeric value alone as an "attribute."<NEXTID>
to take only a number for a value of its newly-introduced attribute N
.<NEXTID>
is the same as it would take in HTML 2, finally allowing the use of a name instead of only a number for its attribute value.<NEXTID>
<NEXTID>
can be individually deslected for display with a simple SGML command.<FORM>
, <INPUT>
, <TEXTAREA>
, <SELECT>
, and <OPTION>
<H*>
element) within a link (<A>
element)<H*>
element) within a link (<A>
element), or having a forms <INPUT>
element which is not within a block level element such as <P>
<NEXTID>
has vanished altogether, never to be heard from again.Like all other HTML elements, this element accepts the global attributes.
n
Say for example the user enters four section headings into the Table of Contents (and presumably also writing paragraph material within the sections). The heading for each of the four sections would be assigned NAME values of "z0", "z1", "z2", and "z3". The first of these would produce an entry in the Table of Contents like this: <A NAME="z0" HREF="#z4">FIRST SECTION NAME</A>
and the section header at the section itself would be marked like this: <H2><A NAME="z4">FIRST SECTION NAME</A></H2>
. This continues for the next three sections, named z5, z6, and z7 (and Table of Contents entries named z1, z2, and z3), and each are automatically given anchors with these names. Then he decides to save and close his document. NeXT would then add within the header of the HTML document a special tag, <NEXTID N="z8">
to inform itself of where to continue its naming convention from, the next time it opens the document. So, imagine the web author opens the document for further editing. He wants to add a couple new sections after his second section and append four more sections at the end. So he opens the document, and the NeXT editor finds and reads this <NEXTID N="z8">
tag and knows to give the first of these new sections he adds the name of z8 in the Table of Contents and z14 at its content body. What he now has, once he is done again and closes the document might look like this:
<HTML> <HEAD> <TITLE> ... whatever ... </TITLE> <LINK, META, BASE, etc. as applicable for the head of this document> <NEXTID N="z20"> </HEAD> <BODY> <A NAME="z0" HREF="#z4">FIRST SECTION HEADING</A> <A NAME="z1" HREF="#z5">SECOND SECTION HEADING</A> <A NAME="z8" HREF="#z14">NEWLY INSERTED THIRD SECTION HEADING</A> <A NAME="z9" HREF="#z15">NEWLY INSERTED FOURTH SECTION HEADING</A> <A NAME="z2" HREF="#z6">ORIGINAL THIRD (NOW FIFTH) SECTION HEADING</A> <A NAME="z3" HREF="#z7">ORIGINAL FOURTH (NOW SIXTH) SECTION HEADING</A> <A NAME="z10" HREF="#z16">SEVENTH SECTION HEADING</A> <A NAME="z11" HREF="#z17">EIGHTH SECTION HEADING</A> <A NAME="z12" HREF="#z18">NINTH SECTION HEADING</A> <A NAME="z13" HREF="#z19">TENTH SECTION HEADING</A> <H2><A NAME="z4">FIRST SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z5">SECOND SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z14">NEWLY INSERTED THIRD SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z15">NEWLY INSERTED FOURTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z6">ORIGINAL THIRD (NOW FIFTH) SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z7">ORIGINAL FOURTH (NOW SIXTH) SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z16">SEVENTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z17">EIGHTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z18">NINTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z19">TENTH SECTION HEADING</A></H1><P> ... whatever ... </P> </BODY> </HTML>
Then he sends a copy of this document to his friend who also has a NeXT editor, and who deletes sections z7 and z19 and adds ten more, z20 through z29, and then deletes paragraphs z24 and z29. So then the NEXTID value is z30 when he returns it modified, to the original author, looking thus:
<HTML> <HEAD> <TITLE> ... whatever ... </TITLE> <LINK, META, BASE, etc. as applicable for the head of this document> <NEXTID N="z30"> </HEAD> <BODY> <A NAME="z0" HREF="#z4">FIRST SECTION HEADING</A> <A NAME="z1" HREF="#z5">SECOND SECTION HEADING</A> <A NAME="z8" HREF="#z14">NEWLY INSERTED THIRD SECTION HEADING</A> <A NAME="z9" HREF="#z15">NEWLY INSERTED FOURTH SECTION HEADING</A> <A NAME="z2" HREF="#z6">ORIGINAL THIRD (NOW FIFTH) SECTION HEADING</A> <A NAME="z10" HREF="#z16">SEVENTH (NOW SIXTH) SECTION HEADING</A> <A NAME="z11" HREF="#z17">EIGHTH (NOW SEVENTH) SECTION HEADING</A> <A NAME="z12" HREF="#z18">NINTH (NOW EIGHTH) SECTION HEADING</A> <A NAME="z20" HREF="#z25">NEW NINTH SECTION HEADING</A> <A NAME="z21" HREF="#z26">NEW TENTH SECTION HEADING</A> <A NAME="z22" HREF="#z27">NEW ELEVENTH SECTION HEADING</A> <A NAME="e23" HREF="#z28">NEW TWELFTH SECTION HEADING</A> <H2><A NAME="z4">FIRST SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z5">SECOND SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z14">NEWLY INSERTED THIRD SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z15">NEWLY INSERTED FOURTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z6">ORIGINAL THIRD (NOW FIFTH) SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z16">SEVENTH (NOW SIXTH) SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z17">EIGHTH (NOW SEVENTH) SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z18">NINTH (NOW EIGHTH) SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z25">NEW NINTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z26">NEW TENTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z27">NEW ELENENTH SECTION HEADING</A></H1><P> ... whatever ... </P> <H2><A NAME="z28">NEW TWELFTH SECTION HEADING</A></H1><P> ... whatever ... </P> </BODY> </HTML>
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nextid