Why meaningful page structure matters
In Year One, you learned that HTML gives a page structure. In Year Two, you start making that structure more meaningful.
A beginner page can technically work if everything is wrapped in generic containers like:
<div>Site title and links</div>
<div>Main lesson content</div>
<div>Helpful side note</div>
<div>Copyright line</div>
The problem is that those containers do not explain their jobs. A person reading the code has to guess. A browser can display it, but the code is harder to scan, maintain, and connect to accessibility tools.
Semantic sections use tags whose names describe the purpose of that part of the page. They help answer: "What job does this area have?"
A semantic tag does not only create a box. It gives that box a job name that people and tools can understand.