Last Updated: 21-Nov-2021


CSS Syntax


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>
<p>እዚኣ ፓራግራፍ ኢያ።</p>

</body>
</html>

CSS Syntax


body{
	background-color: lightgreen;
	color: red;
	text-decoration: underline; 
}
p{
	color: blue;	
}
.header{
	background-color: green;
	color: red;
	font-weight: bold;
}
/*
body  Selector ኢዩ፡
background-color ከኣ property ኢዩ።
lightgreen ከኣ value ኢዩ።
*/

/*
p  Selector ኢዩ፡
color ከኣ property ኢዩ።
blue ከኣ value ኢዩ።
*/

The Result of the above Code is:

CSS Syntax

In Tigrinya Language (ብትግርኛ)



Share this page           

We've Recommended Articles for you