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 deselected 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
The user enters four section headings into the Table of Contents (and presumably also writing paragraph material within these 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 would be marked like this: <H2><A NAME="z4">FIRST SECTION NAME</A></H2>
. This continues for the next three sections, z5, z6, and z7 (and Table of Contents entries named z1, z2, and z3), each automatically given anchors with these names. The user then saves and closes the document. NeXT would then add, within the header of the HTML document, a special tag, <NEXTID N="z8">
, to inform where to continue its naming convention. Imagine the web author opens the document for further editing. They want to add a couple new sections after the second section, appending four more sections at the end. When opening the document, the NeXT editor finds and reads this <NEXTID N="z8">
tag, and now knows to give the first of these new sections the name of z8 in the Table of Contents, and z14 to the content body. This 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>
They then forward a copy of this document to someone with a NeXT editor, and they delete sections z7 and z19, add ten more, z20 through z29, and then delete paragraphs z24 and z29. So then the NEXTID value is z30 when it's returned modified:
<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>
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | No | No | No | No | No | No |
Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic support | No | No | No | No | No | No | No |
© 2005–2018 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