0 votes
in Angular by

Which code correctly shows the addition of a DOM element named mw-media-item inside of the section element?

1. <section>
     <header>
           <h1>Media Watch List</h1>
          <p class=>[Keeping track of the media I want to watch].</p>
     </header>
     <mw-media-item></mw-media-item>
</section>
2. <section>
     <header>
           <h1>Media Watch List</h1>
          <p class=>Keeping track of the media I want to watch.</p>
     </header>
     <mw-media-item></mw-media-item>
</section>
3. <section>
     <header>
           <h1>Media Watch List</h1>
          <p class="description">Keeping track of the media I want to watch.</p>
     </header>
     <mw-media-item></mw-media-item>
</section>

1 Answer

0 votes
by

Correct answer is :- <section>

     <header>

           <h1>Media Watch List</h1>

          <p class="description">Keeping track of the media I want to watch.</p>

     </header>

     <mw-media-item></mw-media-item>

</section>

...