Can ı use footer element in header element.
<header>Lorem ipsum dolor sit amet.
<footer>
<img src="/src/images/clouds-1440w-desktop.jpg" alt="">
</footer>
</header>
Can ı use footer element in header element.
<header>Lorem ipsum dolor sit amet.
<footer>
<img src="/src/images/clouds-1440w-desktop.jpg" alt="">
</footer>
</header>
2
Answers
No. The definition of the
header
element forbidsfooter
descendants:It is not good to use a footer in the header instead you can use the footer in sections like
or
or