Html练习二

本文介绍了一个简单的花卉主题网站设计,包含雏菊(Daisy)、玫瑰(Rose)和水仙花(Daffodil)的导航链接及简介。通过内部链接实现页面跳转,点击花卉图片可打开新窗口展示花卉详情。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、点击左上角的Disy、Rose、Daffodil 分别跳到本页面相应的地方即Daisy处、Rose处、Daffodil

2、点击图片跳转到相应页面

3、点击左下角Top跳转本页首部

其他页面:

Daisy


Rose



Daffodil


index.html

<!doctype html>
<html>
	 <head>
	  <meta charset="UTF-8">
	  <meta name="Author" content="hesixi">
	  <meta name="Keywords" content="">
	  <meta name="Description" content="">
	  <title>Day02_1</title>
	 </head>
	 <body>
			<h1 align="center">Flowers</h1>
			<table>
				<tr>
					<td width="120px"><a href="#Daisy">Daisy</a></td>
					<td width="120px"><a href="#Rose">Rose</a></td>
					<td width="120px"><a href="#Daffodil">Daffodil</a></td>
				</tr>
			</table>
				<h2 id="Daisy">Daisy</h2>
					<a href="Daisy.html" target="_blank">
						<img src="images/daisy.jpg" width="480px" height="360px"></a>
						<span>
							 A versatile flower, and sending daisies is always a pleasant way to make a lasting impression.
						</span>
			<h2 id="Rose">Rose</h2>
			<a href="Rose.html" target="_blank">
				<img src="images/rose.jpg" width="480px" height="360px"></a>
				<span>
					 With sunshine, water, and careful tending, rose will bloom several times in a season.
				</span>
			<h2 id="Daffodil">Daffodil</h2>
			<a href="Daffodil.html" target="_blank">
				<img src="images/daffodil.jpg" width="480px" height="360px"></a>
				<span>
					 Daffodils bloom early in spring and welcome the growing season.
				</span>
			<br/>
			<br/>
			<br/>
			<p>
				<a href="#">
					<img src="images/top.gif" width="34px" height="9px"></a>
			</p>
	 </body>
</html>
Daisy.html

<!doctype html>
<html>
	 <head>
			<meta charset="UTF-8">
			<meta name="Generator" content="EditPlus®">
			<meta name="Author" content="">
			<meta name="Keywords" content="">
			<meta name="Description" content="">
			<title>Day02_2</title>
	 </head>
 <body>
		<h2>Daisy</h2>
		<img src="images/daisy.jpg" width="480px" height="360px"><br/>
		A versatile flower, and sending daisies is always a pleasant way to make a lasting impression.
 </body>
</html>
Rose.html

<!doctype html>
<html>
	 <head>
			<meta charset="UTF-8">
			<meta name="Generator" content="EditPlus®">
			<meta name="Author" content="">
			<meta name="Keywords" content="">
			<meta name="Description" content="">
			<title>Day02_3</title>
	 </head>
	 <body>
			<h2>Rose</h2>
				<img src="images/rose.jpg" width="480px" height="360px"><br/>
			With sunshine, water, and careful tending, rose will bloom several times in a season.
	 </body>
</html>
Daffodil.html

<!doctype html>
<html>
	 <head>
			<meta charset="UTF-8">
			<meta name="Generator" content="EditPlus®">
			<meta name="Author" content="">
			<meta name="Keywords" content="">
			<meta name="Description" content="">
			<title>Day02_4</title>
	 </head>
	 <body>
			<h2>Daffodil</h2>
			<img src="images/daffodil.jpg" width="480px" height="360px"><br/>
			Daffodils bloom early in spring and welcome the growing season.
	 </body>
</html>




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值