From: | Neil Bothwick |
Date: | 13 Mar 2001 at 23:12:24 |
Subject: | Re: html checker |
Joris Kempen said,
> Do you know a way to output to a file? According to the guide it isn't
> possible but it would be really nice if that was possible...
It doesn't appear to be possible. I use it from a DOpus filetype,
outputting to a window. I then use KingCON's ability to save the buffer
to a file.
> 30min later, i checked some files but the errors i get from chechhtml don't
> really give me a clue. You know where i can learn more about the errors?
> Some examples with, something like: when you get this mistake, probabably
> this and this is wrong in your files....
Because it works with the DTD, it tends to be somewhat terse. Generally
you only need to try to fix the first error, as that can be the cause of
subsequent errors.
> index.html
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <FRAMESET COLS="120,*" framespacing="0" frameborder="0" border="0"
You've got the wrong DOCTYPE. Frames aren't part of the strict HTML
definition, they are an extension. To check the frameset document, you
must use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
> Last thing: i got this error
> sgmls: SGML error at template.html, line 5 at ">":
> HEAD element ended prematurely; required subelement omitted
> It's from this code <head></head>, does this mean that you can't put empty
> tags in your code? Because in my index.html i don't get this error...
You can use empty containers, when the container is allowed to be
empty. The HEAD container is not allowed to be empty, it must contain a
TITLE.
Neil
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Make good on the promise you made at graduation to keep
in touch. Classmates.com has over 14 million registered
high school alumni--chances are you'll find your friends!
http://us.click.yahoo.com/l3joGB/DMUCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->
Quote carefully and read all ADMIN:README mails
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/