The HTML Attribute reference.
"coords" - html Attribute
- Specifies the position and shape on the screen. The number and order of values depends on The shape being defined.
- For use with client-side image maps
Value(s): coordinates
Attribute "coords" example:
Used in the element(s):
<html>
<body>
<object data="images/TheSun.png"
title="The Sun image" usemap="#sunmap">
<map name="sunmap">
<a shape="circle"
coords="182,117,57"
onclick="alert('You clicked on the sun');">Sun</a>
</map>
</object>
<br/>Remember: This will not work in Internet Explorer.
</body>
</html>
Elements | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
a | The A element denotes an anchor; a hypertext link or the destination of a link. | ||||||||
area | This element defines a map region on a client-side image.Possible attribute, coords, values for this element:
|
© 2010 by Finnesand Data.
All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.