UK[lɪŋks] US[lɪŋks]
n.Golf course, sand dune, link; ring (plural noun of link); [computer] link; transportation route; [electronics] trunk line
v. Contact; connection (third person singular of link); correlation; explanation (between two things or two people) that there is a connection (or relationship)
javascript links attribute syntax
Function: Returns references to all Area and Link objects in the document.
Syntax: document.links[]
javascript links attribute example
<html> <body> <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" width="145" height="126" usemap="#planetmap" /> <map name="planetmap"> <area id="venus" shape="circle" coords="124,58,8" alt="Venus" href="http://www.php.cn/cource" /> </map> <br /> Number of links in this document: <script type="text/javascript"> document.write(document.links.length) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance