Professional Documents
Culture Documents
Ist152 - HTML Chapter 6 and 8 (Navigations and Tables) Lab 8
Ist152 - HTML Chapter 6 and 8 (Navigations and Tables) Lab 8
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
1|Page
2
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
4. Use <ul> tag for the navigation bar and style it so that the links in the avigation are under a class
button which we will style later
2|Page
3
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
5. Create a main tag with h2 and paragraph data and another h2 and an unordered list as seen below
for the K-tech location details
6. Inside the main tag add another tag for a table shown below
Network System Maintainenance and Security
Network Design Technical
IST Department
Software Application and Programming
Web Applications and Programming
3|Page
4
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
7. Add a footer section tag with the copy right information seen below
Without any CSS styling, the html file, will look as follows:
4|Page
5
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
5|Page
6
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
Lets Add the design Style Sheet and the link to the html file:
Link in the HTML file :
6|Page
7
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
7|Page
8
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
table margin:auto;
border:5px solid #000066;
width:600px;
td, th border:1px solid #000066;
padding:0.5em;
font-family:Arial,sans-serif;
nav a:link {color:#FFFFFF;}
nav a:visited {color:#EAEAEA;}
nav a:hover {color:#869DC7;
background-color:#EAEAEA;
}
8|Page
9
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
9|Page
10
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
OUTPUT
10 | P a g e
11
IST152 – HTML
Chapter 6 and 8 (Navigations and Tables)
Lab 8
11 | P a g e