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>