塊級元素和行內元素分別有哪些

admin發表於2018-11-14

本文不對塊級元素和行內元素概念做介紹。

只羅列一下兩種型別元素具體包含哪些HTML標籤。

特別說明:隨著版本的演化,具體包含的標籤可能會增加或者減少。

一.塊級元素:

(1).<address>

(2).<article>

(3).<aside>

(4).<audio>

(5).<blockquote>

(6).<canvas>

(7).<dd>

(8).<div>

(9).<dl>

(10).<fieldset>

(11).<figcaption> 

(12).<figure>

(13).<footer>

(14).<form>

(15).<h1>, <h2>, <h3>, <h4>, <h5>, <h6>

(16).<header> 

(17).<hgroup>

(18).<hr>

(19).<li>

(20).<noscript>

(21).<ol>

(22).<output> 

(23).<p>

(24).<pre>

(25).<section>

(26).<table>

(27).<tfoot>

(28).<ul>

(29).<video> 

二.內聯元素:

(1).<a>

(2).<abbr>

(3).<acronym>

(4).<b>

(5).<bdi>

(6).<bdo>

(7).<big>

(8).<br>

(9).<button>

(10).<canvas>

(11).<cite>

(12).<code>

(13).<data>

(14).<datalist>

(15).<del>

(16).<dfn>

(17).<em>

(18).<embed>

(19).<i>

(20).<iframe>

(21).<img>

(22).<input>

(23).<ins>

(24).<kbd>

(25).<label>

(26).<map>

(27).<mark>

(28).<meter>

(29).<noscript>

(30).<object>

(31).<output>

(32).<picture>

(33).<progress>

(34).<q>

(35).<ruby>

(36).<s>

(37).<samp>

(38).<script>

(39).<select>

(40).<slot>

(41).<small>

(42).<span>

(43).<strong>

(44).<sub>

(45).<sup>

(46).<svg>

(47).<template>

(48).<textarea>

(49).<time>

(50).<u>

(51).<tt>

(52).<var>

(53).<video>

(54).<wbr>

相關文章