A line break inside a paragraph
- HTML markup
- <p>Line one<br>line two</p>
Result Result: No problems found
Errors: 0
Warnings: 0
Tags read: 3
Lines: 1
- Read 3 tags, skipping comments and the contents of script, style, textarea and title.
- Matched each end tag to the nearest open element; void elements such as br and img never need one.
- Elements whose end tag the HTML standard lets you omit (li, p, td, tr and others) are not reported as unclosed.
The br element is void, so it needs no closing tag and the snippet passes.