It looks like the writing is on the wall for us old time HTML writers. 1,876 custom pages all with unclosed P tags await.
I guess waiting for a script or macro to fix them up for us is beyong hope, considering the different pernutations and combinations. Does anyone know of a HTML tool that automatically edits pages to close P tags? I just cant see, logically, how it would be done.
Could do a mega search on <P> and replace with </P><P> I guess, then add a <P> at the start of each page and table cell and a </P> at the end of each page and table cell but I am sure there will be problems.
Anybody who faces the same problem and has tried such workarounds please let me know before i write off the next 3 months of weekends!
You should use <p></p> not <P></P>, as xhtml requires lower case. Otherwise you get to do it all again some time later! I believe the html tidy program on the w3 web site will clean up your code for you. [w3.org...]
Oh jeezis.... My first HTML editor (GoLive Cyberstudio Personal Edition) put </p> tags in every spot they (apparently) belonged.
When I 'upgraded' to Adobe GoLive 5, all the </p> tags showed up as 'orphaned' tags (meaning they had no 'mate', and were useless)... so I *DELETED* almost ALL of the </p> tags in every document I've edited in the past 6 months...
AIGH!!! AIUUGGHHHH!!!! Thanks SO much, Adobe... *grumble*
Sorry, I sympathize. Most of the HTML editors produce really bad HTML.
The HTML Tidy program, though, will go through and put them back in. There is a Mac interface for it. Combined with a script, it can go through and modify all the pages on a site. I'd suggest getting it to convert to XHTML while you are at it.
I'll see if I can't put together a tool that can be pointed at a web page and fix it up the "right" way.
The missing </p> is the only problem I've come across with GoLive... It produces validating HTML 4 code with no problem (With 1 exception: it doesn't automatically create 'alt' attributes for images... you gotta remember that one yourself.). I'd assume the next version will "make nice" with the new XHTML standards.
I downloaded the BBedit HTML tidy plug in already, so I'll have to give that a test run, I guess.