摘要:
1.specify a state or relation to the selectorselector:pseudo_class { property: value; }2.Link3.Dynamic Pseudo Classesapply styles when something happens to something.active:when a link is clicked onhover:when a cursor moves over a linkfocus:when it is selected by,is ready for,keyboard input 支持度不太广泛4 阅读全文
摘要:
1.Grouping2.Nesting If the CSS is structured well, there shouldn’t be a need to use many class or ID selectors. 阅读全文
摘要:
1.html tag = css selector2.Define your own selectors in the form of class and ID selectors3. .classidentify more than one4.#ididentify one element5.conjunction 阅读全文
摘要:
1.2.can use h1 elements at the start of each section,which would become a sub-heading of anything preceding that sectionsuggest sticking to the headings levels you would use if you didn’t use sections3.provides a much richer, more meaningful document.4.5.6.related the content surrounding it7.(naviga 阅读全文
摘要:
1.It should be used specifically for the contact details relating either to the entire web page or to an article element2 A definition term and is used to highlight the first use to a termas abbr3. reverse the direction of the text4.Editiorialins(insertions)del(deletions)datetime attributecite attri 阅读全文
摘要:
dl(defination list)dt(defination term)dd(defination description) 阅读全文
摘要:
1.header cellAs with td elements,these must be enclosed inside tr elements2.</tr colspan="2" columnn spanrowspan 阅读全文
摘要:
1.Meta tags were the town criers of the Internet Do anything to the content that is presented in the browser window They are used by the likes of search enginges to catalogue information about the web page.2.Name attribute=author,description,keywords3.http-equiv can be used instead of the name attri 阅读全文
摘要:
1.attribute:title2.Quotationsblockquote :standalone often multi-line quotations-cite attribute can be used to point to its originq:shorter in-line quotations3.figure figcaption enabling a nice,semantic way to group a quotation with citation4.cite attributecite tag :define the title of a work5.6.pref 阅读全文
摘要:
1.HTML is all bout applying meaning to content. The span & div tags apply no meaning at all=meaningless tags They are used quite extensively in conjunction with CSS. Group together a chunk of HTML and hook some information onto that chunk,with attributes class & id to associate the element w 阅读全文
摘要:
1.border-style:solid实线,dashed虚线,double双线,dotted点状,groove凹槽,ridge垄状,inset,outset2.border0-width:border-top/right/bottom/left-widthpx 阅读全文
摘要:
1.Properties for spacing-out elements外边距:A margin is the space space outside something内边距:padding is the space inside something2.margin-top margin-right margin-bottom margin-leftpadding-top padding-right padding-bottom padding-left3.Margins,padding,borders are all part of what's known as the Box 阅读全文