In this challenge, you have a piece of broken HTML code. Your task is to identify and fix issues such as:
- Extra or missing closing tags
- Missing attributes or quotation marks
- Incorrect element nesting
You have a limited time to fix the code. Once you believe your code is correct, paste your solution into the provided text area and click the Validate Answer button.
Broken HTML Code:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>My Web Page</title </head> <body> <h1>Welcome to My Web Page</h1> <p>This is a paragraph with an error. <div>This div is incorrectly placed inside a paragraph.</div> </p> <p class="important">This paragraph is missing a closing tag. <ul> <li>Item 1</li> <li>Item 2</li> </ul> <p>Another paragraph</p> </body> </html>
No comments:
Post a Comment