- data-x 特性
<html>
<head>
<title>
this is a text
</title>
</head>
<body>
<form>
<p id="p1" data-autor="mibb005">this is a tent</p>
<input type="button" value="show author" οnclick="alert(document.getElementById('p1').getAttribute('data-autor'));" />
</form>
</body>
</html>
alert(document.getElementById("p1").dataset.autor)