HTML Titles with Quotes

As I was working on a project, I noticed that the page was no longer rendering in IE (6.0, XP). Strangely, the title had turned into just the URL, as if there was none, and the styles were gone.

On a whim, I moved the title attribute above some meta tags, and it jumped right up on the page, indicating an apparent problem within those meta tags. Sure enough, after looking for just a moment, I found a set of double quotes contained within the tag. Oops.

Apparently IE (6.0, XP) doesn’t like this. Interestingly enough, IE on a Mac (5.2, I think I was told) and Firefox, on either Mac or PC, interpreted the string correctly.


Posted

in