- From: Chuck Baslock <cbaslock@kansas.net>
- Date: Tue, 28 Mar 2000 18:21:11 -0500
- To: "Jelks Cabaniss" <jelks@jelks.nu>, <html-tidy@w3.org>
Thank You I originally had the same thought but was being led astray. Regards, Chuck Baslock ----- Original Message ----- From: "Jelks Cabaniss" <jelks@jelks.nu> To: <html-tidy@w3.org> Sent: Tuesday, March 28, 2000 01:44 Subject: RE: Good or just Valid HTML? > > I have run into a problem I need to get clear in my mind. > > > > Tidy allows (and creates) the following URL formats. > > The W3C validator passes the following URL formats. > > > > <a href= > > "http://www.xxxxxxx.com/yyyyyy/zzzzzz.htm"> > > > > <a > > href="http://www.xxxxxxxl.com/yyyyyy/zzzzzz.htm"> > > > > Are the above valid but bad HTML? > > After the < and the element name, you can have any whitespace before and after > the attribute name, before and after the = sign, or between the attribute value > and the closing > of the start tag. > > Bad? How so? The following is perfectly valid: > > > <a > href = > > "foo" > > > > > If by bad, you mean hard-to-read, well yes -- in that example. But in the case > of long URLs, it sometimes makes sense to linebreak before or after attributes, > since you don't want to break the URL itself. > > > /Jelks >
Received on Tuesday, 28 March 2000 19:28:21 UTC