In HTML learning

Source: Internet
Author: User

HTML Common label One

<body style= "background-color:red;" >

Body tag

Style Property

background-color:red; Property value

Background-color CSS Properties

Red CSS Property values

HTML Common label Two

List label

Ul OL

Table cellpadding inner margin cellspacing elements between tables

Width height

bordercolor border color bgcolor background color

Align Center Value Center left to right

Rowspan Cross-line colspan

Caption title Align Property top and bottom top bottom

Hypertext links

<a href= "#" > I am a hyperlink <a>

Page Window Popup

target= "-blank"

<a href= "http://www.yuluting.com" target= "_blank" > open in picture

Image

Height width heigt Border border

Transparency

Form form

<form action= "1.aspx" method= "POST" > Background submit Post

User name: <input type= "text" name= "username"/>

Password: <input type= "password" name= "pwd"/>

<input type= "Submit"/> Submit

<input type= "reset"/> Reset

</form>

Gender:

Men and women can only choose one

<input type= "Radio" name= "Sex"/><label> men </label>

<input type= "Radio" name= "Sex"/><label> women </label>

Click on Chinese characters men and women can also choose

<input type= "Radio" name= "Sex" id= "male"/><label for= "male" > Men </label>

<input type= "Radio" name= "Sex" id= "female"/><label for= "female" > Women </label>

Multi-Select box

<input type= "checkbox"/> Apple

<input type= "checkbox"/> Apple

<input type= "checkbox"/> Apple

drop-down list

<select name= "Fruit" multiple= "multiple" >

<option value= "Apple" > Apple </option>

<option value= "Orange" > Orange </option>

<option value= "Mango" > Mango </option>

</select>

In HTML learning

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.