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

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter5: Digital Security, Ethics, And Privacy: Threats, Issues, And Defenses
Section: Chapter Questions
Problem 3MC
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.
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning