- 2,491
Ok, here's my problem. I am creating a frames website for a project in one of my classes for school. The issue is that I cannot get the W3's validator to validate my framset page for some weird reason. I'm pretty sure the code is right except for the document type definition which may be wrong. According to my professor, for some reason the book I have has the wrong code for it. Any ideas on how to get it to validate(or do I need to really worry about that)? The code works minus the validation issue.
Here is the source code for the frameset:
If I didn't have to use frames(or tables) for this project I honestly wouldn't. I loathe them both.
Here is the source code for the frameset:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD/XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Site Title</title>
</head>
<frameset rows="10%,90%">
<frame src="header.html" id="header" name="header" noresize="noresize" />
<frame src="home.html" id="content" name="content" />
<noframes>
<p>Your Browser doesn't support frames, buddy!</p>
</noframes>
</frameset>
</html>
If I didn't have to use frames(or tables) for this project I honestly wouldn't. I loathe them both.