css:
/*id选择器*/
#stress{
color:red;
}
html:
<!doctype html>
<html>
<head>
<!--id选择器-->
<meta http-equiv="content-Type"content="text/html;charset="UTF-8">
<title>id选择器</title>
<link rel="stylesheet" href="word.css" type="text/css">
</head>
<body>
<p>三年级时我还是一个<span id="stress">胆小如鼠</span>的小女孩,上课从来不敢回答老师提出的问题。</p>
</body>
</html>
东方_冥2018-04-03 10:02:25
<meta http-equiv="content-Type"content="text/html;charset="UTF-8">
去掉UTF-8前的引号 试试
<meta http-equiv="content-Type" content="text/html;charset=UTF-8" />