Html&css_basic_01

Source: Internet
Author: User

Jerryweb

20150602

HTML | CSS | Basic

======= html&css_basic_01=======

#html要保持语义化, even if there is no CSS to maintain a beautiful and at a glance structure.
Em,strong Table Highlights | Span has no semantics, set a separate style | Q Reference | blockquote Long Text Citation | BR/| Address | Pre Multiple lines original display
Table Tbody TR line TD column Th table header | img alt: Download failed text title: Hint text
#form forms, Method:post|put complete and backend interactions the general form tag has lable input,
Type:text|password|radio|checkbox|submit, #input | Reset ...
Name: If it is a radio box, the same group will have a consistent name.
Value

#固定的css link <link href= "path/style.css" rel= "Stylesheet" type= "Text/css" >
#css有3种形式, inline, head style tag inside chain, link CSS outreach, and proximity principle, near priority high
#标签选择器, where class selectors can be multiple times, group, and ID selectors can only be tagged once.
#子选择器:. Food>li (only the first sub-tab can be selected with >)
. Food span (with spaces available for all)
. Food,span (select food class and span tags)
#伪类选择 a:hover
#根据权重来决定顺序! Label 1 class ID 100
# 2EM represents twice times the font-size unit
#line-height:1.6em;border:1px Solid Red;font-family:yahei;font-weight:bold;font-style:italic;text-decoration: Underline|line-through
#text-indent:2em;letter-spacing:50px;word-spacing:50px;text-align:center| L | R

Html&css_basic_01

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.