<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,
initial-scale=1">
<title>Responsive Menu Lab</title>
<style type="text/css">
div
{
border: 1px solid blue;
margin: 5px;
}
#container
{
width: 98%;
margin: auto;
}
#main
{
padding: 10px;
}
#menu
{
list-style: none;
padding-left: 2px;
}
#menu li
{
display: inline-block;
width: 70px;
}
#menu li a
{
display: block;
text-decoration: none;
}
</style>
</head>
<body>
<div id="container">
<div id="header">Menu
<ul id="menu">
<li><a href="#">home</a></li>
<li><a href="#">teaching</a></li>
<li><a href="#">research</a></li>
<li><a href="#">service</a></li>
<li><a href="#">library</a></li>
<li><a href="#">industry</a></li>
<li><a href="#">contact</a></li>
</ul>
</div>
<div id="main">
<p>Top and left navigations are typical on large screens, but
lack of screen real estate on small screens makes for an
interesting challenge. As responsive design becomes more popular,
it’s worth looking at the various ways of handling navigation for
small screen sizes. Mobile web navigation must strike a balance
between quick access to a site’s information and
unobtrusiveness.</p>
<div style="height: 400px; border-width:
0">.</div>
<p>There are of course advantages and disadvantages of each
method and definitely some things to look out for when choosing
what method’s right for your project. One of the
easiest-to-implement solutions for navigation is to simply keep it
at the top. Because of its ease of implementation, it’s found on
many (maybe even most) responsive sites right now.</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Responsive Menu Lab</title>
<style type="text/css">
div
{
border: 1px solid blue;
margin: 5px;
}
#container
{
width: 98%;
margin: auto;
}
#main
{
padding: 10px;
}
#menu
{
list-style: none;
padding-left: 2px;
}
#menu li
{
display: inline-block;
width: 70px;
}
#menu li a
{
display: block;
text-decoration: none;
}
.site-footer {
background: orange;
}
</style>
</head>
<body>
<div id="container">
<div id="header">Menu
<ul id="menu">
<li><a href="#">home</a></li>
<li><a href="#">teaching</a></li>
<li><a href="#">research</a></li>
<li><a href="#">service</a></li>
<li><a href="#">library</a></li>
<li><a href="#">industry</a></li>
<li><a href="#">contact</a></li>
</ul>
</div>
<div id="main">
<p>Top and left navigations are typical on large screens, but lack of screen real estate on small screens makes for an interesting challenge. As responsive design becomes more popular, it’s worth looking at the various ways of handling navigation for small screen sizes. Mobile web navigation must strike a balance between quick access to a site’s information and unobtrusiveness.</p>
<div style="height: 400px; border-width: 0">.</div>
<p>There are of course advantages and disadvantages of each method and definitely some things to look out for when choosing what method’s right for your project. One of the easiest-to-implement solutions for navigation is to simply keep it at the top. Because of its ease of implementation, it’s found on many (maybe even most) responsive sites right now.</p>
</div>
</div>
<footer class="site-footer">
I'm the Sticky Footer.
</footer>
</body>
</html>


below is an html code, Modify the design to implement the following pattern. “Sticky Footer”. <!DOCTYPE...
<!-- DOCTYPE declaration --> <!DOCTYPE html> <!-- HTML boilerplate code --> <html lang="en"> <!-- head tag --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Personal Webpage</title> </head> <!-- body tag --> <body> <style> .sidenav { height: 100%; width: 160px; position: fixed; z-index: 1; top: 0; left: 0; ...
<!-- DOCTYPE declaration --> <!DOCTYPE html> <!-- HTML boilerplate code --> <html lang="en"> <!-- head tag --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Social</title> </head> <!-- body tag --> <body> <style> .sidenav { height: 100%; width: 160px; position: fixed; z-index: 1; top: 0; left: 0; background-color:...
As part of this assignment we are using the base Gallery HTML and writing JavaScript code that will: 1) preload the images provided to us, 2) Create rollover functionality for each of the thumbnails in your image gallery 3) Use appropriate images found in the images folder. 4) Write developer comments to describe the variables being declared and explain the functions and logical blocks of JavaScript code pertaining to the gallery. I know it has to be an external JS...
<!DOCTYPE html> <html> <head> <title>Products</title> <style> .heading { text-align: center; font-size: 40px; } #menu { text-align: center; } #menu li { display: inline; font-size: 26px; margin-left: 20px; } .container{ overflow: hidden; margin: 30px; } img { float: left; width: 40vh; height: 40vh; margin-left: 10%; } table { float: right; margin-right: 10%; } table, th, td { border: 1px solid black; border-collapse: collapse; } th, td { font-size: 26px; padding: 10px; text-align: left; } a { color: black; } a:visted {...
HTML and css using notepad++ WHen you run the code, you will see a horizontal menue with several options. I want a small horizontal line between each option. I also want that done using div inside a div. Thank you <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title of the document</title> <style> body{ background-color:#FFA07A; } #h1{ color:white; text-decoration:none; padding:30px; } #h2{ color:white; text-decoration:none; padding:30px; } #navbar1{ background-color:grey; text-align:center; font-size:35px; height:100%px; border:1px solid black; position:absolute; text-decoration:none; margin-left:300px; } #h3{ color:white; text-decoration:none; padding:30px;...
HTML css When i refresh the page, the picture doesnt move at all for #i1 i have width and height but the pictuers doesn't move please fix it. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title of the document</title> <style> body{ background-color:#FFA07A; } #h1{ color:white; text-decoration:none; padding:30px; } #h2{ color:white; text-decoration:none; padding:30px; } #navbar1{ background-color:grey; text-align:center; font-size:35px; height:100%px; border:1px solid black; position:absolute; text-decoration:none; margin-left:300px; } #h3{ color:white; text-decoration:none; padding:30px; } #b1{ background-color:grey; font-size:30px; } i1{ width:10px; height:20px; } </style> <body> <div...
Hello Ive been tryting to add the CDN of jquery to my html code and I keep getting an error Need help with this : Navigate to www.code.jquery.com in your Chrome browser. On this page, you'll find different stable versions of jQuery. Select uncompressed for jQuery Core 3.3.1. Copy the <script> tag that is given to you. In store_hours.html, paste that tag directly above your body's closing tag. This is the jQuery CDN. After you paste this code into...
Look at the following illustrated output for an HTML and
a css given below
<!DOCTYPE html>
<head>
<title>TABLE with STYLE
SHEET</title>
<meta charset="utf-8" />
<meta name="description" content="Godaddy Webpage
original" />
<link rel = "stylesheet"
href="GoDaddy_assignment_1.css">
<body>
<img src= "GoDaddy.png"/>
<p>Welcome
to:<strong>webhamster.com</strong></br>
This web page is
parked<strong>Free</strong>courtesy of
<a class="aclass1" href
="https://www.godaddy.com">GoDaddy.com</a></p>
<h1>Want to buy<span class
="span2">webmaster.com ?</span></h1>
<div class ="div1">
<a class ="aclass2"
href="https://www.godaddy.com">Learn How</a>
</div>
</hr>
<button>Search Ads</button>
</body>
</html>
“
QUESTION continued Given the corresponding css
file
.aclass1{color:purple;}...
I cant seem to get the CSS at the bottom of this HTML to work. <!doctype html> <html lang="en"> <head> <!--Madison McCuiston--> <meta charset="utf-8"> <title>Amelie Boulangerie</title> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <div id="wrapper"> <header>Amelie Boulangerie</header> <!-- change this to header tag --> <nav> <ul> <li><a href="index.html">Home</a></li> <li><a href="pastries.html">Pastries</a></li> <li><a href="events.html">Events</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> <main> <H2>Experience the Difference</H2> <p><span class="bakery">Amelie Boulangerie</span> is the master of flavor combinations.The jewel-colored macarons come in the most tempting of flavors. Experience the difference...