Calss is called and the color is set, but the website does not display. Sir, what's going on?
yz666
yz666 2019-07-05 22:22:53
0
6
1728

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>Common selectors in css</title>

<style type="text/css">

/*Element selector*/

/**{color: red;}*/

p{text-align: center;}


## /*Category selector*/

.c1{color: red; }


/*ID selector*/

/*#one{color: blue; font-size: 60px;}*/


/*Priority id>color>mark*/

</style>

</head>

<body class="box">

<p>php</p>

<span classs=" c1">Hello! 123</span>

<p>I am 321</p>

</body>

</html>


yz666
yz666

学习学习

reply all(1)
ringa_lee

You wrote it wrong, calss. . .

is class

  • reply Already discovered. Thanks for the answer, sir.
    yz666 author 2019-07-05 23:38:34
  • reply eh eh
    ringa_lee author 2019-07-05 23:38:53
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template