For grouping together one or more <h1> to <h6> element what element is used?

Đức Linh

New member
For grouping together one or more <h1> to <h6> element what element is used?
A. <header>
B. <hgroup>
C. <div>
D. <section>
 
Answer: b
Explanation: For grouping together set of one or more <h1> to <h6> element we use <hgroup> element. We can group together the primary heading and the subheading. E.g. <hgroup> <h2> Winter is coming!</h2> <h3>Its too cold</h3> </hgroup>. Grouping of related content together is done by <section> element. For grouping together related elements we use <div> element. An introductory content lies in <header>.
 

Tìm kiếm

Back
Top