# HTML Document Structure

> Explain the structure of an HTML document. What belongs in the head versus the body, and how should scripts be loaded?

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

Difficulty: Beginner

## Question

Explain the structure of an HTML document. What belongs in the head versus the body, and how should scripts be loaded?

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

## Concepts covered

DOCTYPE, Standards mode, head vs body, Render-blocking resources, defer and async

Previous: [Responsive Design & Mobile First](https://www.internhack.in/learn/interview/html-css-interview/css-responsive) · Next: [HTML Forms & Input Types](https://www.internhack.in/learn/interview/html-css-interview/html-forms) · [All of HTML & CSS Interview](https://www.internhack.in/learn/interview/html-css-interview)

## More HTML & CSS Interview questions

- [HTML Tables & Lists](https://www.internhack.in/learn/interview/html-css-interview/html-tables-lists)
- [HTML5 APIs (Geolocation, Storage)](https://www.internhack.in/learn/interview/html-css-interview/html5-apis)
- [Meta Tags & SEO](https://www.internhack.in/learn/interview/html-css-interview/html-meta-seo)
- [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)

## 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)
