|
Posted by chobo321321 on October 23, 2004, 9:16 pm
Please log in for more thread options
Hi, I am trying to get my code to validate as xhtml strict, but I keep
getting the following error message.
document type does not allow element "map" here; missing one of "p", "h1",
"h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins",
"del" start-tag
Just another quick question. Is it ok to use #includes for the doctype?
Thanks in advance
|
|
Posted by David Dorward on October 23, 2004, 11:42 pm
Please log in for more thread options
chobo321321 wrote:
> Hi, I am trying to get my code to validate as xhtml strict, but I keep
> getting the following error message.
>
> document type does not allow element "map" here; missing one of "p",
> "h1",
> "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins",
> "del" start-tag
So put the map in a suitable container. (Or check that a map really is the
best solution for the problem - usually they aren't)
> Just another quick question. Is it ok to use #includes for the doctype?
If you mean Server Side Includes, then yes. What matters is the data sent to
the user agent, not how you store it on the server.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is
|
| Similar Threads | Posted | | Creating image maps with Adobe Illustrator or Image Ready. | March 8, 2005, 12:42 pm |
Image maps within | April 23, 2007, 12:43 am |
| client side image maps | August 9, 2004, 7:04 pm |
| Image maps and area alt text | June 14, 2007, 8:08 am |
| Safari, image maps, and links | May 12, 2008, 3:58 pm |
| clickable image w/maps moves when clicked | April 10, 2008, 10:18 am |
| utf-8 and xhtml 1.0 strict | October 28, 2004, 7:26 am |
| xhtml vs html 4 strict | May 21, 2005, 5:23 pm |
| Strict XHTML and div question | July 14, 2005, 7:07 pm |
| XHTML 1.0 Strict and the Apostrophe | February 15, 2008, 11:12 am |
|
|
|