在线手册

  • coll doc links

    ... alt="Planets" usemap ="#planetmap"> <map name="planetmap"> <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun"> <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury"> <area shape="circle" coords ...

  • att area download

    ... ">  <area shape="rect" coords="0,0,82,126" alt="Sun" href="info_about_the_sun.htm" download="sun">  <area shape="circle" coords="90,58,3" alt=" ...

  • att area href

    ... " usemap="#planetmap"> <map name="planetmap"> <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun"> <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury"> <area ...

  • att area href

    ... ">   <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">   <area shape="circle" coords="90,58,3" href="mercur ...

  • coll doc links

    ... (index 0) in the document: var x = document.links[0].href; The result of x will be: //www.w3schools.com/jsref/sun.htm Try it yourself » Example item(index) Get the URL of the first link (index 0) in the document: var x ...

  • prop area href

    ... Area Object Example Change the URL of a link in an area: document.getElementById("venus").href = "sun.htm"; Try it yourself » Definition and Usage The href property sets or returns the value of the href ...

  • coll map areas

    ... : var x = document.getElementById("planetmap").areas[0].href; The result of x will be: //www.w3schools.com/jsref/sun.htm Try it yourself » Example item(index) Get the URL of the first <area> element in an ...

  • att a coords

    ... ;#Map1">   <map name="Map1">   <a href="sun.htm" shape="rect" coords="0,0,82,126">The Sun</a>   <a href="mercur.htm"shape="circle" coords ...

  • att a shape

    ... ;#Map1">   <map name="Map1">   <a href="sun.htm" shape="rect" coords="0,0,82,126">The Sun</a>   <a href="mercur.htm"shape="circle" coords ...

  • att area alt

    ... ">   <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">   <area shape="circle" coords="90,58,3" href="mercur ...

推广服务(新)
最新文章