Thursday, 19 June 2014

Lecture # 06

Following Topics were covered in Sixth Lecture:
  • CSS on link

Example:

<!DOCTYPE html>
<html>
<head>
<title> Learning CSS 3 </title>
<style>

a:link
{
color:purple;
}

a:visited
{
color:green;
}

a:hover
{
color:red
}

h1, h2
{
color:red;
text-align:center;
}
p
{
font-family:elephant;
color:green;
font-size:50px;
}
</style>
</head>
<body>
<h1 > This is Heading 1 </h1>
<h2> This is Heading 2 </h2>
<p> This is a paragraph </p>
<a href="https://www.google.com.pk/"> This is a link </a> </br>
<a href="http://www.aptech.com"> This is a link </a>

</body>
</html>

No comments:

Post a Comment