Chapter 2. Create a Basic Web Site

Thanks to Dreamweaver’s style sheet–based layouts, it’s relatively simple to create a basic Web site with pages that share the same design and navigation buttons. In this chapter, you’ll start by using a basic layout to create a simple home page. In later chapters, you’ll learn to dress it up a bit with images and some special features. Here, however, we’ll focus on the basics: creating, naming, titling, and saving this all-important page.

Create a Basic Web Site

Don’t let this relatively plain example page fool you. Built with Dreamweaver’s predesigned page layouts using Cascading Style Sheets, it offers a solid foundation for an entire Web site. Watch it grow as we move through each chapter.

Create a Home Page

The mechanics of creating a home page for a Web site are pretty simple. The first step is to create a new page, then name the file, give it a title, and save it. While you can give the home page any title you wish (the title will appear at the top of the visitor’s Web browser), use something that helps visitors immediately understand your site’s purpose. If you have not already done so, launch Dreamweaver, and the site you defined in Chapter 1 opens by default.

Create a Home Page Use the Menu bar to choose File > New (Create a Home Page in Windows, Create a Home Page on the Mac).

Create a Home Page
Create a Home Page
Create a Home Page
Create a Home Page
Create a Home Page
Create a Home Page

Add Text

Adding text to a Web page in Dreamweaver is not that different from using a word processing program, with the exception of using certain special characters explained in step 3. (See extra bits on page 24.)

Add Text
Add Text

Add Text As you enter your text in the main column, press Add Text (Windows) or Add Text (Mac) to start a new paragraph, just as you would with a word processing program. Type in the rest of your text, setting off each line as a separate paragraph. In our example, we’ve entered a description of the Roman Holiday travel package.

Add Text
Add Text

Add Text Save your changes (Add Text in Windows, Add Text on the Mac).

Insert Image Placeholder

In a perfect world, all your images would be ready to put into your Web pages right when you’re building them. In reality, someone else may be creating the image even though you need to get started building pages. That’s why I explain inserting an image placeholder right in the middle of this text-building chapter. You can add the image later (as explained in Chapter 3), but this trick lets you keep working.

  1. Insert Image Placeholder If you closed your home page previously, reopen it. Click in the header just before its title (Destinations, in our example) and then click the Split view button.

    Insert Image Placeholder
    Insert Image Placeholder
  2. Insert Image Placeholder We want to insert our company logo here but, as the Split view shows, there’s a slight problem. The cursor is sitting after the opening <h1> header tag. Fix the problem by repositioning your cursor just before the <h1> tag.

    Insert Image Placeholder
    Insert Image Placeholder

Create Headings

Just like newspaper and magazine headlines, headings on a Web page are larger and more noticeable than regular text. They range from size 1 (the largest) to size 6 (the smallest). Whether you’re building your own page or using our example page, the basics of creating and changing headings remain the same. Just like a newspaper, larger sizes generally are used for more important items and smaller sizes for less important items. (See extra bits on page 24.)

Create Headings If you closed your home page previously, reopen it. Make sure that you’re working in Design view and that the Properties panel is visible (Create Headings in Windows, Create Headings on the Mac).

Create Headings
Create Headings
Create Headings

Create Headings Now replace the heading’s text by typing in your own (Getting Around in our example). We’ll also replace the text below the heading with related text.

Create Headings
Create Headings

Create Lists

Organizing information into lists, whether numbered or simply marked with bullets, makes it easy to group lots of items in a way that anyone can instantly recognize. Ordered lists are great when you need to highlight a specific sequence of steps or materials. We’ll quickly show you how to do ordered and unordered lists. We’ll cover the rest of the list styling, however, in Chapter 6.

Create Lists
Create Lists
Create Lists
Create Lists
Create Lists

Add a Footer

Tucked at the bottom of pages, footers offer a perfect place for displaying essential information that doesn’t need to immediately grab a reader’s attention. Copyright and contact information are good examples. Thanks to our example’s CSS-based layout, the home page already contains a footer. For now, we’ll keep it simple, though later we’ll use CSS to add some fancier formatting and navigation links.

Add a Footer

Add a Footer Replace it by typing in your own text. In our example, that includes the formal name of the business, plus copyright information. (You’ll find the © by choosing Insert > HTML > Special Characters.)

Add a Footer

Extra Bits

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.137.38