Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
无序列表与有序列表
单行代码和多行
document.write('1')
function a(){
return '2'
}
id | name | age |
---|---|---|
1 | one | 8 |
2 | two | 9 |
3 | three | 10 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>emmet常用语法</title>
</head>
<body>
<!-- 生成id:#id 类: .nav -->
<!-- 父子>与兄弟+ -->
<!-- ol>li*3>a{item$} -->
<ol>
<li><a href="">item1</a></li>
<li><a href="">item2</a></li>
<li><a href="">item3</a></li>
</ol>
<!-- .box+.title -->
<div class="box"></div>
<div class="title"></div>
<!-- 倒序与指定序号 $ @ -->
<!-- ol>li*3>a{item$@-1} -->
<ol>
<li><a href="">item3</a></li>
<li><a href="">item2</a></li>
<li><a href="">item1</a></li>
</ol>
<!-- ol>li*3>a{item$@6} -->
<ol>
<li><a href="">item6</a></li>
<li><a href="">item7</a></li>
<li><a href="">item8</a></li>
</ol>
</body>
</html>