Description
Create a History page from the website template.
Open template.html in Notepad to edit.
Type the restaurant name and the text “History” in the title tag.
Add a level 1 (h1) heading inside the header of the page. Include logical heading text for the History page.
Between
tags, add navigation links to your navigation code for the History and Menu pages:
Save the page as history.html.
Close history.html
Create a Menu page from the website template.
Open template.html in Notepad to edit.
Type the restaurant name and the text “Menu” in the title tag.
Add a level 1 (h1) heading inside the header of the page. Include logical heading text for the Menu page.
Between
tags, add navigation links to your navigation code for the History and Menu pages:
Save the page as menu.html
Close menu.html
Create an external Cascading Style Sheet (CSS) document named styles.css. This code will apply to the Web page elements, adding specific styling and design to the page content.
Open a new blank document in Notepad
Format the element coded into your HTML pages using CSS. The selector identifies the element that will be formatted, such as body, header, main.
Notice there is an ID named #container. This is standard practice for creating an invisible “box” around the entire page content. This helps develop fluid pages for mobile devices and gives a parent element to hold all page elements. It could be named anything, but container is standard.
Type the code below into the page, exactly as shown:
@charset “utf-8”;
body {
background-color: #9b30ff;
font-family: Arial, Tahoma, sans-serif;
color: #000000;
}
h1 {
color: #ffffff;
}
header {
background-color: #000000;
color: #ffffff;
text-align: center;
padding: 5px;
width: 80%;
margin-left: 10%;
}
#container {
width: 100%;
}
Save.
The next section of CSS formats the main content area and the footer. The footer must include the clear: both; style rule so it is placed below all other content on the page.
Type the code below into the page, after the last } bracket:
main {
width: 80%;
background-color: #ffffff;
float: left;
padding: 5px;
margin-left: 10%;
}
footer {
clear: both;
background-color: #000000;
color: #ffffff;
text-align: center;
margin-left: 10%;
padding: 5px;
font-size: 12pt;
width: 80%;
}
Save as styles.css. Don’t forget to select All Files from the drop menu when you save.
Link your external CSS document to your Web pages.
Open history.html in Notepad to edit
Type the link tag exactly as shown between and
Save and close.
Open menu.html in Notepad to edit.
Save and close.
Edit CSS to apply formatting to navigation links within a Web page.
Type the following CSS code into styles.css. This code will format your navigation links, rendering the list and links into a decorative and functional navigation bar.
nav {
color: #000000;
padding: 5px;
width: 80%;
margin-left: 10%;
font-weight: bold;
}
nav ul {
list-style: none;
}
nav ul li {
float: left;
padding: 5px;
}
nav ul li a:link, nav ul li a:visited {
display: block;
width: 150px;
margin-right: 4px;
color: #000000;
padding: 2px 4px 2px 4px;
background-color: #ffffff;
text-decoration: none;
}
nav ul li a:hover {
color: #ffffff;
background-color: #9b30ff;
}
Save and close.
Upload history.html, menu.html, and styles.css to the server.Savy’s Bar and Grill – About US
About Savy’s Bar and Grill
We welcome you to sit back, unwind, catch a vibe and appreciate the lovely sights and hints of our southern style. Our best gourmet experts will set you up for a scrumptious dinner utilizing the best and freshest ingredients.
The company name’s legacy comes from my late mom who started Savy’s Bar and Grill opened in 2015. Named after her daughter Savannah, who is now the current CEO of Savy’s Bar and Grill.
Our mission is to provide a high vibrational, classy, adult night club with the best southern food in town! Different events for each day, you never know who you will meet. We cater some of the hottest celebreties so come catch a vibe!
Family owned and operated since 2015.
Serves the BEST southern food in town.
Dedicated to bringing the best entertainment.
Purchase answer to see full
attachment