继续上一周HTML的学习:
- HTML -CSS
- 背景颜色
<body style="background-color:yellow;">
<h2 style="background-color:red;">这是一个标题</h2>
<p style="background-color:green;">这是一个段落。</p> - 字体 字体大小 字体颜色
<h1 style="font-family:verdana;">一个标题</h1>
<p style="font-family:arial;color:red;font-size:20px;">一个段落。</p> - 标题居中对齐 <h1 style="text-align:center;">居中对齐的标题</h1>
- 插入图象
<p>
一个图像:
<img src="smiley.gif" alt="Smiley face" width="32" height="32"></p> - 创建图片链接
<p>无边框的图片链接:
<a href="http://www.runoob.com/html/html-tutorial.html">
<img border="0" src="smiley.gif" alt="HTML 教程" width="32" height="32"></a></p> - 表格
- 列表