I’ve been playing around with the following code with a view to using it as a simple password protection for a web page. All works OK but when I put it through the W3C validator it throws up the following error -
Line 41, Column 38: required attribute "action" not specified
<form name="password1" id="password1">User name <input type="text" name="usernam
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.
The code is below:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
** LINE 41 —>>
Propbably my lack of experience and understanding so any help appreciated