English 中文(简体)
news mark x mark
原标题:semantic xhtml markup for date on news detail page?

在新闻详细网页上的日报上,有比这一标志更审慎的做法?

<h2>Lorem ipsum <span>12.12.2010</span></h2>
<p>Lorem ipsum dolor sit amet</p>
问题回答

HTML 5 has a <time> tag. If not using HTML 5, I would do this: <span class= time > to indicate it is similar to HTML 5 time. This would make it easy to style and find with Javascript automation.





相关问题
Is this syntatically valid for div?

<div class= clear ></div> /*which comes out to be below one in FF (seen via firebug) */ <div class= clear /> /*is this the last empty div declaration is semantically valid ? */

How to apply pagination in IFrame

I have an IFrame with a Table enclosed within it. I want to display 15 rows of a table and than a Next button must be there to move forward. How to apply pagination for IFrame?

Scala and HTML parsing

How do you load an HTML DOM document into Scala? The XML singleton had errors when trying to load the xmlns tags. import java.net._ import java.io._ import scala.xml._ object NetParse { import ...

热门标签