Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 464 Bytes

id.md

File metadata and controls

24 lines (17 loc) · 464 Bytes

HAPEL Method Parameters


$id

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

Adds the id attribute to an HTML tag.

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

Examples:

Adding an id:
$id = 'home-page';
<tag id="home-page" {...}