LinkedIn CSS Skill Assessment Quiz Answers

Using this HTML markup, how would you select only the headings contained within the <header> element?

Latest Update on 23rd March, 2022 by Certification Course Answers

Using this HTML markup, how would you select only the headings contained within the
element?

<header>
  <hl>Heading 1</h1>
  <h2>Heading 2</h2>
</header>
<h2>Heading 2</h2>
  1.  header h1, header h2 {...}
  2.  header h1 + header h2 {...}
  3.  header h1, h2 {...}
  4.  h1, h2 {...}

Correct Answer:

  •  header h1, header h2 {...}

Latest Updates

No posts found in this category.