HTML frames and Forms

Source: Internet
Author: User

1. Framework processing structure

<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>

<title>test</title>

    <frameset rows= "90,*" >

<frame src= "", name= ""/>

<frame src= "", name= ""/>

</frameset>

2. Common Properties:

1)rows: splits the upper and lower windows in pixels or percentages, * indicates the remainder

2)cols: splits the left and right window in pixels or percentages, * indicates the remainder

3) Frameborder: Specifies whether the border is displayed, 0 means not displayed, and 1 indicates that the display

4) Border: Specifies the thickness of the frame

5) Noresize: Indicates that the <frame> specified frame cannot be adjusted

3.<noframes></noframes>: Used when the browser does not support frames

<noframes>

<body>

</body>

</noframes>

4. Forms <form></form>

<form action= "" method= "Get/post" enctype= "" ></form>

1) Action:url, indicating where the form data is sent when the form is submitted

2) Method:get/post, specify how to send form data

3) Name: Specify the form name

4) Enctype:mime_type, specify how the form data should be encoded before sending it to the server, default: application/x-www-form-urlencoded, when uploading a file:multipart/form-data

5. Common Form Properties:

1) <input/>

<input type= "text" name= "user" <!--value= "default" maxlength= "10"--this part is optional >/> text box

<input type= "password" name= "password" > Password box

Other type attributes:

  checkbox: check box

 Radio: Radio Box

  Submit: Commit button

  Reset: Reset button

  file: Upload box

  Hidden: Hidden fields, used to store fixed values that are not visible to the user

  button: normal buttons

2) <textarea name= "name" ></textarea>: Multiline Text field

3) <select> candidate content </select>: drop-down box

<select name= "Name" >

<option value= "1" > Content </option>

<option value= "2" selected= "selected"> Content </option>

<option value= "3" > Content </option>

</select>

HTML frames and Forms

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.