Home > Articles > Web Development

This chapter is from the book

Creating an HTML Page

An HTML page is a common Web page. HTML is a coding language that describes the elements on a Web page and instructs a Web browser how to display it. As you add elements to an HTML page in Design view, Expression Web creates the HTML code behind it. If you are familiar with the HTML language, you can use the Code view to make code changes. Split view allows you to display Design and Code view at the same time, which makes it a beneficial learning tool. When you add an element in Design view, you can view the related code in Code view. You can use the New submenu on the File menu or the New button on the Common toolbar to create a new HTML page. With the Page Editor Options dialog box, you can set the default type for new documents and the default file extension—either .html or .htm—for new HTML documents (New!).

Create an HTML Page Quickly

  • yelllow01.jpg Click the Web Site tab for the site in which you want a new page.
  • yelllow02.jpg Use any of the following methods:
    • Click the File menu, point to New, and then click HTML.
    • Click the New button list arrow on the Common toolbar, and then click HTML.
    • Click the New button on the Common toolbar (applies when HTML is set as the default document type).

    An untitled Web page appears without the use of New dialog box.

  • yelllow03.jpg Click the Save button on the Common toolbar, type a name for the page, and then click Save.

Create an HTML Page

  • yelllow01.jpg Click the Web Site tab for the site in which you want a new page.
  • yelllow02.jpg Click the New button list arrow on the Common toolbar, and then click Page.
  • yelllow03.jpg In the left pane, click General.
  • yelllow04.jpg Click HTML.
  • yelllow05.jpg Click OK.

    An untitled Web page appears.

  • yelllow06.jpg Click the Save button on the Common toolbar, type a name for the page, and then click Save.

Set the Default Document Type

  • yelllow01.jpg Click the Tools menu, and then click Page Editor Options.
  • yelllow02.jpg Click the Authoring tab.
  • yelllow03.jpg Click the Default Document list arrow, and then select the document type you want.
  • yelllow04.jpg Click the .html or .htm option for the default HTML file extension (New!).
  • yelllow05.jpg To add a byte order mark (BOM) to a new UTF-8 document, select the check boxes next to the extensions you want, or deselect the ones you don’t want (New!).
  • yelllow06.jpg Click OK.
  • + Share This
  • 🔖 Save To Your Account