Website Making
Website Making
Website Making
DOCTYPE html>
<html>
<body>
<button type="button"
onclick="document.getElementById('demo').innerHTML = Date()">
<p id="demo"></p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
#myHeader {
background-color: lightblue;
color: black;
padding: 40px;
text-align: center;
.city {
background-color: tomato;
color: white;
padding: 10px;
</style>
</head>
<body>
<p>An HTML page can only have one unique id applied to one specific element, while a class name can
be applied to multiple elements.</p>
<h2 class="city">London</h2>
<h2 class="city">Tokyo</h2>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h2>HTML Image</h2>
</body>
</html>
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<body>
</nav>
<section>
style="width:100%">
style="width:100%">
style="width:100%">
</section>
<p class="w3-justify">We have created a fictional band website. Lorem ipsum dolor sit amet,
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.</p>
</section>
<article class="w3-third">
<p>John</p>
</article>
<article class="w3-third">
<p>Paul</p>
</article>
<article class="w3-third">
<p>Ringo</p>
</article>
</section>
<p class="w3-medium">
</p>
</footer>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
x[i].style.display = "none";
myIndex++;
x[myIndex-1].style.display = "block";
setTimeout(carousel, 3000);
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
</nav>
<section>
style="width:100%">
style="width:100%">
style="width:100%">
</section>
<p class="w3-justify">We have created a fictional band website. Lorem ipsum dolor sit amet,
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.</p>
</section>
<article class="w3-third">
<p>John</p>
</article>
<article class="w3-third">
<p>Paul</p>
</article>
<article class="w3-third">
<p>Ringo</p>
</article>
</section>
<p class="w3-medium">
</p>
</footer>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
x[i].style.display = "none";
myIndex++;
x[myIndex-1].style.display = "block";
setTimeout(carousel, 3000);
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<style>
body {margin:0;}
.icon-bar {
width: 100%;
background-color: #555;
overflow: auto;
}
.icon-bar a {
float: left;
width: 20%;
text-align: center;
padding: 12px 0;
color: white;
font-size: 36px;
.icon-bar a:hover {
background-color: #000;
.active {
</style>
<body>
<div class="icon-bar">
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
div {
width: 35px;
height: 5px;
background-color: black;
margin: 6px 0;
</style>
</head>
<body>
<div></div>
<div></div>
<div></div>
</body>
</html>