height的属性值可以是()
A: 200-px
B: 200
C: 200px
D: auto
A: 200-px
B: 200
C: 200px
D: auto
举一反三
- 下面哪一个方法不可以设置匹配元素的高度? A: $(this).height(200); B: $(this).css("height",200); C: this.style.height="200px"; D: this.styleHeight=200;
- 设置DIV宽为500像素和高为400像素的正确方法是? A: height:500 px; width:400 px; B: margin:500px; padding:400 px; C: padding:500 px;margin:400 px; D: width:500 px;height:400 px;
- HTML5画布API中创建一个宽度为200px、高度为50px的画布,以下哪句代码正确?( )。 A: <;canvas id=”myCanvas” w=”200” h=”50”>;<;/canvas>; B: <;canvas id=”myCanvas” w=”200px” h=”50px”>;<;/canvas>; C: <;canvas id=”myCanvas” width=”200” height=”50”>;<;/canvas>; D: <;canvas id=”myCanvas” width=”200px” height=”50px”>;<;/canvas>;
- font-size属性的属性值不能是()。 A: em B: px C: dm D: 百分比
- 圆角边框的常用属性值有? A: px B: % C: em D: in