<icon>是图标组件,以下哪句代码可以实现一个红色、40像素大小的搜索图标?( )
A: <icon type="search" size="40px" color="red"></icon>
B: <icon type="discover" size="40" color="red"></icon>
C: <icon type="search" size="40" color="red"></icon>
D: <icon type="discover" size="40px" color="red"></icon>
A: <icon type="search" size="40px" color="red"></icon>
B: <icon type="discover" size="40" color="red"></icon>
C: <icon type="search" size="40" color="red"></icon>
D: <icon type="discover" size="40px" color="red"></icon>
举一反三
- <;icon>;是图标组件,以下哪句代码可以实现一个红色、40像素大小的搜索图标? A: <;icon type="search" size="40" color="red">;<;/icon>; B: <;icon type="search" size="40px" color="red">;<;/icon>; C: <;icon type="discover" size="40" color="red">;<;/icon>; D: <;icon type="discover" size="40px" color="red">;<;/icon>;
- 下列定义字符串数组的语法正确的是( )? A: String[] list = new String[]{"red", "yellow", "green"}; B: String list = new String{"red", "yellow", "green"}; C: String list = {"red", "yellow", "green"}; D: String[] list = {"red", "yellow", "green"};
- 下面代码能够实现,单击鼠标给按钮添加边框的是() A: $("button").click(function(){ $(this).css("border","1px solid red") }) B: $("button").click(function(){ $(this).css(border,1px solid red) }) C: $("button").dbclick(function(){ $(this).css("border","1px solid red") }) D: $("button").mouseover(function(){ $(this).css("border","1px solid red") })
- 在构建基本体中,WebGL库与代码对应不正确的是? A: A-frame:<a-box color="red" width="3"> B: Three.js:<a-entity geometry="primitive:box; width:3"material="color:red"> C: HTML5:<a-box color="red" width="3"> D: HTML5:<a-entity geometry="primitive:box; width:3"material="color:red">
- 把一个JSON格式数据赋给变量color:color = "色彩":[ "暖色":["红","橙","黄"], "冷色":["青","蓝"], "中性色":["紫","绿","黑","灰","白"] ]以下能够取到冷色“["青","蓝"]”的是哪一个选项?_