Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

Convert HTML to XHTML in FrontPage

By Jennifer Kyrnin, About.com

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

Explore Web Design / HTML

About.com Special Features

Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML Editors and Software
  5. HTML Editors
  6. FrontPage
  7. FrontPage How Tos
  8. How to Convert HTML to XHTML in FrontPage

©2009 About.com, a part of The New York Times Company.

All rights reserved.