Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPoonam Jain
908 Pointswhether i add these tags or not the output is the same. so why do we add them? for example -aside, section, articles etc
why do we add these tags? can we also write the code without these tags?
1 Answer
Steven Parker
231,275 PointsThe semantic tags don't cause any special appearance by themselves, but CSS can target them to apply styling. They also assist automated data collectors (robots) to find significant parts of the page to classify and index the page for search engines.
You can certainly write code without them, but anyone examining your pages might think they were legacy code developed before the semantic tags became the modern standard.