1. Computing

Discuss in my forum

How To Convert HTML to XHTML in FrontPage

By , About.com Guide

Microsoft FrontPage 2003

Microsoft FrontPage 2003

Image courtesy Microsoft

Microsoft FrontPage writes HTML as standard HTML unless you make some changes to the page and the code. But it's very easy to convert an HTML document to XHTML using FrontPage.

Difficulty: Easy
Time Required: 5 minutes

Here's How:

  1. Open the page you want to convert in FrontPage.
  2. Switch to the HTML view window.
  3. Right click in the HTML and choose "Apply XML Formatting Rules".
  4. Position your mouse at the top of the screen - above the tag.
  5. Insert a valid XHTML doctype:
  6. In the tag, add the XML namespace and language code:
  7. Now, as long as you periodically apply the XML formatting rules (step 3), your document should be well-formed XHTML.

Tips:

  1. It's a good idea to use XHTML to keep your Web pages standards compliant.

What You Need

  • FrontPage

©2013 About.com. All rights reserved.