Grouping function of selector is not successful
碧玉刀
碧玉刀 2018-06-12 21:32:41
0
2
1562

<!DOCTYPE html>

<html>

<head>

<title>Basic syntax of CCS</title>

<style type="text/css">

<!-- Selector {declaration}

Selector {property:property value;property:property value ;Attribute:Attribute value;.....} -->

p{color:blue;font-size:40px;}

<!-- Selector Grouping-->

b,h1,h2{color:blue;}

</style>

</head> ;

<body style="background:pink;">

<p>php中文网</p>

<b>php is the best language</b>

<h1>php is the best language</h1>

< h2>php is the best language</h2>

</body>

</html>


碧玉刀
碧玉刀

reply all(1)
亚连

If you run it and try it, you will know whether it can succeed. Judging from the code, there is no problem.

  • reply I'm just asking because it didn't work successfully.
    碧玉刀 author 2018-06-13 19:10:41
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!