A Pen by FeliciaAKelley on CodePen.
Created
March 10, 2024 05:36
-
-
Save FeliciaAnnKelleyTaylorGV/e2429e780ec59ace6cb1a93c3f2846aa to your computer and use it in GitHub Desktop.
TaylorKelley
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#div1 { | |
position: relative; | |
margin: auto; | |
height: 150px; | |
width: 250px; | |
padding: 10px; | |
border: 1px solid black; | |
animation: mymove 5s infinite; | |
perspective: 200px; | |
} | |
@keyframes mymove { | |
50% { | |
perspective: 100px; | |
} | |
} | |
#div2 { | |
padding: 50px; | |
position: absolute; | |
border: 1px solid black; | |
background-color: red; | |
transform: rotateX(45deg); | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Projects::</h1> | |
<div id="div1">DIV1 | |
<div id="div2">ABCDEFGHIJKLMNOPQRSTRUVWXYZ.0123456789.</div> | |
</div> | |
</body> | |
</html> | |
<DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
height: 100px; | |
background-color: coral; | |
color: white; | |
animation: mymove 5s infinite; | |
} | |
@keyframes mymove { | |
50% { | |
height: 500px; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Animation of height</h1> | |
<p>Gradually change the height of the DIV element from 100px to 500px, and back to 100px: | |
<p> | |
<div id="myDIV"> | |
<h1>My DIV</h1> | |
</div> | |
<p><b>Note:</b> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p> | |
</body> | |
</html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
width: 300px; | |
height: 200px; | |
border: 1px solid black; | |
animation: mymove 5s infinite; | |
} | |
@keyframes mymove { | |
50% { | |
border-left: 15px solid lightblue; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Animation of border-left</h1> | |
<p>Gradually change the border-left property: | |
<p> | |
<div id="myDIV"></div> | |
<p>The border-left is a shorthand property for all border-left properties.</p> | |
<p>See individual border-left properties to see which is <em>animatable</em>.</p> | |
</body> | |
</html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
background-color: lightblue; | |
border: 1px solid black; | |
animation: mymove 5s infinite; | |
} | |
@keyframes mymove { | |
50% { | |
padding-top: 50px; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Animation of padding-top</h1> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#div1 { | |
position: relative; | |
margin: auto; | |
height: 150px; | |
width: 250px; | |
padding: 10px; | |
border: 1px solid black; | |
animation: mymove 5s infinite; | |
perspective: 200px; | |
} | |
@keyframes mymove { | |
50% { | |
perspective: 100px; | |
} | |
} | |
#div2 { | |
padding: 50px; | |
position: absolute; | |
border: 1px solid black; | |
background-color: red; | |
transform: rotateX(45deg); | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Github</h1> | |
<div id="div1">Spoon.Knife | |
<div id="div2">Salt, Paypal payflow, the Dash Core using RheL from Redhat Masternode. Dash, Atlassian Jira Node </div> | |
</div> | |
</body> | |
</html> | |
<div id="myDIV"> | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat... | |
</div> | |
</body<div id="div2">Salt, Paypal payflow, the Dash Core using RheL from Redhat Masternode. Dash, Atlassian Jira Node </div> | |
</div> | |
</body> | |
</html> | |
<div id="myDIV"> | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat... | |
</div> | |
</body> | |
</html> | |
> | |
</html> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(onClick) { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn( | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
) with different parameters. | |
</p> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
var div = $("div"); | |
div.animate({ | |
height: '300px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '300px', | |
opacity: '0.8' | |
}, "slow"); | |
div.animate({ | |
height: '100px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '100px', | |
opacity: '0.8' | |
}, "slow"); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<button>Start Animation</button> | |
<p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p> | |
<div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div> | |
</body> | |
</html> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<script type="text/javascript"> | |
function drawShape( < !DOCTYPE html > < !DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" > | |
</script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
$("button").click(function(){ | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
){ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
// get the canvas element using the DOM | |
$("button").click(function(){ | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<script type="text/javascript"> | |
function drawShape() { | |
// get the canvas element using the DOM | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i = 0; i < 7; i++) { | |
for (var j = 0; j < 7; j++) { | |
ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)'; | |
ctx.fillRect(j * 25, i * 25, 55, 55); | |
} | |
} | |
} | |
</script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>MS.AKA fk = og </title> | |
</head> | |
<body> | |
<!-- <area> Tag with rectangle shape | |
The HTML <area> tag is used for defining an area in an image map.--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<table cellpadding="20" border="1"> | |
<tr> | |
<th>Felicia Ann Kelley, 32</th> | |
<th>+1(619)227-7868</th> | |
</tr> | |
<tr> | |
<td>San Diego,CA</td> | |
<td></td> | |
</tr> | |
</table> | |
</body> | |
</html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
width: 100px; | |
height: 100px; | |
background: red; | |
position: relative; | |
animation: mymove 1s infinite; | |
} | |
@keyframes mymove { | |
from { | |
left: 0px; | |
} | |
to { | |
left: 200px; | |
} | |
} | |
@keyframes mynewmove { | |
from { | |
top: 0px; | |
} | |
to { | |
top: 200px; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<p>Click the "Try it" button to change the value of the animation property.</p> | |
<button onclick="myFunction()">Try it</button> | |
<script> | |
function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone) | |
-- > | |
< | |
!DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
title > HTML input type date < /title> < / | |
head > < | |
body > | |
< | |
form > | |
Birthday(date and time): < input type = "datetime-local" | |
name = "bdaytime" > - | |
< | |
/form> < / | |
body > < | |
/html>) { | |
document.getElementById("myDIV").style.animation = "mynewmove 4s 2"; | |
} | |
</script> | |
<div id="myDIV"></div> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<head> | |
<title> HTML input type date </title> | |
</head> | |
<body> | |
<form> | |
Birthday (date and time): <input type="datetime-local" name="bdaytime">- | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a file-select field and a "Browse..." button (for file uploads) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
</title> | |
</head> | |
<body> | |
<form> | |
Select a file: <input type="file" name="reference"> <br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a control for entering a number whose exact value is not important (like a slider control) | |
--> | |
<!-- <dialog> Tag | |
The HTML <dialog> element represents a dialog box or other interactive component, such as an window. | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML dialog Tag</title> | |
</head> | |
<body> | |
<!-- Simple pop-up dialog box, containing a form --> | |
<dialog id="dialog"> | |
<form method="dialog"> | |
<h3> Hello</h3> | |
<menu> | |
<button id="close" type="reset">Close</button> | |
</menu> | |
</form> | |
</dialog> | |
<menu> | |
<button id="click">Click Me</button> | |
</menu> | |
<script> | |
(function() { | |
var clickButton = document.getElementById('click'); | |
var closeButton = document.getElementById('close'); | |
var Dialog = document.getElementById('dialog'); | |
// Update button opens a modal dialog | |
clickButton.addEventListener('click', function() { | |
Dialog.showModal(); | |
}); | |
// Form close button closes the dialog box | |
closeButton.addEventListener('click', function() { | |
Dialog.close(); | |
}); | |
})(); | |
</script> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(onClick) { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn( | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
) with different parameters. | |
</p> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
var div = $("div"); | |
div.animate({ | |
height: '300px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '300px', | |
opacity: '0.8' | |
}, "slow"); | |
div.animate({ | |
height: '100px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '100px', | |
opacity: '0.8' | |
}, "slow"); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<button>Start Animation</button> | |
<p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p> | |
<div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div> | |
</body> | |
</html> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<script type="text/javascript"> | |
function drawShape( < !DOCTYPE html > < !DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" > | |
</script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
$("button").click(function(){ | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
){ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
// get the canvas element using the DOM | |
$("button").click(function(){ | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<script type="text/javascript"> | |
function drawShape() { | |
// get the canvas element using the DOM | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i = 0; i < 7; i++) { | |
for (var j = 0; j < 7; j++) { | |
ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)'; | |
ctx.fillRect(j * 25, i * 25, 55, 55); | |
} | |
} | |
} | |
</script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>MS.AKA fk = og </title> | |
</head> | |
<body> | |
<!-- <area> Tag with rectangle shape | |
The HTML <area> tag is used for defining an area in an image map.--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<table cellpadding="20" border="1"> | |
<tr> | |
<th>Felicia Ann Kelley, 32</th> | |
<th>+1(619)227-7868</th> | |
</tr> | |
<tr> | |
<td>San Diego,CA</td> | |
<td></td> | |
</tr> | |
</table> | |
</body> | |
</html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
width: 100px; | |
height: 100px; | |
background: red; | |
position: relative; | |
animation: mymove 1s infinite; | |
} | |
@keyframes mymove { | |
from { | |
left: 0px; | |
} | |
to { | |
left: 200px; | |
} | |
} | |
@keyframes mynewmove { | |
from { | |
top: 0px; | |
} | |
to { | |
top: 200px; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<p>Click the "Try it" button to change the value of the animation property.</p> | |
<button onclick="myFunction()">Try it</button> | |
<script> | |
function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone) | |
-- > | |
< | |
!DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
title > HTML input type date < /title> < / | |
head > < | |
body > | |
< | |
form > | |
Birthday(date and time): < input type = "datetime-local" | |
name = "bdaytime" > - | |
< | |
/form> < / | |
body > < | |
/html>) { | |
document.getElementById("myDIV").style.animation = "mynewmove 4s 2"; | |
} | |
</script> | |
<div id="myDIV"></div> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<head> | |
<title> HTML input type date </title> | |
</head> | |
<body> | |
<form> | |
Birthday (date and time): <input type="datetime-local" name="bdaytime">- | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a file-select field and a "Browse..." button (for file uploads) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
</title> | |
</head> | |
<body> | |
<form> | |
Select a file: <input type="file" name="reference"> <br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a control for entering a number whose exact value is not important (like a slider control) | |
--> | |
<!-- <dialog> Tag | |
The HTML <dialog> element represents a dialog box or other interactive component, such as an window. | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML dialog Tag</title> | |
</head> | |
<body> | |
<!-- Simple pop-up dialog box, containing a form --> | |
<dialog id="dialog"> | |
<form method="dialog"> | |
<h3> Hello</h3> | |
<menu> | |
<button id="close" type="reset">Close</button> | |
</menu> | |
</form> | |
</dialog> | |
<menu> | |
<button id="click">Click Me</button> | |
</menu> | |
<script> | |
(function() { | |
var clickButton = document.getElementById('click'); | |
var closeButton = document.getElementById('close'); | |
var Dialog = document.getElementById('dialog'); | |
// Update button opens a modal dialog | |
clickButton.addEventListener('click', function() { | |
Dialog.showModal(); | |
}); | |
// Form close button closes the dialog box | |
closeButton.addEventListener('click', function() { | |
Dialog.close( < !DOCTYPE HTML > | |
< | |
html > | |
< | |
head > | |
< | |
!DOCTYPE html > | |
< | |
html > < !DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" > | |
</script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(onClick) { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn( | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
) with different parameters. | |
</p> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
var div = $("div"); | |
div.animate({ | |
height: '300px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '300px', | |
opacity: '0.8' | |
}, "slow"); | |
div.animate({ | |
height: '100px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '100px', | |
opacity: '0.8' | |
}, "slow"); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<button>Start Animation</button> | |
<p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p> | |
<div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div> | |
</body> | |
</html> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<script type="text/javascript"> | |
function drawShape( < !DOCTYPE html > < !DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" > | |
</script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
$("button").click(function(){ | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
){ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
// get the canvas element using the DOM | |
$("button").click(function(){ | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<script type="text/javascript"> | |
function drawShape() { | |
// get the canvas element using the DOM | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i = 0; i < 7; i++) { | |
for (var j = 0; j < 7; j++) { | |
ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)'; | |
ctx.fillRect(j * 25, i * 25, 55, 55); | |
} | |
} | |
} | |
</script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>MS.AKA fk = og </title> | |
</head> | |
<body> | |
<!-- <area> Tag with rectangle shape | |
The HTML <area> tag is used for defining an area in an image map.--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<table cellpadding="20" border="1"> | |
<tr> | |
<th>Felicia Ann Kelley, 32</th> | |
<th>+1(619)227-7868</th> | |
</tr> | |
<tr> | |
<td>San Diego,CA</td> | |
<td></td> | |
</tr> | |
</table> | |
</body> | |
</html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
width: 100px; | |
height: 100px; | |
background: red; | |
position: relative; | |
animation: mymove 1s infinite; | |
} | |
@keyframes mymove { | |
from { | |
left: 0px; | |
} | |
to { | |
left: 200px; | |
} | |
} | |
@keyframes mynewmove { | |
from { | |
top: 0px; | |
} | |
to { | |
top: 200px; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<p>Click the "Try it" button to change the value of the animation property.</p> | |
<button onclick="myFunction()">Try it</button> | |
<script> | |
function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone) | |
-- > | |
< | |
!DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
title > HTML input type date < /title> < / | |
head > < | |
body > | |
< | |
form > | |
Birthday(date and time): < input type = "datetime-local" | |
name = "bdaytime" > - | |
< | |
/form> < / | |
body > < | |
/html>) { | |
document.getElementById("myDIV").style.animation = "mynewmove 4s 2"; | |
} | |
</script> | |
<div id="myDIV"></div> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<head> | |
<title> HTML input type date </title> | |
</head> | |
<body> | |
<form> | |
Birthday (date and time): <input type="datetime-local" name="bdaytime">- | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a file-select field and a "Browse..." button (for file uploads) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
</title> | |
</head> | |
<body> | |
<form> | |
Select a file: <input type="file" name="reference"> <br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a control for entering a number whose exact value is not important (like a slider control) | |
--> | |
<!-- <dialog> Tag | |
The HTML <dialog> element represents a dialog box or other interactive component, such as an window. | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML dialog Tag</title> | |
</head> | |
<body> | |
<!-- Simple pop-up dialog box, containing a form --> | |
<dialog id="dialog"> | |
<form method="dialog"> | |
<h3> Hello</h3> | |
<menu> | |
<button id="close" type="reset">Close</button> | |
</menu> | |
</form> | |
</dialog> | |
<menu> | |
<button id="click">Click Me</button> | |
</menu> | |
<script> | |
(function() { | |
var clickButton = document.getElementById('click'); | |
var closeButton = document.getElementById('close'); | |
var Dialog = document.getElementById('dialog'); | |
// Update button opens a modal dialog | |
clickButton.addEventListener('click', function() { | |
Dialog.showModal(); | |
}); | |
// Form close button closes the dialog box | |
closeButton.addEventListener('click', function() { | |
Dialog.close(); | |
}); | |
})(); | |
</script> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> HTML input type range</title> | |
</head> | |
<body> | |
<form> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(onClick) { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn( | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
) with different parameters. | |
</p> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
var div = $("div"); | |
div.animate({ | |
height: '300px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '300px', | |
opacity: '0.8' | |
}, "slow"); | |
div.animate({ | |
height: '100px', | |
opacity: '0.4' | |
}, "slow"); | |
div.animate({ | |
width: '100px', | |
opacity: '0.8' | |
}, "slow"); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<button>Start Animation</button> | |
<p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p> | |
<div style="background:#98bf21;height:100px;width:100px;position:absolute;"></div> | |
</body> | |
</html> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
</body> | |
</html> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<script type="text/javascript"> | |
function drawShape( < !DOCTYPE html > < !DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" > | |
</script> | |
<script> | |
$(document).ready(function() { | |
$("#flip").click(function() { | |
$("#panel").slideDown("slow"); | |
}); | |
}); | |
</script> | |
<style> | |
#panel, | |
#flip { | |
padding: 5px; | |
text-align: center; | |
background-color: #e5eecc; | |
border: solid 1px #c3c3c3; | |
} | |
#panel { | |
padding: 50px; | |
display: none; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="flip">Click to slide down panel</div> | |
<div id="panel">Hello world!</div> | |
$("button").click(function(){ | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
){ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("button").click(function() { | |
$("#div1").fadeIn(); | |
$("#div2").fadeIn("slow"); | |
$("#div3").fadeIn(3000); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Demonstrate fadeIn() with different parameters.</p> | |
<button>Click to fade in boxes</button><br><br> | |
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br> | |
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br> | |
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div> | |
</body> | |
</html> | |
// get the canvas element using the DOM | |
$("button").click(function(){ | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i=0;i<7;i++) { for (var j=0;j<7;j++) { ctx.fillStyle='rgb(' + Math.floor(255-20.5*i)+ ',' + Math.floor(255 - 42.5*j) + ',255)' ; ctx.fillRect( j*25, i* 25, 55, 55 ); } } } </script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
#test { | |
width: 100px; | |
height: 100px; | |
margin: 0px auto; | |
} | |
</style> | |
<script type="text/javascript"> | |
function drawShape() { | |
// get the canvas element using the DOM | |
var canvas = document.getElementById('mycanvas'); | |
// use getContext to use the canvas for drawing | |
var ctx = canvas.getContext('2d'); | |
// Create a pattern | |
for (var i = 0; i < 7; i++) { | |
for (var j = 0; j < 7; j++) { | |
ctx.fillStyle = 'rgb(' + Math.floor(255 - 20.5 * i) + ',' + Math.floor(255 - 42.5 * j) + ',255)'; | |
ctx.fillRect(j * 25, i * 25, 55, 55); | |
} | |
} | |
} | |
</script> | |
</head> | |
<body id="test" onload="drawShape();"> | |
</br></br> | |
<canvas id="mycanvas"></canvas> | |
</body> | |
</html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<html> | |
<head> | |
<title>MS.AKA fk = og </title> | |
</head> | |
<body> | |
<!-- <area> Tag with rectangle shape | |
The HTML <area> tag is used for defining an area in an image map.--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML area Tag</title> | |
</head> | |
<body> | |
<img src="pic1.jpg" alt="usemap" border="0" usemap="#prghb" /> | |
<map name="prghb"> | |
<!--Coordinates of rectangle shape are x1,y1(left top point),x2,y2(right bottom point)--> | |
<area shape="rect" coords="18,39,80,100" href="http://blog.programminghub.io" alt="AreaTag" target="_self" /> | |
</map> | |
</body> | |
</html> | |
<table cellpadding="20" border="1"> | |
<tr> | |
<th>Felicia Ann Kelley, 32</th> | |
<th>+1(619)227-7868</th> | |
</tr> | |
<tr> | |
<td>San Diego,CA</td> | |
<td></td> | |
</tr> | |
</table> | |
</body> | |
</html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
width: 100px; | |
height: 100px; | |
background: red; | |
position: relative; | |
animation: mymove 1s infinite; | |
} | |
@keyframes mymove { | |
from { | |
left: 0px; | |
} | |
to { | |
left: 200px; | |
} | |
} | |
@keyframes mynewmove { | |
from { | |
top: 0px; | |
} | |
to { | |
top: 200px; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<p>Click the "Try it" button to change the value of the animation property.</p> | |
<button onclick="myFunction()">Try it</button> | |
<script> | |
function myFunction( < !-- < input > Tag Defines a date and time control(year, month, day, hour, minute, second, and fraction of a second(no time zone) | |
-- > | |
< | |
!DOCTYPE html > | |
< | |
html > | |
< | |
head > | |
< | |
title > HTML input type date < /title> < / | |
head > < | |
body > | |
< | |
form > | |
Birthday(date and time): < input type = "datetime-local" | |
name = "bdaytime" > - | |
< | |
/form> < / | |
body > < | |
/html>) { | |
document.getElementById("myDIV").style.animation = "mynewmove 4s 2"; | |
} | |
</script> | |
<div id="myDIV"></div> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
<head> | |
<title> HTML input type date </title> | |
</head> | |
<body> | |
<form> | |
Birthday (date and time): <input type="datetime-local" name="bdaytime">- | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a file-select field and a "Browse..." button (for file uploads) | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML Definition List</title> | |
</head> | |
<body> | |
<dl> | |
<dt><b>HTML</b></dt> | |
<dd>This stands for Hyper Text Markup Langu | |
age</dd> | |
<dt><b>HTTP</b></dt> | |
<dd>This stands for Hyper Text Transfer Pro | |
tocol</dd> | |
</dl> | |
</body> | |
</html> | |
</title> | |
</head> | |
<body> | |
<form> | |
Select a file: <input type="file" name="reference"> <br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> | |
<!-- <input> Tag | |
Defines a control for entering a number whose exact value is not important (like a slider control) | |
--> | |
<!-- <dialog> Tag | |
The HTML <dialog> element represents a dialog box or other interactive component, such as an window. | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML dialog Tag</title> | |
</head> | |
<body> | |
<!-- Simple pop-up dialog box, containing a form --> | |
<dialog id="dialog"> | |
<form method="dialog"> | |
<h3> Hello</h3> | |
<menu> | |
<button id="close" type="reset">Close</button> | |
</menu> | |
</form> | |
</dialog> | |
<menu> | |
<button id="click">Click Me</button> | |
</menu> | |
<script> | |
(function() { | |
var clickButton = document.getElementById('click'); | |
var closeButton = document.getElementById('close'); | |
var Dialog = document.getElementById('dialog'); | |
// Update button opens a modal dialog | |
clickButton.addEventListener('click', function() { | |
Dialog.showModal(); | |
}); | |
// Form close button closes the dialog box | |
closeButton.addEventListener('click', function() { | |
Dialog.close(); | |
https: //www.offidocs.com/loleaflet/dist/loleaflet.html?mobapp=yes&service=owncloudservice12&file_path=file:///var/runxx/uploadxx/f5792275-dcd5-4bb7-a6eb-7e80c03f0d04/1626350243144.xls }); | |
})(); | |
</script> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> HT</title> | |
</head> | |
<body> | |
<form> | |
Points: <input type="range" name="points" min="0" max="100"> <br><br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> | |
Points: <input type="range" name="points" min="0" max="100"> <br><br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html>); | |
}); | |
})(); | |
</script> | |
</body> | |
</html> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> HTML input type range</title> | |
</head> | |
<body> | |
<form> | |
Points: <input type="range" name="points" min="0" max="100"> <br><br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> | |
<head> | |
<title> HTML input type range</title> | |
</head> | |
<body> | |
<form> | |
Points: <input type="range" name="points" min="0" max="100"> <br><br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ljs from "https://cdn.skypack.dev/[email protected]"; | |
import defineProperty from "https://cdn.skypack.dev/[email protected]"; | |
import * as ar from "https://cdn.skypack.dev/[email protected]"; | |
import * as ujs from "https://cdn.skypack.dev/[email protected]"; | |
OCTYPE html> | |
<head> | |
<style> | |
#myDIV { | |
height: 100px; | |
background-color: coral; | |
color: white; | |
animation: mymove 5s infinite; | |
} | |
@keyframes mymove { | |
50% {height: 500px;} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Graphic Design of Blockchain Infrastructure</h1> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-loader/1.8.2/angular-loader.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/0.5.0/sql.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#myDIV { | |
height: 100px; | |
background-color: coral; | |
color: white; | |
animation: mymove 5s infinite; | |
} | |
@keyframes mymove { | |
50% {height: 500px;} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Animation of height</h1> | |
<p>Gradually change the height of the DIV element from 100px to 500px, and back to 100px:<p> | |
<div id="myDIV"> | |
<h1>My DIV</h1> | |
</div> | |
<p><b>Note:</b> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://clarityinfocusp2.wordpress.com/wp-admin/users.php?wp_http_referer=%2Fwp-admin%2Fusers.php%3Fpreferred-view%3Dclassic%26orderby%3Dlogin%26order%3Dasc&page=grofiles-editor" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment