Print This Post below
Converting HTML into XHTML March 23, 2005
Posted by Guy Cook in : Frontpage , trackback1. Open the page you want to convert in Microsoft FrontPage.
2. Switch to the HTML (code 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 <html> tag.
5. Insert a valid XHTML doctype: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
6. In the <html> tag, add the XML namespace and language code:
<html xmlns=”http://www.w3.org/1999/xhtml” lang=”en”>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 move to XHTML to keep your Web pages current.
http://webdesign.about.com/cs/frontpage/ht/htfpxhtmlcodes.htm is where I found this information, thanks Jennifer for all the good tips there.
Popularity: 4% [?]


Comments»
no comments yet - be the first?