2015-09-17html课程总结2+了解css
7.多媒体
①滚动字幕
<marquee>滚动的内容...</marquee>
②属性:align-----对齐方式(top middle bottom)
scroll-----单向运动
alternate-----左右往返运动
slide-----如幻灯片,一格格的,如果是文字一接触左边就停止
bgcolor-----文字卷动范围的背景颜色
loop-----设置文字卷动的次数,可以是正整数或infinite表示无限次(默认为无限循环)
height-----字幕高度
width-----字幕宽度
scrollamount-----文字移动速度,数值越大速度越快
scrolldelay-----文字每一次滚动的停顿时间,时间越短滚动越快
direction-----文字滚动的方向(left,rignt,up向上滚动,down向下滚动)
behavior-----指定移动的方式,scroll(滚动播放),slide(滚动到一方后停止),alternate(滚动到一方后相反方向滚动)
8.html表单
① <form>...</form>
②属性:
action---通过提交(input type=submit)可以将表单的信息提交给表单里action所指向的文件
method---两种取值(get,post),默认是get
target----用来指定目标窗口或框架(_blank 返回信息显示在新开的浏览器窗口中,_self当前浏览器窗口)
③表单元素
type=reset 重置按钮控件
type=submit 提交
type=image 图像
type=checkbox 复选框
type=radio 单选框
type=file 文件上载控件
type=hidden 隐藏字段
④下拉框
<select><option>----请选择----</option></select>
变复选:<select multiple="multiple">页面加载后,用Ctrl实现复选,
size:设置select的大小
⑤多行输入框textarea
rows和cols:设置多行输入框的高和宽度
令:<fieldset><legend align="top">书签样式</legend></fieldset>
9.嵌套页面
<iframe src="http://www.baidu.com/“></iframe>
CSS (Cascading Style Sheet)叠层样式表
1.css的优先级:ID>类>标记
2.文字效果
字体-----font-family
字体大小-----Font-size
字体颜色-----Color
字体粗细-----Font-weight
下划线----Text-decoration:underline(下划线),overline(顶划线)line-through(删除线)
字母-----Text-transform:capitalize (首字母大写)uppercase(全部大写)lowercase (全部小写)
字母间距-----Letter-spacing (默认为normal)
行间距-----Line-height,数值越大间距越大
文本对其方式-----text-align(left默认左,right右,center水平居中)
垂直居中-----line-height:数值等于高度
2015-09-17html课程总结2+了解css的更多相关文章
- http://browniefed.com/blog/2015/09/10/the-shapes-of-react-native/
http://browniefed.com/blog/2015/09/10/the-shapes-of-react-native/
- bootstrap课程4 bootstrap的css样式有哪些内容需要注意
bootstrap课程4 bootstrap的css样式有哪些内容需要注意 一.总结 一句话总结: 1.如何选择产品(框架)的版本? 大版本下的最后一个版本,但是同时又要选择稳定的版本,也就是如果做产 ...
- Cheatsheet: 2015 09.01 ~ 09.30
Web A Guide to Vanilla Ajax Without jQuery Gulp for Beginners A Detailed Walkthrough of ASP.net MVC ...
- Murano Weekly Meeting 2015.09.29
Meeting time: 2015.September.29th 1:00~2:00 Chairperson: Serg Melikyan, PTL from Mirantis Meeting s ...
- Murano Weekly Meeting 2015.09.22
Meeting time: 2015.September.22th 1:00~2:00 Chairperson: Serg Melikyan, PTL from Mirantis Meeting s ...
- Murano Weekly Meeting 2015.09.15
Meeting time: 2015.September.15th 1:00~2:00 Chairperson: Serg Melikyan, PTL from Mirantis Meeting s ...
- Murano Weekly Meeting 2015.09.08
Meeting time: 2015.September.8th 1:00~2:00 Chairperson: Serg Melikyan, PTL from Mirantis Meeting su ...
- Murano Weekly Meeting 2015.09.01
Meeting time: 2015.September.1st 1:00~2:00 Chairperson: Nikolay Starodubtsev, from Mirantis Meeting ...
- MFC双缓冲绘图(2015.09.24)
问题引入: 最近在尝试编写贪吃蛇游戏时遇到这么一个问题:当系统以较快频率向窗口发送WM_PAINT消息时,调用OnPaint()函数在窗口中绘制图形就会发生闪烁现象. 问题分析: 当我们把绘图过程放在 ...
随机推荐
- JMeter中关于动态切换不同CSV文件解决方案
最近写case,需要当前播放节目的数据作为输入数据,所以每个时刻所用的数据只能是当前时刻附件的数据,尝试用CSV Data Set Config动态加载不同的文件,没有成功,好像CSV Data Se ...
- _attribute_creature
生物属性控制表 comment 备注 Entry 生物ID,对就creature_template中entry Level 不等于0时改变等级为该值 Health 不等于0时改变生命值为该值 Atta ...
- sklearn.learning_curve
学习曲线函数: from sklearn.learning_curve import learning_curve 调用格式: learning_curve(estimator, X, y, trai ...
- 网络安装OS(配置文件)
●无人值守安装KS文件(redhat用,删除下面中文). #LinuxIParm Config File #Generated by LinuxIParm Configurator #Boot Mod ...
- python Django 项目创建
注:后续如不特色说明,使用python版本均为python3 创建项目 django-admin startproject projectName 启动服务 python manage.py runs ...
- Mongodb脚本记录
mongoexport -h -d stat_terminalbase -c stat_terminalbase -f terminal_mac,detect_time,site_id,device_ ...
- 数据结构(C语言版)-第1章 绪论
- 20165327 2017-2018-2 《Java程序设计》第4周学习总结
20165327 2017-2018-2 <Java程序设计>第4周学习总结 教材内容总结 第五章 继承是一种由已有的类创建新类的机制. class 子类名 extends 父类名{ - ...
- English trip M1 - AC6 How to make salad? Teacher:Patrick
In this lesson you will learn to give instructions. 在本课中,您将学习如何提供说明. 课上内容(Lesson) How to make a sal ...
- English trip V1 - 10.Family Ties 家庭关系 Teacher:Emily Key: Possessive s (所有格 s)
In this lesson you will learn to talk about people in a family. 课上内容(Lesson) What are you Spring Fes ...