Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with HTML tags

Featured Replies

Hi I need some help with my HTML tags. I have created a website using a template and want it to be W3C compliant.

When I run the W3C check it says: Line 234, Column 13: document type does not allow element "p" here; assuming missing "li" start-tag

 

<p>Registered in England</p>

 

✉

Error Line 237, Column 13: end tag for "li" omitted, but OMITTAG NO was specified

 

</ul>

 

✉

 

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

 

I am learning Html but do not understand why It does not like the paragrph tags?, I have tried removing them and just having the text but then I lose all of the formatting from the css. I have attached a jsfiddle jsfiddle and the website can be found at website

Use:

 

<ul>
<li><p> </p></li>
</ul>

 

Do not use (in this example, this is what you are doing):

 

<ul>
<p>&nbsp</p>
</ul>

 

Nor (in this example, this is what some of the editors try to do where I work):

 

<ul>
<p><li>&nbsp</li></p>
</ul>

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.