HTML Learning Note Two

Source: Internet
Author: User

Common Label Learning:

(single label) picture label Use effect: Insert a picture in the Web page, you can set the ALT attribute, display the prompt text when the picture is not loaded (insert picture has absolute path and relative path).

<form></form> form labels are used alone without effect and need to be added to the label with other tags. Common properties are action (submit form Address), method (submission method such as clear text transmission, ciphertext transmission).

<input/> (single label) collect information labels used in forms can also be used outside the form but you need to set the form property to point to a form, the form to set the ID.

<input/> Type Property common property values:

Text textbox

Password Password box

Button buttons

File Browse files

Radio radio button

CheckBox check box

The Submit button submits the contents of the form to the address specified in the form, which is different from the button.

Reset reset button clears the form contents

<select></select> drop-down list box by default only one data set multiple property can be selected

<textarea></textarea> multiple lines of text can be entered in Mtext

<fieldest></fieldest> Package the form content in one place

<legend></legend> defining headings in <fieldest>

<abbr></abbr> Note Tags set the title property, the mouse pointer to the text will display the comment content

&copy; Copyright mark

&lt;&gt; Special symbols allow labels to be displayed directly in a Web page and not run as labels

HTML Learning Note Two

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.