Browser things
2006-05-08
As a little experiment I've changed the site to a different version of HTML. If it causes anyone any trouble I'll undo it; comment here or e-mail me (qe@quixoticevil.com). The rest of the post is Geek-fu.
Mainly I just changed the document type declaration from XHTML 1.0 Strict to XHTML 1.1. The validator (or check this page) then gave me these errors:
Mainly I just changed the document type declaration from XHTML 1.0 Strict to XHTML 1.1. The validator (or check this page) then gave me these errors:
- There is no 'lang' attribute in <html>: So I took it out. I didn't put it there, I doubt it's often used (and I've got 'xml:lang' there anyway.
- There is no 'name' attribute in <a>: That one is a potential problem. I swapped 'name' for 'id'. It still works as intended in Firefox and IE6, but other browsers might count only 'name' as a bookmark, in which case I've just broken my 'Back to top' link.
Comments