Last Updated: 21-Nov-2021

CSS Comments

HTML code

<!DOCTYPE html>
    <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">
	<!-- ናይ ሎሚ ትምህርትና ብዛዕባ CSS Comments'ዩ-->
		<p class="header">እዚ ኣርእስቲ'ዩ2</p>
        <p class="para eyu">እዚኣ ፓራግራፍ ኢያ።</p>
        <p id="mefth">እዚኣ ፓራግራፍ ኢያ።</p>
        <div class="mefth">እዚኣ ፓራግራፍ ኢያ።</div>

CSS Comments Code

/* እዚኣ h2 ኢያ። */

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

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