网页设计作业成品代码html 网页设计制作网站模板图片
各位老铁们,大家好,今天由我来为大家分享网页设计作业成品代码html,以及网页设计制作网站模板图片的相关问题知识,希望对大家有所帮助。如果可以帮助到大家,还望关注收藏下本站,您的支持是我们最大的动力,谢谢大家了哈,下面我们开始吧!
求一个html或者css、js的网页设计作业
<!DOCTYPE HTML>
<!-- saved from url=(0014)about:internet-->
<html lang="en-US">
<style type="text/css">
<!--
*{margin:0;padding:0;border:0;}
body{
font-family: arial,宋体, serif;
font-size:12px;
}
#nav{
width:180px;
line-height: 24px;
list-style-type: none;
text-align:left;
/*定义整个ul菜单的行高和背景色*/
}
/*==================一级目录===================*/
#nav a{
width: 160px;
display: block;
padding-left:20px;
/*Width(一定要),否则下面的Li会变形*/
}
#nav li{
background:#CCC;/*一级目录的背景色*/
border-bottom:#FFF 1px solid;/*下面的一条白边*/
float:left;
/*float:left,本不应该设置,但由于在Firefox不能正常显示
继承Nav的width,限制宽度,li自动向下延伸*/
}
#nav li a:hover{
background:#CC0000;/*一级目录onMouseOver显示的背景色*/
}
#nav a:link{
color:#666; text-decoration:none;
}
#nav a:visited{
color:#666;text-decoration:none;
}
#nav a:hover{
color:#FFF;text-decoration:none;font-weight:bold;
}
/*==================二级目录===================*/
#nav li ul{
list-style:none;
text-align:left;
}
#nav li ul li{
background:#EBEBEB;/*二级目录的背景色*/
}
#nav li ul a{
padding-left:20px;
width:160px;
/* padding-left二级目录中文字向右移动,但Width必须重新设置=(总宽度-padding-left)*/
}
/*下面是二级目录的链接样式*/
#nav li ul a:link{
color:#666; text-decoration:none;
}
#nav li ul a:visited{
color:#666;text-decoration:none;
}
#nav li ul a:hover{
color:#F3F3F3;
text-decoration:none;
font-weight:normal;
background:#CC0000;
/*二级onmouseover的字体颜色、背景色*/
}
/*==============================*/
#nav li:hover ul{
left: auto;
}
#nav li.sfhover ul{
left: auto;
}
#content{
clear: left;
}
#nav ul.collapsed{
display: none;
}
-->
#PARENT{
width:300px;
padding-left:20px;
}
</style>
<div id="PARENT">
<ul id="nav">
<li><a rel="external nofollow" href="#Menu=ChildMenu1" onclick="DoMenu('ChildMenu1')">我的网站</a>
<ul id="ChildMenu1" class="collapsed">
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">网页教学网</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">网页教学网</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">网页教学网</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
</ul>
</li>
<li><a rel="external nofollow" href="#Menu=ChildMenu2" onClick="DoMenu('ChildMenu2')">我的帐务</a>
<ul id="ChildMenu2" class="collapsed">
<a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">支付</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">网上支付</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">登记汇款</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">在线招领</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">历史帐务</a></li>
</ul>
</li>
<li><a rel="external nofollow" href="#Menu=ChildMenu3" onClick="DoMenu('ChildMenu3')">网站管理</a>
<ul id="ChildMenu3" class="collapsed">
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">登录</a></li>
<a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
</ul>
</li>
<li><a rel="external nofollow" href="#Menu=ChildMenu4" onClick="DoMenu('ChildMenu4')">网站管理</a>
<ul id="ChildMenu4" class="collapsed">
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">登录</a></li>
<a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
<li><a rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" href="#">管理</a></li>
</ul>
</li>
</ul>
</div>
<script type=text/javascript><!--
var LastLeftID="";
function menuFix(){
var obj= document.getElementById("nav").getElementsByTagName("li");
for(var i=0; i<obj.length; i++){
obj[i].onmouseover=function(){
this.className+=(this.className.length>0?"":"")+"sfhover";
}
obj[i].onMouseDown=function(){
this.className+=(this.className.length>0?"":"")+"sfhover";
}
obj[i].onMouseUp=function(){
this.className+=(this.className.length>0?"":"")+"sfhover";
}
obj[i].onmouseout=function(){
this.className=this.className.replace(new RegExp("(?|^)sfhover\\b"),"");
}
}
}
function DoMenu(emid)
{
var obj= document.getElementById(emid);
obj.className=(obj.className.toLowerCase()=="expanded"?"collapsed":"expanded");
if((LastLeftID!="")&&(emid!=LastLeftID))//关闭上一个Menu
{
document.getElementById(LastLeftID).className="collapsed";
}
LastLeftID= emid;
}
function GetMenuID()
{
var MenuID="";
var _paramStr= new String(window.location.href);
var _sharpPos= _paramStr.indexOf("#");
if(_sharpPos>= 0&& _sharpPos< _paramStr.length- 1)
{
_paramStr= _paramStr.substring(_sharpPos+ 1, _paramStr.length);
}
else
{
_paramStr="";
}
if(_paramStr.length> 0)
{
var _paramArr= _paramStr.split("&");
if(_paramArr.length>0)
{
var _paramKeyVal= _paramArr[0].split("=");
if(_paramKeyVal.length>0)
{
MenuID= _paramKeyVal[1];
}
}
/*
if(_paramArr.length>0)
{
var _arr= new Array(_paramArr.length);
}
//取所有#后面的,菜单只需用到Menu
//for(var i= 0; i< _paramArr.length; i++)
{
var _paramKeyVal= _paramArr[i].split('=');
if(_paramKeyVal.length>0)
{
_arr[_paramKeyVal[0]]= _paramKeyVal[1];
}
}
*/
}
if(MenuID!="")
{
DoMenu(MenuID)
}
}
GetMenuID();//*这两个function的顺序要注意一下,不然在Firefox里GetMenuID()不起效果
menuFix();
--></script>
急求!!!网页设计 HTML代码大全
HTML标记_HTML大全_HTML标记大全_超文本标记语言
网页(WebPage)文件主要是用超文本标记语言(HyperText Markup Language,简称HTML)语句来写成。您可以通过IE浏览器的“查看”菜单中的“源文件”看到该页的HTML代码。HTML语言由一系列元素(element)组成,用于组织文件的内容和指导文件的输出格式。元素名称不分大小写。一个元素可以有多个属性,属性及其属性值不分大小写。属性名=属性值合起来构成一个完整的属性,一个元素可以有多个属性,各个属性用空格分开。元素又由标记(tag)的构成,大多数标记是成对出现的,分起始标记<>(start tag)和结尾标记</>(end tag),以便和页面的内容区分开来。其写成的文件是标准的ASCII文件,不同于一般的编程语言,故称为脚本(Script)更准确一点。其实也很简单,特别是在专门的HTML编辑器的帮助下,您可以迅速地学会HTML,并能很快写出有自己特色的Homepage来。
需要说明的是:各种浏览器对html元素及其属性的解释不完全一样,如NC与IE是有区别的。
标签内容备注
基本标签所有HTML文件都有的
<html>……</html>表示文件类型为HTML文档
<head>……</head>设置文档描述及其他不在WEB网页上显示的信息
<body>……</body> HTML文档的主体(页面的实际内容)
标题标签
<title>……</title>在标题栏中显示的题目(放在<head></head>内)
扩展属性标签
<base>
基址标签,为解决相对编址作参考值
<META>
将HTTP命令发给CONTENT=number;url允许,描述不包含在标准HTML里的文档信息。使用详解
<link>
提供将现行文档与其它文档或实体关联起来的信息
<ISINDEX>指明在服务器上提供文档的可以检索的索引
<style>……</style>允许包含样式表(CSS)信息
页面属性标签<body>……</body>标签的扩展属性。使用详解
<body bgcolor=#……>设置背景颜色,用名字或十六进制值
<body text=#……>设置文本文字颜色,用名字或十六进制值
<body link=#……>设置链接颜色,用名字或十六进制值
<body vlink=#……>设置已使用的链接的颜色,用名字或十六进制值
<body alink=#……>设置正在被击中链接的颜色,用名字或十六进制值
文本标签
<pre>……</pre>创建预格式化文本
<h1>……</h1>创建最大的标题
<h6>……</h6>创建最小的标题
<b>……</b>创建黑体字
<i>……</i>创建斜体字
<tt>……</tt>创建打字机风格的字体
<cite>……</cite>创建一个引用,通常是斜体
<em>……</em>加重(通常是斜体加黑体)
<strong>……</strong>强调(通常是斜体加黑体)
<font size=value></font>设置字体大小,从1到7
<font color=……></font>设置字体的颜色,使用名字或十六进制值
链接
<a rel="external nofollow" href="/URL"></a>创建一个超链接
<a rel="external nofollow" href="mailto:EMAIL"></a>创建一个自动发送电子邮件的链接
<a name="NAME"></a>创建一个位于文档内部的靶位
<a rel="external nofollow" href="#NAME"></a>创建一个指向位于文档内部靶位的链接
格式排版
<p>创建一个新的段落
<p align=……>将段落按左、中、右对齐
<br>插入一个回车换行符
<blockquote>……</blockquote>从两边缩进文本
<dl>……</dl>创建一个定义列表
<dt>放在每个定义术语词之前
<dd>放在每个定义之前
<ol>……</ol>创建一个标有数字的列表
<li>放在每个数字列表项之前,并加上一个数字
<ul>……</ul>创建一个标有圆点的列表
<li>放在每个圆点列表项之前,并加上一个圆点
<div align=……>一个用来排版大块HTML段落的标签,也用于格式化表
图形元素
<img src="/name">添加一个图像
<img src="/name" align=value>排列对齐一个图像:左中右或上中下
<img src="/name" border=value>设置围绕一个图像的边框的大小
<hr>加入一条水平线
<hr size=value>设置水平线的大小(高度)
<hr width=value>设置水平线的宽度(百分比或绝对像素点)
<hr noshade>创建一个没有阴影的水平线
表格
<table>……</table>创建一个表格
<tr>……</tr>开始表格中的每一行
<td>……</td>开始一行中的每一个格子
<th>……</th>设置表格头:一个通常使用黑体居中文字的格子
表格属性
<table border=value>设置围绕表格的边框的宽度
<table cellspacing=value>设置表格格子之间空间的大小
<table cellpadding=value>设置表格格子边框与其内部内容之间空间的大小
<table width=value或%>设置表格的宽度-用绝对像素值或文档总宽度的百分比
<tr align=……>设置表格格子的水平对齐(左中右)
<tr valign=……>设置表格格子的垂直对齐(上中下)
<td colspan=value>设置一个表格格子应跨占的列数(缺省为1)
<td rowspan=value>设置一个表格格子应跨占的行数(缺省为1)
<td nowrap>禁止表格格子内的内容自动断行回卷
窗框
<frameset>……</frameset>放在一个窗框文档的<body>标签之前,也可以嵌在其他窗框文档中
<frameset rows="value,value">定义一个窗框内的行数,可以使用绝对像素值或高度的百分比
<frameset cols="value,value">定义一个窗框内的列数,可以使用绝对像素值或宽度的百分比
<frame>定义一个窗框内的单一窗或窗区域
<noframes>……</noframes>定义在不支持窗框的浏览器中显示什么提示
窗框属性
<frame src="/URL">规定窗框内显示什么HTML文档
<frame name="name">命名窗框或区域以便别的窗框可以指向它
<frame marginwidth=value>定义窗框左右边缘的空白大小,必须大于等于1
<frame marginheight=value>定义窗框上下边缘的空白大小,必须大于等于1
<frame scrolling=value>设置窗框是否有滚动栏,其值可以是"yes","no","auto",缺省时一般为"auto"
<frame noresize>禁止用户调整一个窗框的大小
表单对于功能性的表单,一般需要运行一个CGI小程序,HTML仅仅是产生表单的表面样子。
<form>……</form>创建所有表单
<select multiple name="NAME" size=value>………</select>创建一个滚动菜单,size设置在需要滚动前可以看到的表单项数目
<option>设置每个表单项的内容
<select name="NAME">……</select>创建一个下拉菜单
<textarea name="NAME" cols=value rows=value>……</textarea>创建一个文本框区域,列的数目设置宽度,行的数目设置高度
<input type="checkbox" name="NAME">创建一个复选框,文字在标签后面
<input type="radio" name="NAME" value="x">创建一个单选框,文字在标签后面
<input type=text name="……" size=value>创建一个单行文本输入区域,size设置以字符计的宽度
<input type="submit" value="NAME">创建一个submit(提交)按钮
<input type="image" border=0 name="NAME" src="/name.gif">创建一个使用图象的submit(提交)按钮
<input type="reset">创建一个reset(重置)按钮
附加属性
<PRE>……</PRE>预置格式风格标签用来显示字体宽度固定的文本块,主要用来在表格格式中显示文本
<TT>……</TT>打字机风格用来显示打字机字体宽度固定的文本
<SAMP>……</SAMP>示例风格以单倍距显示文本
<ADDRESS>……</ADDRESS>地址风格一般用于文档的开始或结尾处,并以斜体格式显示文本。
<DL>……</DL>定义列表风格用来显示术语及其定义
颜色
#=rrggbb 16进制 RGB数值,或者是下列预定义色彩:
Black,Olive,Teal,Red,Blue,Maroon,Navy, Gray,Lime,Yellow,white,Silver,Fuchsia,Purple,Green,Aqua[返回本页首部]
META标签
描述不包含在标准HTML里的文档信息。
<META NAME="keywords" CONTENT="yourkeyword">
<META NAME="description" CONTENT="your homepage's description">
本页的关键字和描述。在页面里加上这些定义后,一些搜索引擎就能够让读者根据这些关键字搜索到您的主页,了解你的主页内容。
<META HTTP-EQUIV="refresh" CONTENT="30, URL=new.htm">
浏览器将在30秒后,自动转到new.htm。您可用它制作一个封面,在若干时间后,自动带读者来到您的目录页。如果URL项没有,浏览器就是刷新本页。这就是WWW聊天室定期刷新的实现原理。
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
描述本页使用的语言。浏览器根据此项,就可以选择正确的语言编码,而不需要读者自己在浏览器里选择。GB2312是指简体中文,而台湾BIG5内码的主页则是用BIG5。
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
强制性调用网上的最新版本。浏览器为节约时间,在本地硬盘上保存一个临时文件。在重新调用时,便直接显示那个临时文件。如果您想让读者每次都看到最新的版本,可加上句。[返回本页首部]
LINK
显示本文档和其他文档之间的连接关系。一个最有用的应用就是外部层叠样式表的定位。格式如下:
<LINK REL="stylesheet" rel="external nofollow" href="/style.css">REL参数说明两个文档之间的关系,HREF说明目标文档名。关于层叠样式表,将在后面的课程中详述。[返回本页首部]
BASE
本文档的原始地址。语法:<BASE HREF="原始地址">当读者下载您的文档后,由此可以知道是从哪里下载的。[返回本页首部]
BODY
BODY标记有一些属性,用于定义页面内的显示效果。 ALINK、LINK、TEXT、VLINK——文字的颜色。
ALINK:当前激活的连接的文字颜色。
LINK:连接的文字颜色。
TEXT:文字的颜色。
VLINK:参观过的文字颜色。
注意:文字的颜色要和背景色有明显的差别,以便读者浏览。
BACKGROUND、BGPROPERTIES、BGCOLOR——页面的背景部分。
BACKGROUND:背景图案,该图案在页面内平铺。背景图案应保持单一色调,以保证页面文字易于阅读。
BGPROPERTIES:设置成FIXED,则背景图案不滚动。(只对INTERNET EXPLORER有效)
BGCOLOR:背景色。
注意:如果你的背景图案是深色调,因之文字颜色为淡颜色,那么由于浏览器调用页面的顺序是“背景色-文字-背景图案”,那么在背景图案没有显示的情况下,你的文字在白颜色下很难阅读,所以应该选用一个跟你的背景图案颜色一致的背景色。
LEFTMARGIN、TOPMARGIN——页边空白。(只对INTERNET EXPLORER有效)
LEFTMARGIN:左边页边空白。
TOPMARGIN:顶端页边空白。
简单的网页设计,HTML,css,大学生作业(很简单)
一、👨🎓网站题目
🏫校园班级网页设计、👨🎓我的班级网页、我的学校、👩🎓校园社团、校园运动会、等网站的设计与制作。
二、✍️网站描述
🏷️HTML我的班级网页设计,采用DIV+CSS布局,共有多个页面,排版整洁,内容丰富,主题鲜明,首页使用CSS排版比较丰富,色彩鲜明有活力,导航与正文字体分别设置不同字号大小。导航区域设置了背景图。子页面有纯文字页面和图文并茂页面。
🏅一套优质的💯网页设计应该包含(具体可根据个人要求而定)
页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
所有页面相互超链接,可到二三级页面,有多页面组成。
页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
菜单美观、醒目,二级菜单可正常弹出与跳转。
可选有JS特效,如定时切换和手动切换图片轮播。
页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
页面清爽、美观、大方,不雷同。。
不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。
好了,关于网页设计作业成品代码html和网页设计制作网站模板图片的问题到这里结束啦,希望可以解决您的问题哈!