ohce...@gmail.com
unread,Jul 11, 2013, 12:54:25 PM7/11/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web-au...@googlegroups.com
Hi,
I'm using something like the following for an image map in BBedit 10.5.4 with a document type of HTML5 <!DOCTYPE html>:
<img src="image.jpg" alt="Some image" usemap="#imgmap" />
<map name="imgmap">
<area shape="circle" coords="50,50,70" href="index.html" alt="Home Page" />
</map>
Where I've looked, this is the correct usage of these elements, but BBedit flags the following syntax errors:
1) Value of attribute “usemap” for element “<img>” must begin with one of {A-Z,a-z} followed by zero or more of {A-Z,a-z,0-9,-,_,:,.}.
2) Document type does not permit element “<area>” in content of element “<map>”.
3) Value of attribute “coords” for element “<area>” is invalid; Value must be one of {“Circle, Polygon, Rectangle”}.
Is there any obvious reason that I don't see (or am aware of) why these would be errors in HTML5?
Thanks,
Ed H.