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