element name case (element-case)

Requires a specific case for element names.

Rule details

Examples of incorrect code for this rule:

<DIV>...</DIV>
1:1 - Element "DIV" should be lowercase

Examples of correct code for this rule:

<div>...</div>

Options

This rule takes an optional object:

{
    "style": "lowercase"
}

Style