Skip navigation

Widgets and Buttons

MedlinePlus makes trusted, reliable health information easily accessible in a variety of formats, including widgets and buttons. The instructions below describe how to embed the widgets and buttons on your own Web site.

For more information about how to link to MedlinePlus, please see our linking to MedlinePlus page.

Widgets

Widgets are small applications that allow you to access MedlinePlus content directly from your own Web sites. You can embed the following widgets in blogs, personalized homepages, and other Web sites. Once you embed the widget on your site, MedlinePlus takes care of the technical maintenance and updates the content automatically.

Search Cloud Widget

The search cloud widget displays the most frequently searched terms on MedlinePlus. This widget is usually updated each weekday, and it is a smaller version of the full-sized MedlinePlus search cloud.

Content on this page requires a newer version of Adobe® Flash® Player. To download the player, click the link below and follow the instructions to install the software on your computer.

Get Adobe Flash player

If you decide not to install Adobe Flash player at this time, please visit the full version of the MedlinePlus search cloud to view the top 100 searches.

Copy this code for the search cloud widget:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="261" height="332" id="mp_sc_widget" title="This is a Flash version of the MedlinePlus search cloud widget. It shows the top searches of the day."> <param name="movie" value="http://www.nlm.nih.gov/medlineplus/searchwidget.swf"/> <param name="quality" value="high"/> <param name="bgcolor" value="#ffffff"/> <param name="menu" value="false" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allownetworking" value="external"/> <param name="align" value="middle" /> <param name="wmode" value="window" /> <param name="flashvars" value="lang=us" /> <param name="swfversion" value="9" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://www.nlm.nih.gov/medlineplus/searchwidget.swf" width="261" height="332" title="This is a Flash version of the MedlinePlus search cloud widget. It shows the top searches of the day."> <!--<![endif]--> <param name="quality" value="high"/> <param name="bgcolor" value="#ffffff"/> <param name="menu" value="false" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allownetworking" value="external"> <param name="align" value="middle" /> <param name="wmode" value="window" /> <param name="flashvars" value="lang=us" /> <param name="swfversion" value="9" /> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> <div style="font-weight:bold;">If you decide not to install Flash player at this time, click <a href="http://www.nlm.nih.gov/medlineplus/cloud.html">Search Cloud</a> to see MedlinePlus top searches</div> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object>

Search Box Widgets

We welcome you to place the MedlinePlus search box on your Web site as long as you clearly identify the box as belonging to MedlinePlus, display the search results in their own window (not in a frame), use the exact search code provided below, and link the word MedlinePlus to the MedlinePlus homepage (http://www.nlm.nih.gov/medlineplus/).

To put the MedlinePlus search box on your own page and open the results in the same window, copy this code:

<form method="get" action="http://www.nlm.nih.gov/search/medlineplus" title="MedlinePlus Search input" target="_self"> <label for="medlineplus">Search <a href="http://medlineplus.gov/">MedlinePlus</a>: </label>   <input type="text" name="query" size="20" maxlength="250" id="medlineplus"/> <input type="image" src="http://www.nlm.nih.gov/medlineplus/images/search.gif" align="absmiddle" width="57" height="24" border="0" title="Search" alt="Search"/> </form>

To put the MedlinePlus search box on your own page and open the results in a new window, copy this code:

<form method="get" action="http://www.nlm.nih.gov/search/medlineplus" title="MedlinePlus Search input" target="resultwindow"> <label for="medlineplus_new_window">Search <a href="http://medlineplus.gov/">MedlinePlus</a>: </label>    <input type="text" name="query" size="20" maxlength="250" id="medlineplus_new_window"/> <input type="image" src="http://www.nlm.nih.gov/medlineplus/images/search.gif" align="absmiddle" width="57" height="24" border="0" title="Search" alt="Search"/> </form>

Buttons

You can use the following buttons to link to the MedlinePlus on your own Web site. The corresponding code for each button appears directly beneath the image. Paste the desired HTML code directly into your page.

MedlinePlus

<a href="http://www.nlm.nih.gov/medlineplus/"><img src="http://www.nlm.nih.gov/medlineplus/images/mplussm.gif" alt="MedlinePlus" width="120" height="25" /></a>

MedlinePlus Trusted Health Information for You

<a href="http://www.nlm.nih.gov/medlineplus/"><img src="http://www.nlm.nih.gov/medlineplus/images/mpluslinksm.gif" alt="MedlinePlus Trusted Health Information for You" width="179" height="35" /></a>

MedlinePlus Trusted Health Information for You: A service of the National Library of Medicine

<a href="http://www.nlm.nih.gov/medlineplus/"><img src="http://www.nlm.nih.gov/medlineplus/images/mpluslinkmed.gif" alt="MedlinePlus Trusted Health Information for You: A service of the U.S. National Library of Medicine, NIH National Institutes of Health" width="200" height="110" /></a>