單項(xiàng)選擇題如何設(shè)置文本寬與高?()

A.width設(shè)置高,height設(shè)置寬
B.width設(shè)置寬,height設(shè)置高
C.寬與高的設(shè)置值只能用像素px
D.寬與高的只能用百分?jǐn)?shù)設(shè)置


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題index.html與img文件夾在同一級(jí)目錄下,jiong.jpg存放在img文件夾里,如何在index.html中插入jiong.jpg?()

A.<img src="./img/jiong.jpg",width="100px">
B.<img src="./img/jiong.jpg">
C.<img src="img/jiong.jpg">
D.<img href="img/jiong.jpg",width="100px">

2.單項(xiàng)選擇題如果要為span設(shè)置寬、高、外邊距margin、換行,需要先設(shè)置()。

A.先轉(zhuǎn)成塊級(jí)元素,用display:block
B.先轉(zhuǎn)成行內(nèi)塊元素,用display:inline-block
C.先轉(zhuǎn)成行內(nèi)元素,用display:inline
D.以上都不對(duì)

4.單項(xiàng)選擇題表單中,如何制作上傳文件的按鈕效果?()

A.<input title="file"/><br><input title="button"value="提交"/>
B.<input type="button-file"/><br><input type="button"value="提交"/>
C.<input type="file"/><br><input type="button-file"value="提交"/>
D.<input type="file"/><br><input type="button"value="提交"/>

5.單項(xiàng)選擇題設(shè)置邊框?yàn)殡p實(shí)線,粗細(xì)為5像素,顏色為紅色,如何設(shè)置?()

A.border:red solid 5px;
B.bord:red dotted 5px;
C.border:red double 5px;
D.bord:red double 5px;