| 8:49 am on Apr 25, 2001 (gmt 0)|
I believe there was a certain build of netscape (4.02?) that actually crashed if you didnt close the <p> tag :)
I've got into the habit of closing <p> tags but then again I write pidgin HTML.
| 9:15 am on Apr 25, 2001 (gmt 0)|
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!
| 2:28 pm on Apr 25, 2001 (gmt 0)|
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...]
| 6:34 pm on Apr 25, 2001 (gmt 0)|
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*
| 8:49 pm on Apr 25, 2001 (gmt 0)|
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.
| 9:02 pm on Apr 25, 2001 (gmt 0)|
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.