Let's get started with a Web Form!
- Open Notepad++
- Open your
index.html
file.
- Open your
styles.css
file.
- Click: New -> File
- Click: Save
- Name that file: form.html
- Click: Save
- Copy the Form Page Template (HTML) code (below).
- Paste that code into your
form.html
file.
- Change your page title, your Author name, and your page heading to something appropriate
- Change: pput-your-email-address-here to your email address
- Change: put-your-email-address-here to your email address.
- Change: put-your-subject-here to your subject line.
- Change: put-your-form-page-url-here to the URL of your formpage.
- Change the
put-legend-here
and both put-label-here
to something appropriate. For example, Demographic Information, First Name, Last Name
- Copy the Form Page Styles (CSS) code (below)
- Paste that code into your
styles.css
file.
- Change some styles.
- In your
index.html
file
- Add a link to this page.
Change: <li>Create a Form Page</li>
to: <li><a href="form.html">Create a Form Page</a></li>
- Click: Save
- Name the file:
form.html
- Change the
Save as type:
to: Hyper Text Markup Language file (*.html)
- Click: Run
- Choose: Launch in IE
or Launch in Chrome
or Launch in Firefox
- View your web page
- Make any changes
- Save your changes
Form Page Template (HTML)
Form Page Styles (CSS)
Example