做了一个网页

简介: 做了一个网页
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>网站首页</title>
<link rel="stylesheet" href="../css/text.css">
</head>
<body>
<div class="right">
<tr>
<html>
<head>
<meta content="text/html" charset="UTF-8">
<title>HTML设置图片为页面背景</title>
</head>
<body background="../../前端5/4.jpg"
style="background-repeat:no-repeat;
background-attachment:fixed;
background-size:150% 150%; ">
</body>
</html>
</tr>
</div>
<img src="../..前端7/4.jpg" width="100">
<div class="main">
<div class="left">
<div class="main-title"style="color:#000000">
<h3>欢迎大家来到河源</h3>
<div class="content">
<div class="banner" id="banner"> <img src="../..前端7/1.jpg" width="100%" alt=""> </div>
<div class="menu">
<ul class="center">
<li><a href="index.html">主页</a></li>
<li><a href="about.html">历史</a></li>
<li><a href="dishes.html">美食</a></li>
<li><a href="landmark.html">地标</a></li>
</ul>
</div>
<div class="bar"style="color:#000000;">
<h2>河源主页</h2>
</div>
</div>
<div class="cs">
<div class="v"> <img src="../..前端7/5.jpg" width="100%" /> </div>
<div class="cs1">
<div class="v1"> <img src="../..前端7/2.jpg" style="width:450px;height:300px;margin-left:590px;margin-top:200px;" /> </div>
<div class="bs" style=margin-left:-50px;width:600px;margin-top:-470px;>河源市位于广东省东北部、东江中上游,面积1.58万平方公里,下辖五县一区,户籍人口373万人。河源是岭南文化发祥地和中国革命策源地之一。具有2300多年悠久历史和厚重文化的客家古邑,是客家人开发岭南最早的地区,是原中央苏区和革命老区。河源是广东省重要的生态屏障和饮用水源地。全市森林覆盖率达74.6%,东江、新丰江两条河流纵贯全境,有新丰江水库和枫树坝水库两个广东第一和第二大的水库,被授予“中国优质饮用水资源开发基地”称号。河源是“中国优秀旅游城市”。生态环境优良,空气质量、水环境质量等常年保持优级水平,是全省唯一无酸雨的地级市,拥有一大批生态和文化旅游景点,河源的恐龙蛋化石馆藏量被载入吉尼斯世界纪录,被授予“中华恐龙之乡”称号。河源是生态宜居城市。先后被评为“国家园林城市”“国家卫生城市”“全国双拥模范城”“全国生态环境保护最佳范例”、“国家级生态保护与建设示范区”,目前正在全力创建“全国文明城市”。
<br>
河源好吃的特色美食有:牛角粽;咸香鸭;龙川牛筋糕;松丸子;客家酿三宝;上汤桂花鱼;盐焗鸡;和平柿饼;河源酸萝卜;天光牛肉等。
</div>
</div>
<div class="clear"></div>
<div class="mar">
<marquee onMouseOut="this.start()" onMouseOver="this.stop()">
<img src="../..前端7/6.jpg" width="200" height="140">
<img src="../..前端7/7.jpg" width="200" height="140">
<img src="../..前端7/8.jpg" width="200" height="140">
<img src="../..前端7/9.jpg" width="200" height="140">
<img src="../..前端7/10.jpg" width="200" height="140">
<img src="../..前端7/27.jpg" width="200" height="140">
<img src="../..前端7/28.jpg" width="200" height="140">
<img src="../..前端7/29.jpg" width="200" height="140">
</marquee>
</div>
</div>
</div>
<div class="end">
</div>
</div>
</div>
</body>
</html>
</div>
</div>
</div>

css样式

@charset "utf-8";
/* CSS Document */
ul,li,h1,h2,h3,p {
padding: 0;
margin: 0;
list-style: none
}
a {
text-decoration: none;
color: #000
}
html {
background-size: contain;
}
body {
width: 1200px;
margin: 0px auto;
line-height: 21px;
}
.clear {
clear: both
}
.menu li {
list-style: none
}
.banner {
position: relative
}
.banner img {
display:block;
}
.more{ background:#666699; color:#fff; display:inline-block; padding:0 15px; margin-top:10px;}
.menu {
background:#004080;
clear: both;
height: 60px;
width: 100%;
}
.menu li a {
color: #fff;
display: block
}
.menu li {
text-align: center;
display: inline-block;
line-height:60px;
float: left;
width: 25%;
text-align: center;
font-size: 24px;
}
.content {
font-size: 14px;
width: 100%
}
.index {
font-size: 18px;
line-height: 32px;
height: 190px;
float: left;
width: 96%;
padding: 2%
}
.mr {
display: inline-block;
padding: 10px 30px;
color: #fff;
margin-top: 20px;
}
.end {
clear: both;
background:#004080;
color: #fff;
padding:10px 0;
font-size: 16px;
text-align: center;
}
.pad {
padding: 20px 70px;
display: block
}
.main {
margin: 20px 40px;
color:#FFF;
}
.cs {
margin: 30px 40px;
font-size: 16px;
line-height: 30px
}
.index img {
margin-right: 50px
}
.index h3 {
font-size: 24px;
margin-bottom: 20px; font-weight:normal
}
.index{ margin:10px 0}
.index .fr {
margin-right: 0;
margin-left: 20px
}
.cs {
position: relative
}
.cs .v {
position: absolute; right:0; top:0; width:450px;
}
.cs .bs {
margin-right: 450px;
padding: 15px;
}
.mar{
margin-top: 80px;
padding:20px}
.fl {
float: left
}
.fr {
float: right
}
.forma {
display: block;
width: 600px;
margin: 50px auto;
font-size: 18px;
padding: 0 0px;
padding-bottom: 0px;
}
.forma .input {
margin-top: 20px;
}
.es {
padding: 25px;
height: 50px;
vertical-align: middle;
width: 30px
}
.forma .input span {
vertical-align: top;
font-size: 20px;
margin-right: 20px;
display: inline-block;
text-align: left;
height: 50px;
line-height: 50px;
display: block;
}
.forma .input .phone {
width: 100%;
font-size: 15px;
height: 40px;
line-height: 40px;
background: #eee; border:#999 solid 1px;
text-indent: 20px;
padding: 0 0px;
}
.btn {
background:#FF6633;
color: #fff;
width: 100%;
line-height: 50px;
font-size: 18px;
border: none;
margin-top: 30px;
}
.banner {
position: relative;
clear: both
}
.bar {
background:#f6f6f6
}
.bar h2 {
height: 70px;
position: relative;
line-height: 68px;
padding:0 30px;
font-size: 24px;
font-weight: normal
}
.info {
line-height: 30px
}
.news {
width: 1100px;
margin: 0 auto;
font-size:18px;
line-height:32px
}.news img{ display:inline-block}
.about {
margin:30px;
}
.about .word {
float:left;
width:70%;
font-size:15px;
line-height:30px;
color:#FFF;
}
.about .pic {
float:right;
width:25%;
}
.about .pic img {
width:100%;
display:block;
}
.tab_nr {
width:100%; color:#FFF;
}
.tab_nr img {
max-width:100%;
display:block;
height:245px;
}
.tab_nr h3 {
color:#6FF;
font-size:18px;
margin:10px 0;
}
.tab_nr span {
font-weight:bold;
font-size:16px;
color:#FF6;
margin-top:10px;
display:block;
}
.tab_nr th {
font-size:20px;
padding:20px 0;
background:#ccc;
}
相关文章
|
PyTorch C++ 异构计算
一款通过字幕来剪切视频的神器 AutoCut
只需要编辑文本文件即可完成剪切。
1449 0
|
网络协议 网络架构
OSI/RM七层模型
OSI/RM七层模型
960 0
|
2月前
|
人工智能 JavaScript 前端开发
AGENTS.md 实战指南:如何让 AI 编程助手真正遵循项目规范
本文介绍 `AGENTS.md`——一份专为AI编程助手设计的项目规范指南。它通过Markdown统一记录技术栈、目录结构、编码约定、禁止事项等,帮助Cursor、Claude Code等工具生成更符合项目实际的代码,减少类型滥用、路径错乱、违规调用等问题,提升AI辅助开发的准确性与工程可控性。(239字)
|
9月前
|
人工智能 安全 Linux
龙虾AI 🦞 OpenClaw保姆级教程:3分钟阿里云/Win11/Mac/Linux部署+ 10大必装Skill + FAQ
“OpenClaw部署完、模型也配置好了,却不知道该装什么技能”——这是无数新手的共性困境。ClawHub上13729个技能密密麻麻,从编程工具到浏览器自动化,从图像生成到安全审计,90%的技能实用性极低,盲目安装不仅占用资源,还可能因恶意技能导致安全风险。
2681 1
|
6月前
|
人工智能 数据挖掘 调度
2026-05-25OPC中国是什么?智能体来了为何布局OPC一人公司与OPD一人部门人才生态
OPC中国是“智能体来了”旗下开源共创社区,专注AI时代OPC(一人公司)与OPD(一人部门)人才培育。面向政府、高校、园区三大场景,推动人才成长、创业孵化、就业支持与企业智能化,助力个体从AI使用者升级为AI交付者。(239字)
638 1
|
6月前
|
缓存 人工智能 NoSQL
大模型调用太贵?阿里云Tair语义缓存公测:命中即省
大模型成本黑洞在Output Token!Qwen/GPT-4o等模型输出Token价格是输入的4–6倍,且Prompt Cache无法复用。阿里云Tair AI Gateway推出语义缓存,通过向量检索识别语义相同请求,命中率最高达59.84%,F1准确率0.89,毫秒级返回,降本超47%。
787 0
|
9月前
|
C语言
C语言「左右值生死线」:指针与赋值的隐形边界
左值有地址、可赋值(如变量),右值是临时值、无地址(如字面量、表达式结果)。指针只能指向左值,赋值目标也必须是左值。`a++`返回右值,`++a`返回左值——混淆二者是大量编译错误与逻辑Bug的根源。
|
11月前
|
人工智能 数据中心
从技术热度到产品心智,豆包为何全面反超 DeepSeek?
AIWW数据显示,2025年12月起,豆包全网关注度稳定超越DeepSeek,且领先优势持续扩大。相较DeepSeek的技术驱动路径,豆包依托字节流量、多模态升级和任务执行能力,实现产品化突破,反映用户心智与行业格局的深层变迁。
1357 1
|
11月前
|
监控 数据可视化 前端开发
紧急Bug处理:流程、四阶段控制法及工具方法
本文系统阐述了紧急Bug处理的核心原则、四级分类标准(P0-P3)及四阶段标准化流程(响应、诊断、执行、复盘),强调“控制影响优先于完美修复”。配套工具链涵盖告警聚合、协作指挥、诊断分析与知识沉淀,并提供自动化脚本示例,提升团队应急响应效率与系统稳定性。
|
传感器 监控 安全

热门文章

最新文章