HTML5 Validation and the rel tag
I specify to my students that their sites must validate. We are using HTML5. The latest change (I don't disagree with it) is that the rel="lightbox' breaks validation. Why is this and can we fix it?
So, what can we do?
It turns out that using the rel tag is really not essential at all. We can use the class tag with the same effect. For this site (using FancyBox) I have changed as follows:
For pages where an image is to be found change this:
EDIT: to get the gallery of images to work you also need to change this:
Posted on 31 May around 10am
Tags: Web Technology