2017年11月6日

2017/11/6课堂练习

摘要: <html> <head> <title></title> <style type="text/css"> a{ font-size /*未单击访问过的状态*/ a:link{ color:red; } /*访问过的样式*/ a:visited{ color:yellow; } /*鼠标悬浮样式*/ 阅读全文

posted @ 2017-11-06 14:51 剑荡四方 阅读(110) 评论(0) 推荐(0) 编辑

2017年10月31日

2017年10月31日上午课堂练习

摘要: 1. <html> <head> <style type="text/css"> ul>li:first-of-type{ background:red; } /*不去匹配子类的*/ ul>li:first-child{ color:green; } ul>li:nth-of-type(2){ co 阅读全文

posted @ 2017-10-31 08:49 剑荡四方 阅读(78) 评论(0) 推荐(0) 编辑

2017年10月30日

2017年10月30日下午课堂练习

摘要: <head>; <meta charst=''UTF-8''> <title></title> <style type="text/css"> p{ font-size:24px; color:blue; } .p1{ font-size:48px; color:plum; } </head> <! 阅读全文

posted @ 2017-10-30 15:41 剑荡四方 阅读(76) 评论(0) 推荐(0) 编辑

初识css3

摘要: 会使用行内样式,内部样式和外部样式为HTML和css样式 1.css概念:表现HTML或HTML文件样式的计算机语言.包括字体、颜色、边距、高度、宽度、背景图片、网页定位等设定 2.发展史:1996年css1.0;1998年css2.0;2004年css2.1;2010年css3.0 3.css基本 阅读全文

posted @ 2017-10-30 11:40 剑荡四方 阅读(157) 评论(0) 推荐(0) 编辑

2017年10月24日

表单

摘要: 1.语法 <form method="get/post" action="数据向哪里提交的地址"> //表单内容 </form> 2.input标签常用属性 <input name="标签名" type="标签类型" value="标签默认值"/> size:输入文本的字符长度 maxlength: 阅读全文

posted @ 2017-10-24 21:32 剑荡四方 阅读(89) 评论(0) 推荐(0) 编辑

结构化元素、网页结构和iframe内联框架

摘要: 1.结构化元素 <header> //表示网页的头部 <footer> //表示网页的尾部 <section> //表示网页的独立区域 <article> //表示文章 <aside> //表示相关内容或应用(侧边栏) <nav> //导航 2.网页结构 <header></header> //头部 阅读全文

posted @ 2017-10-24 20:49 剑荡四方 阅读(157) 评论(0) 推荐(0) 编辑

多媒体(视频和音频)

摘要: 1.视频 <video src="视频路径" controls></video> 推荐使用:(能够兼容更多的浏览器) <video controls> <source src="xx.mp4" type="video/mp4"/> <source src="xxx.webm" type="video 阅读全文

posted @ 2017-10-24 20:36 剑荡四方 阅读(203) 评论(0) 推荐(0) 编辑

2017年10月18日

特殊符号和制作表格

摘要: 1.特殊符号:&nbsp;空格 &gt;大于符号 &lt;小于符号 &quot;双引号 &copy;版权符号 注释:<!--被注释的内容--> 用途:解释代码 2.列表:无序列表、有序列表、定义列表。 <body> <ul> <li>......</li> <li>......</li> </ul> 阅读全文

posted @ 2017-10-18 20:09 剑荡四方 阅读(1501) 评论(0) 推荐(0) 编辑

2017年10月17日

编写html步骤和html的打开方式

摘要: 1.新建一个记事本(以html结尾)。 2.右击选择打开方式为文本文档。 3.编写内容: <html> <head></head> <!--网页头部--> <body></body> <!--网页的主体--> <html> 4.用浏览器打开查看内容。 二.html的打开方式 1.浏览器(浏览方式) 阅读全文

posted @ 2017-10-17 21:07 剑荡四方 阅读(584) 评论(0) 推荐(0) 编辑

各种标签语法笔记

摘要: 1.标题标签:<title></title> 标题 2.meta标签: <meta charest=“utf-8”/> 设置网页的字符编码 <meta name="keywords" content="内容”/> 关键词 <meta name="description" content="内容"/> 阅读全文

posted @ 2017-10-17 21:06 剑荡四方 阅读(137) 评论(0) 推荐(0) 编辑

导航