Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

Thinking Like a Web Publisher 11

1


The pictures throughout this book are taken in Google Chrome or
Safari running on OS X. The only reason for this use is that I’m
writing this book on an Apple Macintosh. If you’re using a different
operating system, don’t feel left out. As I noted earlier, the glory
of the Web is that you see the same information regardless of the
platform you’re using.

For some sites, the capability to update the site on-the-fly, at any moment, is precisely
why the site exists. Figure 1.2 shows the home page for the BBC News, a site that’s
updated 24 hours a day to reflect up-to-the-minute news as it happens. Because the site
is up and available all the time, it has an immediacy that newspapers cannot match. Visit
the BBC News at http://www.bbc.co.uk/news/world/.


These days, you don’t even need to reload a web page to receive updated informa-
tion. Through the use of JavaScript , which I discuss starting in Lesson 17, “Introducing
JavaScript,” you can update the contents of a page in real time. The scores and statistics
on the NBA game page in Figure 1.3 are updated in place as the game progresses.


FIGURE 1.1
The website for
Little Brother.


NOTE
Free download pdf