HTML · APIs · Mid-Level · Concept
What is the History API used for in HTML apps?
Short Interview Answer
pushState/replaceState + popstate for client routing without full reloads.
Detailed Explanation
Keep URLs shareable. Sync document title. Don't break back button.