MDN's mission is simple: provide developers with the information they need to easily build projects on the open Web. If it's an open technology exposed to the Web, we want to document it.
If you're not sure whether a particular topic should be covered on MDN, read Does this belong on MDN?
Our community is a global one. We have amazing contributors all around the world who help us create content, fix bugs, review content changes, and add sample code.
However, you don't need to be a professional coder or writer to help MDN! Head over to our Contribute pages to find something you can do to help, based on your expertise and how much time you have to spare.
MDN's content is available free of charge, and under open source licenses.
MDN's content is entirely available under various open source licenses. This section covers the types of content we provide and what licenses are in effect for each.
Documentation and articles
MDN content has been prepared with the contributions of authors from both inside and outside Mozilla. Unless otherwise indicated, the content is available under the terms of the Creative Commons Attribution-ShareAlike license (CC-BY-SA), v2.5 or any later version.
When reusing MDN content, you need to ensure two things:
Attribution is given to the original content.
Please attribute "Mozilla Contributors" and include a hyperlink (online) or URL (in print) to the specific wiki page for the content being sourced. For example, to provide attribution for this article, you can write:
Note that in the example, "Mozilla Contributors" links to the history of the cited page. See Best practices for attribution for further explanation.
Your reuse is published under the same license as the original content—CC-BY-SA v2.5 or any later version.
Code samples and snippets
Code samples added on or after August 20, 2010 are in the public domain (CC0). No licensing notice is necessary, but if you need one, you can use: "Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/".
Code samples added before August 20, 2010 are available under the MIT license; you should insert the following attribution information into the MIT template: "© <date of last wiki page revision> <name of person who put it in the wiki>".
Since the launch of the new Yari MDN platform on December 14 2020, there is currently no way to determine which one you need. We are working on this and will update this content soon.
If you wish to contribute to this wiki, you must make your documentation available under the Attribution-ShareAlike license (or occasionally an alternative license already specified by the page you are editing), and your code samples available under Creative Commons CC-0 (a Public Domain dedication). Adding to this wiki means you agree that your contributions will be made available under those licenses.
Some older content was made available under a license other than those described above; these are indicated at the bottom of each page by way of an Alternate License Block.
No new pages may be created using alternate licenses.
Copyright for contributed materials remains with the author unless the author assigns it to someone else.
If you have any questions or concerns about anything discussed here, please contact the MDN administrators.
Logos, trademarks, service marks and wordmarks
The rights in the trademarks, logos, and service marks of the Mozilla Foundation, as well as the look and feel of this web site, are not licensed under the Creative Commons license, and to the extent they are works of authorship (like logos and graphic design), they are not included in the work that is licensed under those terms. If you use the text of documents, and wish to also use any of these rights, or if you have any other questions about complying with our licensing terms for this collection, you should contact the Mozilla Foundation here: email@example.com.
We regularly get users asking us questions about how to link to MDN, or even if doing so is allowed. The short answer is: yes, you can link to MDN! Not only is the hypertext link the essence of the Web, it is both a way to point your users to valuable resources and a show of trust toward the work our community does.
The MDN Web Docs (previously Mozilla Developer Network (MDN), previously Mozilla Developer Center (MDC), a.k.a. Devmo) project started in early 2005, when the Mozilla Foundation obtained a license from AOL to use the original Netscape DevEdge content. The DevEdge content was mined for still-useful material, which was then migrated by volunteers into this wiki so it would be easier to update and maintain.
The name was changed to MDN Web Docs in June 2017. See The Future of MDN: A Focus on Web Docs for the rationale behind this decision.
You can find more history of MDN on our 10th anniversary celebration page, including an oral history by some of the people who were involved, and on our MDN Web Docs: 15 years young blog post, which provides a report on our 15th anniversary!
On December 14 2020, we went through another evolutionary step, migrating to our new Yari platform and storing all of our content in a GitHub repo. Read Welcome Yari: MDN Web Docs has a new platform for more details.