Element of Time of Css+ new position, new method, facilitating spider capture

Above all you should make clear a concept of Hunan, HTML is not to use those who write page style, use the basic framework that expresses a webpage however, the style comes true with CSS

HTML5 besides put forward very semantics still was strengthened to change a structure beyond the new effect of dazzle, among them this Time is among them one of

Will represent time with <time> , not be the result that wants what to achieve to see, the code that lets a webpage however is systimatic, allow a machine -- especially the spider of Baidu and Gu Ge -- can understand you the meaning of this webpage.

HTML5 adds newly still have Article, Nav, Header, Footer. . . . . Wait etc, actually practical effect is do not have the effect with Div, but reasonable use can make page structure more clear have logic however

Look you by " DIV+CSS " fool word misdirect of the person this sentence. In those days I also by misdirect several years, I do a website to have Div only from A to Z previously, till later by rebuke of an a respectful form of address for an old person an ability awareness, div cannot be abused, can use the position that becomes whole only, detail part still should use other label, on one hand program readability and safeguard a gender to strengthen, on the other hand, can write a style with inferior selector, reduced Class and Id name, can simplify the structure of the webpage; And semantics changes a structure systimatic ability makes search engine more friendly

<time Datetime="20515-10-22">2015 year on October 12 </time>

<time Datetime="20515-10-22T20:OO">2015 year on October 12 in the evening at 8 o'clock </time>

<time Datetime="20515-10-22T20:OOZ">2015 year on October 12 in the evening at 8 o'clock </time>

Time of <time Datetime="20515-10-22T20"> United States on October 12, 2015 in the evening at 8 o'clock </time>

<time Datetime="20515-10-22"-pubdate="pubdate"> article was published on October 12, 2015 in the evening at 8 o'clock </time>

Example: This <p> website (website address) all published content, include character, picture, frequency, video, software, program, and webpage format design all go up in the net collect. <time Datetime="20515-10-22">2015 year on October 12 </time>

<time Datetime="20515-10-22"-pubdate="pubdate"> article was published on October 12, 2015 in the evening at 8 o'clock </time>

</p>

未经允许不得转载:News » Element of Time of Css+ new position, new method, facilitating spider capture