Hi Albert,
I am getting this error message when validating ...
[83] The "iframe" element should not be used in a strict XHTML 1.0 document. Note that you may want to consider using a different DOCTYPE declaration that is more lenient and allows more element, such as an HTML 4.01 transitional DOCTYPE. For example, you may want to use the HTML 4.01 transitional DOCTYPE: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">. If you are using HTML Validator's integrated editor, then you can add this from the Tags menu or from the Tag Inserter.
I would like to disable the message only for the iframe element.
Can it be done?
Thanks.
Disabling a message for an element within a flag
-
- Rank III - Intermediate
- Posts: 92
- Joined: Sat Dec 11, 2004 2:38 pm
- Contact:
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Hi Daniel,
You can try editing the tag name program for iframe (107) using the Programs tab in the Configuration Editor.
Try changing this line:
runProgram(11,512,1024,65536,131072);
To this (remove 512):
runProgram(11,1024,65536,131072);
I would then save the new config file with a new name.
You can try editing the tag name program for iframe (107) using the Programs tab in the Configuration Editor.
Try changing this line:
runProgram(11,512,1024,65536,131072);
To this (remove 512):
runProgram(11,1024,65536,131072);
I would then save the new config file with a new name.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank III - Intermediate
- Posts: 92
- Joined: Sat Dec 11, 2004 2:38 pm
- Contact:
It's working.
Thanks Albert
How about this one
[82] The following attributes may not be used with the "form" element in a strict XHTML 1.0 document: "name" and "target".
For this one, I would like to disable the "name" attribute, since it's added automatically with .Net.
It tried to figure this one, but it's not obvious ... would you have any documentation, on how, one could do it?
Daniel.
Thanks Albert
How about this one
[82] The following attributes may not be used with the "form" element in a strict XHTML 1.0 document: "name" and "target".
For this one, I would like to disable the "name" attribute, since it's added automatically with .Net.
It tried to figure this one, but it's not obvious ... would you have any documentation, on how, one could do it?
Daniel.
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
You're welcome!Daniel Lacroix wrote:It's working.
Thanks Albert
You can do something similar, but for form (041). This will disable that check only for "form".Daniel Lacroix wrote:How about this one
[82] The following attributes may not be used with the "form" element in a strict XHTML 1.0 document: "name" and "target".
For this one, I would like to disable the "name" attribute, since it's added automatically with .Net.
It tried to figure this one, but it's not obvious ... would you have any documentation, on how, one could do it?
Daniel.
Change this line:
runProgram(1024,8192,65536);
to this (remove 1024):
runProgram(8192,65536);
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank III - Intermediate
- Posts: 92
- Joined: Sat Dec 11, 2004 2:38 pm
- Contact:
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Hi Daniel,Daniel Lacroix wrote:Thanks Albert.
Does this last modification to the form tag, just disable the name attribute check within the form, or is it disabling more checks?
Thanks again.
Daniel.
It will not do the check "for XHTML 1.0 strict, XHTML 1.1 and HTML 4.0x strict tags that may contain non-XHTML 1.0 strict, non-XHTML 1.1 or non-HTML 4.0x strict attributes". So it won't check to see if you used an attribute with "form" that is not allowed for XHTML 1.0 strict, XHTML 1.1 and HTML 4.0x strict documents. That includes the "name" and "target" attributes for "form". Elements other than "form" should not be affected.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial