FinalFrontier Posted December 3, 2011 Share Posted December 3, 2011 W3C's HTML Validator is giving me an error that there are two content attributes. I thought myself that having two looked funny, but I can't seem to get it all working using a single content attribute. I am currently using this: <META content="3; url=delivery/" content="charset=windows-1252; text/html" http-equiv="refresh"> I tried this, but it wasn't valid: <META content="3; url=delivery/; charset=windows-1252;text/html" http-equiv="refresh"> I also tried using two META elements, but the validator still gives an error that there are two content attributes. Does anyone have an idea? Link to comment https://forums.phpfreaks.com/topic/252377-how-can-i-use-the-meta-element-the-correct-way-with-the-content-attribute/ Share on other sites More sharing options...
FinalFrontier Posted December 3, 2011 Author Share Posted December 3, 2011 Never mind, I just validated: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <TITLE></TITLE> <META content="1000; url=../delivery/serviceavailability/" http-equiv="refresh"> <META content="charset=windows-1252;text/html" http-equiv="content-type"> Link to comment https://forums.phpfreaks.com/topic/252377-how-can-i-use-the-meta-element-the-correct-way-with-the-content-attribute/#findComment-1293871 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.