標籤:
相容性問題
建立一個html5頁面
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> ...... </body></html>
html5新的 (input type=類型) 元素
<input type="number" name="quantity" /><input type="date" name="bday" /><input type="color" name="favcolor" /><input type="range" name="points" /><input type="month" name="bdaymonth" /><input type="week" name="week_year" /><input type="datetime" name="bdaytime" /><input type="datetime-local" name="bdaytime" /><input type="email" name="email" /><input type="search" name="googlesearch" /><input type="tel" name="usrtel" /><input type="url" name="homepage" />
html5新元素
<datalist> 標籤定義可選資料的列表。<keygen> 標籤定義產生密鑰。<output> 標籤定義不同類型的輸出。<article> 標籤定義外部的內容。<aside> 標籤定義 article 以外的內容。aside 的內容應該與 article 的內容相關。<details> 標籤定義元素的細節,通過點擊進行隱藏。<dialog> 標籤定義對話方塊或視窗。<figcaption> 標籤定義 figure 元素的標題。<figure> 標籤用於對元素進行組合。使用 figcaption 元素為元素組添加標題。<footer> 標籤定義 section 或 document 的頁尾。<header> 標籤定義 section 或 document 的頁首。<main> 標籤定義文檔的主要內容。<meter> 標籤定義度量衡。可在 min/max 屬性中定義。<nav> 標籤定義導航連結的部分。<rp> 標籤定義在 ruby 注釋中使用。<rt> 標籤定義字元(中文注音或字元)。<ruby> 標籤定義 ruby 注釋(中文注音或字元)。<section> 標籤定義文檔中的章節、頁首、頁尾或文檔中的其他部分。<summary> 標籤定義包含 details 元素的標題。<time> 標籤定義日期或時間。<mark> 標籤定義標記或高亮顯示文本。此標籤很常用,在搜尋中可以高亮顯示搜尋關鍵詞。<progress> 標籤運行中的進程。此標籤來顯示 javascript 中耗費時間的函數的進程。--------------------------------------------------------------------------<video> 標籤定義視頻。<audio> 標籤定義聲音。<source> 標籤為媒介元素(<video>、<audio>)定義媒介資源。<canvas> 標籤定義圖形。
本文來源:http://www.jcore.cn/2014/09/14/html5-series-base/
html5系列.基礎知識