re fram validation

A

adrian suri

hi

I am creating a frame set, but it will not validate because of the meta
tag <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
what's wrong with this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML/DTD 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>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="GENERATOR" content="EPM 6.03 (OS/2)" />
<meta name="keywords" content="performing art, music,
dramatics,heatre" />
<meta name="description" content="Performing arts, teaching acting
and music" />
<meta name="AUTHOR" content="Adrian Suri" />
<meta name="CREATED" content="20050620;8343339" />
<meta name="CHANGEDBY" content="Adrian Suri" />
<meta name="CHANGED" content="20050620;8343339" />
<link rel="stylesheet" type="text/css" href="style/style.css">
<title>Nigels' Part's Home Pagep</title>

</head>
<frameset rows="10%,50%">
<frame src="top.html">
<frameset cols="18%,88%">
<frame src="menu.html">
<frame src="home.html">
</frameset>
</frameset>
</html>

regards

Adrian Suri
 
D

dingbat

adrian said:
what's wrong with this:

Unclosed element for the <link>

Also it's an unholy mixture of XHTML and frames. Beat yourself with the
XHTML stick if you must, but:
- Understand what you're doing
(read the regular local rants here and in c.i.w.a.h)
- Get it right (well-formed XML as a minimum)
- Don't waste the effort on an obsolete designs using frames.
 
R

rf

adrian suri wrote:

Please do not top post.
as an interim step to using full css xhtml

Using frames is *NOT* an interim step to using full CSS [x]HTML.

Stop doing it. Go straight to "full CSS [x]HTML".

Cheers
Richard.
 
R

Rincewind

hi

I am creating a frame set, but it will not validate because of the meta
tag <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
what's wrong with this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML/DTD 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>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="GENERATOR" content="EPM 6.03 (OS/2)" />
<meta name="keywords" content="performing art, music,
dramatics,heatre" />
<meta name="description" content="Performing arts, teaching acting
and music" />
<meta name="AUTHOR" content="Adrian Suri" />
<meta name="CREATED" content="20050620;8343339" />
<meta name="CHANGEDBY" content="Adrian Suri" />
<meta name="CHANGED" content="20050620;8343339" />
<link rel="stylesheet" type="text/css" href="style/style.css">
<title>Nigels' Part's Home Pagep</title>

</head>
<frameset rows="10%,50%">
<frame src="top.html">
<frameset cols="18%,88%">
<frame src="menu.html">
<frame src="home.html">
</frameset>
</frameset>
</html>

regards

Adrian Suri

Apart from the Why?
The very first line should be <?xml version="1.0" encoding="UTF-8"?>
You then need to make sure that all your tags are closed, which they
aren't. Do this and it validates.
 
D

dingbat

Rincewind said:
The very first line should be <?xml version="1.0" encoding="UTF-8"?>

It doesn't _need_ to be, and it's not a good practice for XHTML

You can lose the 'encoding="UTF-8"' as well, as that causes a lot more
trouble than it solves (unless you really understand what you're doing).
 
R

Rincewind

It doesn't _need_ to be, and it's not a good practice for XHTML

You can lose the 'encoding="UTF-8"' as well, as that causes a lot more
trouble than it solves (unless you really understand what you're doing).

Sorry, I had been told that it was needed, I bow to your greater knowledge.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top