- <form>中<fieldset>和<legend>
<fieldset>:定義了一組相關的表單元素,并使用外框包含起來
<legend>:定義了 <fieldset> 元素的標題
- <select>中<optgroup>
<optgroup>:定義選項組
- <output>:定義一個計算結果
- 格式化標簽
- html字符實體
- <dl><dt><dd>定義列表
- <object>和<embed>
<object> 元素
所有主流瀏覽器都支持 <object> 標簽。
<object> 元素定義了在 HTML 文檔中嵌入的對象。
<object> 元素具有局部屬性:data,type,height,width,usemap,name,form。
該標簽用于插入對象 (例如在網頁中嵌入 Java 小程序, PDF 閱讀器, Flash 播放器) 。
<object width="400" height="50" data="bookmark.swf"></object> <!--插入對象
(例如在網頁中嵌入 Java 小程序, PDF 閱讀器, Flash 播放器)-->
<object width="100%" height="500px" data="snippet.html"></object> <!--包含HTML文件-->
<object data="logo.png"></object> <!--插入一張圖片-->
<object height="50" width="100" data="horse.mp3"></object> <!--包含音頻-->
<embed> 元素
所有主流瀏覽器都支持 <embed> 元素。
<embed> 元素實現與 <object> 元素相同的結果。
<embed> 元素表示一個 HTML Embed 對象 。
<embed width="400" height="50" src="bookmark.swf">
<embed width="100%" height="500px" src="snippet.html"> <!--包含 HTML 文件-->
<embed src="logo.png"> <!--插入一張圖片-->
<embed height="50" width="100" src="horse.mp3"> <!--包含音頻-->
- 音頻
這個例子使用了兩個不同的音頻格式。HTML5 <audio> 元素會嘗試以 mp3 或 ogg 來播放音頻。如果失敗,代碼將回退嘗試 <embed> 元素。
<audio controls height="100" width="100">
<source src="horse.mp3" type="audio/mpeg">
<source src="horse.ogg" type="audio/ogg">
<embed height="50" width="100" src="horse.mp3">
</audio>
- 視頻
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
<source src="movie.webm" type="video/webm">
<object data="movie.mp4" width="320" height="240">
<embed src="movie.swf" width="320" height="240">
</object>
</video>