Welcome to Day 10! Today, you leveled up your HTML skills by learning how to add extra meaning to elements and how to structure your content in a way that’s friendly for both humans and search engines.
Day10/
└── day10.html # HTML file covering attributes and semantic HTML5 tags
href,src,altclassandidfor styling & JS hooksstylefor inline styling
<header>,<nav>,<main><section>,<article>,<aside><footer>
- Improves SEO
- Enhances accessibility for screen readers
- Makes code easier to maintain
✔️ Writing clean, structured HTML ✔️ Using semantic tags to improve readability ✔️ Applying attributes effectively
- IDs must be unique on a page.
- Classes can be reused across multiple elements.
- Use semantic tags instead of generic
<div>s wherever possible.
You’ve now learned how to make HTML clearer and more purposeful. Tomorrow, in Day 11, we’ll build our first interactive HTML forms.