0% found this document useful (0 votes)
5 views

Class Example for CSS

best fir Css

Uploaded by

nurulhasan1947
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Class Example for CSS

best fir Css

Uploaded by

nurulhasan1947
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Class Example for CSS

Coding

<DOCTYPE html>
<html>
<head>
<title> CSS </title>
<!-- <style>
h1 {
color:red;
background-color:black;
}
Method - 2

p{
background-color:yellow;
}

button {
color:blue;
background-color:gold;
Method - 3
}
</style> -->

<link rel="stylesheet" href="style.css">


</head>

<body>
<!--
<h1 style="color:red"> Shreyansh Institute </h1>
<h1 style="color:red"> Computer Centre </h1> Method - 1
<h1 style="color:red"> Banda Road Naraini </h1>
<p style="color:olive"> This is paragraph 1 </p>
<button style="color:blue; background-color:gold"> Button 1 </button> -->
<h1> Shreyansh Institute </h1>
<h1> Computer Centre </h1>
<h1> Banda Road Naraini </h1>
<p> This is paragraph 1 </p>
<button> Button 1 </button>

<hr>

<h1> Computer Course </h1>


<p> This is paragraph 2 </p>
<p> This is paragraph 3 </p>
<button> Button 2 </button>

<marquee> Computer </marquee>


</body>
</html>

You might also like