Hi, i was testing the first part of the question with this code and failed to download the web page, may i know the mistakes? While you're at it, could you display the full answer to the questions as well. I have just started taking this course and this question is from my second assignment. Thanks :)
CODE:
task1-1.html :
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 16px;
border: solid;
outline: none;
color: black;
padding: 14px 16px;
background-color: white;
font-family: inherit;
margin: 0;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown:hover .dropdown-content {
display: block;
}
</style>
</head>
<body>
<h1 style = "font-size:40px;">
A sweet download page mockup
</h1>
<hr/>
<p>
This link to task-1.html (this
file) will download this page as a file called
this.html,<br/>even though my browser would
normally open it<a
href="task1-1.html" download="this.html">
DOWNLOAD</a>
</p>
<br/><p> <a
href="https://www.google.com/">THIS LINK </a>to
https://www.google.com/ won't be indexed by google's search
spider.</p>
<hr/>
<h4 style="color:DarkSlateGrey;"><b>Choose
download mirror (DarkSlateGrey Level 4 heading)</h4>
<div class="dropdown">
<button class="dropbtn">This mirror is the
default one
</button>
<div class="dropdown-content">
<a href="task1-1.html"
download="this.html">This mirror is the default
one</a>
<a href="task1-1.html"
download="this.html">A mirror</a>
</div>
</body>
</html>
I tested this code in firefox browser and chrome browser it worked in firefox but it didn't work in chrome browser . Try it on updated chrome browser it may work or continue with firefox
Hi, i was testing the first part of the question with this code and failed to download the web pa...
JUDY'S HTML TUTORIAL MENU CREATING YOUR FIRST WEB PAGE The best way to make a web page is to just dive right in. Open Notepad. To open notepad in Windows, click the windows icon in the lower left corner of the screen and then type "notepad." Notepad is a text editor. Other text editors you may consider are TextPad, Sublime Text, or NotePad++. Do not use Word or WordPad; they are word processors. If you are using an Apple computer...
Question 1 A URL is a ____-part addressing scheme a. two b. four c. three d. one Question 2 A text file that contains HTML tags is called a(n) ____. a. server b. HTML document c. browser d. IP address Question 3 A(n) ____ comes into existence as soon as a work is placed into a tangible form. a. open-source project b. copyright c. reproduction notice d. lien Question 4 A(n) ____ is a small file...
the is my HTML and CSS code. I didn't attach the image or the CSS file because of the space limit. two things I wanted to incorporate on this page are to make "MY TOP 3 MUSIC GENRES" blink using javascript and to make the video links autoplay using javascript both should be using javascript requirement: our professor told us not to use <div> or alert. thank you for your help <!DOCTYPE html> <!-- I used w3school for the formatting...