大佬們幫我看看這段代碼
<!DOCTYPE?HTML> <html> <head> <meta?http-equiv="Content-Type"?content="text/html;?charset=uft-8"> <title>重要性</title> <style?type="text-css"> p{color:red!important;}/*!important要寫在分號的前面;!important權值最大!*/ P{color:green;} #Setpink{color:pink;|} </style> </head> <body> <p>選不中我,選不中我,我不會變色</p> <div?id="Setpink"> <tbody> <table> <tr> <td>wo</td> <td>ai</td> <td>ni</td> </tr> <tr> <td>ni</td> <td>ai</td> <td>wo</td> <td>me</td> </tr> </table> </tbody> </div> </body> </html>
我看了半天沒看出錯在哪里,大佬們幫我看一哈
2017-05-21
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>重要性</title>
<style type="text/css">
p{color:red!important;}/*!important要寫在分號的前面;!important權值最大!*/
P{color:green;}
#Setpink{color:pink;|}
</style>
</head>
<body>
<p>選不中我,選不中我,我不會變色</p>
<div id="Setpink">
<tbody>
<table>
<tr>
<td>wo</td>
<td>ai</td>
<td>ni</td>
</tr>
<tr>
<td>ni</td>
<td>ai</td>
<td>wo</td>
<td>me</td>
</tr>
</table>
</tbody>
</div>
</body>
</html>
2017-08-31
#Setpink{color:pink;|}后面的豎線是什么意思?
2017-06-16
text-css改成text-css ? uft小寫弄成UFT大寫
2017-06-16
<style?type="text-css">改為<style?type="text/css">
2017-05-21
<!DOCTYPE?HTML>
<html>
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=uft-8">
<title>重要性</title>
<style?type="text-css">
p{color:red!important;}/*!important要寫在分號的前面;!important權值最大!*/
P{color:green;}
#Setpink{color:pink;|}
</style>
</head>
<body>
<p>選不中我,選不中我,我不會變色</p>
<div?id="Setpink">
<tbody>
<table>
<tr>
<td>wo</td>
<td>ai</td>
<td>ni</td>
</tr>
<tr>
<td>ni</td>
<td>ai</td>
<td>wo</td>
<td>me</td>
</tr>
</table>
</tbody>
</div>
</body>
</html>