1.3 Web Page Example

Note FIGURE 1.3, which shows a simple Kansas City Weather web page. Before showing you the behind-the-scenes code for the Kansas City Weather page, we first need to go over some preliminary concepts. We’ll start with the website address. Formally, the website address value is known as a URL, which stands for Uniform Resource Locator. That name isnot all that intuitive, so just remember that a URL is a website address. Here’s the URL for the Kansas City Weather page in Figure 1.3:

http://teach.park.edu/~jdean240/lecture/weather.html

FIGURE 1.3 Kansas City Weather web page

The http refers to the hypertext transfer p

Get Web Programming with HTML5, CSS, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.