单项选择题
下列引用外部样式表正确的代码是()
A.<stylesheet>MyStyle.css<stylesheet>
B.<link rel="stylesheet"type="text/css"href="MyStyle.css">
C.<style src="MyStyle.css">
D.<style href="MyStyle.css">
点击查看答案
相关考题
-
单项选择题
在JS中需要每隔一秒调用函数f(),下列调用方法正确的是()
A.clearTimeout("f()",1000)
B.clearInterval("f()",1000)
C.setInterval("f()",1000)
D.setTimeout("f()",1000) -
单项选择题
在DOM中,下列()对象包括了alert()方法。
A.document
B.location
C.window
D.screen -
单项选择题
在HTML页面中有一个class为nav的<div>,下面的()样式可以设置它向右浮动。
A..nav{float:right}
B..nav{float:left}
C..nav{clear:left}
D..nav{clear:right}
