Inspectopedia 2024.3 Help

Missing closing tag

Reports an HTML element without a closing tag. Some coding styles require that HTML elements have closing tags even where this is optional.

Example:

<html> <body> <p>Behold! </body> </html>

After the quick-fix is applied:

<html> <body> <p>Behold!</p> </body> </html>

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

HtmlMissingClosingTag
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | HTML

Last modified: 03 December 2024