Question

Validate this code - Element div not allowed as child of element strong in this context....

Validate this code - Element div not allowed as child of element strong in this context. (Suppressing further errors from this subtree.)

<article>
<h2>Another Blog Post</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus, lorem at pulvinar auctor, orci felis blandit diam, tincidunt semper augue nunc vel lacus. Phasellus eleifend tincidunt accumsan. <strong>Doritos aren't as good as <em>Sun Chips</em>, just saying. Ut porttitor imperdiet nisl. Morbi lacinia urna et libero hendrerit, at finibus mi imperdiet. Morbi vitae dolor in lorem egestas rutrum ut quis arcu. Donec posuere congue vestibulum. Sed sed tellus et tellus varius egestas vel at lectus. Etiam feugiat sem tristique eros elementum, ut sollicitudin nisl semper. <a href="#">Read more...</a></strong></p><strong> </strong></article>
  
<article>
<h2>The Greatest Blog Post</h2>
<p><strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus, lorem at pulvinar auctor, orci felis blandit diam, tincidunt semper augue nunc vel lacus. Phasellus eleifend tincidunt accumsan. Nam egestas nunc turpis, quis sagittis nisi fermentum eget. I'm so happy that the Patriots lost. Morbi lacinia urna et libero hendrerit, at finibus mi imperdiet. Morbi vitae dolor in lorem egestas rutrum ut quis arcu. Donec posuere congue vestibulum. Sed sed tellus et tellus varius egestas vel at lectus. Etiam feugiat sem tristique eros elementum, ut sollicitudin nisl semper. <a href="#">Read more...</a></strong></p>
</article>
</main></div><strong>
  
<div class="row">
<h2><em><p>A Page About Things</p></em></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus, lorem at pulvinar auctor, orci felis blandit diam, tincidunt semper augue nunc vel lacus. Phasellus eleifend tincidunt accumsan. What does the Fox say? Many things. <em><strong>Ut porttitor</strong></em> imperdiet nisl. Morbi lacinia urna et libero hendrerit, at finibus mi imperdiet. Morbi vitae dolor in lorem egestas rutrum ut quis arcu. Donec posuere congue vestibulum. Sed sed tellus et tellus varius egestas vel at lectus. Etiam feugiat sem tristique eros elementum, ut sollicitudin nisl semper.</p>
</div>
  
<div class="two">
<h2>A Table With Characters</h2>
<tbod>
</tbod><table>
<thead>
<tr>
<th>Name</th>
<th>Movie/Show
</th><th>Role</th>
<th>Release Year</th>
</tr>
</thead>   
<tbody><tr>
<td>Yoda</td>
<td><a herf="#">Star Wars</a></td>
<td>Jedi</td>
<td>1977</td>
</tr>
<tr>
<td>Albus Dumbledore</td>
<td><a href="#">Harry Potter</a></td>
<td>Wizard</td>
<td>1997</td>
</tr>
<tr>
<td>Rick Sanchez</td>
<td><a href="#">Rick and Morty</a></td>
<td>Interdimensional Scientist</td>
<td>2013</td>
  
</tr><tr>
<td>Doctor</td>
<td><a href="#">Doctor Who</a></td>
<td>Extraterrestrial Time Lord</td>
<td>1963</td>
</tr>
  
</tbody></table>
</div>
<div class="two">
<h2>Let's Define Some Things</h2>
<dl>
<dd>Fly</dd>
<dd>Move or be hurled quickly through the air</dd>
<dd>A winged creature</dd>
<dd>An attack move in Pokemon reserved for flying types</dd>
<dd>A state of being</dd>
<dd>Mad</dd>
<dd>A state of being - see <a href="#">upset.</a></dd><a href="#">
<dd>A lot</dd>
<dd>Crane</dd>
<dd>A type of bird</dd>
<dd>Machinery designed to lift heavy loads</dd>
<dd>Stretching the body (craning the neck)</dd>
</a></dl><a href="#">
</a></div><a href="#">
</a><a href="#">
</a></strong><strong><a href="#">

  </a></strong></body></html>

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

<html>
<body>
<main>
<article>
<h2>Another Blog Post</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus, lorem at pulvinar auctor, orci felis
blandit diam, tincidunt semper augue nunc vel lacus. Phasellus eleifend tincidunt accumsan.
<strong>Doritos aren't as good as <em>Sun Chips</em>
, just saying. Ut porttitor imperdiet nisl. Morbi lacinia urna et libero hendrerit, at finibus mi imperdiet. Morbi vitae dolor in lorem egestas rutrum
ut quis arcu. Donec posuere congue vestibulum. Sed sed tellus et tellus varius egestas vel at lectus. Etiam feugiat sem tristique eros elementum, ut
sollicitudin nisl semper. <a href="#">Read more...</a></strong></p><strong> </strong></article>
  
<article>
<h2>The Greatest Blog Post</h2>
<p><strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus,
lorem at pulvinar auctor, orci felis blandit diam, tincidunt semper augue nunc vel lacus.
Phasellus eleifend tincidunt accumsan. Nam egestas nunc turpis, quis sagittis nisi fermentum eget.
I'm so happy that the Patriots lost. Morbi lacinia urna et libero hendrerit, at finibus mi imperdiet.
Morbi vitae dolor in lorem egestas rutrum ut quis arcu. Donec posuere congue vestibulum. Sed sed tellus et
tellus varius egestas vel at lectus. Etiam feugiat sem tristique eros elementum, ut sollicitudin nisl semper.
<a href="#">Read more...</a></strong></p>
</article>
</div>
  
<div class="row">
<h2><em><p>A Page About Things</p></em></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus,
lorem at pulvinar auctor, orci felis blandit diam, tincidunt semper augue nunc vel lacus. Phasellus eleifend tincidunt accumsan.
What does the Fox say? Many things. <em><strong>Ut porttitor</strong></em> imperdiet nisl. Morbi lacinia urna et libero hendrerit,
at finibus mi imperdiet. Morbi vitae dolor in lorem egestas rutrum ut quis arcu. Donec posuere congue vestibulum. Sed sed tellus et tellus
varius egestas vel at lectus. Etiam feugiat sem tristique eros elementum, ut sollicitudin nisl semper.</p>
</div>
  
<div class="two">
<h2>A Table With Characters</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Movie/Show</th>
<th>Role</th>
<th>Release Year</th>
</tr>
</thead>   
<tbody><tr>
<td>Yoda</td>
<td><a herf="#">Star Wars</a></td>
<td>Jedi</td>
<td>1977</td>
</tr>
<tr>
<td>Albus Dumbledore</td>
<td><a href="#">Harry Potter</a></td>
<td>Wizard</td>
<td>1997</td>
</tr>
<tr>
<td>Rick Sanchez</td>
<td><a href="#">Rick and Morty</a></td>
<td>Interdimensional Scientist</td>
<td>2013</td>
  
</tr>
<tr>
<td>Doctor</td>
<td><a href="#">Doctor Who</a></td>
<td>Extraterrestrial Time Lord</td>
<td>1963</td>
</tr>
  
</tbody></table>
</div>
<div class="two">
<h2>Let's Define Some Things</h2>
<dl>
<dd>Fly</dd>
<dd>Move or be hurled quickly through the air</dd>
<dd>A winged creature</dd>
<dd>An attack move in Pokemon reserved for flying types</dd>
<dd>A state of being</dd>
<dd>Mad</dd>
<dd>A state of being - see <a href="#">upset.</a></dd>
<dd>A lot</dd>
<dd>Crane</dd>
<dd>A type of bird</dd>
<dd>Machinery designed to lift heavy loads</dd>
<dd>Stretching the body (craning the neck)</dd>
</dl>
</main></body></html>

Add a comment
Know the answer?
Add Answer to:
Validate this code - Element div not allowed as child of element strong in this context....
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
  • Problems: Develop a web page that allows a user to try out different text and background...

    Problems: Develop a web page that allows a user to try out different text and background color combinations by clicking buttons. Use Javascript to implement the functionalities. Below are two screen shots of the working application. Clicking the buttons at the bottom changes either the foreground color or the background color. The following descriptions are about the details. Specifically, you have to implement: An HTML file should include the following features (3 points) Some texts (Anything you like) Put the...

  • Having a little trouble with this assignment. "Please add comments within Script, for the guidance of...

    Having a little trouble with this assignment. "Please add comments within Script, for the guidance of the code and what each function is doing, so i can understand more." Project 4 Draft: Pattern Search PYTHON Introduction Your task for this project is to use regular expressions to discover and modify information from the provided test. The project is broken into two sections: Determine the number of non alpha numeric characters in the lorem_ipsum string. Replace all instances of the words...

  • I need to explain the importance of knowing how and when to use: A search using...

    I need to explain the importance of knowing how and when to use: A search using literal characters For sequence and ranges For special characters and wild cards I need to support this answer with examples from my script. Please help. ( I need a written answer and explanation my script is complete and running) 140 lorem ipsumLorem ipsum dolor sit-amet consectetur adipiscing elit- Phasellus iaculis velit ac ounc interdum tempor Ut volutpat elit metus, vel auctor enim commodo at....

  • Create your own grid-based page using the sample HTML. Generate a Grid ( Experiment with Different...

    Create your own grid-based page using the sample HTML. Generate a Grid ( Experiment with Different Tools ) http://gridcalculator.dk/ Implement grid on the sample html file using pixels Convert to a percentage-based grid HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Out with the old...</title> <link rel="stylesheet" href="path-to-style.css"> <meta name="description" content="We are going to refine this document down to a good starting point for all html5 projects moving forward."> <meta name="author" content="ABC"> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body> <div...

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