You are absolutely right. As you get to know more and more code, you’ll realize that the use of <div>
is widespread and predominant. In a perfect world when HTML5 introduced semantic tags every website and every developer would’ve adopted them right away. In practice, it is quite difficult, time consuming and even impractical to change entire codebases for it.
Bottom line: get used to seeing semantic and non-semantic HTML because it’s everywhere
4 Likes
Thanks for reply