Skip to main content

How to create HTML Forms - II

How to create HTML Form -  II

In this tutorial, we will learn about  How to create HTML FormSo far we have discussed how to create a frametablesList, insert ImagesLinking in HTML etc. HTML Form is one of the most important  part of the websites  Every website has Contact forms or feedback forms.. Filling the Digital forms  saves time, cost of printing, and  paperwork.

Submit Button

Submit button It is used for submitting the form data to the server page.

Example:
how to create form - submit
How to create form - Submit button
Output is:
How to create form- Submit
How to create form- Sumit Button

<Select></Select>

<select></select>  It is used to create Popup menu and a List.<option></option> is used to define the option in the drop-down menu  or the list.

Attributes of <select></select>

  1. Name = name - Name of the drop down menu or  list
  2. Size= value - To specify the number of visible  values.
  3. Selected - To define Pre-selected item.
  4. Multiple  - Allows to select more than one item
           A. To create drop down list 


Example:

how to create form-select
How to create form-Popup menu

Output is:



How to create a form - Popup menu


B. To create the list.


Example:

How to create a form - List
How to create a form - List

Ouput is:
how to create form - List
How to create form - List








Comments

Popular posts from this blog

Table in HTML

Table is used to store data in the form of rows and columns.<Table> </Table > tag is used for creating the table.   Tags used for creating  the table  is as follows Tags Description <table></table> <tr></tr> It defines the table row. <th></th> It defines the table heading. <td></td> It defines the table data. <caption></caption> It defines the caption of the table. Attributes of the <table></table> tag. Attributes Value Description Bgcolor Color name Changes the background color of the table. Background Path of the image Applies the image as the background. Border Value (eg. 1,2,10) It is used to apply the border thickness of the table. BorderColor Color name It changes the color of the table bord...

Linking in html

Linking is used for linking the web page with the another web page. One can create linking with  <a> </a> tag. It is also called anchor tag. One can create linking with the text, linking with the image. The attribute of <a></a> href="path" target="frame name" or _top or _blank or _self or _parent Linking with the Text  One can create linking with the text. Example of it is given below   Example <html> <head> <title> linking with text </title> </head> <body> <a href="file:///C:/Program%20Files/Java/jre1.8.0_31/Welcome.html">click here</a> </body> </html> The output of the above  code is Linking with Image Now, one can also create linking with the image. Example <html> <head> <title> linking with image </title> </head> <body> <a href="file:///C:/Program%20Files/Java/jre1.8.0_31/Wel...

HTML FRAMES - HTML Frames Example with Output

Post Updated :16-02-2018 HTML Frames is used to display more than one file. It is used to divides the browser window into different parts or sections  i.e.  row-wise or column-wise or row and column-wise . Each section can display HTML files.To create a frame  two tags are used they are <frameset> and <frame> tag. Attributes of  <frameset>    tag 1. Cols=value is % or pixels 2. Rows= values in % or pixels Attributes of <frame> tag 1. Src= "path" 2. Name="name of the frame" 3. Border= value in pixels 4. Noresize 5. Scrolling="true" or "false" 6. Marginwidth=value in % or pixels 7. Marginheight=value in % or pixels If I want to divide the browser into two columns. The following example will be used to divide the window into 2 section. In the example given below we are using to divide the browser into equal sections i.e. 50% each. HTML Frames Example with Output Simple example of two- framed page ...