How to Create a Local Web Page
Before purchasing a domain name and setting up a website with an Internet Service Provider (ISP), consider using local web pages to perform simple web-related tasks. Local web pages allow you to create useful web applications, photo galleries and media players that run in your browser. You can even bookmark them for quick access. Local web pages are also useful for dissecting other websites and enhancing your web development skills.
Open an HTML editor or Notepad and paste the following code into a new document. !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>My Local Page</title></head><body></body></html>This will create an empty HTML document with no elements or controls.
Add the following code below the <body> tag:<p>My Song 1</p><embed src="xyz.mp3" width="200" height="30" />This embeds a music player in the web page. Replace "My Song" with a name describing an audio file on your hard drive or on the Web. Replace "xyz.mp3" with the actual file name or URL of the audio file. Adjust the height and width parameters to control the dimensions of the player.
Add this code below the previous code block:<p></p><img src="myImage1.jpg" /><p></p><img src="myImage2.jpg" />This places two images on the page. Replace "myImage1.jpg" and "myImage2.jpg" with the names of two images on your hard drive or the URLs of image files on the Web. To create an image gallery, create additional <img> tags that point to other image files.
Add this code below the previous code block:<p>My Site 1</p><a href="http://www.xyz.com" />Replace "My Site 1" with the name of one of your favorite websites. Replace "http://www.xyz.com" with the URL of the site. Create additional links using the same format.
Save the file with an extension of .html. This creates an HTML file that your browser will recognize as a web page.
Open your browser and select "File" and then "Open." A File Selection window will appear.
Navigate to the HTML file and select it. Click "OK" to close the window. The local web page will open and display your headings, text, music players, photographs and links. Click the play button on the audio to make it play.
Bookmark the page. Access it in the future by selecting the bookmark.