HTML and CSS Reference
In-Depth Information
the parent frame set containing the source link. The _self value indicates the frame
containing the source link. The _top value indicates the full browser window. HTML5 may
allow for targeting of nonframed regions of the page.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> Form Test </title>
<form action="dosomething.php"
method="post" name="testform" onsubmit="return validate();">
<label><strong> Username: </strong>
<input type="text" name="username">
<label><strong> Comments: </strong>
<textarea name="comments" cols="30" rows="8"></textarea>
<input type="submit" value="send">
<input type="reset" value="clear">
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 4+, Safari 1+
• Form content is defined using the <button> , <input> , <select> , and <textarea>
tags, as well as other HTML formatting and structuring elements. However, they
may not contain other form elements.
• Special grouping elements, such as fieldset , label , and legend , are provided to
structure form fields, but more often tags like <div> and <table> are used to
improve form layout.
• HTML 2 and 3.2 support only the action , enctype , and method attributes for the
form element.
<frame> (Window Region)
This element defines a nameable window region, known as a frame, that can independently
display its own content.
Search WWH ::

Custom Search