[HTML5 learning] HTML5 Study Notes (2) and html5 Study Notes

Source: Internet
Author: User
Tags control label

[HTML5 learning] HTML5 Study Notes (2) and html5 Study Notes

Next

(6): HTML5 style, link and table ①: HTML style: 1. label: <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 insertion methods: 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 image link 2. property: href property: Link name to another document property: Create link 3.img in the document Label attribute: alt: Replace text attribute width: width height: height ③: HTML table: label description <table> Define table <caption> Define table title <th> Define table header <tr> Define table rows <td> Define table Unit <thead> Define table Header <tbody> define the table subject <tfoot> define the table footer <col> define the column attributes of the table (7): HTML5 list, block, layout ①: list related labels introduction label description <ol> ordered list <ul> unordered list <li> list item <dl> List <dt> list item <dd> description 1: unordered list use tags: <ul>, <li> attributes: disc, circle, square 2: ordered list use tags: <ol>, <li> attributes: A,, i, I, start 3: label used by the nested list: <ul>, <ol>, <li> 4: label used by the custom list: <dl>, <dt>, <dd> ②: block Introduction 1. when an HTML block element is displayed, it usually starts with a new line. For example: 


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.