What’s wrong with the following code example?




  • Class names can’t have hyphens
  • <p> tags are the wrong tag to use here
  • There’s no such thing as a <ul> tag
  • None of the above


A list requires at least one list item, defined as an <li> element. Adding a paragraph to a list works only if it’s placed within a list item, but never as a direct child as demonstrated in the incorrect code example.

Share on:
Online Certification Guide

About Author

Hey there, its OnlineCertificationGuide here to help you out in your Journey in the study. So my friend share the site with your friends in case I am helpful to you.