Hi all! I am currently working my way through the front end developer path, and came across a question while working on the Olivia Woodruff Portfolio Project.
When analyzing the HTML provided in this exercise, I noticed the following code:
Would it not be more semantically correct to use a <header>
tag versus the <div class="header">
tag? When applying the CSS we would then also be able to use a header
selector versus the more specific .header
selector. I just wanted to make sure I was correct in my thinking and hear others thoughts on this.
Thank you!