通过前面八章的介绍,现在你就可以通过添加图片、设置列表、添加字体、背景颜色等标签,做一个很简单的
静态网页了。下面的例子就是我在CodeAcademy中的作业。
<!DOCTYPE html>
<html>
<head>
<title>gc_2299</title>
</head>
<body style="background:yellow">
<img src = "http://img2.gamfe.com/userfiles/26671/photo/show_201011030035263411.jpg" width=150 height=200/>> <p>hi,my name is <strong>gc_2299</strong>,my country is china, i am a man,and i like sprots.</p>
<ul style="font-size:20px">
<li>Interests
<ol style="color:red">
<li>computer games</li> <li>football</li>
<li>basketball</li>
<li>...</li>
</ol>
</li>
<li style="font-family:timesnewroman">Jobs
<ul>
<li>programming</li>
</ul>
</li>
<li><em>Favorite</em> Quotes</li>
<li>Where I've Lived</li>
</ul>
</body>
</html>