Re: Previously passed now errors.

Here is a simple demonstration of the problem :


  1.  [Error]  Line 899<https://validator.w3.org/check?uri=http%3A%2F%2Fwww.idga.net%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices#line-899>, Column 51: document type does not allow element "UL" here; assuming missing "LI" start-tag

        <ul id="ddsubmenu7" class="ddsubmenustyle">

✉<https://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.idga.net%2F;errmsg_id=66#errormsg>

  2.  [Error]  Line 927<https://validator.w3.org/check?uri=http%3A%2F%2Fwww.idga.net%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices#line-927>, Column 15: ID "DDSUBMENU1" already defined

      <ul id="ddsubmenu1" class="ddsubmenustyle">

✉<https://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.idga.net%2F;errmsg_id=141#errormsg>

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

Thus you have used id="ddsubmenu1" more than once, which is not permitted.
Philip Taylor
--------
Millicent Metzler wrote:

http://www.idga.net/


App. 50 page site <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> previously passed .. now 9 errors each page from drop down menu.  Error:  <ul id="ddsubmenu1" class="ddsubmenustyle">

An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value.  IT DOES. If you are using this attribute as a hook for style sheets (I AM) it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

Sorry but I don't understand.  Please help.  Thank you, Millie Metzler

Received on Monday, 3 June 2019 05:22:46 UTC