How do I fix this error for HTML I keep trying to remove the li o ut of  the ul and so and so but it doesn't work

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

How do I fix this error for HTML I keep trying to remove the li o ut of  the ul and so and so but it doesn't work 

r---
1.
Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
From line 57, column 4; to line 57, column 73
.-----.....
g</li>-
<img src="images/endpoint-security.png" alt="Endpoint" width="1000px">-
Contexts in which element img may be used:
Where embedded content is expected.
Content model for element ul:
Zero or more li and script-supporting elements.
r------
r---
2.
Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
From line 59, column 4; to line 59, column 89
r-------
g</li>=
<img src="images/content_number-of-spam.png" alt="Spam" width="1000px" height="500px">
Contexts in which element img may be used:
Where embedded content is expected.
Content model for element ul:
Zero or more li and script-supporting elements.
r----
3.
Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
L----
From line 61, column 4; to line 61, column 104
k</li>e
L---------
<img src="images/DNS-security-considerations-components.png" alt="DNS" width="1000px" height="800px">e
<li>
-------
-------
--------
Contexts in which element img may be used:
Where embedded content is expected.
Content model for element ul:
Zero or more li and script-supporting elements.
r----
4.
Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
L-----
From line 63, column 4; to line 63, column 107
g</li>e
<img src="images/difference-between-ids-ips-venn-diagram-1.jpg" alt="IDS" width="1000px" height="700px">-
Contexts in which element img may be used:
Where embedded content is expected.
Content model for element ul:
Zero or more li and script-supporting elements.
Transcribed Image Text:r--- 1. Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) From line 57, column 4; to line 57, column 73 .-----..... g</li>- <img src="images/endpoint-security.png" alt="Endpoint" width="1000px">- Contexts in which element img may be used: Where embedded content is expected. Content model for element ul: Zero or more li and script-supporting elements. r------ r--- 2. Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) From line 59, column 4; to line 59, column 89 r------- g</li>= <img src="images/content_number-of-spam.png" alt="Spam" width="1000px" height="500px"> Contexts in which element img may be used: Where embedded content is expected. Content model for element ul: Zero or more li and script-supporting elements. r---- 3. Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) L---- From line 61, column 4; to line 61, column 104 k</li>e L--------- <img src="images/DNS-security-considerations-components.png" alt="DNS" width="1000px" height="800px">e <li> ------- ------- -------- Contexts in which element img may be used: Where embedded content is expected. Content model for element ul: Zero or more li and script-supporting elements. r---- 4. Error Element img not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) L----- From line 63, column 4; to line 63, column 107 g</li>e <img src="images/difference-between-ids-ips-venn-diagram-1.jpg" alt="IDS" width="1000px" height="700px">- Contexts in which element img may be used: Where embedded content is expected. Content model for element ul: Zero or more li and script-supporting elements.
<div class="center">
<! -- Display a list -->
<ul class="w3-ul w3-center-align">
<li>Endpoint device security protection and monitoring</li>
<img src="images/endpoint-security.png" alt="Endpoint" width="1000px">|
<li>Email spam and malware protection, monitoring, and alerting</li>
<img src="images/content_number-of-spam.png" alt="Spam" width="1000px" height="500px">
<li>Domain Name System (DNS) breach protection and internet-wide visibility on and off your network</li>
<img src="images/DNS-security-considerations-components.png" alt="DNS" width="1000px" height="800px">
<li>Firewall, IDS, and IPS monitoring and alerting</li>
<img src="images/difference-between-ids-ips-venn-diagram-1.jpg" alt="IDS" width="1000px" height="700px">
</ul>
</div>
<br><br>
Transcribed Image Text:<div class="center"> <! -- Display a list --> <ul class="w3-ul w3-center-align"> <li>Endpoint device security protection and monitoring</li> <img src="images/endpoint-security.png" alt="Endpoint" width="1000px">| <li>Email spam and malware protection, monitoring, and alerting</li> <img src="images/content_number-of-spam.png" alt="Spam" width="1000px" height="500px"> <li>Domain Name System (DNS) breach protection and internet-wide visibility on and off your network</li> <img src="images/DNS-security-considerations-components.png" alt="DNS" width="1000px" height="800px"> <li>Firewall, IDS, and IPS monitoring and alerting</li> <img src="images/difference-between-ids-ips-venn-diagram-1.jpg" alt="IDS" width="1000px" height="700px"> </ul> </div> <br><br>
Expert Solution
Step 1

You must wrap every inner ULs with an LI.

The children (direct descendants) of a ul element must all be li elements. This is a purely syntactic requirement

<ul class="menu">

<li> <a href="">Demo1</a> </li>

<li> <----

<ul class="inside">

<li><a href="#">Lack of smthng</a></li>

<li><a href="#">missing</a></li> </ul> </li> <----

 

And its also known that 

<a> is not a valid child element of <ul>. You need to put it in a <li>

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Features of HTML
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education