# HTML

## Language-specific properties <a href="#language-specific-properties" id="language-specific-properties"></a>

You can discover and update HTML-specific [Analysis parameters](/sonarqube-server/2025.5/analyzing-source-code/analysis-parameters.md) in: **Administration** > **Configuration** > **General Settings** > **Languages** > **HTML**

## PHP code analysis <a href="#php-code-analysis" id="php-code-analysis"></a>

PHP and HTML analyzers both analyze files with extensions: `.php`, `.php3`, `.php4`, `.php5`, `.phtml`.

File metrics, such as the number of lines of code, can only be measured by one of the languages, PHP or HTML. They are handled by the PHP analyzer by default, and by HTML analyzer if for some reason the former is not present.

The HTML analyzer inspects PHP files even if the PHP file extensions are not included in the list of file extensions to analyze.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/2025.5/analyzing-source-code/languages/html.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
