Home » HTML » HTML Elements » Question
  1. Which element is used for grouping together related elements?
    1. <section>
    2. <header>
    3. <div>
    4. <hgroup>
    5. 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.



Your comments will be displayed only after manual approval.