slyth
01-13-2007, 04:21 AM
My html page shows the following errors when validated through the w3c validator. Do you know of alternative ways to remove the border and set the base target in compliance with w3c standards?
Error Line 9 column 30: there is no attribute "BORDER".
<frameset rows="10%,*" border="0">You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
Error Line 10 column 62: there is no attribute "TARGET".
... src="showcase_top.htm" scrolling="no" noresize target="_top">
Error Line 12 column 39: there is no attribute "BORDER".
<frame src="showcase_left.htm" border="0" scrolling="no" noresize>
Html
---------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
<html>
<link rel="stylesheet" href="styles.css">
<base target="_top">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FF4747">
<table align="center">
<tr> <td align="center"> <span class="navlink">
<br>
<a name="top">
<a href="history.htm">History of radio</a> |
<a href="audio.htm">Audio files</a> |
<b>Radio showcase </b> <br>
<a href="links.htm">Links</a> |
<a href="home.htm"> Home</a>
</a> </span> </td> </tr>
</table>
</body>
</html>
Error Line 9 column 30: there is no attribute "BORDER".
<frameset rows="10%,*" border="0">You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
Error Line 10 column 62: there is no attribute "TARGET".
... src="showcase_top.htm" scrolling="no" noresize target="_top">
Error Line 12 column 39: there is no attribute "BORDER".
<frame src="showcase_left.htm" border="0" scrolling="no" noresize>
Html
---------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
<html>
<link rel="stylesheet" href="styles.css">
<base target="_top">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FF4747">
<table align="center">
<tr> <td align="center"> <span class="navlink">
<br>
<a name="top">
<a href="history.htm">History of radio</a> |
<a href="audio.htm">Audio files</a> |
<b>Radio showcase </b> <br>
<a href="links.htm">Links</a> |
<a href="home.htm"> Home</a>
</a> </span> </td> </tr>
</table>
</body>
</html>