Professional Documents
Culture Documents
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
background-color:green;
/*
p{
color:blue;
font-weight:bold;
*/
</style>
</head>
<body>
</div>
<!---
and
-->
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
</style>
</head>
<body>
<p>
This is normal Text <br>
<small>Small Text</small><br>
<del>Removed or Deleted</del><br>
H<sub>2</sub>O
</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
a:link {
a:visited {
a:hover {
</style>
</head>
<body>
<p>create paragraph</p>
<br><br>
<p>next line</p>
<br><br>
<p>create paragraph</p>
<br><br>
<p>next line</p>
<br><br>
<p>create paragraph</p>
<br><br>
<p>next line</p>
<br><br>
<p>create paragraph</p>
<br><br>
<p>next line</p>
<br><br>
<p>create paragraph</p>
<br><br>
<p>next line</p>
<br><br>
<p>create paragraph</p>
<br><br>
<p>next line</p>
<br><br>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
.scroll {
width:500px;
height:200px;
background-color:gray;
}
.top {
width:120px;
height:400px;
background-color:yellow;
position:fixed;
top:25px;
right:50px;
text-align:center;
.relative {
position:relative;
left:100px;
top:5px;
.absolute {
position:absolute;
left:300px;
top:50px;
.overlap {
position:absolute;
left:600px;
top:250px;
width:200px;
height:200px;
background-color:blue;
z-index:3;
.overlap1 {
position:absolute;
left:700px;
top:350px;
width:200px;
height:200px;
background-color:red;
z-index:1;
.overlap2 {
position:absolute;
left:550px;
top:270px;
width:200px;
height:200px;
background-color:green;
z-index:4;
.overlap3 {
position:absolute;
left:650px;
top:180px;
width:200px;
height:200px;
background-color:pink;
z-index:2;
</style>
</head>
<body>
<div class="scroll">
</div>
<div class="scroll">
</div>
<div class="scroll">
</div>
<div class="scroll">
</div>
<div class="scroll">
<p> Div 5 Aligned without position</p>
</div>
<div class="overlap">
<p>Overlap this</p>
</div>
<div class="overlap1">
<p>Overlap this</p>
</div>
<div class="overlap2">
<p>Overlap this</p>
</div>
<div class="overlap3">
<p>Overlap this</p>
</div>
<div class="top">
</div>
</body>
</html>
Lecture – 35 CSS Display
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
.hide {
visibility:hidden;
.display {
display:none;
li {
display:inline;
span {
display:block;
</style>
</head>
<body>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>WebSite</li>
</ul>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
margin:200px;
#main {
margin:0;
display:inline;
#main li {
display:inline-block;
margin:0;
padding:15px 20px;
background-color:#fefefe;
cursor:pointer;
margin-right:-5px;
position:relative;
#main li:hover {
background-color:red;
color:#fff;
}
#dropdown {
position:absolute;
top:48px;
left:0;
z-index:2;
padding:0;
opacity:0;
visibility:hidden;
#dropdown li {
color:black;
width:125px;
opacity:1;
visibility:visible;
</style>
</head>
<body>
<ul id="main">
<li>Home</li>
<li>
Web Development
<ul id="dropdown">
<li>Web Design</li>
<li>Web Development</li>
<li>Illustrations</li>
</ul>
</li>
<li>Corporate</li>
<li>Ecommerce</li>
<li>News
<ul id="dropdown">
<li>Latest News</li>
<li>Political</li>
<li>Sports</li>
</ul>
</li>
<li>Contact</li>
</ul>
</body>
</html>
Lecture -37 HTML – Javascript
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
</style>
</head>
<body>
<li><span id="time">Time</span></li>
</body>
<script type="text/javascript">
document.getElementById("time").innerHTML=today;
</script>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>html5/css3 for beginners to front end developers</title>
<style>
</style>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
#fade {
width:200px;
height:200px;
background:green;
animation:animate 15s;
@-webkit-keyframes animate {
from {background:green;}
to {background:blue;}
/* standard syntax */
@keyframes animate {
from {background:green;}
to {background:blue;}
@-webkit-keyframes rotate {
from {
-webkit-transform:rotate(0deg)
to {
-webkit-transform:rotate(360deg)
#rotate img {
margin-top:100px;
-webkit-animation-name:rotate;
-webkit-animation-duration:5s;
-webkit-animation-iteration-count:infinite;
-webkit-transition-timing-function:linear;
}
#rotateX {
width:200px;
height:200px;
background-color:green;
-ms-transform:rotate(25deg); /* IE9 */
-webkit-transform:rotate(25deg); /* safari */
#skew {
width:200px;
height:200px;
background-color:green;
margin-top:50px;
margin-left:150px;
-ms-transform:skewx(25deg); /* IE9 */
-webkit-transform:skewx(25deg); /* safari */
#scale {
width:200px;
height:200px;
background-color:green;
margin-top:50px;
margin-left:150px;
-ms-transform:scale(1.5,1.5); /* IE9 */
-webkit-transform:scale(1.5,1.5); /* safari */
.banner {
width:1000px;
height:300px;
background:green;
position:relative;
-webkit-animation-name:banner;
-webkit-animation-duration:25s;
-webkit-animation-timing-function:linear;
-webkit-animation-delay:2s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:alternate;
-webkit-animation-play-state:running;
/* standard syntax*/
animation-name:banner;
animation-duration:25s;
animation-timing-function:linear;
animation-delay:2s;
animation-iteration-count:infinite;
animation-direction:alternate;
animation-play-state:running;
@-webkit-keyframes banner {
/* standard syntax */
@keyframes banner {
0% {background-image:url("images/mobileapp.jpg"); left:0px; top:0px;}
</style>
</head>
<body>
</body>
</html>