在HTML中有如下代碼,運(yùn)行后頁(yè)面顯示結(jié)果為()。
A.整個(gè)網(wǎng)頁(yè)中活動(dòng)鏈接的顏色為紅色 B.整個(gè)頁(yè)面中的文字顏色為紅色 C.整個(gè)頁(yè)面中用戶訪問(wèn)過(guò)的鏈接的顏色為紅色 D.整個(gè)網(wǎng)頁(yè)背景為紅色
如果今天是2006年5月14日,分析下列JavaScript代碼運(yùn)行后,在網(wǎng)頁(yè)上顯示()。 var now = new Date(); var year = now.getYear(); var month = now.getMonth(); var date = now.getDate(); document.write(year+" "+month+" "+date);
A.2006 05 14 B.2006 5 14 C.2006 04 14 D.2006 4 14
A. window.open("http://www.baidu.com"); B. document.write("http://www.baidu.com"); C. location.replace("http://www.baidu.com"); D. location.reload("http://www.baidu.com");