HTML代码

<!DOCTYPE HTML>
<html>
<head>
<title>linyuzhao's web2</title>
<meta name="author" content="Adam Freeman">
<meta name="description" content="A simple example">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<style type="text/css">
h1,h2,h3{
background: grey;
color:white;
}
    hgroup>h1{margin-bottom: 0px}
    hgroup>h2{
    background: grey;
    color: white;
    font-size: 1em;
    margin-top: 0px;
    }
</style>
</head>
<body>
<section>
<hgroup>
<h1>Fryits I Like</h1>
<h2>How I Learned to Love Citrus</h2>
</hgroup>
I like apples ans oranges.
<section>
<h1>Additional fruits</h1>
Ialso like bananas,mangoes,cherries,apricots,plums,peaches and graps.
<section>
<h1>More information</h1>
   You can see other fruits I like <a href="http://baidu.com" target="_blank">here</a>.     %红色字体表示链接从新页面打开
</section> 
</section>
</section>
<h1>Activities I like</h1>
<p>I like to swim,cycle and run.I am in training for my first triathlon,but it is hard work.</p>
<h2>Kinds of Triathlon</h2>
There are different kinds of triathlon-sprint,Olympic and so on.
<h3>The kind of triathlon I am aimiing for</h3>
I am aiming for Olympic,which consists ofhe following:
<ol>
<li>1.5km swim</li>
<li>40km cycle</li>
<li>10kmrun</li>
</ol> 
</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值