HTML標籤以及HTML新增標籤和擴充套件
阿新 • • 發佈:2022-04-22
<!-- 塊級 --> <div></div> <p></p> <h1></h1> <h6></h6> <ul> <li></li> </ul> <form action=""></form> <table></table> <!-- h5新增塊元素--> <section></section> <main></main> <header></header> <aside></aside> <footer></footer> <nav></nav> <!-- 行內元素 --> <span></span> <img src="" alt=""> <a href=""></a> <!-- 行內塊元素 --> <img src="" alt=""> <button></button> <input type="text"> <select></select> <label for=""></label> <textarea name="" id="" cols="30" rows="10"></textarea> <!-- HTML5新增 --> <!-- 側邊欄標籤 --> <aside></aside> <!-- 頭部標籤 --> <header></header> <!-- 尾部標籤 --> <footer></footer> <!-- 導航標籤 --> <nav></nav> <!-- 文章區域標籤 --> <article></article> <!-- 定義文件區域標籤 --> <section></section> <!-- input新增屬性 --> <!-- 上傳檔案 multiple可以上傳多個檔案 --> <input type="file" multiple> <!-- url型別 --> <input type="url" autofocus required> <!-- 日期型別 --> <input type="date"> <!-- 時間型別 --> <input type="time"> <!-- 數字型別 --> <input type="number"> <!-- 手機號型別 --> <input type="tel"> <!-- 取色板 --> <input type="color"> <!-- 搜尋型別 --> <input type="search"> <!-- 郵件型別 --> <input type="email">