單項選擇題(網(wǎng)站)想要在span標簽上設(shè)置width、height、margin等屬性,需要將span的display屬性設(shè)為()

A.inline-block
B.inline
C.block
D.none


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題(網(wǎng)站)()樣式可以定義一個10px藍色向下的三角形?

A.width:0;height:0;border:10pxsolidtransparent;border-top-color:#00f;
B.width:10px;height:10px;border:10pxsolid#00f;border-top-color:transparent;
C.width:0;height:0;border:10pxsolidtransparent;border-bottom-color:#00f;
D.width:10px;height:10px;border:0pxsolid#00f;border-bottom-width:10px;

2.單項選擇題(網(wǎng)站)background-color:#ccc;background-image:url(bg.png);background-repeat:no-repeat;background-position:-100pxcenter;以上樣式的縮寫正確的是?()

A.background:#ccc,url(bg.png)no-repeat,-100pxcenter;
B.background:#cccurl(bg.png)no-repeat-100pxcenter;
C.background:#ccc;background-image:url(bg.png)no-repeat-100pxcenter;
D.background-color:#ccc;background-image:url(bg.png)no-repeat-100pxcenter;

3.單項選擇題(網(wǎng)站)怎樣去掉文本超級鏈接的下劃線()

A.a{decoration:nounderline}
B.a{text-decoration:nounderline}
C.a{text-decoration:none}
D.a{underline:none}