页面小导航的实现

Original 2019-07-01 16:06:37 340
abstract:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml&quo

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

">

<html xmlns="http://www.w3.org/1999/xhtml


">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>无标题文档</title>

<style>

*{

margin:0px;

padding:0px;

}

ul{


list-style:none;

}

li{

color:#f40;

margin:0 10px;

float:left;

font-weight:bold;

font-size:14px;

line-height:25px;

height:25px;  

padding:0 5px;

}

li:hover{

background-color:#f40;

color:#fff;

border-radius:15px;

}

</style>

</head>


<body>

<ul>

<li>龙凤斗</li>

<li>天猫</li>

<li>菊花苏娜</li>

</ul>

</body>

</html>

Correcting teacher:天蓬老师Correction time:2019-07-01 17:46:35
Teacher's summary:你的头部不太符合标准, 现在都是html5时代了,你的编辑器是什么, 还是DW吗?

Release Notes

Popular Entries