WEB重构渔隐,TaobaoUED了解WEB重构前需要知道的一些内容tableTheHTMLtablemodelallowsauthorstoarrangedata--text,preformattedtext,images,links,forms,formfields,othertables,etc.--intorowsandcolumnsofcells.http://www.w3.org/TR/html401/struct/tables.html#h-11.1W3C:整理数据很方便Table布局为何不建议用table布局?Tablesshouldnotbeusedpurelyasameanstolayoutdocumentcontentasthismaypresentproblemswhenrenderingtonon-visualmedia.?…Tominimizetheseproblems,authorsshoulduse?stylesheets?tocontrollayoutratherthantables.W3C:是表格而非栅格1.不够语义2.维护性差3.不利于搜索引擎优化4.代码臃肿5.可访问性差请不要排斥tableTable没有错,错的是拿table做布局的人Div和SpanThe?DIV?and?SPAN?elements,inconjunctionwiththe?id?and?class?attributes,offeragenericmechanismforaddingstructuretodocuments.Theseelementsdefinecontenttobeinline(SPAN)orblock-level(DIV)butimposenootherpresentationalidiomsonthecontent.Thus,authorsmayusetheseelementsinconjunctionwith?styl