html简单网页代码:使用HTML做一个简单漂亮的页面(纯html代码)


【作者主页——🔥获取更多优质源码】

【学习资料/简历模板/面试资料/ 网站设计与制作】

【web前端期末大作业——🔥🔥毕设项目精品实战案例】


# 一、👨‍🎓网站题目 🏮传统春节网页设计、🎅圣诞节节日发展、🥮中秋、端午传统节日习俗庆祝、🎏地区特色,网站模板 、等网站的设计与制作。

二、✍️网站描述

🏷️ 大学生传统节日网页作业成品采用DIV CSS布局制作,主要内容包括节日介绍、节日发展、习俗庆祝、地区特色等内容,作品共多个页面,学生HTML静态网页基础水平制作,页面排版干净简洁。网页技术方面应用包括网页背景颜色、字号字体设置、超链接、图文页面、菜单栏、顶部大图等网页基础知识点

🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)

  1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
  2. 所有页面相互超链接,可到三级页面,有5-10个页面组成。
  3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
  4. 菜单美观、醒目,二级菜单可正常弹出与跳转。
  5. 要有JS特效,如定时切换和手动切换图片轮播。
  6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
  7. 页面清爽、美观、大方,不雷同。 。
  8. 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。

三、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。

📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。

📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;
(3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。


四、🌐网站演示

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


五、⚙️ 网站代码

🧱HTML结构代码

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>注册下吧</title>
<link rel="stylesheet" href="../css/zhuce.css">
</head>
<body>
<div id="box">
    <h2 class="header">注册下吧<span>(以下信息是注册的重要依据,请认真填写)</span></h2>
    <form action="zym.html" mothed="post">
   <table class="content">
      <tr>
          <td class="left"><strong>姓名</strong><span class="red">*</span></td>
          <td><input type="text" value="" class="txt01"></td>
       </tr>
       <tr>
          <td class="left"><strong>手机号</strong><span class="red">*</span></td>
           <td><input type="text" value="" class="txt02"></td>
       </tr></table>
       <tr>
            <td class=="left"><strong>性别</strong><span class="red">*</span></td>
             <td>
            &nbsp;&nbsp;&nbsp;<label for="boy"><input type="radio" name="sex" id="boy"/><strong></strong></label>
             &nbsp; &nbsp; &nbsp;<label for="gril"><input type="radio" name="sex" id="boy"/><strong></strong></label>
             </td>
       </tr> <br>           
       <tr>
           <td class="left"><strong>邮箱</strong><span class="red">*</span></td>
           &nbsp; &nbsp; &nbsp;<td><input type="text" class="txt03"/></td>
        </tr><br>           
        
         <tr>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
              <td><input type="submit" value="提交"/></td>
          </tr>
        </table>
      </form>    
    </div>
</body>
</html>



💒CSS样式代码


    body{
        font-size:12px;
        font-family:"宋体";
        color:#515151;
    }
    body,h2,form,table{padding:0;margin:0;}
    #box{
        width:400px;
        height:250px;
        border:1px solid #ccc;
        padding:20px;
        margin:50px auto;
        background-image:url(../images/320.jpg);
    }
    .header{
        font-size:22px;
        color:#0b0b0b;
        
    }
    .header span{
        font-size:12px;
        font-weight:normal;
    }
    td{padding-bottom:26px;
    margin:5px;}
    td.left{
        width:78px;
        text-align:rigth;
        padding-right:20px;
        margin:5px;
    }
    .red{color:#F00;}
    .txt01,.txt02{
        width:264px;
        height:12px;
        border:1px solid #ccc;
        padding:3px 3px 3px 26px;
        font-size:12px;
        color:#F00;
    }
    .txt01{
        background:url(img/name.png) no-repeat 2px center;
    }
    .txt02{
        background:url(img/phone.png) no-repeat 2px center;
    }
    .txt03{
        width:122px;
        height:12px;
        padding:3px 3px 3px 26px;
        font-size:12px;
        background:url(img/email.png) no-repeat 2px center;
        margin:5px;
    }
    .course{width:184px}
    .message{
        width:432px;
        height:164px;
        font-size:12px;
        color:#949494;
        padding:3px;
    }
   




六、🥇 如何让学习不再盲目

很多刚入门编程的小白学习了基础语法,却不知道语法的用途,不知道如何加深映像,不知道如何提升自己,这个时候每天刷自主刷一些题就非常重要(百炼成神),可以去牛客网上的编程初学者入门训练。该专题为编程入门级别,适合刚学完语法的小白练习,题目涉及编程基础语法,基本结构等,每道题带有练习模式和考试模式,可还原考试模式进行模拟,也可通过练习模式进行练习 。


七、🎁更多干货

1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

3.

以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻💬

  • 25
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,以下是一个包含3个页面简单网站的HTML和CSS的复杂代码示例: HTML代码: ``` <!DOCTYPE html> <html> <head> <title>My Website</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="style.css"> </head> <body> <header> <nav> <ul> <li><a href="index.html">Home</a></li> <li><a href="about.html">About Us</a></li> <li><a href="contact.html">Contact Us</a></li> </ul> </nav> </header> <main> <h1>Welcome to My Website</h1> <p>Here you can find all kinds of information about our products and services.</p> <a href="about.html">Learn More</a> </main> <footer> <p>© 2021 My Website. All rights reserved.</p> </footer> </body> </html> ``` CSS代码: ``` body { font-family: Arial, sans-serif; margin: 0; padding: 0; } header { background-color: #333; color: #fff; padding: 10px; } nav ul { list-style: none; margin: 0; padding: 0; } nav ul li { display: inline-block; margin-right: 20px; } nav ul li a { color: #fff; text-decoration: none; } main { padding: 20px; } h1 { font-size: 36px; margin-bottom: 20px; } p { font-size: 18px; line-height: 1.5; margin-bottom: 20px; } a { display: inline-block; padding: 10px 20px; background-color: #333; color: #fff; text-decoration: none; border-radius: 5px; } a:hover { background-color: #666; } ``` 这个示例包含一个主页(index.html)、关于我们页面(about.html)和联系我们页面(contact.html)。它还包含一个简单的导航菜单、页眉、主要内容区和页脚。CSS代码用于设置网站的样式和布局。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值