Karl Berry <[EMAIL PROTECTED]> writes:

>     I would prefer fixing it in makeinfo.
> 
> The <a name="..."><li></a> name trick seems obscure, but I suppose it's
> the way to go.

It's not allowed.

Quote from HTML 4.0 DTD (http://www.w3.org/TR/html4/strict.dtd):

<!ELEMENT A - - (%inline;)* -(A)       -- anchor -->
<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">
<!ENTITY % fontstyle
 "TT | I | B | BIG | SMALL">
<!ENTITY % phrase "EM | STRONG | DFN | CODE |
                   SAMP | KBD | VAR | CITE | ABBR | ACRONYM" >
<!ENTITY % special
   "A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO">
<!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">

Quote from HTML 2.0 (RFC 1866):

<!ELEMENT A     - - %A.content -(A)>
<!ENTITY % A.content   "(%heading|%text)*">
<!ENTITY % heading "H1|H2|H3|H4|H5|H6">
<!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">
<!ENTITY % font " TT | B | I ">
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE ">

> <a name="..."><a></a></a> ... Well, I suppose nesting <a> tags is
> probably not allowed.

It's allowed in HTML 2.0 but not in HTML 4.0.

Wwhy can't you just insert '*', '_', ' ' or something?

-- 
Yoshiki Hayashi

Reply via email to