1 HTML REVIEW

Source: Internet
Author: User

First, the layout label

Paragraph break: <p align= "center" ></p> place This paragraph in the middle of the page, align, position

Horizontal:

Second, block label

<div style= "Color:blue" >div1</div>

<span style= "color:red" >span1</span>

Difference: two consecutive div line breaks, two contiguous spans do not wrap, DIV+CSS, and span is often used for hints.

Third, the text label

<font color= "" size= "" face= "" > Text 1</font> face as font, such as boldface

Iv. List Label

<ul type= "" ><li>fxy1024</li></ul> ul unordered

<ol type= "" start= "><li>fxy1024</li> </ol> ul Order

Five, the picture label

src as Path

Vi.. Link label

<a href= "url" name= "label" target= "blank" > This is a label </a> blank means a new page is returned

<a href= "#top" > Back to Top </a>

Vii. Table Labels

<table border= "" align= "" bgcolor= "" Width= "" >

<tr align= "" >

<th> This line bold </th>

</tr>

<tr>

<td> This line is not bold </td>

<tr>

</table>

Eight, form labels

Format:

<form action= "#" Name= "MyForm" method= "Get" >

<table>

<tr>

<td>

<input name= "username" type= "text" value= "" >

<select name= "City" > drop-down list

<option value= "BJ" > Beijing </option>

<option value= "LJ" > Nanjing </option>

</select>

</td>

<td>
<textarea name= "Ramark" cols= "rows=" 3 "></textarea> comment area
</td>

</tr>

<table>

</form>

-----------------------------------

Action: Form Address

Method: How to submit: Get post put delete.

The difference between get and post: When a get commits, the data is appended to the address bar, the post is encapsulated in the list, and post is more secure.

Get commits have a size limit, and depending on the browser, post is not limited in size.

<input type= "" >

When type is password, the input is a mask.
As radio, enter as a single option.
As hobby, enter as multiple options.
As file, enter the path for Files option.
Submit the form to the server immediately for the Submit button.
For button buttons, for triggering events, easy to use JS for processing.
To hidden, hide the field.
For image, enter as picture, src=,alt=.

<textarea name= "Ramark" cols= "rows=" 3 "></textarea> comment area

------------------------------------------------

X. Frame label

1 HTML REVIEW

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.