I just saw on one of the sites there is property attribute defined with some tags. For example:-
<span property="amount">100</span>
I searched on net but there was no property attribute as such on w3schools atleast. Can somebody please tell me what is it's role.
I am trying to run a simple html code but i don't understand its importance.
Can somebody please explain?
Structural attributes are the characteristics of the fabricated structures on a site, including the design, materials, scale, features, quality and other items that define a building or structure.
An attribute is a quality or character ascribed to or considered to belong to, or be inherent in, a person or thing. A property is a quality or characteristic belonging to a person or thing, with its original use implying ownership, and also either being essential or special.
The attribute is most useful with A, AREA, LINK, and IMG elements, where it provides a title for the linked or embedded resource.
property
is an RDFa attribute. What you are seeing is probably related to that.
See http://www.w3.org/2010/02/rdfa/sources/rdfa-lite/ Section 2.1 vocab, typeof, and property
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With