Pick up an article
(vi): HTML5 style, link and table ①:html style: 1. Tags: <style>: style definition <link>: Resource reference 2. Familiar with: Rel= "stylesheet": External style sheet type= "TEXT/CSS": Reference Document Type Margin-left: Margin HTML three style insert method: 1. External style sheet: <link rel= "stylesheet" type= "Text/css" href= "Mystyle.css" > 2. Internal style sheet: <style type= "Text/css" > body{background-color:red} p{margin-left:20px} </style> 3. Inline style sheet: <p style= "color:red" >②:html Link: 1. Link data: Text link Picture link 2. Properties: HREF attribute: Link to another document Name property: Create a link within a document 3.IMG tag properties: alt: Replace Text property width: Width Height: High ③:html table: Label description <table> definition table <caption> Define table header <th> Define table header <tr> Define table row <td> define Form Meta <thead> define the header of a table <tbody> define a table's body <tfoot> define a table's footer <col> define the table's column properties (vii): HTML5 list, block, layout ①: List Related tags introduction label Description <ol> Sequence list <UL≫ unordered list <li> list items <dl> list <dt> list items <dd> Description 1: Out of order lists using tags:<ul>,<li> properties: disc,circle , Square 2: Sequence table using tags:<ol>,<li> properties: A,a,i,i,start 3: Nested list using Tags: <ul>,<ol> ;,<li> 4: Custom list using Tags: <dl>,<dt>,<dd>②: block Introduction 1.HTML block element block element when displayed, it is usually Starting with a new line, inline elements such as:
"HTML5 Study" HTML5 Learn to organize notes (ii)