Of course, I also provide a
browsers for whatever reason.
<select name="skin" onchange="submit();"> ... </select>
<noscript> <p><input type="submit" name="Go" value="Go" /></p> </noscript>
Put this function definition in the <head> section of the page.
Now you can use links like this to generate popups, where popup.php is the target page,
<a href="popup.php" onclick="return popup(this, 'Title')">link text</a>
Attribute names must be lower-case. This means that the
in HTML tags must go. So within tags
and so on. This change should not break anything.
Some elements are not allowed a
attribute. For example, a form element may not have a
name= attribute, which makes it difficult to refer to by
normal means. The workaround is to give elements you want to refer to
getElementByID() function to refer to them. The form
itself does not need an
id attribute, only the element
you want to refer to.
<script> element must have a
type= attribute. The
attribute is not allowed. The proper way to do this is to declare
The following small but perfectly formed script illustrates all of these, and validates at XHTML 1.0 Strict. Interesting bits are highlighted