HTML Layout - Useful Tips CREATED BY =JAY-AR SIMON SEBASTIAN

Start from the beginning
                                        

 I have a car Submit Button

<input /> defines a submit button.

A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute usually does something with the received input:

<form>

Username: <input />

<input />

</form>

How the HTML code above looks in a browser:

Username:  

If you type some characters in the text field above, and click the "Submit" button, the browser will send your input to a page called "html_form_action.asp". The page will show you the received input.

 More Input Examples

Radio buttons

How to create radio buttons.

Checkboxes

How to create checkboxes. A user can select or unselect a checkbox.

Simple drop-down list

How to create a simple drop-down list.

Drop-down list with a pre-selected value

How to create a drop-down list with a pre-selected value.

Textarea

How to create a multi-line text input control. In a text-area the user can write an unlimited number of characters.

Create a button

How to create a button.

 Form Examples

Fieldset around form-data

How to create a border around elements in a form.

Form with text fields and a submit button

How to create a form with two text fields and a submit button.

Form with checkboxes

How to create a form with two checkboxes and a submit button.

Form with radio buttons

How to create a form with two radio buttons, and a submit button.

Send e-mail from a form

How to send e-mail from a form.

HTML Form Tags TagDescription <form> Defines an HTML form for user input <input /> Defines an input control <textarea> Defines a multi-line text input control <label> Defines a label for an input element <fieldset> Defines a border around elements in a form <legend> Defines a caption for a fieldset element <select> Defines a select list (drop-down list) <optgroup> Defines a group of related options in a select list <option> Defines an option in a select list <button>

Defines a push button

ATTENTION. Do not expect frames to be supported in future versions of HTML.

Try-It-Yourself Examples

Vertical frameset

How to make a vertical frameset with three different documents.

Horizontal frameset

How to make a horizontal frameset with three different documents.

(You can find more examples at the bottom of this page)

You've reached the end of published parts.

⏰ Last updated: Dec 13, 2014 ⏰

Add this story to your Library to get notified about new parts!

HTML Layout - Useful Tips  CREATED BY =JAY-AR SIMON SEBASTIANWhere stories live. Discover now