标签体会
来源:互联网 发布:java switch if 编辑:程序博客网 时间:2024/06/11 16:20
一、先看一段代码:
<marquee direction="up" behavior="alternate" scrollamount=3 height="210">
<marquee direction="right" scrollamount=5 behavior="alternate" width="380"><b style="font-size:24px " style="color: #99CC00">O(∩_∩)O~</b><br> <b><font style="font-size:24px "color=cc0000>欢迎</b></marquee>
<marquee direction=left behavior=alternate scrollamount=3><b style="font-size:24px " style="color: #ff6600">O(∩_∩)O~</b><br> <b><font style="font-size:24px "color=cc0000>光临</b></marquee>
</marquee>
二、小试一下:
试试1:
<marquee>呵呵O(∩_∩)O~</marquee>
试试2:
<marquee direction="up">呵呵O(∩_∩)O~</marquee>
<marquee>属性
三、文字移动属性的设置:
1.方向 <direction=#> #=left, right,up,down
<marquee direction=right>啦啦啦,我从左向右移!</marquee>
2.方式 <bihavior=#> #=scroll, slide, alternate
<marquee behavior=scroll>啦啦啦,我一圈一圈绕着走!</marquee>
<marquee behavior=slide>啦啦啦,我只走一次就歇了!</marquee>
<marquee behavior=alternate>啦啦啦,我来回走耶!</marquee>
3.循环 <loop=#> #=次数;若未指定则循环不止(infinite)
<marquee loop=3 behavior=scroll>啦啦啦,我只走 3 趟哟!</marquee>
<marquee loop=3 behavior=slide>啦啦啦,我只走 3 趟哟!</marquee>
<marquee loop=3 behavior=alternate>啦啦啦,我只走 3 趟哟!</marquee>
4. 速度 <scrollamount=#>
<marquee scrollamount=20>啦啦啦,我走得好快哟!</marquee>
5. 延时 <scrolldelay=#>
<marquee scrolldelay=500 scrollamount=100>啦啦啦,我走一步,停一停!</marquee>
四、外观(Layout)设置
6.对齐方式(Align) <align=#> #=top, middle, bottom
<font size=6>
<marquee align=# width=400>啦啦啦,我会移动耶!</marquee>
</font>
7.底色 <bgcolor=#> #=rrggbb 16 进制数码,或者是下列预定义色彩:
<marquee bgcolor=aaaaee>啦啦啦,我会移动耶!</marquee>
8.面积 <height=# width=#>
<marquee height=40 width=50% bgcolor=aaeeaa>啦啦啦,我会移动耶!</marquee>
9.空白(Margins)<hspace=# vspace=#>
<marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle>啦啦啦,我会移动耶!</marquee>
- 标签体会
- struts2<s:select>标签使用体会
- 体会!
- 体会
- 体会
- 体会
- 体会
- 体会
- 体会
- 体会
- 体会
- 体会
- 体会
- 体会
- 关于struts1的html标签的一些体会
- 体会中的体会
- 体会的体会vh
- Struts2<s:iterator value="" var="lst">中var的使用和一些标签的使用体会
- 建立U盘中的“快捷方式”
- 对计算机大学生就业的一些思考
- udev规则
- log4j多日志记录文件
- csdn论谈
- 标签体会
- grub-1.96/boot/i386/pc/boot.S
- 三星手机本地安装Jar包方法
- Apt和dpkg快速参考
- 设计模式--单例模式【自学笔记】
- Android C++调试
- October, 28
- 对某底层硬件模块编写底层程序的主要步骤及经验
- waiting for