摘要: <head> <link href="css路径" type="text/css" rel="stylesheet"> </head> 阅读全文
posted @ 2026-07-08 10:03 伊兹帕鲁特 阅读(2) 评论(0) 推荐(0)
摘要: 鲜花页面布局 阅读全文
posted @ 2026-07-08 10:03 伊兹帕鲁特 阅读(2) 评论(0) 推荐(0)
摘要: 纯净标签:div,span div盒子分为四层,从外往内依次为margin,border,padding,content margin,border,padding都有四个方向,从顶部开始顺时针依次为top,right,bottom,left 属性:margin,border,padding的属性值 阅读全文
posted @ 2026-07-08 10:03 伊兹帕鲁特 阅读(2) 评论(0) 推荐(0)
摘要: 图像的插入 样式的格式应该是选择器 块元素,行元素,块内行元素 在保证成像质量的情况下,图像越小越好 常用图像格式:3+2 3:png,jpg,gif 2:svg,webp png:支持透明背景 gif:支持动图显示 svg:颜色丰富,文件小 阅读全文
posted @ 2026-07-08 10:02 伊兹帕鲁特 阅读(2) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2026-07-08 10:02 伊兹帕鲁特 阅读(4) 评论(0) 推荐(0)
摘要: 超级链接 空链接 空链接 效果 首 标题 标题 标题 标题 锚定 阅读全文
posted @ 2026-04-05 21:06 伊兹帕鲁特 阅读(4) 评论(0) 推荐(0)
摘要: 基本的HTML文档格式 9行,5个对标记,3层关系 第一行为声明 通过引入外部样式文件,将网页背景设置为红色 主文件中加入: css文件: body{ background-color: red: ​ color: gold; } 应用场景:定义本文件80%的应用场景 通过内部样式定义: ​ col 阅读全文
posted @ 2026-03-19 16:31 伊兹帕鲁特 阅读(8) 评论(0) 推荐(0)
摘要: 二 实时系统时间显示 <script> // 获取显示时间的DOM元素 const timeElement = document.getElementById('currentTime'); // 定义格式化时间的函数 function formatTime() { // 创建当前时间对象 const 阅读全文
posted @ 2026-03-14 13:21 伊兹帕鲁特 阅读(11) 评论(0) 推荐(0)