HTML5 basic examples
We have already analyzed the basic meaning of some semantic elements in the last lesson. Now let’s explain it in detail
<article> <header> <meta charset="utf-8"> <h1>HTML5為什么火</h1> <p><time pubdate datetime="2016-05-03"></time></p> </header> <p>以往,我們?cè)赪eb上還只是上網(wǎng)看一些基礎(chǔ)文檔,但現(xiàn)在,Web是一個(gè)內(nèi)涵非常豐富的平臺(tái)。和以前版本不同的是,HTML5并非僅僅用來表示W(wǎng)eb內(nèi)容,在這個(gè)平臺(tái)上還能非常方便的加入視頻、音頻、圖象、動(dòng)畫,以及同電腦的交互。<br /><br /> HTML5的意義在于它帶來了一個(gè)無縫的網(wǎng)絡(luò),無論是PC、平板電腦,還是智能手機(jī)都能很方便的瀏覽基于HTML5的各類網(wǎng)站。 <br /><br /> 對(duì)用戶來說好處在于,我們手機(jī)上的App也會(huì)越來越少,用H5實(shí)現(xiàn)的游戲,不需要下載后安裝,就能立即在手機(jī)界面中生成一個(gè)APP圖標(biāo),使用手機(jī)中的瀏覽器來運(yùn)行,新增的導(dǎo)航標(biāo)簽也能更好的幫助小屏幕設(shè)備和視力障人士的使用。H5擁有服務(wù)器推送技術(shù),能讓用戶擁有更好的網(wǎng)頁上的實(shí)時(shí)聊天,更快的網(wǎng)游體驗(yàn)。 by 何問起 hovertree.com </p> </article>
You can run the above code and you can see that it is basically the same as our previous html pages. , but the tags used are quite different