in reply to Re: How to parse not closed HTML tags that don't have any attributes? (updated)
in thread How to parse not closed HTML tags that don't have any attributes?
The HTML looks fine to me. Many HTML elements have optional end tags. <p> is one of them. The following is valid HTML:
<p>I like: <ul> <li>Chocolate <li>Pizza <li>Mexican food </ul> <p>Yet I don't like Mexican chocolate pizza!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to parse not closed HTML tags that don't have any attributes?
by haukex (Archbishop) on Mar 08, 2021 at 15:30 UTC |