Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 470 Bytes

lang.md

File metadata and controls

28 lines (19 loc) · 470 Bytes

HAPEL Method Parameters


$lang

(null|string), (optional), default: null

Adds the lang attribute to an HTML tag.

Note: This is only used for <html> tags.

Value Use
null prevents the attribute from being added
string adds the value of 'string' as the attribute

Examples:

$lang = 'en';
<tag lang="en" {...}

###Methods Using This Parameter