首页 > 代码库 > html 作业1
html 作业1
<body bgcolor="#000000" topmargin="200px" leftmargin="200px" text="#FFFFFF">
<a name="aa"></a>
<h1><em>作业</em><sub>20161221</sub></h1>
<p><del>可以不完成</del></p>
<p>One may fall in love with many people during the lifetime.</p>
<p>When you finally get your own happiness,</p>
<p>you will understand the previous sadness is kind of treasure,</p>
<p>which makes you better to hold and cherishthe people you love.</p>
<h3>字体是:<br />
<u><font size="-2">微软雅黑</font></u>
</h3>
<a href="http://www.mamicode.com/#aa" ><img src="file:///C|/Users/asus/Documents/未命名站点 2/1.gif" width="100px" height="100px" title="哈哈哈" alt="图裂了"/></a>
<p><font size="-2">图裂了</font></p>
<h2>要求:</h2>
<ol type="A">
<li>独立完成</li>
<li>今天所讲的都要练一遍</li>
<li>做好博客的笔记</li>
</ol>
<h3>ps:</h3>
<ul type="square">
<li>注意有序/无序列表的使用</li>
<li>图片长宽都是100px,点击图片可以链接到网页顶端</li>
<li>要求完成度在70%以上</li>
<li>不会的可以百度(此链接在新页面打开)</li>
<li>网页左边距和上边距为200px</li>
<li>鼠标移动到图片上显示"哈哈哈"</li>
<li>坏图上显示"图裂了"</li>
</ul>
<table border="1" width="400px" height="200px" >
<tr align="center" >
<td>宽度/高度</td>
<td>对齐方式</td>
<td>背景颜色</td>
<td rowspan="2">合并单元格</td>
</tr>
<tr valign="bottom" align="right" bgcolor="gray">
<td>400px/200px</td>
<td>靠右/靠下</td>
<td>gray</td>
</tr>
</table>
</body>-->
<body>
<!--居中
<table>
<tr>
<th>居中加粗</th>
</tr>
<tr align="center" valign="middle">
<td></td>
</tr>
</table>
html 作业1