Blogger Information
Blog 3
fans 0
comment 0
visits 987
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
补交8月10号的作业
的博客
Original
424 people have browsed it

今天是在php中文网第一天学习!

代码:

<!DOCTYPE html>	<!-- 声明 该文档类型是html文档类型 -->
<html>
<head><!-- 定义网页头部 -->
	<title>php中文网————视频教程</title>
	<meta charset="utf-8"> <!-- 定义关于html的原信息 -->
	<link rel="stylesheet" type="text/css" href="ceshi/chen.css"><!-- 外部样式;为了共享 -->
	<link rel="shortcut icon" type="image/x-icon" href="imagess/123.png"> <!-- 设置标题内部的图片 -->
	<style type="text/css">  
	/*tag标签名 id名{前面加#} class名 属性选择器*/
	body{}/*标记选择器*/
	#box{width: 100px;height: 100px;background: green;} /*id选择器*/
	.main{width: 100px;height: 100px;background: red;} /*class选择器 类*/
	a{color: red;}
	a[href="http://fanyi.baidu.com"]{color: blue;}
	div a{color:#000;}

    </style>
</head>	
<body style="background: pink;"><!-- 内联样式 只针对当前标签 -->
<img src="">	
<a href="http://fanyi.baidu.com">百度</a>	
<a href="http://www.php.cn">php中文网</a>
<a href="ceshi.html">html</a>
<div id="box">
	<a href="">php</a>
</div>
<div class="main"></div>
<div></div>
<div></div>
</body>
</html>	

运行实例 »

点击 "运行实例" 按钮查看在线实例

手写代码:

JD4WTSV~[YD2(M$5MJ9GACM.jpg

Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post