相关考题
-
单项选择题
在JavaScript中,可以使用Date对象的()方法返回该对象的日期。
A.getDate
B.getYear
C.getMonth
D.gerTime -
单项选择题
在HTML中,为了在页面中输出当前页面的URL的地址,下面Javascript语句正确的是()
A.document.write(document.location)
B.document.write(document.title)
C.document.write(document.body)
D.document.write(document.links) -
单项选择题
在HTML页面中使用外部JavaScript文件的正确语法是()。
A.<language="JavaScript" src="scriptfile.js">
B.<script language="JavaScript" src="scriptfile.js"></script>
C.<script language="JavaScript" =scriptfile.js></script>
D.< language src="scriptfile.js">
