# HTML5 APIs (Geolocation, Storage)

> What are the key HTML5 APIs? Explain localStorage vs sessionStorage.

Canonical: https://www.internhack.in/learn/interview/html-css-interview/html5-apis
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What are the key HTML5 APIs? Explain localStorage vs sessionStorage.

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

localStorage, sessionStorage, Geolocation, Web Workers, History API

Previous: [HTML Tables & Lists](https://www.internhack.in/learn/interview/html-css-interview/html-tables-lists) · Next: [Meta Tags & SEO](https://www.internhack.in/learn/interview/html-css-interview/html-meta-seo) · [All of HTML & CSS Interview](https://www.internhack.in/learn/interview/html-css-interview)

## More HTML & CSS Interview questions

- [CSS Selectors & Combinators](https://www.internhack.in/learn/interview/html-css-interview/css-selectors)
- [CSS Specificity Deep Dive](https://www.internhack.in/learn/interview/html-css-interview/css-specificity)
- [CSS Positioning (static to sticky)](https://www.internhack.in/learn/interview/html-css-interview/css-positioning)
- [CSS Float & Clear](https://www.internhack.in/learn/interview/html-css-interview/css-float-clear)
- [Flexbox Deep Dive](https://www.internhack.in/learn/interview/html-css-interview/css-flexbox)
- [CSS Grid Deep Dive](https://www.internhack.in/learn/interview/html-css-interview/css-grid)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [HTML & CSS Interview](https://www.internhack.in/learn/interview/html-css-interview)
