批改状态:合格
老师批语:样式来源, 其实没几个
<html><h1 style color:red;>行内样式</h1></html>
直接在标签内加入,只作用与当前一个标签
<style>h1{color:red;}h2{color: green;}</style>
在当前html代码写入<style></style>标签之内
common.css,jQuery.css, layui.css,<link>引入
<link rel="stylesheet" href="style1.css" />
从一个外部文件引入样式,
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号