A basic form

First Form Example - Ah157

Form elements go here

Other HTML is fine, too.

This is what it looks like   Form-1 embedded

Note that <input /> is not inside the form tags.


I am combining the above with script starting on AH160

Sample Form with a Fieldset

Personal Data

This is what it looks like   Form-2 embedded


The Pfieldset> pair: This pair describes the included elements as a set of fields. This element isn't necessary, but it does give you some nice organization and layout options later when you use CSS.

The <legend> tag: A part of the fieldset, this tag allows you to specify a legend for the entire fieldset.

I am combining the above with script starting on AH161

<form action = "">
   <p>
    <label>Name</label>
      <input type = "text"
         id = "txtName"
         value = "Jonas" />
   </p>
</form>

This code above produces the output picture below.

1 space