blob: 7e0b7a602d75fb182ec4ca1ec14e5a9e5f029921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
title: HTML
url: /analysis/languages/html/
---
<!-- static -->
[[info]]
| <iframe src="http://update.sonarsource.org/plugins/web-confluence-include.html" height="125px">Your browser does not support iframes.</iframe>
<!-- /static -->
## Language-Specific Properties
You can discover and update HTML-specific [properties](/analysis/analysis-parameters/) in: <!-- sonarcloud -->Project <!-- /sonarcloud -->**[Administration > General Settings > HTML](/#sonarqube-admin#/admin/settings?category=html)**.
## PHP Code Analysis
SonarPHP and SonarHTML 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 SonarPHP by default, and by SonarHTML if for some reason SonarPHP is not present.
SonarHTML analyzes PHP files even if the PHP file extensions are not included in the list of file extensions to analyze.
|