I have just run HTML Tidy over my page and I get 2 errors Quote line 76 column 207 - Warning: unescaped & or unknown entity "&b" and line 76 column 33 - Warning: <iframe> proprietary attribute "allowtransparency" End Quote Both of these are in the code for Site Search Engine from Tools-Digitalpoint I have done the recommened changes and it doesn't seem to matter what is there, it still works. Query is: Was it coded "wrong" on purpose or is Tidy just being perfect ? Thanks Rob
The thing is that it isn't true HTML. Browsers show it, but it is not a part of HTML if you can follow me. I don't know what &b is. I'm thinking that you are trying to make a break(<br />)/a space( ) or even a bold marking(<b>Bold text here</b>). Some browsers might show it correctly but some browsers will ignore it thats why tidy doesn't like it.
stras77 It is HTML .. Its in the line of code "you" get when you download the Site Search Engine from Tools-Digitalpoint. Html Tidy wants the &b to be &b and allowtransparency=yes to be allowtransparency="yes" It works both ways, I was just wondering if someone was "slack" in the code writing or if it was coded that way on purpose. No big hassle Here is the link.. have a look. http://tools.digitalpoint.com/site-search
Both those ampersands should be escaped as & -- not surprising since that 'tool' looks like it was written in the dark ages of the Internet, what with the IFRAME (which has no business being used on any website written after 1998), etc, etc... NOT that I would be trusting ANYTHING HTML tidy says so far as validation goes, that's what the REAL W3C validator is for. ... but yeah, you want to use some crappy decade out of date markup, you're going to have to proudly proclaim it to all by using a tranny doctype; announce to the world 'this page is in transition from 1997 to 1998 methodologies'. I wouldn't say it was coded wrong 'on purpose' -- just out of ignorance, or just plain age; since a lot of developers still haven't pulled their heads out of 1997's backside. See "HTML 5" and the dumbasses trying to actually use it for proof of that.