어떻게 바꿔야 하는지
Posted: 2006 09 03 16:49 57
유효성 검사에서 아래와 같이 두 부분이 걸렸는데요...
사용되지 않는 명령어인가요?
어떻게 바꿔야 할지요...
xhtml1.1 입니다.
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.
사용되지 않는 명령어인가요?
어떻게 바꿔야 할지요...
xhtml1.1 입니다.
Error Line 17 column 13: there is no attribute "onLoad".
Code: Select all
<body onLoad="n_s(in_ex.checked='1')">
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.
Error Line 26 column 42: there is no attribute "onClick".
Code: Select all
<input id="in_ex" type="checkbox" onClick="n_s(this.checked)" /><a id="li"></a>