登录  /  注册
博主信息
博文 18
粉丝 0
评论 0
访问量 9462
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
PHP与HTML的关系2018年8月14日作业
吕小布的博客
原创
464人浏览过

实例

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>2018年8月14日作业</title>
	<style type="text/css">
	table{
		width:800px;
		border-collapse:collapse;
		margin:20px auto;
		text-align:center;
	}
	table caption{
		text-align:center;
		font-size:30px;
		font-weight:bolder;
		coler:#666;
		margin:20px;
	}
	table caption:hover{
		color:coral;
	}
	table,th,td{border:1px solid #666;}
	table tr:first-child{background-color:lightblue;}
	table tr:hover{background-color:#efefef;color:pink;}
	table tr td img{border-radius:20px;height:80px;padding:10px;}
	table tr td a{
		text-decoration:none;
		border:1px solid black;
		border-radius:10px;
		width:100px;
		height: 20px;
		padding:5px;
		background-color:white;
		color: black;
	}
	table tr td a:hover{background-color: black;color:white;}
	</style>
</head>
<body>
	<table>
		<caption>最热IOS游戏排行榜</caption>
		<tr>
			<th>编号</th>
			<th>名称</th>
			<th>类型</th>
			<th>图片</th>
			<th>详情</th>
			<th>安装指南</th>
		</tr>
		<tr>
			<td>1</td>
			<td>龙之圣痕</td>
			<td>角色</td>
			<td><img src="https://www.119you.com/upload/gamelogo/160444_150x150.png?1504768558000"></td>
			<td><a href="https://www.119you.com/lzsh2/?fromrank=1" target="_blank">点击查看</a></td>
			<td rowspan="3">
				<h4 style="display:inline-block;">温馨提示:</h4>
				<p style="display:inline-block;">程序只支持IOS系统</p>
				<ul style="list-style: none;text-align:center">
					<li>我们的游戏最好玩</li>
					<li>我们的制作最专业</li>
					<li>我们的网页最漂亮</li>
				</ul>

			</td>
		</tr>
		<tr>
			<td>2</td>
			<td>神谋三国</td>
			<td>策略</td>
			<td><img src="https://www.119you.com/upload/gamelogo/159670_150x150.png?1503307566000"></td>
			<td><a href="https://www.119you.com/szly1/?fromrank=1" target="_blank">点击查看</a></td>
			
		</tr>
		<tr>
			<td>3</td>
			<td>我是大魔王</td>
			<td>卡牌</td>
			<td><img src="https://www.119you.com/upload/gamelogo/161372_150x150.png?1528107742000"></td>
			<td><a href="https://www.119you.com/wsdmw/?fromrank=1" target="_blank">点击查看</a></td>
			
		</tr>		
	</table>
	
</body>
</html>

运行实例 »

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

学习PHP为什么必须要掌握HTML?
   因为php是用来生成动态html代码的,它是在后台处理数据然后通过前台界面展示给用户,在这个过程中我们必须了解HTML知识才能与web开发人员合作沟通,共同完成网站的整体程序。
为什么选择PHP开发动态网站?
php的优势在于快速开发,对于网站的开发相对于其他编程语言开发周期短,php语言本身的迭代速度也很快更能适应现在的互联网平台,快速的满足中小企业用户的产品需求,并且现在已有完善的框架,在网站维护中更加省时增效。

批改状态:合格

老师批语:
本博文版权归博主所有,转载请注明地址!如有侵权、违法,请联系admin@php.cn举报处理!
全部评论 文明上网理性发言,请遵守新闻评论服务协议
0条评论
作者最新博文
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号

  • 登录PHP中文网,和优秀的人一起学习!
    全站2000+教程免费学