如果在HTML頁面中包含如下圖片標(biāo)簽,則在下劃線處添加()代碼能夠?qū)崿F(xiàn)隱藏該圖片的功能。
< img id=”pic” src=”Sunset.jpg” width=”400” height=”300” _____ >
A. style=”display:visible”;
B. style=”display:disvisible”;
C. style=”display:block”;
D. style=”display:none”;
您可能感興趣的試卷
你可能感興趣的試題
如果在HTML頁面中包含如下圖片標(biāo)簽,則選項中的()語句能夠?qū)崿F(xiàn)隱藏該圖片的功能。
< img id=”pic” src=”Sunset.jpg” width=”400” height=”300”>
A.document.getElementById(“pic”).style.display=”visible”;
B.document.getElementById(“pic”).style.display=”disvisible”;
C.document.getElementById(“pic”).style.display=”block”;
D.document.getElementById(“pic”).style.display=”none”;
A.submit();
B.myform.submit()
C.document.myform.submit()
D.window.myform.submit();
分析下面的Javascript代碼段,輸出結(jié)果是()
var mystring=”I am a student”;
var a=mystring.substring(9,13);
document.write(a);
A.stud
B.tuden
C.uden
D.udent
A.<input name=”mybutton” type=”button” onBlur=”compute()”value=”計算”>
B.<input name=”mybutton” type=”button” onFocus=”compute()”value=”計算”>
C.<input name=”mybutton” type=”button” onClick=”function compute()”value=”計算”>
D.<input name=”mybutton” type=”button” onClick=”compute()”value=”計算”>
A.history對象記錄了用戶在一個瀏覽器中已經(jīng)訪問過的URLs
B.location對象相當(dāng)于IE瀏覽器中的地址欄,包含關(guān)于當(dāng)前URL地址的信息
C.location對象是history對象的父對象
D.location對象是window對象的子對象
![](https://static.ppkao.com/ppmg/img/appqrcode.png)
最新試題
H5中絕對沒有結(jié)束標(biāo)簽的有()
有序列表為()
H5中可以將開始和結(jié)束標(biāo)簽一起省略的有()
在內(nèi)部的標(biāo)簽有()
()用于顯示被標(biāo)注的內(nèi)容是日期或者時間
用于定義列表的主元素標(biāo)簽是()
用于定義網(wǎng)頁標(biāo)題的元素標(biāo)簽是()
span元素不會換行。
()設(shè)置文本方向,可以脫離父元素設(shè)置的文本方向
標(biāo)簽必須位于HTML的第一行,但可以在標(biāo)簽之后。