7 631
Obunachilar
+1024 soatlar
+57 kun
-430 kun
Postlar arxiv
7 631
<html>
<head>
<title>CSS Example2</title>
<style type="text/css">
#main
{
border: 5px double blue;
border-radius: 20px;
margin: 20px;
padding: 20px;
text-align: center;
width: 50%;
height: 100%;
outline: 10px solid red;
/* this is comment */
}
a:link
{
background-color: lightpink;
width: 50px;
}
a:hover
{
background-color: black;
color: yellow;
}
a:active
{
background-color: blue;
color: white;
}
a:visited
{
color: green;
}
</style>
</head>
<body>
<div id="main">
<h1 id="header1">This is First Heading</h1>
<h1 class="header2">This is Second Heading</h1>
<h2 class="header2">This is Heading Level2</h2> <!-- this is heading 2 with header2 stylesheet -->
<p class="header2">This is First Para</p>
<h1 style="border:5px solid red; border-radius: 20px; letter-spacing: 5; word-spacing: 10; text-shadow: 2px 2px red; ">This is Heading </h1>
<h3><a href="https://www.google.com"> Go To </a></h3>
</div>
</body>
</html>
22 Iyul 2023, 06:14

