Last Updated: 21-Nov-2021


CSS Comments


HTML code


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>CSS course</title>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
	<!-- ናይ ሎሚ ትምህርትና ብዛዕባ CSS Comments'ዩ-->
		<p class="header">እዚ ኣርእስቲ'ዩ2</p>
        <p class="para eyu">እዚኣ ፓራግራፍ ኢያ።</p>
        <p id="mefth">እዚኣ ፓራግራፍ ኢያ።</p>
        <div class="mefth">እዚኣ ፓራግራፍ ኢያ።</div>
</body>
</html>

CSS Comments Code


/* እዚኣ h2 ኢያ። */
h2{

}
/* እዚኣ ከኣ * ኢያ። */
*{
	background-color: green;
	color: red;
	font-weight: bold;
	font-size: 23px;	
}
/* እዚኣ ከኣ class name ኢያ። */
.para, .eyu{
 color: yellow;

}
/* እዚኣ ከኣ div header class ኢያ። */
div.header{
	background-color: white;
	color: green;
}
/* እዚኣ ከኣ p header class name ኢያ። */
p.header{
	background-color: white;
	color: red;
}
/* እዚኣ ከኣ p with id name ኢያ። */
#mefth{
	color: blue;
	text-align: center;
	text-decoration: underline;
}
/* እዚ ናይ ብዙሓት ኣብ ሓንቲ ኮመንት ኢዩ።*/
p,h1,h2,.mefth,.header,.para,.eyu, body{
	color: red;
}
/* እዚ ናይ ብዙሕ ኮመንት ኢዩ።
p,h1,
h2,.mefth,
.header,.para,
.eyu, body{
	color: red;
}
*/

The Result of the above Code is:

CSS Comments

In Tigrinya Language (ብትግርኛ)



Share this page           

We've Recommended Articles for you