abstract:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>時(shí)間</title> </head> <body> <script type="text/javascript&quo
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>時(shí)間</title> </head> <body> <script type="text/javascript"> var myday = new Date(); document.write(myday+'<br>') document.write(myday.getFullYear()+'年') document.write(myday.getMonth()+1+'月') document.write(myday.getDate()+'日') document.write('星期'+myday.getDay()+'<br>') document.write(myday.getHours()+'時(shí)') document.write(myday.getMinutes()+'分') document.write(myday.getSeconds()+'秒'+'<br>') </script> </body> </html>
本章主要學(xué)習(xí)了通過節(jié)點(diǎn)來改變html樣式和內(nèi)容以及改變css樣式,還有本節(jié)關(guān)于時(shí)間的輸出問題,總的來說,需要注意的地方不少,但是難點(diǎn)不是很多,可以短時(shí)間內(nèi)掌握并理解
Correcting teacher:韋小寶Correction time:2019-03-09 09:20:31
Teacher's summary:寫的還算是不錯(cuò) js中的時(shí)間函數(shù)還是比較好掌握的 和我們用的英文單詞還是有些掛鉤的