Jump to content

How can I use the META element the correct way with the content attribute?


FinalFrontier

Recommended Posts

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?

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">

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.