...性 實(shí)例 實(shí)例 下面的例子可設(shè)置圖像的高度和寬度: <html> <head> <script> function changeSize() { document.getElementById("compman").height="250"; document.getElementById("compman").width="300"; } </script> </head> <body> <img id="compman" sr...
http://o2fo.com/jsref/prop-img-height.html...據(jù)。 實(shí)例 實(shí)例 返回form表單的 accept-charset 屬性值: <html> <body> <form id="frm1" accept-charset="ISO-8859-1"> First name: <input type="text" name="fname" value="Donald"><br> Last name: <input type="text" name="lname" value="Duck"><br> </...
http://o2fo.com/jsref/prop-form-acceptcharset.html... 實(shí)例 下面的例子將設(shè)置圖像的 hspace 和 vspace 屬性: <html> <head> <script> function setSpace() { document.getElementById("compman").hspace="50"; document.getElementById("compman").vspace="50"; } </script> </head> <body> <img id="compman" src="...
http://o2fo.com/jsref/prop-img-hspace.html... longDesc 屬性 實(shí)例 實(shí)例 返回圖片的 longDesc 屬性值: <html> <body> <img id="compman" src="compman.gif" longdesc="description.htm" alt="Computerman"> <br> <script> <p>The value of the longdesc attribute is: <script> var x=document.getElementBy...
http://o2fo.com/jsref/prop-img-longdesc.html...的例子可創(chuàng)建一個(gè)指向圖像的低分辨率版本的鏈接: <html> <body> <img id="compman" src="compman.gif" lowsrc="compman_lowres.gif" alt="Computerman"> <br> <script> var x=document.getElementById("compman"); document.write('<a href="' + x.lowsr...
http://o2fo.com/jsref/prop-img-lowsrc.html...瀏覽器都支持 name 屬性 實(shí)例 實(shí)例 返回圖片的名稱: <html> <body> <img id="compman" name="compman" src="compman.gif" alt="Computerman" width="107" height="98"> <br> <script> document.write("Image name: "); document.write(document.getElementById('co...
http://o2fo.com/jsref/prop-img-name.html...覽器支持 所有主要瀏覽器都支持 src 屬性 實(shí)例 實(shí)例 <html> <head> <script> function changeSrc() ??{ ??document.getElementById("myImage").src="hackanm.gif"; ??} </script> </head> <body> <img id="myImage" src="compman.gif" width="107" heigh...
http://o2fo.com/jsref/prop-img-src.html... 屬性 實(shí)例 實(shí)例 返回客戶端圖片映射的usemap屬性值: <html> <body> <img id="planets" src="planets.gif" width="145" height="126" usemap="#planetmap"> <map name="planetmap"> <area id="venus" shape="circle" coords="124,58,8" alt="The planet Venus" href="venu...
http://o2fo.com/jsref/prop-img-usemap.html...器都支持 value 屬性 實(shí)例 實(shí)例 顯示復(fù)選框關(guān)聯(lián)的值: <html> <head> <script> function displayResult() { var x=document.getElementById("bike").value; alert(x); } </script> </head> <body> <form> <input type="checkbox" id="bike" value="Bike"...
http://o2fo.com/jsref/prop-checkbox-value.html... 實(shí)例 下面的例子將設(shè)置圖像的 hspace 和 vspace 屬性: <html> <head> <script> function setSpace() { document.getElementById("compman").hspace="50"; document.getElementById("compman").vspace="50"; } </script> </head> <body> <img id="compman" src="...
http://o2fo.com/jsref/prop-img-vspace.html抱歉,暫時(shí)沒有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的教程
w3cschool 建議您:
...性 實(shí)例 實(shí)例 下面的例子可設(shè)置圖像的高度和寬度: <html> <head> <script> function changeSize() { document.getElementById("compman").height="250"; document.getElementById("compman").width="300"; } </script> </head> <body> <img id="compman" sr...
http://o2fo.com/jsref/prop-img-height.html...據(jù)。 實(shí)例 實(shí)例 返回form表單的 accept-charset 屬性值: <html> <body> <form id="frm1" accept-charset="ISO-8859-1"> First name: <input type="text" name="fname" value="Donald"><br> Last name: <input type="text" name="lname" value="Duck"><br> </...
http://o2fo.com/jsref/prop-form-acceptcharset.html... 實(shí)例 下面的例子將設(shè)置圖像的 hspace 和 vspace 屬性: <html> <head> <script> function setSpace() { document.getElementById("compman").hspace="50"; document.getElementById("compman").vspace="50"; } </script> </head> <body> <img id="compman" src="...
http://o2fo.com/jsref/prop-img-hspace.html... longDesc 屬性 實(shí)例 實(shí)例 返回圖片的 longDesc 屬性值: <html> <body> <img id="compman" src="compman.gif" longdesc="description.htm" alt="Computerman"> <br> <script> <p>The value of the longdesc attribute is: <script> var x=document.getElementBy...
http://o2fo.com/jsref/prop-img-longdesc.html...的例子可創(chuàng)建一個(gè)指向圖像的低分辨率版本的鏈接: <html> <body> <img id="compman" src="compman.gif" lowsrc="compman_lowres.gif" alt="Computerman"> <br> <script> var x=document.getElementById("compman"); document.write('<a href="' + x.lowsr...
http://o2fo.com/jsref/prop-img-lowsrc.html...瀏覽器都支持 name 屬性 實(shí)例 實(shí)例 返回圖片的名稱: <html> <body> <img id="compman" name="compman" src="compman.gif" alt="Computerman" width="107" height="98"> <br> <script> document.write("Image name: "); document.write(document.getElementById('co...
http://o2fo.com/jsref/prop-img-name.html...覽器支持 所有主要瀏覽器都支持 src 屬性 實(shí)例 實(shí)例 <html> <head> <script> function changeSrc() ??{ ??document.getElementById("myImage").src="hackanm.gif"; ??} </script> </head> <body> <img id="myImage" src="compman.gif" width="107" heigh...
http://o2fo.com/jsref/prop-img-src.html... 屬性 實(shí)例 實(shí)例 返回客戶端圖片映射的usemap屬性值: <html> <body> <img id="planets" src="planets.gif" width="145" height="126" usemap="#planetmap"> <map name="planetmap"> <area id="venus" shape="circle" coords="124,58,8" alt="The planet Venus" href="venu...
http://o2fo.com/jsref/prop-img-usemap.html...器都支持 value 屬性 實(shí)例 實(shí)例 顯示復(fù)選框關(guān)聯(lián)的值: <html> <head> <script> function displayResult() { var x=document.getElementById("bike").value; alert(x); } </script> </head> <body> <form> <input type="checkbox" id="bike" value="Bike"...
http://o2fo.com/jsref/prop-checkbox-value.html... 實(shí)例 下面的例子將設(shè)置圖像的 hspace 和 vspace 屬性: <html> <head> <script> function setSpace() { document.getElementById("compman").hspace="50"; document.getElementById("compman").vspace="50"; } </script> </head> <body> <img id="compman" src="...
http://o2fo.com/jsref/prop-img-vspace.html抱歉,暫時(shí)沒有相關(guān)的文章
w3cschool 建議您: