Promote MDN

Love MDN? Help share the open-Web goodness with fellow web developers by promoting MDN! We have some ideas of ways you can do that.  We also have wallpapers, stickers, posters, animations, website badges, you name it; link to it from here.

Want to know more about MDN or how to help make a great reference Wiki for web technologies?

Did you find an article on MDN especially helpful? Share it on Twitter, Facebook, Hacker News, Reddit, or wherever you share cool stuff you like. It's great if you let us know at @MozDevNet, but certainly not required.

Whether the question is on Stack Overflow, someone is shouting it to the Twitterverse, or your coworker is asking in your team's Slack channel, often answers to questions about web development can be found on MDN. Help the questioner find the best information about web development by sharing a link to MDN that answers their question.

Cite MDN in technical talks

Whether you're speaking to your local JavaScript meetup group or at a major technical conference, often MDN has articles that complement your topic, or provide further background to your audience. If your presentation is available online,  it would be great if you could give us a shout at @MozDevNet with the link. But the most important thing is that you share great information with people who need it.

WordPress plugin

The Promote MDN plugin for WordPress blogs is available to help people who blog about Web technologies or Mozilla-related products both promote their own blogs as well as MDN itself. It works in this way:

When you publish a blog post, it automatically links key terms (such as "HTML", "JavaScript", and "CSS", among others) to the appropriate pages on MDN. This lets you write about Web technologies and automatically link to relevant documentation without having to do anything yourself. It's incredibly useful! The terms and their destination pages on MDN are configured in the def-list branch of the GitHub repo

Installing this plugin is helpful to you and to MDN both, so if you haven't already installed it, you should! If you want to help code on the plugin, go to the wp-promote-mdn GitHub repo.

JavaScript snippet

The recommended way to automatically link keywords to MDN pages is the Promote MDN WordPress plugin given above, but if your site or blog isn't running on WordPress, you can embed the JavaScript code below to do the same thing. This script does the same thing as the WordPress plugin; it converts known keywords in the page's content into links to the appropriate documentation on MDN.

You can configure the maximum number of keywords to turn into links by changing the value of maxLinks in the options object, o. You can also specify the elements to search, the class to use for the created link, and a set of additional keywords and target URLs to scan for.

To use this snippet, just embed it right before your closing </body> tag at the end of your content.

<script type="text/javascript" >
    (function (d,f,a) {
        // Your settings here
        var o = {maxLinks: 4, searchElements: ['div', 'h'], linkClass: 'link-to-mdn', extraLinks: {'keywordx': ''}};

        var s=d.createElement("script");s.type="text/javascript";if(s.f)

This snippet loads the primary code that does all the real work from GitHub. If you would prefer to host that code on your server yourself (for security, performance, etc.), just download the code from GitHub, add it to your site, and adjust the URL on line 9 of the code above to match.

Website banner images

If you'd like to link to MDN from your website using a promotional image, we have a number of them to choose from:

MDN Banner: 240x240px Better Docs for a Better Web

By Developers for Developers

Better Docs for a Better Web

Feel free to use these on your website to link to MDN!

Desktop wallpapers

First designed at the 2006 Firefox Developer's Summit by Sean Martell based on an idea from Chris Beard, this graphic became a smash hit at the SXSW conference in 2007. Now available as a desktop wallpaper in a variety of sizes:

These wallpapers are available for use under the terms of the Creative Commons Attribution-NonCommercial license. These wallpapers are also covered by the Mozilla Trademark Policy.