HTML5 study notes, html5

Source: Internet
Author: User

HTML5 study notes, html5

Lesson 1:

H1: align attribute align is left by default.

Body: bgcolor attribute background is used to set the background image

A: target attributes
_ Self open local
-Open the new blank page.
_ Parentf parent-level open
_ Top

Lesson 2:

H5 does not support <big>
<B> bold
<Em> increase
<I> Italic
<Small> small words
<Strong> increase
<Sub> upload
<Sup> subscript
<Ins> insert
<Des> Delete

Lesson 3:

Three style sheet insertion methods:

External style sheet: <link rel = "stylesheet" type = "text/css" href = "">
Internal style sheet: <style type = "text/css"> body {}</style>
Inline style sheet: <p style = "color: green"> </p>

Lesson 4: HTML link:
Link data:
Text Link
Image Link

Attribute:
Href attribute: Link to another document
Link in name attribute document

Img tag attributes
Alt attribute image exception replacing text attribute
Width
Height

Lesson 5: Forms

<Table> Define table attribute border = "1"
Attribute Table size cellpadding = "10"
Attribute cell spacing cellspacing = "10"
Bgcolor
Background

<Caption> table title
<Th> Header
<Tr> line
<Td> the label ul in the Unit Table
<Thead> Header
<Tbody> subject
<Tfoot> footer
<Col> column attributes

Lesson 6: List
Unordered list ul li
Attribute: disc solid circle cirle square entity

Ordered list
Ol li
A a I I start

Custom list:
Dl list
Dt list items
Dd description

Lesson 7: Layout
Use <div> element Layout

Use <table> Layout
Merge cell attributes colspan = "2"

Lesson 7: Forms
Form action = "" method = ""
Input Field

Check box
Type = "checkbox"

Single region
Type = "radio" name = "" name implement the concept of a group

Drop-down list
<Select>
<Option>

Button type = "button" value = "button"
Type = "submit" value can be submitted

Text Field: can be created outside form
<Textarea cols = "30" rows = "30"> </textarea>

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.