码迷,mamicode.com
首页 > 其他好文 > 详细

test2

时间:2018-12-08 16:12:51      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:return   tty   asc   pes   fun   rip   head   spl   print   

<h1>目录1</h1>
<pre class="prettyprint lang-javascript">
function getNowDate() {
var date = new Date();
var split = "-";
var year = date.getFullYear();
var month = date.getMonth() + 1;
var strDate = date.getDate();
if (month >= 1 && month <= 9) {
month = "0" + month;
}
if (strDate >= 0 && strDate <= 9) {
strDate = "0" + strDate;
}
var currentdate = year + split + month + split + strDate;
return currentdate;
}
</pre>
<pre><code>123123
</code></pre>

<p>你是谁,为了谁,你的兄弟姐妹又是谁</p>
<p>你是谁,为了谁</p>
<p>你的兄弟,你的姐妹</p>
<p>你的兄弟姐妹</p>
<table>
<thead>
<tr>
<th>Tables</th>
<th align="center">Are</th>
<th align="right">Cool</th>
</tr>
</thead>
<tbody>
<tr>
<td>col 3 is</td>
<td align="center">right-aligned</td>
<td align="right">$1600</td>
</tr>
<tr>
<td>col 2 is</td>
<td align="center">centered</td>
<td align="right">$12</td>
</tr>
<tr>
<td>zebra stripes</td>
<td align="center">are neat</td>
<td align="right">$1</td>
</tr>
</tbody>
</table>

test2

标签:return   tty   asc   pes   fun   rip   head   spl   print   

原文地址:https://www.cnblogs.com/apimhnkj/p/10087934.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!