以下是一个简单的画册网站模板,可以根据自己的需要进行修改和定制:
HTML代码:
```html
t
画册t
t
t
t
t
t
tt
tt
tt
```
CSS代码:
```css
body {
tbackground-color: #F5F5F5;
}
header {
tbackground-color: #333;
tcolor: #fff;
tpadding: 20px;
ttext-align: center;
}
nav ul {
tlist-style-type: none;
tmargin: 0;
tpadding: 0;
}
nav li {
tdisplay: inline-block;
tmargin-right: 10px;
}
nav a {
tcolor: #fff;
ttext-decoration: none;
}
main {
tmargin-top: 20px;
}
section {
tmargin-bottom: 20px;
}
h2 {
tcolor: #333;
tmargin-bottom: 10px;
}
ul {
tlist-style-type: none;
}
li {
tmargin-bottom: 10px;
}
a {
tcolor: #333;
ttext-decoration: none;
}
footer {
tbackground-color: #333;
tcolor: #fff;
tpadding: 20px;
ttext-align: center;
}
```
这个模板包含了一个带有导航栏的页面,页面上包含了一个主段落和一些子段落。每个子段落都包含了一个图片列表。该模板还包含一个版权信息的footer。你可以根据自己的需要进行修改和定制。