A DOCTYPEshort for document type declarationshould be included at the beginning of every page you create (Figure 65a). The DOCTYPE tells your visitors' Web browsers what flavor of HTML or XHTML you used to create your page and helps render the page accurately. Figure 65a. Every page should have a DOCTYPE in the beginning of the source code.
Click the flyout menu in the upper right corner of the document window and select the appropriate DOCTYPE from the DOCTYPE menu (Figure 65b). If your page uses HTML, you can only select an HTML DOCTYPE; if it uses XHTML, you can only select an XHTML DOCTYPE. Figure 65b. Choose the appropriate DOCTYPE from the document flyout menu. Notice you can also convert the markup of a page between HTML and XHTML using the document flyout menu. Choose Markup > Convert to HTML or Markup > Convert to XHTML as needed, and GoLive does the dirty work for you. |