# HTML support

HTML-specific features and guidance
Table of Contents
Language Info for HTML

- Since PMD 6.45.0
- Implementation: `HtmlLanguageModule`
- Id: html
- PMD: ✔️
- CPD: ✔️

The HTML language module uses jsoup for parsing.

XPath rules are supported, but the DOM is not always a typical XML/XPath DOM. In the Designer, text nodes appear as nodes with name “#text”, but they can be selected as usual using `text()`.

XML Namespaces are not supported. The local name of attributes includes the prefix, so that you have to select attributes by e.g. `//*[@*[local-name() = 'if:true']]`.

Tags: languages PmdCapableLanguage CpdCapableLanguage