&less than
Friday, July 13th, 2007 03:59 pmWhen it's not followed by a letter or number, < can be interpreted by browsers in the same way as <. That is, < and < should both show up as less than symbols (check the source if you want to confirm). So if you leave out the semi-colon and just type <, it will still show up as a < as long as you don't do anything funny like follow it with a non-whitespace character (or will it work with certain other punctuation marks as well?)
It shows up this way on normal webpages, but not in comment notifications viewed in Gmail.
I can't tell whether it's a Gmail thing or an HTML cleaner thing. (Actually, for once I don't really care enough to test further. I'm just amused because I spent a few hours testing, only to have
aveleh forward me a link to a document in w3c stating that this is, indeed, proper behavior.)
ETA:
</fake html tag> (with <) should work properly. I just remembered, because it was a comment like this that sent me investigating in the first place.
It shows up this way on normal webpages, but not in comment notifications viewed in Gmail.
I can't tell whether it's a Gmail thing or an HTML cleaner thing. (Actually, for once I don't really care enough to test further. I'm just amused because I spent a few hours testing, only to have
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
ETA:
</fake html tag> (with <