10.07.2017 Views

246996016-HTML5-Step-by-Step

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

326 Chapter 17<br />

4. Click the OK button.<br />

Expression Web creates your new page. Two separate tabs appear at the top of the<br />

editing pane: one for the new untitled HTML document, and one for the untitled<br />

external cascading style sheet.<br />

Note Even though you previously set the Page Editor Options to use the <strong>HTML5</strong><br />

document type, the layout does not use <strong>HTML5</strong>, but instead uses XHTML 1.0 Transitional.<br />

That’s because the template that Expression Web uses is pre-created with that document<br />

type.<br />

5. In the Code pane, edit the document type tag so it contains the following:<br />

<br />

6. Click File | Properties. In the Page Properties dialog box, in the Title box, type<br />

The Garden Company.<br />

7. Click OK.<br />

Notice that in the Code pane, the title appears as follows:<br />

The Garden Company<br />

Tip The method you just used to set the page title is an alternative to specifying a page<br />

title when you save your work, as you did in the previous exercise.<br />

Note Notice that there are four divisions in the document, and that each one is<br />

represented both in the code and in the Design pane.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!