Basic links To create a link, you need A web address (called a Uniform Resource Locator; URL) for the website or file that’s your link target. This usually starts with http://.…
Why links? Hyperlinks, or simply links, connect HTML pages and other resources on the web. When you include a link on your page, you enable visitors to travel from your…
Submit and Reset buttons Submit and Reset buttons help the user tell the browser what to do with the form. You can create buttons to either submit or reset your…
Multiline text boxes If a single-line text field doesn’t offer enough room for a response, create a text box instead of a text field: The <textarea> element defines the box…
Drop-down list fields Drop-down lists are a great way to give users lots of options in a small amount of screen space. You use two tags to create a drop-down…
File upload fields A form can receive documents and other files, such as images, from users. When a user submits the form, the browser grabs a copy of the file…
Hidden fields A hidden field lets you collect name and value information that the user can’t see along with the rest of the form data. Hidden fields are useful for…
Checkboxes and radio buttons If only a finite set of possible values is available to the user, you can give him a collection of options to choose from: Check boxes:…
Password fields A password field is a special text field that doesn’t display what the user types. Each keystroke is represented on the screen by a placeholder character, such as…
Text fields Text fields are single-line fields into which users type information. Here’s how to create a single-line text field: 1. Define the input type as a text field by…