-
Which element is used for grouping together related elements?
-
- <section>
- <header>
- <div>
- <hgroup>
- None of these
Correct Option: C
For grouping together related elements we use <div> element. Anything that lies outside of <footer>, <aside> or <content> elements can be considered as main content. E.g. <div class= “wrap”> <header> <h1> kitchen </h1> </div>. Grouping of related content together is done by <section> element. An introductory content lies in <header>. For grouping together set of one or more <h1> to <h6> element we use <hgroup> element.