Write A program For Use Of Border Property.
Code : border.html
<html>
<head>
<title>border property</title>
<style type ="text/css">
.text
{
text-agline:center;
color:rgb(100,150,200);
font-size:60px;
border-style:double solid dashed dotted;
border-top-color:red;
border-bottom-color:blue;
border-right-color:#aa55ff;
border-left-color:#aa22ff;
}
.border1
{
color:rgb(90%,10%,11%);
border-style:dotted;
border-color:#dd11bb;
}
.border2
{ color:rgb(15%,90%,125%,);
border-style:ridge;
border-color:red;
}
#border3
{
color:rgb(150,25,100);
border-style:insert;
border-color:#aaff11;
}
#border4
{
color:rgb(40%,70%,50%);
border-style:groove;
border-color:#ff0000#00ff00#0000ffyellow;
}
</style>
</head>
<body>
<p class ="text">OSI refernce model
</p>
<h1 class ="border">1)physical layer</h1>
<h1 class ="border2">2)data link layer</h1>
<h1 id ="border3">3)network layer </h1>
<h1 class ="border1">4)transport layer</h1>
<h1 class ="border2">5)session layer</h1>
<h1 id ="border2">6)presentation layer</h1>
<h1 id ="border4">7)application layer</h1>
</body>
</html>
No comments:
Post a Comment