摘要: 样式表,css:层叠式样式表style后缀名:css 分类:内联:写在标记的属性位置,优先级最高,重用性最差内嵌:写在页面的head中,优先级第二,重用性一般外部:写在一个以css结尾的文件中,通过引用来建立文件与html页面的关系,优先级最低,但是最灵活最好用,重用性最好 选择器:id选择器:#i 阅读全文
posted @ 2018-01-28 15:00 Int64 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 插入视频:在优酷等视频网站,找到分享位置,复制html代码,贴入网页中自动播放:swf后面?VideoIDS=XNDA3OTM4NA=&isAutoPlay=true&isShowRelatedVideo=false&embedid=-&showAd=0 插入音乐:<embed src="image 阅读全文
posted @ 2018-01-23 23:14 Int64 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 锚点:在一个页面中快速定位到某一个位置 目标位置的标题处 添加id="???"使用一个超链接,href里面填 "#???" 阅读全文
posted @ 2018-01-23 22:37 Int64 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 框架 iframe宽度 width高度 height显示的网页路径 href滚动条 onscroll="true" 标题栏小图标:<link rel="shortcut icon" type="image/x-icon" href="文件相对路径" media="screen" /> 阅读全文
posted @ 2018-01-23 22:36 Int64 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 表单:<form action="" method="get/post" > <input type="text"/> ....</form> 表单元素:12个 文本类<input type="text" value=""/> - 文本框<input type="password" value="" 阅读全文
posted @ 2018-01-22 22:30 Int64 阅读(149) 评论(0) 推荐(0) 编辑
摘要: HTML: 网站(站点) - 网页 HTML作为文件后缀名,可以把文件变为网页 HTML是一门编程语言的名字:超文本标记语言超越了文字的范畴,除了文字还可以有图片、视频、音频、动画特效等其它内容,由标记(<>)组成的一门计算机编程语言 HTML语言的作用:做网页 基本格式:<html> <head> 阅读全文
posted @ 2018-01-22 17:56 Int64 阅读(341) 评论(0) 推荐(0) 编辑
摘要: ----视图增删改操作不影响基础表 ----视图不允许出现重复列 create view haha--创建视图 as select student.*,Score.Cno,Score.Degree from student,score where student.Sno=Score.Sno select * from haha ----事务 begin tran insert into... 阅读全文
posted @ 2018-01-19 22:11 Int64 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1 --create table users--创建用户表 2 --( 3 -- ids int primary key identity(1,1), 4 -- name nvarchar(200),--姓名 5 -- class nvarchar(200)--班级编号 6 --) 7 8 --create table class--创建班级表 9 --( ... 阅读全文
posted @ 2018-01-19 21:10 Int64 阅读(296) 评论(0) 推荐(0) 编辑
摘要: --存储过程 create proc JiaFa--创建加法存储过程 @a int, @b int as return @a+@b; declare @ccc int; exec @ccc=JiaFa 5,10--调用存储过程 select @ccc create proc SelectAll--创建查询表存储过程 as select * from student s... 阅读全文
posted @ 2018-01-19 18:42 Int64 阅读(132) 评论(0) 推荐(0) 编辑
摘要: --定义变量 --int a; declare @a nvarchar(200); declare @b nvarchar(200); declare @c int; --赋值 --a=""; set @a='haha'; select @b=MAX(DEGREE) from Score select @c=1; --输出 --console.write(s); select @a--... 阅读全文
posted @ 2018-01-19 17:39 Int64 阅读(263) 评论(0) 推荐(0) 编辑