«
日历
MitSeek 发布于
阅读:30
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
div{
border: 1px solid #00bfff;
width: 270px;
}
table{
margin: auto;
}
th,td{
text-align: center;
}
td{
background: #fffcc5;
}
th,caption{
background: #00Bfff;
}
</style>
</head>
<body>
<div>
<table cellspacing="0" cellpadding="10" border="0">
<caption>2025年11月</caption>
<tr>
<th>日</th><th>一</th><th>二</th><th>三</th><th>四</th><th>五</th><th>六</th>
</tr>
<tr>
<td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td>
</tr>
<tr>
<td>8</td><td>9</td><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td>
</tr>
<tr>
<td>15</td><td>16</td><td>17</td><td>18</td><td>19</td><td>20</td><td>21</td>
</tr>
<tr>
<td>22</td><td>23</td><td>24</td><td>25</td><td>26</td><td>27</td><td>28</td>
</tr>
<tr>
<td>29</td><td>30</td><td>31</td>
</tr>
</table>
</div>
</body>
</html>
HTML