400.大学生HTML期末大作业 —【易烊千玺明星主题网页 (7页)】 Web前端网页制作 html+css

目录

一、网页简介

二、网页文件

 三、网页效果

四、代码展示

1.html

2.CSS

五、总结

1.简洁实用

2.使用方便

3.整体性好

4.形象突出

5.交互式强


欢迎来到我的CSDN主页!您的支持是我创作的动力!Web前端网页制作、网页完整代码、大学生期末大作业案例模板完整代码、技术交流等,有兴趣的联系我交流学习!更多优质博客文章、网页模板点击以下链接查阅:

仙女网页设计-CSDN博客

 5000+网页案例完整代码,主题涵盖30+种类型:


一、网页简介

本实例应用html+css: 导航菜单、图片滚动、留言表单等。适用于大学生网页课程作业设计;本网页支持如Dreamweaver、HBuilder、Text 、Vscode 等任意html编辑软件进行编辑修改;支持包括IE、Firefox、Chrome、Safari主流浏览器浏览。


二、网页文件

本网页实例共包含7个页面:


 三、网页效果

以下是本篇文章正文内容,下面案例仅供参考(节选示例):


四、代码展示

1.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>


<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>欢迎来到易烊千玺的网站</title>
<base target="_blank" />

<link href="images/web.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
.STYLE1 {
    color: #990000;
    font-weight: bold;
}
.STYLE2 {color: #990000}
-->
</style>

<link href="images/bw.css" type="text/css" rel="stylesheet"><style type="text/css">
<!--
body {
    background-image: url(images/bj.gif);
}
.STYLE3 {
    font-family: '黑体';
    font-size: 16px;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head><body>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tbody>
  <tr>
    <td width="960" height="150" valign="top"  background="images/top.jpg"  >  </td>
  </tr>
  
  
  <tr>
    <td background="images/menu.gif" height="35" width="960"><table border="0" cellpadding="0" cellspacing="0" height="35" width="100%">
      <tr>
        <td align="center"><a href="index.html" class="link1" target="_self">网站首页</a></td>
        <td align="center"><a href="my_zuopin/zoujinqianxi.html" class="link1" target="_self">走进易烊千玺</a></td>
        <td align="center"><a href="my_zuopin/jiatingbeijing.html" class="link1">家庭背景</a></td>
         <td align="center"><a href="my_zuopin/qianxijieshao.html" class="link1">易烊千玺介绍</a></td>
        <td align="center"><a href="my_zuopin/pengyoupingjia.html" class="link1" target="_self">朋友评价</a></td>
        <td align="center"><a href="my_zuopin/jingcaitupian.html" class="link1" target="_self">精彩图片</a></td>
        <td align="center"><a href="my_zuopin/lianxiwomen.html" class="link1" target="_self">给我留言</a></td>
        <td align="center">&nbsp;</td>
      </tr>
      <tbody>
    </tbody></table></td>
  </tr>
  
  
  
</tbody></table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="246">
      <tbody>
        <tr>
          <td style="padding-left: 20px; font-size: 16px; font-family: '黑体';" background="images/1645_18.gif" height="30">易烊千玺照片</td>
        </tr>
        <tr>
          <td style="border-right: 1px solid rgb(204, 204, 204); border-width: medium 1px 1px; border-style: none solid solid; border-color: -moz-use-text-color rgb(204, 204, 204) rgb(204, 204, 204); padding: 7px;" align="center" height="180">
            <img src="images/left.jpg" width="400" height="293"  style="border:none;">
             </td>
        </tr>
        <tr>
          <td height="10"></td>
        </tr>
        <tr>
          <td style="padding-left: 20px; font-size: 16px; font-family: '黑体';" background="images/1645_18.gif" height="30"><span class="STYLE3">&nbsp;关于千玺</span></td>
        </tr>
        <tr>
          <td style="border-right: 1px solid rgb(204, 204, 204); border-width: medium 1px 1px; border-style: none solid solid; border-color: -moz-use-text-color rgb(204, 204, 204) rgb(204, 204, 204); padding: 6px;" height="150"><table style="font-size: 14px; line-height: 25px;" border="0" cellpadding="0" cellspacing="0" width="100%">
              <tbody>
                <tr>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline" width="25%">出生日期:</td>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline" width="75%">2000年11月28日</td>
                </tr>
                <tr>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline">身高:</td>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline">成长中</td>
                </tr>
                <tr>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline">职业</td>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline">歌手、舞者、演员</td>
                </tr>
                <tr>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline">出生地:</td>
                  <td style="border-bottom: 1px solid rgb(204, 204, 204);" valign="baseline">湖南怀化</td>
         

...

2.CSS

代码如下(节选示例):

body {
    margin:0px;
    color:#000000;
    font-size:12px;
    line-height:24px;
    }

.black12a {
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
    font-weight: normal;
    font-variant: normal;
    color: #000000;
}
.black14a {
    font-family: "宋体";
    font-size: 14px;
    font-style: normal;
    font-weight:bold;
    font-variant: normal;
    color: #ffffff;
}

.black14b {
    font-family: "宋体";
    font-size: 14px;
    font-style: normal;
    font-weight:bold;
    font-variant: normal;
    color: #000000;
}

.hui14a {
    font-family: "宋体";
    font-size: 14px;
    TEXT-DECORATION: none;
    font-style: normal;
    line-height: 22px;
    font-weight: bold;
    font-variant: normal;
    color: #336600;
}


A.link1:link {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    font-family:"黑体";
    font-size:16px;
    font-style: normal;
    line-height: normal;
}
A.link1:active {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    font-family: "黑体";
    font-size:16px;
    font-style: normal;
    line-height: normal;
}
A.link1:visited {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    font-family: "黑体";
    font-size:16px;
    font-style: normal;
    line-height: normal;
}
A.link1:hover {
    COLOR: #ffffff;
    font-family: "黑体";
    font-size:16px;
    font-style: normal;
    text-decoration: underline;
}
A.link2:link {
    COLOR: #000000;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height:normal;
    
}
A.link2:active {
    COLOR: #000000;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height:normal;
}
A.link2:visited {
    COLOR: #000000;
    TEXT-DECORATION: blink;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height:normal;
}
A.link2:hover {
    COLOR: #000000;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height:normal;
}
A.link3:link {
    COLOR: #e2e2e2;
    BACKGROUND-COLOR: #286382;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    text-decoration: none;
}
A.link3:active {
    COLOR: #e2e2e2;
    BACKGROUND-COLOR: #286382;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    text-decoration: none;
}
A.link3:visited {
    COLOR: #e2e2e2;
    BACKGROUND-COLOR: #286382;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    ;
    text-decoration: none;
}
A.link3:hover {
    COLOR: #ffff00;
    BACKGROUND-COLOR: #286382;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    text-decoration: none;
}
A.link4:link {
    COLOR: #1C4262;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}
A.link4:active {
    COLOR: #1C4262;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}
A.link4:visited {
    COLOR: #1C4262;
    TEXT-DECORATION: blink;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}

A.link4:hover {
    COLOR: #FF9900;
    BACKGROUND-COLOR: #e2e2e2;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}
.bg {
    border-right-width: thin;
    border-left-width: medium;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: none;
    border-left-style: dashed;
    border-top-color: #CCCCCC;
    border-right-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
    border-left-color: #CCCCCC;
}
A.link5:link {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
}
A.link5:active {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
}
A.link5:visited {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
}
A.link5:hover {
    COLOR: #ffffff;
        TEXT-DECORATION: none;
    font-family: "宋体";
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
}

...


五、总结

设计一个样式美观又人性化的网页,除了具备扎实的专业知识,还需具备美学和人机工程学等相关知识,优秀的网页应具备以下几个特点:

1.简洁实用

尽量以最高效率的方式将用户所要想得到的信息传送给他就是最好的,要去掉所有的冗余的东西;

2.使用方便

要满足使用者的要求,网页适合使用,显示出其功能美;

3.整体性好

围绕一个统一的目标设计,强调整体的功能性; 

4.形象突出

尽量符合网页美的标准,能够使网站的形象得到最大限度的提升,追求雅俗共赏。页面用色协调,布局符合形式美的要求:布局有条理,充分利用美的形式,使网页富有可欣赏性,提高档次。

5.交互式强

发挥网络的优势,想方设法使每个使用者都参与到其中来。


更多优质博客文章、完整代码案例模板,点击以下链接查阅:

仙女网页设计-CSDN博客

Web前端网页制作、大学生期末大作业、课程设计、毕业设计、完整代码案例模板、Web前端网页定制、教学课程、学习资料等,有需要的添加以下微信交流👇🏻👇🏻👇🏻


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值