月,年,日的标签? [英] Tags for month, year, day?
问题描述
我正在使用此HTML列出博客帖子的日期:
< h2> 05< span class =" month"> 07< / span>< span class =" year"> 04< / span>< / h2>
我是但是,并不热衷于这些跨度 - 有没有人知道更具语义性的b / b
区分日,月和年的有意义的方式?
- <但是,这个空洞的谈话的主题,与人类关系不大,明天终于让我们的宇宙成为一个臭气沉沉的尸体坑'' br />
- Lucien Febvre
la_haine写道:
< h2> 05< span class =" month"> 07< / span>< span class =" ;年>> 04< / span>< / h2>
我不热衷于这些范围但是,有没有人知道在日语,月份和年份之间采用更具语义和意义的区分方式?
号码为什么你想要反正他们每个人的风格不同吗?
Matthias
" la_haine" < P ***** @ kent.ac.uk>写道:我正在使用这个HTML列出博客帖子的日期:
< h2> 05< span class =" month"> 07< / span>< span class =" year"> 04< / span>< / h2>
我不热衷于这些跨度 - 有没有人知道更多
语义上有意义的区分日,月,
和年?
< h2> 2004年7月5日< / h2>
或者如果你坚持使用纯数字格式,
< h2> 2004-07-05< / h2>
至少不那么模棱两可。
-
Chris
Matthias Gutfeldt< sa ****** ******@gmx.net>写在
新闻:2k ************ @ uni-berlin.de:
< h2> 05< span class =" month"> 07< / span>< span class =" year"> 04< / span>< / h2>
>虽然我不喜欢这些跨度 - 有没有人知道在日,月和年之间区分日语的更有意义的方式?
因为我喜欢。
-
''街头监控摄像头,先生。大多数城镇和村庄现在已经装好了。
。预防犯罪,我们喜欢称之为。听起来好比
老大哥在看着你,但它也是一样的。''
- Robert Rankin,Apocalypso
Hi,
I''m using this HTML for listing dates of weblog posts:
<h2>05<span class="month">07</span><span class="year">04</span></h2>
I''m not keen on those spans, though - does anyone know of a more semantically
meaningful way of differentiating between day, month, and year?
--
''But the subject of such empty talk, which has so little to do with humanity,
will tomorrow have finally made our universe into a stinking pit of corpses''
- Lucien Febvre解决方案la_haine wrote:Hi,
I''m using this HTML for listing dates of weblog posts:
<h2>05<span class="month">07</span><span class="year">04</span></h2>
I''m not keen on those spans, though - does anyone know of a more semantically
meaningful way of differentiating between day, month, and year?
No. Why would you want to style each one of them differently, anyway?
Matthias
"la_haine" <p.*****@kent.ac.uk> writes:I''m using this HTML for listing dates of weblog posts:
<h2>05<span class="month">07</span><span class="year">04</span></h2>
I''m not keen on those spans, though - does anyone know of a more
semantically meaningful way of differentiating between day, month,
and year?
<h2>5 July 2004</h2>
or if you insist on using a purely numeric format,
<h2>2004-07-05</h2>
is at least less ambiguous.
--
Chris
Matthias Gutfeldt <sa************@gmx.net> wrote in
news:2k************@uni-berlin.de:
<h2>05<span class="month">07</span><span class="year">04</span></h2>
I''m not keen on those spans, though - does anyone know of a more
semantically meaningful way of differentiating between day, month, and
year?
No. Why would you want to style each one of them differently, anyway?
Because I like to.
--
''Street surveillance cameras, sir. Most towns and villages are now fitted
with them. Crime prevention, we like to call it. Sounds a bit better than
"Big Brother is watching you", but it amounts to the same thing.''
- Robert Rankin, Apocalypso
这篇关于月,年,日的标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!