Creating Your First Web Page
Now you’re ready to make your first web page! This website is going to be about Sean’s hobby of photography, including a few tips and two of his favorite shots. As you work through this project, you’ll see how to build up the site, starting with content (which will appear onscreen) and then adding the HTML and CSS code to it.
Because web pages are made up of text files, you can create them using the Leafpad text editor you met in Chapter 4. More specialized tools are available (see “Taking It Further” at the end of this chapter), but you can get started immediately with Leafpad, and you can switch to any web design program later on, taking your work with you.
People can visit web pages in any order and might arrive at any page of your site through a search engine. There still needs to be a page that acts as an introduction to the site, explaining its purpose and giving people guidance on exploring it further, however. This called the home page. Each web page has its own address (for example,
) but if someone doesn’t specify a particular page (by entering just
), they’re shown the website’s home page. People know that if they get confused using your website, they can visit the home page to get their bearings again. (By the way,
is a website that’s set aside by the Internet authorities purely for use in examples just like this.)
Start building your website by creating the HTML file for the ...