0
点赞
收藏
分享

微信扫一扫

030.CSS的快速入门及优势

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Title</title>
<!-- 规范,<style>中可以写css代码 ,每一个声明最好使用封号结尾
语法:选择器{
声明1:
声明2:
....



<style type="text/css">
h1{
color: #FF0000;
}
</style>

-->

<!-- 单独写文件引入css -->
<link rel="stylesheet" type="text/css" href="../css/2021-11-17.css"/>


</head>
<body>
<h1>我是标题栏</h1>
</body>
</html>

  



举报

相关推荐

0 条评论