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

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
Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  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.