AirNow Widget

Now you can provide current air quality information: right on your own web page! The free widgets from the Environmental Protection Agency allows your organization to post today’s air quality forecast directly on your home page. Add a simple line of code to your web page and the widgets will display the correct data for your zip code.

The widgets will allow your organization to provide real-time air quality data to the people you want to reach. Children and the elderly are particularly susceptible to air pollution, which can harm their lungs and hearts. The Air Quality Index helps people track when the air pollution levels are in an unhealthy range so they can modify their activities as necessary to protect their health.

To use this widget, simply copy and paste the following code into your Web page.

<iframe height="185" src="http://epa.gov/cgi-bin/widget.cgi?ZIPCODE" width="293"></iframe>

Change the word ZIPCODE to the zip code of the location you want to look at.

This widget is a little graphic of information that you can install on your city or school’s homepage. The Air Quality Flag widget has a picture of the flag you should fly. The widget updates automatically, so you’ll always know which color flag to fly.

With the Air Quality Flag Program widget you can:

  • Customize the widget so it has your city or school’s name at the top
  • Click on Tomorrow’s Forecast to see which flag to fly tomorrow
  • Click on Current Air Quality to see the latest hourly air quality reading
  • See if it’s a good day to go out by clicking on Activity Guidance

Create my widget

Widget display

This page was last updated on Tuesday, May 12, 2015