Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 432 Bytes

alt.md

File metadata and controls

27 lines (18 loc) · 432 Bytes

HAPEL Method Parameters


$alt

(string), (optional), default: null

Adds the alt attribute to an HTML tag.

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

Examples:

$alt = 'Alt Text';
<tag alt="Alt Text" {...}

###Methods Using This Parameter