HTML static Web pages (image hotspots, page zoning, stitching, and use of forms)

Source: Internet
Author: User

Photo hotspots:

Plan out an area of the image, you can make hyperlinks, directly click on the image area to complete the jump effect.

Example:

Page Zoning:

In a Web page, plan a region to show the content of another page.

Example:

Splicing of Web pages:

In a Web page, a number of page windows are planned to be displayed as table stitching.

Example:

Form:

<form id= "" Name= "" method= "Post/get" action= "responsible for processing the server" >

ID is not repeatable, name is repeatable, get commits have a length limit, and the encoded content is visible in the address bar.

Post submissions have no length limit and the content is not visible after encoding.

</form>

1. Text input

text box <input type= "TXT" name= "" id= "" value= ""/>

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

Text field <textarea name= "" id= "" cols= "" (Number of characters) rows= "" (a few lines high) ></textarea>

Hidden fields <input type= "hidden" name= "" id= "" value= ""/>

2. Button

Submit button <input type= "Submit" Name= "" id= "" disabled= "Disabled" value= ""/> Click to go to the address of the submission server within the form

Reset button <input type= "reset" name= "" id= "" disabled= "Disabled" value= ""/>

Normal button <input type= "button" name= "" id= "" disabled= "Disabled" value= ""/>

Picture button <input type= "image" Name= "" id= "" disabled= "Disabled" src= "Picture address"/>

Disabled Disable the button

Enable to make buttons available

3. Select input

radio button Group <input type= "Redio" name= "" checked= "Checked" value= ""/>

The value of name is used to group, value is not visible, and is submitted to the program, checked sets the default option.

check box group <input type= "checkbox" Name= "checked=" checked "value=" "/>

File upload <input type= "file" name= "id=" "/>

<lable for= "" ></lable>

The lable label defines the callout for the INPUT element.

The lable element does not present any special effects to the user, but he improves usability for the user of the mouse. This control is triggered if you click on the text within the lable element.

That is, when the user selects the label, the browser shifts the focus to the label-related form controls.

The For property of the lable tag should be the same as the ID property of the related element.

4. Drop-down list box

<select name= "" id= "" size= "" multiple= "multiple" >

--size is 1 o'clock, for menu; >1, for list. Multiple is a multi-select.

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

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

--selected, set as Default

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

</select>

Examples of use of statements in forms:

The above statement renders the following effect:

Form exercises: Write statements according to what you have done

The process of writing a statement:

A quick way to make a webpage:

Use the slice tool in Photoshop to plan where you want to set the link, and then save it as a Web-ready HTML format.

Open with Dreamweaver, open the design page, select the location where the slices are ready, and enter the URL of the hyperlink in the properties.

HTML static Web pages (image hotspots, page zoning, stitching, and use of 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.