html中关于title href bgcolor的用法
来源:互联网 发布:百度一下淘宝网裤子 编辑:程序博客网 时间:2024/05/22 16:06
示例1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta charset="utf-8"><title>页面的过度效果</title></head><body bgcolor="#FFCC00"><center><h2>页面过度效果</h2><img src="images/1.jpg" width="498" height="349" /> <br/><br/><br/><a href="2-enter.html">进入网页</a><br/><a href="2-exit.html">离开网页</a></center></body></html>效果:
其中titlt关键字就是设置网页打开时的标题栏网页的名字,
charset是设置支持的字符格式,设置成utf-8可以显示中文
href是设置链接文件
img 关键字是插入图片
src是设置图片的路径
height width 分别是设置图片的显示属性,表示高度,宽度
bgcolor写在body中,是设置body整个主体的背景颜色
<!DOCTYPE html><html><head><meta charset="utf-8" http-equiv="page-enter" content="revealtrans(duration=10,transition=21)"/><title>2-enter</title></head><body bgcolor="#ffcc99"><centor><h2>进入效果</h2><img src="images/2.jpg" height="462" width="498"/><br/><br/><a href="2-1.html">返回</a></centor></body></html>
效果:
<!DOCTYPE html><html><head><meta charset="utf-8" http-equiv="page-exit" content="revealtrans(duration=5,transition=8)"/><title>2-exit</title></head bgcolor="#FFCC99"><centor><h2>退出效果</h2><img src="images/3.jpg" height="462" width="498"/><br/><br/><a href="2-1.html">返回</a></centor><body></body></html>
效果:
0 0
- html中关于title href bgcolor的用法
- html中<a href> </a>的用法
- html中<a href> </a>的用法
- HTML中"bgcolor"与"background-color"的区别
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法 .
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法
- 关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
- 关于js中window.location.href,location.href,parent.location.href,top.location.href的用法
- Docker镜像中Dockerfile的制作或编写
- C.A.T.S:离线策略手游的精髓设计
- 降薪求职,愚蠢还是明智?
- MySQL存储过程
- 【信源编码 作业二】哈希表
- html中关于title href bgcolor的用法
- 深入Java虚拟机笔记(二):垃圾收集器与内存分配策略
- shell脚本 --- expect ssh scp 命令学习
- MySql中游标的定义与使用方式
- WIN10 安装 MySQL 5.7 .zip
- perl将字符串时间转换成 epoch time
- 工厂模式定义
- MATLAB入门教程
- perl 字符串格式转化为时间格式,时间戳,epchotime