You are here

Widgets

A web widget is a small piece of code that can be easily added to a webpage that displays pictures, text, and links from another webpage or website. This means that you can place a DHS widget on your website and your users will receive current information directly from the Department, updated automatically.

DHS has a number of widgets to serve a variety of needs.  To add one of our widgets to your site, copy and paste the small snippet of code and give it to the web manager or programmer who manages your site.

National Terrorism Advisory System Widget

Stay connected to any alerts from the Department of Homeland Security by placing this National Terrorism Advisory System widget on your website.

<iframe src="https://www.dhs.gov/ntas/" name="National Terrorism Advisory System" width="170" height="180" scrolling="no" frameborder="0" seamless border="0"></iframe>

Trusted Traveler Program Widget

Help your users determine which DHS Trusted Traveler program (Global Entry, TSA Pre✓®, SENTRI, NEXUS, or FAST) best suits their travel needs by placing this Trusted Traveler program widget on your website. Simply copy and paste the code below to get started.

The widget is responsive, so the widths and heights in the embed code are suggestions. When in use, set the values so that there are no horizontal or vertical scrollbars.

Full Page

<iframe src="https://www.dhs.gov/xlibrary/assets/trusted-traveler-widget.html" width="1002" height="380" style="border: none;" title="Trusted Traveler Program Comparison Widget"></iframe><br /><a href="https://www.dhs.gov/trusted-traveler-program-comparison" style="font-size: 14px; text-align: left;">Learn more about all of the Trusted Traveler Programs at DHS.gov</a>

     

Side Rail

<iframe src="https://www.dhs.gov/xlibrary/assets/trusted-traveler-widget.html" width="320" height="650" style="border: none;" title="Trusted Traveler Program Comparison Widget"></iframe><br /><a href="https://www.dhs.gov/trusted-traveler-program-comparison" style="font-size: 14px; text-align: left;">Learn more about all of the Trusted Traveler Programs at DHS.gov</a>

Usage Guidelines

By embedding the above iframe onto your website, you agree to abide by the following usage guidelines. (The width and height of the iframe can be adjusted to suit the design of your page. The iframe will scale its width, but the height will need to be adjusted.)

  • Developers must ensure that none of the content is obscured in implementation. Meaning as the width of the iframe decreases, the height must increase to accommodate the content and vice versa.
  • Developers implementing the Trusted Traveler widget must include use all of the above code, including the anchor to the DHS.gov webpage.

FEMA Widgets

FEMA App

<iframe src="https://www.fema.gov/widget/fema-app" width="230" height="390" style="border: none;" title="FEMA App Widget"></iframe>

Preparedness

<iframe src="https://www.fema.gov/help/widgets/npm.html" width="225" height="370" style="border: none;" title="Preparedness Widget"></iframe>

Severe Weather

<iframe src="https://www.fema.gov/help/widgets/severe_weather.html" width="225" height="350" style="border: none;" title="Severe Weather Widget"></iframe>

Private Sector

<iframe src="https://www.fema.gov/help/widgets/privatesector.html" width="225" height="400" style="border: none;" title="Private Sector Widget"></iframe>

Kids Fire Safety

<iframe src="https://www.fema.gov/help/widgets/kids_fire.html" width="225" height="460" style="border: none;" title="Kids Fire Safety Widget"></iframe>

Are You A Disaster Survivor?

<iframe src="https://www.fema.gov/help/widgets/da_main.html" width="225" height="460" style="border: none;" title="Are you a Disaster Survivor? Widget"></iframe>
Last Published Date: April 17, 2018

Was this page helpful?

This page was not helpful because the content:
Back to Top