18 great HTML APIs – and how to use them

HTML is more capable than ever before. In this post, we run through the best HTML APIs around right now. These are the elements you should be making the most of in your website layouts. Read on for an in-depth look at the <dialog>, <details>, <picture> and <input> HTML APIs, plus your guide to Web Components. 

Alternatively, jump to the second page for a roundup of sectioning elements you can use to accurately define page structure and each element’s role, and a selection of inline elements to use instead of <span>.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Matt Crouch

Matt Crouch is a front end developer who uses his knowledge of React, GraphQL and Styled Components to build online platforms for award-winning startups across the UK. He has written a range of articles and tutorials for net and Web Designer magazines covering the latest and greatest web development tools and technologies. 

Latest in HTML
Write HTML faster
How to write HTML code faster
HTML tags
8 HTML tags you need to be using (and 5 to avoid)
HTML tags
HTML tags: A guide to the basics
18 great HTML APIs – and how to use them
Convert Flash games to HTML5
Convert Flash games to HTML5
Build a simple HTML page
Latest in Features
Tesla logo
The history of the Tesla logo: from car badge to global tech brand
Nintendo and AI art; a vibrant illustration showcases a large group of popular video game characters, seemingly from the Mario franchise
Mario and Zelda creator rejects AI to "find what makes Nintendo special" – what we can all learn from Shigeru Miyamoto
Selection of Guinness ads throughout the ages
The best Guinness adverts of all time – from the toucan to a singing pint
Tina Touli headshot
"The 9 to 5 work routine was draining my creativity”: a day in the life of Tina Touli
Promise Mascot Agency;
How Ikumi Nakamura's 'art bible' helped create Promise Mascot Agency's grotesque mascots, and why collaboration in indie game development is vital
Stanley &#039;Artgerm&#039; Lau discuses AI; a digital illustration showcases a stylised female figure, reminiscent of a comic book superhero, likely Supergirl, with vibrant colours and a dynamic pose
"In the future, there will be fewer artists like me – real artists" says Stanley 'Artgerm' Lau as he reflects on the dangerous impact of AI on art