可以看我另一篇博客,更多vs code快捷键技巧,提高写代码效率
原文链接:https://blog.csdn.net/x1037490413/article/details/86758644
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
</style>
</head>
<body>
<!--
快捷,直接打出代码
-->
<!--
1: ul>li
-->
<ul>
<li></li>
</ul>
<!--
2:ul.demo
-->
<ul class="demo"></ul>
<!--
3:ul.demo#only
-->
<ul class="demo" id="only"></ul>
<!--
4:ul.demo#demo>p[style="background-color:red;width:100px;height:100px"]*3
-->
<ul class="demo" id="demo">
<p style="background-color:red;width:100px;height:100px"></p>
<p style="background-color:red;width:100px;height:100px"></p>
<p style="background-color:red;width:100px;height:100px"></p>
</ul>
<script>
</script>
</body>
</html>
兄弟标签: