MDN’s new design is in Beta! A sneak peek:


Mozilla Developer Network (MDN) 是個針對網路技術和基於網路的軟體,持續發展的學習平台。它包含了:


MDN's mission is simple: to 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.

In addition, we provide documentation about Mozilla products and how to build and contribute to Mozilla projects. We also cover the B2G OS (formerly Firefox OS).

If you're not sure whether a particular topic should be covered on MDN, read: Does this belong on MDN?


You don't need to be able to code—or to write well—in order to be able to help MDN! We have lots of ways you can help, from reviewing articles to be sure they make sense, to contributing text, to adding sample code. In fact, there are so many ways to help that we have a Getting Started page that helps you pick tasks to do, based on your interests and how much time you have to spare!

You can also help by promoting MDN on your own blog or website.

MDN 社群

Our community is a global one! We have amazing contributors all around the world, in a number of languages. If you'd like to learn more about us, or if you need help of any kind with MDN, feel free to check out our discussion forum or IRC channel! You can also keep up with what we're up to by following our Twitter account, @MozDevNet. You can also send tweets our way if you see something wrong or if you'd like to offer feedback (or great big thank yous) to our writers and contributors!

Join the MDN community

Choose your preferred method for joining the discussion:

使用 MDN 的內容


MDN wiki documents have been prepared with the contributions of many authors, both within and outside the Mozilla Foundation. 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. 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:

About MDN by Mozilla Contributors is licensed under CC-BY-SA 2.5.

Note that in the example, "Mozilla Contributors" links to the history of the cited page. See Best practices for attribution for further explanation.

See MDN content on for information about how to reuse and attribute MDN content on that site.

Code samples added to this wiki 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>".

Code samples added on or after August 20, 2010 are in the public domain. No licensing notice is necessary, but if you need one, you can use: "Any copyright is dedicated to the Public Domain.".

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 the licenses noted 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 Eric Shepherd.

The rights in the trademarks, logos, 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:


You can download a full tarball mirror of MDN (2.5 GB as of 2016-11-30).


You can retrieve the content of a single page on MDN by adding document parameters to the URL to specify what format you want.


You can view MDN content via third-party tools like Dash (for Mac OS) and Zeal (for Linux and Windows).

Kapeli also publishes offline MDN docs covering HTML, CSS, JavaScript, SVG, and XSLT.

連結到 MDN

See this article for guidance on linking to MDN for best practices when linking.

Reporting problems with MDN

See How to report a problem on MDN.

MDN 歷史

Mozilla Developer Network(又稱 Mozilla Developer Center (MDC) 或 Devmo)專案始於 2005 年初,Mozilla 基金會從 AOL 得到了原始的 Netscape DevEdge 授權。DevEdge 內容 mined for still-useful material,之後給志願者合併到今日的本 wiki 以便日後的更新與維護。

你可以從我們的十週年慶祝頁面看到更多 MDN 的歷史,包含一些參與者的口述歷史。

關於 Mozilla

Whether you want to learn more about who we are, how to be a part of Mozilla or just where to find us, you've come to the right place. To find out what drives us and makes us different, please visit our mission page.


 此頁面的貢獻者: jswisher, iigmir, teoli, young3578671, irvinfly, abs0986211642
 最近更新: jswisher,