You are here: Re: Validation help needed « HTML « IT news, forums, messages
Re: Validation help needed

Posted by Beauregard T. Shagnasty on 10/17/07 19:49

Robert Baer wrote:

> Have two problems with the following.
> Firstly, the W3C validator website no longer recognizes previously
> recognized DOCTYPE lines.
> What is needed now?

Full, correct doctypes?

> Secondly,how can one fix the FRAMESET complaint (CSE validator)?
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <!-- DOCTYPE not recognized by W3C -->

This is not the FRAMESET doctype. It is a fragment of Transitional.

See: http://www.w3.org/QA/2002/04/valid-dtd-list.html

For Strict, Transitional, and Frameset:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">


> <!-- FRAMESET placement complaint -->
> <FRAMESET rows="114, *" NORESIZE=yes BORDER=0>
> <FRAME SRC="header.htm">
> <FRAMESET COLS="179, *" BORDER=0>
> <FRAME SRC="left_main.htm" NORESIZE NAME="left">
> <FRAME SRC="right_main.htm" NORESIZE NAME="right">
> </FRAMESET>
> </FRAMESET>

If nobody has pointed you here yet, have a read:
http://www.html-faq.com/htmlframes/?framesareevil

--
-bts
-Motorcycles defy gravity; cars just suck

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация