Jump to main content.

 

Widgets

A widget is a small piece of Web programming code you can add to your blog, wiki, or Web page. A widget usually appears small but adds extra appeal to a Web page that users will find useful and interesting.

Please contact your Webmaster or service provider if you need help adding a widget to your Web page.

Environmental Tips Widget

When added to your Web page, this widget automatically shows a new tip each day, with something you (and your readers) can use to help protect the environment. Each daily widget also gives links to more information and tips.

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

<iframe FRAMEBORDER="1" WIDTH="141" HEIGHT="215" id="dailytips"
SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0"
SRC="http://www.epa.gov/widgets/dailytips.htm"></iframe>

This widget uses HTML and Javascript.

 

 

Earthday Countdown Widget


This widget automatically shows the number of days left until the next Earth Day (April 22), regardless of the year. On April 22 the widget says only "Today is Earth Day." The widget also links to EPA's Earth Day site.

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

<iframe FRAMEBORDER="0" WIDTH="150" HEIGHT="100" id="edcountdown"
SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0"
SRC="http://www.epa.gov/widgets/daystoearthday.htm"></iframe>

This widget uses HTML and Javascript.

Top of page