🏳️MDN Web Docs

Website favicondeveloper.mozilla.org

The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.

*   [Skip to main content](#content)

*   [Skip to search](#top-nav-search-input)

[See what your team could do with The DevSecOps Platform. Take GitLab for a spin.](/pong/click?code=aHR0cHM6Ly9zcnYuYnV5c2VsbGFkcy5jb20vYWRzL2NsaWNrL3gvR1RORDQyN1dDNllJS0tKV0M2QkxZS1FVQ0VZREtLN1VDRUFENVozSkNBQkRUMjdZQ1c3STZLM0tDNkJJVEtRWUZUU0k0MjNJRlRCSUVLN0VDVEJJTEszWUhFWUk1MjNKQ1ZZSTZLM0VDVE5DWUJaNTJL.GBClG2BtTw3E0wI2UsDUvfI4D2AHvcxspEAhNPl8Sbs%3D&version=2)[Try Gitlab for 60 days](/pong/click?code=aHR0cHM6Ly9zcnYuYnV5c2VsbGFkcy5jb20vYWRzL2NsaWNrL3gvR1RORDQyN1dDNllJS0tKV0M2QkxZS1FVQ0VZREtLN1VDRUFENVozSkNBQkRUMjdZQ1c3STZLM0tDNkJJVEtRWUZUU0k0MjNJRlRCSUVLN0VDVEJJTEszWUhFWUk1MjNKQ1ZZSTZLM0VDVE5DWUJaNTJL.GBClG2BtTw3E0wI2UsDUvfI4D2AHvcxspEAhNPl8Sbs%3D&version=2)[Ad](/en-US/advertising)

[Don't want to see ads?](/en-US/plus?ref=nope)

Resources for Developers,  

by Developers

=========================================

Documenting web technologies, including [CSS](/en-US/docs/Web/CSS), [HTML](/en-US/docs/Web/HTML), and [JavaScript](/en-US/docs/Web/JavaScript), since 2005.

Search MDNClear search inputSearch

Mandala   ////////////   ////////////   ////////////   ////////////   ////////////   ////////////   ////////////  ++++++  ++++++  ++++++  ++++++  ++++++  ++++++  ++++++{{{{ }}}}  {{{{ }}}}  {{{{ }}}}  {{{{ }}}}  {{{{ }}}}  {{{{ }}}}     ../../    ../../    ../../    ../../    ../../    ../../    ../../<></><></><></><></><></><></><></><></><></><></><></><></><></><></><></><></>

[](/pong/click?code=aHR0cHM6Ly9zcnYuYnV5c2VsbGFkcy5jb20vYWRzL2NsaWNrL3gvR1RORDQyN1dDNllJSzIzTENUN0xZS1FVQ0VZREtLN1VDRUFEUFozSkNBQkRUMjc3Q1RTRFRLN0tDNkJJVEtRWUZUU0k0MjNJRlRCSUVLN0VDVEJJTEszWUhFWUk1MjNKQ1ZZSTZLM0VDVE5DWUJaNTJL.D9xAFYpUKOgCDaEPIHael5VhcWhrQ06seJnRouA25HQ%3D&version=2)[Ad](/en-US/advertising)

Featured articles

-----------------

[Blog](/en-US/blog/)

### [MDN partners with Scrimba to enhance web development learning](/en-US/blog/mdn-scrimba-partnership/)

We have chosen Scrimba as a course partner for the MDN Curriculum. This blog post explores what the partnership means practically, and how we will provide an even better web education experience together.

[Blog](/en-US/blog/)

### [Developer essentials: JavaScript console methods](/en-US/blog/learn-javascript-console-methods/)

The JavaScript console is an essential tool for web development. Learn new and fun ways to use the console to display data and debug your code.

[Blog](/en-US/blog/)

### [Introduction to web sustainability](/en-US/blog/introduction-to-web-sustainability/)

What can web designers and developers do to build a more sustainable web? This post explores the environmental impacts of web technologies and looks at some of the ways we can build greener websites.

[Web APIs](/en-US/docs/Web/API)

### [CSS Custom Highlight API](/en-US/docs/Web/API/CSS_Custom_Highlight_API)

<p>The CSS Custom Highlight API provides a mechanism for styling arbitrary text ranges on a document by using JavaScript to create the ranges, and CSS to style them.</p>

Latest news

-----------

*   [MDN partners with Scrimba to enhance web development learning](/en-US/blog/mdn-scrimba-partnership/)[developer.mozilla.org](/en-US/blog/)

    8 months ago

*   [Introducing the MDN HTTP Observatory](/en-US/blog/mdn-http-observatory-launch/)[developer.mozilla.org](/en-US/blog/)

    8 months ago

*   [Lift-off: The MDN Curriculum launch](/en-US/blog/mdn-curriculum-launch/)[developer.mozilla.org](/en-US/blog/)

    a year ago

Recent contributions

--------------------

*   [chore: Fix casing xrefs](https://github.com/mdn/content/pull/38447)[mdn/content](https://github.com/mdn/content)

    a day ago

*   [\[es\]: Migrate tabbed CSS interactive examples](https://github.com/mdn/translated-content/pull/26155)[mdn/translated-content](https://github.com/mdn/translated-content)

    a day ago

*   [fix(workflows/pr-review-companion): exclude parent from upload](https://github.com/mdn/content/pull/38452)[mdn/content](https://github.com/mdn/content)

    a day ago

*   [fix(workflows/pr-review-companion): exclude parent from upload](https://github.com/mdn/translated-content/pull/26169)[mdn/translated-content](https://github.com/mdn/translated-content)

    a day ago

*   [Fix typo: "get" -> "set" in Firefox 136 release notes for developers](https://github.com/mdn/content/pull/38451)[mdn/content](https://github.com/mdn/content)

    a day ago

*   [Ff136 SVG discard element follow up](https://github.com/mdn/content/pull/38433)[mdn/content](https://github.com/mdn/content)

    a day ago

*   [FF137 Relnote: HVEC support](https://github.com/mdn/content/pull/38436)[mdn/content](https://github.com/mdn/content)

    a day ago

*   [\[ru\] add \`Web/JavaScript/Reference/Global\_Objects/Array/with\` translation](https://github.com/mdn/translated-content/pull/26057)[mdn/translated-content](https://github.com/mdn/translated-content)

    a day ago

*   [\[ru\] sync translated content](https://github.com/mdn/translated-content/pull/26145)[mdn/translated-content](https://github.com/mdn/translated-content)

    a day ago

*   [\[zh-CN\]: Add translation for \`NavigateEvent.intercept\`](https://github.com/mdn/translated-content/pull/26142)[mdn/translated-content](https://github.com/mdn/translated-content)

    a day ago

### Contributor Spotlight

[Yash Raj Bharti](/en-US/community/spotlight/yash-raj-bharti)

> MDN resonates with my passion to build a consistent and open web, where developers can learn and grow.

[Get involved →](/en-US/community)

Mandala   ////////////   ////////////   ////////////   ////////////   ////////////   ////////////   ////////////  ++++++  ++++++  ++++++  ++++++  ++++++  ++++++  ++++++{{{{ }}}}  {{{{ }}}}  {{{{ }}}}  {{{{ }}}}  {{{{ }}}}  {{{{ }}}}     ../../    ../../    ../../    ../../    ../../    ../../    ../../<></><></><></><></><></><></><></><></><></><></><></><></><></><></><></><></>

[](/pong/click?code=aHR0cHM6Ly9zcnYuYnV5c2VsbGFkcy5jb20vYWRzL2NsaWNrL3gvR1RORDQyN1dDNllJSzIzTENUQjRZS1FVQ0VZREtLN1VDRUFES1ozSkNBQkRUMjc3Q1RTRFQyM0tDNkJJVEtRWUZUU0k0MjNJRlRCSUVLN0VDVEJJTEszWUhFWUk1MjNKQ1ZZSTZLM0VDVE5DWUJaNTJL.SsZ%2F%2FPidAIAC4A9b464NjU2ZrlqiQiReI2AeNP49KRw%3D&version=2)[Ad](/en-US/advertising)