Help:Lint errors/missing-end-tag/en

The missing-end-tag error is when a is opened, but not closed. To fix it, close the opened tag.

Example 1:

In example 1, the span needs to be closed by adding at the end.

Example 2:

Example 3:

Examples 2 and 3 not only causes the missing end linter warning but also the stripped tag warning. Solutions for 2 and 3 depend on the exact required output. The simplest is to change the into a.

The confusing message is a result of tags being automatically generated by the parser for each paragraph of text.

Example 4:

In example 4, the HTML tag is a result of parsing wikitext syntax for italics. It needs to be closed by adding  at the end.

Tools
The following tools can help fix missing end tags:


 * WPCleaner: see instructions on how to use WPCleaner for fixing errors detected by Linter. Missing end tags may be reported by WPCleaner as part of CheckWiki error #532 (for tags) and error #540 (for bold and italic formatting).