The id part does not show red
One
One 2018-04-02 10:53:33
0
2
1738

css:

/*id selector*/

#stress{

color:red;

}

html:

<!doctype html>

<html>

<head>

<!--id selector-- >

<meta http-equiv="content-Type"content="text/html;charset="UTF-8">

<title>id selector< ;/title>

<link rel="stylesheet" href="word.css" type="text/css">

</head>

<body>

<p>When I was in the third grade, I was a little girl who was <span id="stress">as timid as a mouse</span>. I never dared to answer the teacher in class. Questions raised.</p>

</body>

</html>


##

One
One

reply all(2)
东方_冥

<meta http-equiv="content-Type"content="text/html;charset="UTF-8">

Try removing the quotes before UTF-8

<meta http-equiv="content-Type" content="text/html;charset=UTF-8" />


灭绝师太

Is the path of the external css style written wrong?


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!