homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

XHTML 1.1 Compliance from HTML
Using nice search/replace features
brotherhood of LAN

 2:49 pm on Jan 6, 2003 (gmt 0)

To try and keep up with the times, I am revalidating some shoddy HTML 4.1 to XHTML 1.1, which I believe is a step in the right direction! :)

Apart from me wading through some of the bad HTML which I have to correct, I was thinking about how easy it is to replace mainstream code on the site with search and replace.

Kudos to Chiyo for mentioning the "search on disk" search and replace feature for notetab pro. Till then I was searching and replacing on files that were open only!

If I remember right what I've read in the other forums here, I need the following to be compliant with XHTML

-All tags in lowercase
-All tags with no closing tags are closed with a trailing slash, ie <br />
-Change Doctype

Is there any more?

It seems really easy to do the switch from HTML to XHTML if your code is already validated. If it wasnt for me wading through the HTML, it looks like it could have been a 10 minute job!

Has anyone done the switch from HTML to XHTML, and how long did it take? :)

It seems that no matter how many pages you have, or how many sites you operate, if your code formatting [webmasterworld.com] is consistent and valid too, it's a dawdle!



 3:00 pm on Jan 6, 2003 (gmt 0)

You'll need alt tags as well - just set them to be blank if you don't have anything to say.

<added>re: time for the switch - took me a few days to convert a 30 page website over. Mostly because I stripped out all tables and went with divs and CSS.</added>

brotherhood of LAN

 3:13 pm on Jan 6, 2003 (gmt 0)

alt tags are needed for HTML 4.1 too, not that I included them last time round ;)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved