value attribute | value property
The contents of the data element in machine-readable format.
![]() |
Syntax
| HTML | <element value="p" ... > |
|---|
Property values
Type: String
A string in machine-readable format that represents the contents of the data element.
Standards information
Examples
<p>Green <data value="12340987">t-shirts</data> on sale today!
See also
Show:
