← All resources
The toolkit · Resource guide

MDN Web Docs

Find references and practical guides for HTML, CSS, JavaScript and other web platform technologies.

Visit website (opens in a new tab)
Understand the tool

Overview

MDN Web Docs provides references and learning material for HTML, CSS, JavaScript and web APIs. It connects explanations with examples and related documentation.

Use it when you need to understand a feature, check syntax or explore an unfamiliar part of the web platform.

Best for

  • Looking up HTML, CSS and JavaScript features.
  • Learning a web API before using it.
  • Finding practical examples for frontend work.

Key features

  • Language and web API reference material.
  • Guides and structured learning sections.
  • Examples and related topics for further reading.
A practical walkthrough

Getting started

  1. Search for a feature. Start with the exact property, element or API name.

  2. Read the context. Review its behavior and examples before copying a snippet.

  3. Try it yourself. Adapt the example and test it in the browsers your project supports.

Things to know

  • Check compatibility information for the specific feature.
  • An example may need changes for your project.
  • Platform documentation does not replace testing your own implementation.

Useful alongside this

Accessibility

Text

Visual

Orientation

Accessibility settings