简单的web网站模板目录
\t
\t
\t
\t
\t
\t\t
\t\t\t
\t\t
\t
\t
\t\t
\t\t\t
欢迎来到我们的网站
\t\t\t
这里是一个简短的介绍
\t\t\t
\t\t
\t\t
\t\t\t
我们的服务
\t\t\t
- 服务1
- 服务2
- 服务3
\t\t\t\t
\t\t\t\t
\t\t\t\t
\t\t\t
\t\t
\t\t
\t\t\t
最新消息
\t\t\t
\t\t
\t
\t
\t\t
版权信息
\t
同时,需要在同一目录下创建一个名为style.css的文件,用于定义网站的样式:
body {
\tfont-family: Arial, sans-serif;
}
nav ul {
\tlist-style: none;
\tmargin: 0;
\tpadding: 0;
}
nav li {
\tdisplay: inline-block;
\tmargin-right: 20px;
}
nav a {
\tcolor: #333;
\ttext-decoration: none;
}
section {
\tmargin: 20px 0;
}
h1, h2 {
\ttext-align: center;
}
button {
\tbackground-color: #333;
\tcolor: #fff;
\tpadding: 10px 20px;
\tborder: none;
\tborder-radius: 5px;
\tcursor: pointer;
}
footer {
\ttext-align: center;
\tpadding: 20px 0;
\tbackground-color: #f2f2f2;
}"