Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
var param = document.getElementId('name');
Class Demo(){
public $name = $_REQUEST['name'];
public function test(){
}
}
id | name | age | sex |
---|---|---|---|
1 | Tom | 20 | 1 |
2 | Jooin | 18 | 0 |
<!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>Document</title>
</head>
<body>
</body>
</html>
p.name#name{姓名}
<p class="name" id="name">
姓名
</p>
ul>li*3{$}
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
.name{姓名}+.age{年龄}
<div class="name">姓名</div>
<div class="age">年龄</div>
$指定数1开始序号,@指定开始的序号
ul.menu>li.option*4{item$}
<ul class="menu">
<li class="option">item1</li>
<li class="option">item2</li>
<li class="option">item3</li>
<li class="option">item4</li>
</ul>
ul.menu>li.option*4{item$@3}
<ul class="menu">
<li class="option">item3</li>
<li class="option">item4</li>
<li class="option">item5</li>
<li class="option">item6</li>
</ul>
ul.menu>li.option*4{item$@-3}
<ul class="menu">
<li class="option">item6</li>
<li class="option">item5</li>
<li class="option">item4</li>
<li class="option">item3</li>
</ul>