How to Embed the Weather Forecast in Your Website
The Weather Underground site provides an embeddable weather forecast sticker (a small box that displays the weather for a selected area) you can embed in your page. The technology is super-simple. You get the HTML code to embed an image that Weather Underground updates periodically with your ZIP code’s weather forecast.
This example is almost too simple, but it’s very useful and provides a good experience with the most basic form of embedded live content — an embedded image that someone else updates.
Here’s how you place that sticker on your site:
Enter your ZIP code in the search box.
2
Click the Get Free Weather Stickers link.
Choose one of the three versions of the sticker.
3
Copy the generated HTML and paste it into your web page.
There are three versions of the weather sticker, the only difference being the design.
4
Add, edit, and fine-tune your own HTML and CSS so that the weather sticker fits in to your page seamlessly.
The weather sticker is embedded in a page with associated content. And, of course, the weather info itself will be updated by the folks at Weather Underground.

Web Design & Development Glossary
AJAX
asynchronous JavaScript and XML. A technique used in web page development.

Web Design & Development Glossary
API
application programming interface. A set of rules programs use to communicate with each other.

Web Design & Development Glossary
color stop
A special element that indicates a color to be added to a gradient.

Web Design & Development Glossary
FTP
File Transfer Protocol. A network protocol useful for transferring files in a client-server relationship.

Web Design & Development Glossary
HTML
HyperText Markup Language. The predominant language for building web pages.

Web Design & Development Glossary
HTTP
HyperText Transfer Protocol. The primary networking language for the Internet.

Web Design & Development Glossary
PHP
PHP Hypertext Processor. A scripting language that works well within HTML.

Web Design & Development Glossary
socket
A technology that allows remote computers to maintain a persistent connection in order to communicate with each other.

Web Design & Development Glossary
sprite
An graphic object on a web page that will be manipulated in real time.

Web Design & Development Glossary
SQL
Structured Query Language. A programming language useful in managing relational databases.

Web Design & Development Glossary
stateless protocol
An Internet procedure that completely breaks the connection between the client and the server after a transaction, meaning that the next transaction will require an entirely new connection.

Web Design & Development Glossary
Telnet
A network protocol useful in interactive, text-oriented communications.

Web Design & Development Glossary
W3C
World Wide Web Consortium. The organization that sets international standards for the World Wide Web.