上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 36 下一页

2022年2月8日

link的使用(引入)

摘要: <!-- link作用(引入) --> <!-- 1.引入css --> <link rel="stylesheet" type="text/css" href="./css样式01.css"/> <!-- 2.引入小log --> <link rel="" href="http://www.mob 阅读全文

posted @ 2022-02-08 19:49 爱前端的小魏 阅读(300) 评论(0) 推荐(0) 编辑

css-插入音频视频

摘要: <!-- 插入视频音频(以下方式不常用) --> <embed src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202003%2F14%2F20200314 阅读全文

posted @ 2022-02-08 19:18 爱前端的小魏 阅读(572) 评论(0) 推荐(0) 编辑

css--针对图片某一个位置进行点击跳转

摘要: 针对图片某一位置,进行点击 <img src="../11/大图.jpg" alt="" usemap="#star"> usemap="属性值" map name="属性值" shape=“rect”矩形 coords=位置,xy轴位置 如下: <img src="../11/大图.jpg" al 阅读全文

posted @ 2022-02-08 19:16 爱前端的小魏 阅读(500) 评论(0) 推荐(0) 编辑

2022年2月7日

iframe框架

摘要: <!-- iframe (行内框架) 属性 src="链接地址" frameborder="边框样式" width/height="宽高" srcdoc="文本内容可以给文本内容加标签"如:srcdoc="<h1>hellow</h1> " 注意:srcdoc和src同时存在的情况下,只会保留一个s 阅读全文

posted @ 2022-02-07 12:46 爱前端的小魏 阅读(73) 评论(0) 推荐(0) 编辑

html标签--总结大全

摘要: <strong>加粗:strong</strong> <b>加粗:B</b> <i>加粗,斜体</i> <span>加粗,斜体</span> <blockquote>引用大段段落解释</blockquote> <q>引用小段短语解释</q> <abbr title="111">缩写或首字母缩略图</ 阅读全文

posted @ 2022-02-07 09:55 爱前端的小魏 阅读(26) 评论(0) 推荐(0) 编辑

html和xhtml的区别

摘要: 总结而已:xhtm比html写法更加严谨: 区别: 1.DOCTYPE文档以及编码 xtml: xhtml: 编码则很长 2.元素大小写 xtml支持元素大小写 xhtml不支持元素大写 3.属性布尔值 xtml可以只写值,不写属性 xhtml属性和值必须全部写入 4.属性引号 html:id等属性 阅读全文

posted @ 2022-02-07 09:44 爱前端的小魏 阅读(153) 评论(0) 推荐(0) 编辑

2022年1月17日

css-添加省略号(twxt-overflow:ellipsis)/图标精灵(background)

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <!-- 1.css添加省略号 1.让内容在一行展示 white-space:nowrap; 2.内容溢出隐藏 overflow=hidden 3.溢出内容添加省 阅读全文

posted @ 2022-01-17 12:41 爱前端的小魏 阅读(296) 评论(0) 推荐(0) 编辑

2022年1月13日

html---定位position(固定,相对(relative),绝对(absolute))

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <!-- position 属性值: 相对定位(relative) left right top bottom 1.使用相对定位后,不会脱离文档流。也就不会影响其 阅读全文

posted @ 2022-01-13 07:18 爱前端的小魏 阅读(1116) 评论(0) 推荐(0) 编辑

2022年1月11日

html--浮动(float)

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <!-- 1。只会影响后面的元素(当有三个盒子,给中间盒子设置浮动后,最后一个盒子往上浮动) 2.主要给块元素添加,也可以给内联元素添加(block(块),inl 阅读全文

posted @ 2022-01-11 21:37 爱前端的小魏 阅读(583) 评论(0) 推荐(0) 编辑

2022年1月10日

html--不透明度(rgba)与手势(cursor)与自适应宽高度写法

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <!-- 不透明度 rgba(0,0,0,0):给父元素设置rgba,子元素不会使用该属性 0,0,0 分别代表红绿蓝(255) 0 不透明度 opacity:给 阅读全文

posted @ 2022-01-10 06:53 爱前端的小魏 阅读(178) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 36 下一页

导航