Tables
Tables are created within <table> </table> tags. Inside the
table tag, you will indicate "attributes" such as the number of
columns you want. Example:
<table BORDER COLS=2 WIDTH="60%" >
<tr> Indicates the beginning of a row.
<\tr> Indicates the end of a row.
<td> Indicates the beginning of a column. (td=table data)
<\td> Indicates the end of a column.
Click here for a sample table Choose "Page Source" from the View menu to see how this table was created.
Forms
An HTML form is a document containing special elements called controls (checkboxes, radio buttons, menus, etc.), and labels for those controls.
The sample form below includes buttons and labels:
<FORM action="mailto:user@gmu.edu" method="post"> <LABEL for="lastname">Last name: </LABEL> <INPUT type="text" id="lastname"><br> <LABEL for="firstname">First name: </LABEL> <INPUT type="text" id="firstname"><br> <LABEL for="email">email: <\LABEL> <INPUT type="text" id="email"><BR> <INPUT type="radio" name="sex" value="Female"> Female<BR> <INPUT type="radio" name="sex" value="Male"> Male<BR> <INPUT type="submit" value="Send"> <INPUT type="reset"> </FORM>Click here for a sample form Choose "Page Source" from the View menu to see how this form was created.