img
elements with an ismap
attribute have a valid usemap
attribute.
img
element may not contain an ismap
attribute.
img
element that contains a ismap
attribute.img
elements with an ismap
attribute have a valid usemap
attribute.usemap
attribute to the img
element.img
element contains both ISMAP and usemap
attributes.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #12 - Negative</title> </head> <body> <p><img src="image.gif" alt="image map" ismap="ismap" usemap="#map1"/></p> </body> </html>
img
element contains an ismap
attribute but no usemap
attribute.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #12 - Positive</title> </head> <body> <p><img src="image.gif" alt="image map" ismap="ismap" /></p> </body> </html>