單項選擇題以下哪個JavaScript方法用于獲取當前時間的小時?()
A.Date.getHours()
B.Date.getMinutes()
C.Date.getMonth()
D.Date.getDate()
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題在CSS中,以下哪個屬性用于設置元素的字母間距?()
A.letter-spacing
B.word-spacing
C.line-height
D.text-indent
2.單項選擇題以下哪個HTML標記用于創(chuàng)建一個水平線?()
A.<hr>
B.<br>
C.<line>
D.<hrline>