I'm a danish librarian who would like to get my new homesite
validated. I have tried to get it validatet in the w3c but I get the
same message all the time.
This is the massage.
"
Below are the results of attempting to parse this document with an
SGML parser.
Line 47, column 176: required attribute "ACTION" not specified
....e);document.sf.submit();return false">
The attribute given above is required for an element that you've used,
but you have omitted it. For instance, in most HTML and XHTML document
types the "type" attribute is required on the "script" element and the
"alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.
"
I use a form. Look here
<FORM NAME="sf" ACTION="http://www.grindstedbib.dk/sites/WWX/pub/search.html?doaction=search&data=scode_ccl%3d"
METHOD="post" TARGET="_blank">
<INPUT TYPE="hidden" NAME="doaction" /><INPUT TYPE="hidden"
NAME="data" />
</FORM>
<FORM ONSUBMIT="document.sf.doaction.value='search';
document.sf.data.value='request_attr_base=bib scode_freetext='+escape
(freetext.value);document.sf.submit();return false">
<TABLE>
<TR>
<TD><INPUT TYPE="text" NAME="freetext" / SIZE="20"></TD>
<TD><INPUT TYPE="submit" VALUE="Søg" /></TD>
</TR>
</TABLE>
</FORM>
I also use css. This is the sektion before the body part
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Startside</TITLE>
<META NAME="robots" CONTENT="none">
<META NAME="Author" CONTENT="Mette Kulmbach">
<LINK REV="made" HREF="mailto:mk@grindstedbib.dk">
<META HTTP-EQUIV="Reply-to" CONTENT="mk@grindstedbib.dk">
<META NAME="Copyright" CONTENT="Mette Kulmbach">
<META HTTP-EQUIV="Content-language" CONTENT="dan">
<META HTTP-EQUIV="Content-type" CONTENT="text/html;
charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<META NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0">
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
<LINK REL="alternate stylesheet" TYPE="text/css" TITLE="link"
MEDIA="Screen" HREF="css/link1a.css">
<LINK REL="stylesheet" TYPE="text/css" TITLE="standard"
HREF="css/standard1a.css">
<LINK REL="stylesheet" MEDIA="print" TYPE="text/css"
HREF="css/print.css">
<script type="text/javascript"
src="Scripts/styleswitcher.js"></script>
</HEAD>
What is wrong. I can understand it.
If anybody has an answer I would bee very happy
Thanks from Mette in Denmark