html/css_1基础【HTML/JS】

<!DOCTYPE html>
<html>
<head>
	<title>firstpage</title>
	<style type="text/css">
		div#container{width:800px}
		div#drinks{width:500px;height:400px;background-image:url('Desert.jpg');float:left;}
		div#webpages{width:300px;height:400px;float:left;}
		div#forms{float:left;background-color:#FFF1FF;}
		h1{font-size:22px}
	</style>
 	<meta http-equiv="Content-Type" content="charset=utf-8"/>
 	<meta name="Keywords" content="frontpage">
	<link rel="stylesheet" href="c5.css" type="text/css" />	
</head>

<body>
<div id="container">

<div id="drinks">
	<h1>Drinks</h1>
	<script type="text/javascript">
	document.write("please order")
	</script>
	<ul>
		<li><a href="/site/index.asp" title="coffee" target="_blank">coffee</a></li>
		<li><a href="/site/index.asp" title="black tea">black tea</a></li>
	</ul>
	<ol>
		<li>tea</li>
		<li>cocacola</li>
	</ol>
</div>

<div id="webpages">
	<h1>WEbpages</h1>
	<table border="1">
	<tr>
		<th>tables</th>
		<th>links</th>
	</tr>
	</table>
	<a href="http://inankai.cn/"><img src="URL" alt="Alternate Text" /></a>
	<p>This is a paragraph</p>
	<pre>This text is preformatted</pre>
	<b>This text is emphasized</b>
</div>

<div id="forms">
	<form name="input" action="orm_action.asp" method="get">
		Username: 
		<input type="text" name="user" />
		<input type="submit" value="submit name" />
	</form>
	<form name="input" action="/html/form_action.asp" method="get">
		I have a bike:
		<input type="checkbox" name="vehicle" value="Bike" checked="checked" />
		<input type="submit" value="Submit" />
	<br />
	</form> 
	<textarea rows="10" cols="30">
		The cat was playing in the garden.
	</textarea>
</div>

</div>
</body>
</html>




第一段代码/html基础。

第一段代码/html基础。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值