HTMLData Attributes

Syntax

  • <element data-custom-name="somevalue">

Parameters

ValueDescription
somevalueSpecifies the value of the attribute (as a string)

Related Examples

Data Attribute Use