Welcome to WebmasterWorld Guest from 54.144.48.103

Forum Moderators: open

Message Too Old, No Replies

XHTML 1.1 Compliance from HTML

Using nice search/replace features

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

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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>

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

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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

Featured Threads

Hot Threads This Week

Hot Threads This Month