skip navigation

Skip Nav

Mobile Resources & Tools

AIDSinfo Widgets

AIDSinfo widgets are small applications that allow you to access AIDSinfo content directly from your own website.

AIDSinfo News

Add the news widget to your home page or blog to display the latest HIV/AIDS treatment, prevention, and research news. Once you've added the widget, there's no technical maintenance. AIDSinfo will update the content automatically.

For convenient layout, the AIDSinfo news widget is available in two versions:

  • a vertical widget designed to fit locations approximately 180 pixels wide by 420 pixels high
  • a horizontal widget designed to fit locations approximately 388 pixels wide by 154 pixels high

  • Copy the AIDSinfo News Widget code below to add the vertical widget:
<iframe title="AIDSinfo News Widget - Vertical Format" src="http://aidsinfo.nih.gov/widgets/news/feed/v" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" width="180" height="420"></iframe> <noscript>The AIDS<i>info</i> News Widget.</noscript>
  • Copy the AIDSinfo News Widget code below to add the horizontal widget:
<iframe title="AIDSinfo News Widget - Horizontal Format" src="http://aidsinfo.nih.gov/widgets/news/feed/h" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" width="388" height="154"></iframe> <noscript>The AIDS<i>info</i> News Widget.</noscript>

Adding the AIDSinfo Logo

The following example HTML code and graphics are available at your disposal. You may paste any of the HTML below into your page.

  • To link directly to AIDSinfo, use the following HTML:
    <a href="http://aidsinfo.nih.gov">AIDSinfo</a>
  • To open a link to AIDSinfo in a new window, use the following HTML:
    <a href="http://aidsinfo.nih.gov" target="newwindow">AIDSinfo</a>
  • AIDSinfo has made several images available to be used to link to AIDSinfo. Choose the desired image and paste the HTML beneath it into your page:
    AIDSinfo Logo
    <a href="http://aidsinfo.nih.gov"><img alt="AIDSinfo Logo" src="http://aidsinfo.nih.gov/images/aids_info_big.jpg"></a>
    AIDSinfo Logo
    <a href="http://aidsinfo.nih.gov"><img alt="AIDSinfo Logo" src="http://aidsinfo.nih.gov/images/aids_info_medium.jpg"></a>
    AIDSinfo Logo
    <a href="http://aidsinfo.nih.gov"><img alt="AIDSinfo Logo" src="http://aidsinfo.nih.gov/images/aids_info_small.jpg"></a>

    Terms of use: When you link to AIDSinfo, present AIDSinfo in a separate browser window that partially overlays your page.