Question

The following HTML code displays a webpage correctly but is not valid HTML. Rewrite the code...

The following HTML code displays a webpage correctly but is not valid

HTML. Rewrite the

code in valid HTML.

<!DOCTYPE html>

<title>Fish</title>

<h1>Fish</h1>

<hr>

<p>Facts for Fish</p>

<ul>

<li>Fish are friends, not food</li>

<li>Fish feel:</li>

<ul>

<li>Good</li>

<li>No pain</li>

</ul>

<li>Fish <b>love</b> other fish</li>

</ul>

<img src="fish.jpg" alt="fish">

</html>

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Modified HTML code represented in bold:

<!DOCTYPE html>

<html>

<head>

<title>Fish</title>

</head>

<body>

<h1>Fish</h1>

<br>

<p>Facts for Fish</p>

<ul>

<li>Fish are friends, not food</li>

<li>Fish feel:</li>

<ul>

<li>Good</li>

<li>No pain</li>

</ul>

<li>Fish <b>love</b> other fish</li>

</ul>

<img src="fish.jpg" >

</body>

</html>

Add a comment
Know the answer?
Add Answer to:
The following HTML code displays a webpage correctly but is not valid HTML. Rewrite the code...
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
  • <!DOCTYPE HTML> <html lang="en"> <head>    <meta charset="utf-8"> <title>Plaid Scarf Selector</title>    <link rel="stylesheet" href="a3.css" />...

    <!DOCTYPE HTML> <html lang="en"> <head>    <meta charset="utf-8"> <title>Plaid Scarf Selector</title>    <link rel="stylesheet" href="a3.css" />    <script src="a3.js"> </script> </head> <body>    <section>        <h1> Plaid Scarf Selector </h1><br>        <p>Feels close to real cashmere (but costs a lot less).        Think of this scarf as the next best thing to wearing authentic cashmere.        Its microsueded fabric really is that soft. In fact, at first touch some        mistake if for the real...

  • <!-- DOCTYPE declaration --> <!DOCTYPE html> <!-- HTML boilerplate code --> <html lang="en">    <!-- head...

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

  • Look at the following illustrated output for an HTML and a css given below <!DOCTYPE html>...

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

  • PHP, HTML I have this code in the picture below for a guess game.

    PHP, HTML I have this code in the picture below for a guess game.

  • Rewrite the code below using JavaScript only <!DOCTYPE html> <html> <head> <style> .hidden {display:none;} </style> <script...

    Rewrite the code below using JavaScript only <!DOCTYPE html> <html> <head> <style> .hidden {display:none;} </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("p").click(function(){ $(this).hide(); }); }); </script> </head> <body> <p>paragraph1</p> <p>paragraph2</p> <p>paragraph3</p> </body> </html>

  • CS 602 Server Side development hw1c please explain and comment the following html code <b>Employees with...

    CS 602 Server Side development hw1c please explain and comment the following html code <b>Employees with Last Name {{name}}</b> <hr/> <table border=1>     <tr><th>Id</th><th>First Name</th><th>Last Name</th></tr>     {{#each employees}}        <tr>           <td>{{this.id}}</td>           <td>{{this.firstName}}</td>           <td>{{this.lastName}}</td>        <tr>     {{/each}} </table> part two <!doctype html> <html> <head>    <title>CS602 HW2</title> </head> <body> <header>    <img src="/images/bu-logo.gif" alt="logo"> </header> <h3>CS602 HW2 - Your Name</h3> <a href="/addEmployee">Add Employee</a> <hr/>       {{{body}}} </body>...

  • 6. (HTML) Given the following HTML document: <html> <head> <title>Grandma Cafe</title> </head> <body> <h1>Menu</h1> <ol> <li>Café...

    6. (HTML) Given the following HTML document: <html> <head> <title>Grandma Cafe</title> </head> <body> <h1>Menu</h1> <ol> <li>Café Latte</li> <li>Café Mocha</li> <li>Cappuccino</li> </ol> <img src="https://businessexchange.ca/wp-content/uploads/2018/05/coffee- shop-1.jpg" /> </body> </html> a. [4] Sketch approximately how it will be displayed in a web browser. (For media items such as images, just draw a box labelled with the media type.) b. [2] What is the protocol, hostname, top-level domain name, and file name of the image being linked here?

  • Explain the different statements of the following HTLM page. <!DOCTYPE html> <html> <body> <h1>My First Heading</h1>...

    Explain the different statements of the following HTLM page. <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <p>My first paragraph.</p> <img src="seu.jpg" alt="www.seu.edu.sa" width="104" height="142"> </body> </html> __________________________________________ (please i did not want the answer picture or written by hand)

  • Hey I am having an issue with my HTML5 document. Everything is working fine except that...

    Hey I am having an issue with my HTML5 document. Everything is working fine except that I am not sure how to make my <h1> Objective </h1> to align towards the left. I have tried for instance <p align = "Left"> <h1> <strong>Objective </strong> </h1> </p> Any help would be great. Thanks <!DOCTYPE html> <html> <!-- Do I need to use <head> right here? I tried it without head or urf-8 and it worked--> <!-- I'm still a bit confused...

  • Create a html5 document template. the correct HTML5 document structure (!doctype, html, head, body) a title...

    Create a html5 document template. the correct HTML5 document structure (!doctype, html, head, body) a title for your web page heading tags to break up the various sections of your content (About Me, Education, Employment, etc.) paragraph tags around all paragraphs a link to at least two websites (perhaps link to your college or place of employment) at least one ordered or unordered list (perhaps for your interests or accomplishments) at least one image Your html page should include ALL...

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