suchen

Heim  >  Fragen und Antworten  >  Hauptteil

Die Gruppierungsfunktion des Selektors ist nicht erfolgreich

<!DOCTYPE html>

<html>

<head>

<title>Grundlegende Syntax von CCS</title>

<style type="text/css">

< ;!-- Selector {Declaration}

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

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

<!-- Gruppierung von Selektoren-->

b,h1,h2{color:blue;}

</style>

</head> ;

< ;body style="background:pink;">

<p>php Chinesische Website</p>

<b>php ist die beste Sprache</b> ;

<h1>php ist die beste Sprache</h1>

<h2>php ist die beste Sprache</h2>

</body>

</html>


碧玉刀碧玉刀2425 Tage vor1639

Antworte allen(2)Ich werde antworten

  • 亚连

    亚连2018-06-13 09:37:08

    你运行尝试一下,不就知道能不能成功吗,从代码上看是没问题的

    Antwort
    0
  • 碧玉刀

    就是运行不成功才问的嘛

    碧玉刀 · 2018-06-13 19:10:41
  • StornierenAntwort