首页htmlui_olHTML Element Style - 如何删除文本装饰和列表样式以创建菜单

HTML Element Style - 如何删除文本装饰和列表样式以创建菜单

我们想知道如何删除文本装饰和列表样式以创建菜单。

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
li:focus {
  outline: 0;
}

ul {
  list-style-type: none;
}

ul a {
  color: #000;
  text-decoration: none;
}

li {
  float: left;
  width: 150px;
  margin: 0px 10px 0px 0px;
  background: lightgrey;
  text-align: center;
}
</style>
</head>
<body>
  <ul>
    <li><a href="#">Save</a></li>
    <li><a href="#">Blog</a></li>
    <li><a href="#">Funding Sources</a></li>
    <li><a href="#">Users</a></li>
  </ul>
</body>
</html>