HTML and CSS Reference
You can build the example by following these five steps:
• Step 1: Install a local development web server.
• Step 2: Set up a cross-domain test environment.
• Step 3: Create the example pages.
Step 1: Install a local development web server
You'll need to be able to serve web pages from your local machine. In other words, you
need to have a web server. If you already have one, please skip ahead; otherwise, follow
along, and we'll review some easy options:
Microsoft Visual Web Developer Express comes with a built-in web server.
You can easily create a web application project and place the files you create in
the next section within it. See the download pages at http://mng.bz/gu1b for
Go into System Preferences > Sharing, and check the Web Sharing box. The
default folder is /Library/WebServer/Documents/.
Most Linux distributions come with Python already installed, and Python in-
cludes the SimpleHTTPServer module. To start it, open a command prompt
and set the current directory to the one containing your files; then issue the