Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Problém s validací tagů FRAME, FRAME SET a FRAME NAME

Díky Vikanovi jsem změnil první řádek na toto:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Poznávací výlety v Moravském krasu
</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head>
<frameset cols="150, *">
<frame name="obsah" src="menu.htm" target="hlavní" scrolling="auto" noresize>
<frame name="hlavní" src="hlstrana.htm" target="_self" scrolling="auto" noresize>
</frameset>
</html>

Ale pořád to píše tuhletu chybu:

Validation Output: 1 Error

1. Error Line 9, Column 32: Attribute "TARGET" is not a valid attribute. Did you mean "target"?

<frame name="obsah" target="hlavní" src="menu.htm" scrolling="auto" noresi…



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.

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny