HTML Data Attributes

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Syntax

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

Parameters

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


Got any HTML Question?