Question

The W3Schools Tag Reference Task 1.1 (1 point) Recreate this webpage A sweet download page mocku This link to task1-1.html (tKhtml lang en <head> <meta content-utf-8 title> http-equiv-encoding> hil </title> </head> <body> <h1 style-font-size:40

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 :)

The W3Schools Tag Reference Task 1.1 (1 point) Recreate this webpage A sweet download page mocku This link to task1-1.html (this file) will download this page as a file called this.html, even though my browser would normally open it DOWNLOAD THIS LINK to http://example.example won't be indexed by google's search spider. Choose download mirror (DarkSlateGrey Level 4 heading) This mirror is the default one A mirror This mirror is the default one Save it in a file called task1-1.html in your prac2 folder
Khtml lang "en" http-equiv-encoding"> hil A sweet download page mockup This link to taski-1.html (this file) will download this page as a file called this.html,
0 0
Add a comment Improve this question Transcribed image text
Answer #1

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

Downloads En ) (1:00, 27%) 4x 7:24 PM Home Downloads Places O Recent n Home Breaking Bad Season 4 Complete 720p.BRrip.Sujaidr

Add a comment
Know the answer?
Add Answer to:
Hi, i was testing the first part of the question with this code and failed to download the web pa...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • JUDY'S HTML TUTORIAL MENU CREATING YOUR FIRST WEB PAGE The best way to make a web...

    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...

    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...

    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...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT