140916 ● form elements

Source: Internet
Author: User

Form element:
<Form ID = "" name = "" method = "post/get" Action = "Server responsible for processing"> IDs cannot be duplicated; names can be repeated; get submission has a length limit, the encoded content is visible in the address bar. There is no length limit for post submission and the encoded content is invisible.

</Form>

Text Box <input type = "TXT" name = "" id = "" value = ""/>

Password box <input type = "password" name = "" id = "" value = ""/>

Text Field <input type = "txtarea" name = "" id = "" value = ""/>

Hide domain


Submit button <input type = "Submit" value = "">

Reset button <input type = "reset" value = "">

Normal button <input type = "button" value = "">

Image button <input type = "IMG" src = "image address">


Single button group <input type = "redio" name = "used to group" Checked = "checked" value = "">

Check box group <input type = "checkbox" name = "used to group" Checked = "checked" value = "">

Drop-down list box
<Select name = "" id = "" size = "" multiple = "multiple"> -- When size = 1, it is a menu;> 1, it is a list. Multiple is a multi-choice.
<Option value = "value"> content 1 </option>
<Option value = "value" selected = "selected"> content 2 </option> -- set as default
<Option value = "value"> content 3 </option>
</SELECT>

File Upload <input type = "file" name = "" id = ">

 

Framework set
<Frameset rows = "100, *" frameborder = "no"> -- If rows is replaced by cols, the upper and lower scores are changed to left and right scores.
<Frame src = "" noresize = "noresize"> -- noresizehi cannot be resized.
<Frame src = "" scrolling = "no"> -- scrolling = "no" to cancel displaying the scroll bar
</Frameset>

Specify the frame window in which the target page is displayed in the hyperlink
Step 1: Set the name attribute for the target frame to be displayed.
Step 2: Assign the target attribute of the hyperlink to the name set in step 1

 

Embed a small window in the original page to display other pages
<IFRAME src = "" width = "" Height = "" frameborder = "0" scrolling = "no">

 

140916 ● form elements

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.