Java Review front-end article--html

Source: Internet
Author: User
Tags html form

HTML: Hypertext Markup Language (pages can contain non-textual elements such as pictures, music, links, programs, etc.) that describe a language of things through a set of labels)

HTML structure Tags: root tag:

HTML Font label:<font>

Attribute: Color {font Color is divided into two (1) English word settings: Black,red,green,blue ... (2) Use 16 decimal set: #FFFFFF, #FFF}

size{Size of Font}

face{style of Font}

HTML Layout Tags:

Title Tags: h tags Paragraph tags: p tags <p>...</p>
Bold Tags: <b> content </b>
Italic Tags: <i> content </i>
Underline Tags: <u> content </u>
Center tag: <center> content </center>
Native Tags: <pre>
Horizontal line tag:

HTML picture Tags: Picture tags:

Properties: src: Source, Width: Width of picture, height: picture, alt: Picture cannot find what to display

List tags for html:

Unordered list:<ul> properties: type internal Use <li>

Sequence List:<ol> properties: Type,start Internal Use <li>

Hyperlink tags for HTML:

Hyperlink Tag:<a> property: href (link address), Target (open with _self (open on own page), _blank (opens a new window), _parent (opens the linked document in the parent frame)

HTML Table Label:<table>

Properties of Table:
Properties: Border,width,height,bgcolor, Backgroud, align
Row Label:<tr>
Property: Width,height
Column label:<td>
Property: width,height,colspan= "Number of columns", rowspan= "number of rows"

====================================================================================================== ====================================

HTML form Labels:<form> Tag properties: Action (the path of the form submission), method (submit as Get and post) {get: Data is displayed in the Address bar. The get-mode commit is a size-limited, POST: Data is not displayed in the Address bar. The Post method commits no size limit.}

Table cell element:<input> in a form

Type= "Text" text box:

Name: The names of the form elements. You must have the name attribute before the background can receive data.
Value: The default value of the text box.

Size: The length of the text box.
MaxLength: The maximum length of the text box input.
ReadOnly: Read-only text box.
Placeholder: Prompt user for input information

type= "Password" Password box:

Name: The names of the form elements. You must have the name attribute before the background can receive data
Value: Default value for Password box
Size: The length of the password box
MaxLength: Maximum length of password box input
Placeholder: Prompt user for input information

Type= "Radio" radio button:

Name: The names of the form elements. You must have the name attribute before the background can receive data.
Value: The default value of the radio button.
Checked: The radio button is selected by default.

type= The CheckBox Check button:

Checked: The radio button is selected by default.
Value: The default value of the radio button.
Name: The names of the form elements. You must have the name attribute before the background can receive data.

Type= ' Submit ' submit button
type= "Reset" reset button
Type= "button"
type= form items uploaded by "file" files
Type= "hidden" hidden fields
Type= "Image" image button

<select> drop-down list:

Name: the names of the form elements. You must have the name attribute before the background can receive data.
<option> properties Inside: Value default selected Default option

<textarea> text fields (similar to message section)

=========================================================================================================== ===============================

Java Review front-end article--html

Related Article

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.