Professional Documents
Culture Documents
<!DOCTYPE html>
<html lang="en">
<head>
<title>Mock Business Website</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
*{
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Trebuchet MS', sans-serif;
background-color:#F0F8FF;
}
/* Style the header */
.header {
background-color: #000000;
padding: 20px;
text-align: center;
background-image:url('Board.jpg');
background-position:center;
background-repeat:no-repeat;
background-attachment:fixed;
}
/* Style the Web Development Restaurant header image */
img {
width: 350px;
opacity: 100%;
}
/* Style the top navigation bar */
ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
/* Top navigation bar aligned left */
ul.topnav li {float: left;}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Menu</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
*{
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Trebuchet MS', sans-serif;
background-color:#C0C0C0;
}
/* Style the header */
.header {
background-color: #000000;
padding: 20px;
text-align: center;
background-image:url('Board.jpg');
background-position:center;
background-repeat:no-repeat;
background-attachment:fixed;
}
/* Style the Web Development Restaurant header image */
img {
width: 350px;
opacity: 100%;
}
/* Style the top navigation bar */
ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
/* Top navigation bar aligned left */
ul.topnav li {float: left;}
li {
list-style-type: none;
}
<h3>Main Dish</h3>
<p>
<ul>
<li>Beef Kare Kare</li>
<li>Crispy Pata</li>
<li>Pork Sisig</li>
<li>Pork Adobo</li>
<li>Bicol Express</li>
</ul>
</p>
<h3>Appetizers</h3>
<p>
<ul>
<li>Halo-Halo</li>
<li>Leche Flan</li>
<li>Turon</li>
</ul>
</p>
</section>
<div class="footer">
<p>© 2021 Web Development 2 Finals - YourFullName Here</p>
</div>
</body>
</html>
Code for Gallery.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gallery</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
*{
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Trebuchet MS', sans-serif;
background-color:#F0F8FF;
}
/* Style the header */
.header {
background-color: #000000;
padding: 20px;
text-align: center;
background-image:url('Board.jpg');
background-position:center;
background-repeat:no-repeat;
background-attachment:fixed;
}
/* Style the Web Development Restaurant header image */
img {
width: 350px;
opacity: 100%;
}
/* Style the top navigation bar */
ul.topnav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
/* Top navigation bar aligned left */
ul.topnav li {float: left;}
div.gallery {
margin: auto;
border: 5px solid #ccc;
width: 350px;
}
div.gallery:hover {
border: 1px solid #777;
}
div.gallery img {
width: 100%;
height: auto;
}
div.desc {
padding: 15px;
text-align: center;
}
/* This part is where the Styling the Image Gallery Section ends*/
</style>
</head>
<body>
<div class="header">
<img src="Restaurant.png">
</div>
<ul class="topnav">
<li><a href="index.html">HOME</a></li>
<li><a href="Menu.html">MENU</a></li>
<li><a class="active" href="#">GALLERY</a></li>
</ul>
<section class="section section-gallery">
<div class="gallery">
<a target="_blank" href="Picture1.jpg">
<img src="Picture1.jpg" alt="Beef Kare-Kare" width="600" height="400">
</a>
<div class="desc">Beef Kare-Kare</div>
</div>
<div class="gallery">
<a target="_blank" href="Picture2.jpg">
<img src="Picture2.jpg" alt="Pork Sisig" width="600" height="400">
</a>
<div class="desc">Pork Sisig</div>
</div>
<div class="gallery">
<a target="_blank" href="Picture3.jpg">
<img src="Picture3.jpg" alt="Crispy Pata" width="600" height="400">
</a>
<div class="desc">Crispy Pata</div>
</div>
<div class="gallery">
<a target="_blank" href="Picture4.jpg">
<img src="Picture4.jpg" alt="Halo-Halo" width="600" height="400">
</a>
<div class="desc">Halo-Halo</div>
</div>
</section>
<div class="footer">
<p>© 2021 Web Development 2 Finals - YourFullName Here</p>
</div>
</body>
</html>