如何在html中写日期 [英] how do write date in html
问题描述
Hi Team,
i编写的代码如下:
Hi Team,
i written code as follows:
<p16 class="">NFO Opens : 24th August 2015.<br> NFO Closes : 26th August 2015. </p16>
< p16 class => NFO开放 : 24日 八月 2015.
NFO关闭 : 26日 八月 2015.
i我没有以正确的方式得到日期。我的页面看起来像上下。但是没有以正确的方式显示日期。为什么是这样吗??
谢谢
<p16 class="">NFO Opens : 24th August 2015.
NFO Closes : 26th August 2015.
i am not getting the date in proper manner.it looks like up and down in my page.date is not getting shown in proper manner.why is it so??
Thanks
推荐答案
这取决于你使用的字体:大多数是比例表示所有字符宽度不同;例如,I比W窄。
IIII
WWWW
非比例字体都具有相同的字符宽度:
It depends on the font you are using: most are proportional which means that all characters are not the same width; an "I" is narrower than a "W" for example.
IIII
WWWW
Non-proportional fonts all have characters with the same widths:
IIII
WWWW
所以一种方法可以做你想做的就是改变字体 - 但看起来很难看。
相反,请考虑使用表格: W3Schools HTML表格 [ ^ ]
平板电脑自动更正:叹息:[/ edit]
So one way to do what you want is to change the font - but that can look ugly.
Instead, consider using a table instead: W3Schools HTML tables[^]
[edit]Tablet autocorrect :sigh:[/edit]
这篇关于如何在html中写日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!