Skip to content Skip to sidebar Skip to footer

Alternative Method For Using Microdata Datetime In Html5 For Html4

This code is for HTML5: Can I use this code for HTML4?
Copy

But better don’t use Microdata in HTML 4.01 documents in the first place. You could use RDFa instead (you can also use the Schema.org vocabulary in RDFa).

Solution 2:

Assuming the top line is correct, you can just swap time for span, leaving the rest alone.

Where are you using HTML that the parser breaks on additional attributes/elements?

Post a Comment for "Alternative Method For Using Microdata Datetime In Html5 For Html4"