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 trialtomd
16,701 PointsApparently HTML tags such as <main> are API's? Im pretty sure they're not.
I just bought a magazine called and inside they have a section called '30 Best HTML, CSS and JS API's', they then proceed to name: dialog, details, summary, main, aside, nav, header, footer, ect as API's. How are they API's?
1 Answer
Austin Whipple
29,725 PointsHuh... I certainly wouldn't consider them APIs at all since they're semantic markup tags released with HTML5 and not even close to the fully-realized communication protocols that usually get that name. I suppose if you wanted to be really generous with the API definition, you could consider them "tools" for building more complex web applications. However, what I think is more likely is that the author of that piece didn't understand the typical use of API in the context of web development.
tomd
16,701 Pointstomd
16,701 PointsYeah I thought it was a little strange they called HTML tags API's.... Thanks for your response.