You are here: Reference > CSS > properties > browser specific extensions > -xv-interpret-as

-xv-interpret-as property

Browser support:
Specifies how to interpret the contents of the corresponding element.
Same as the interpret-as property in the CSS3 declaration.
JavaScript page for this property: XvInterpretAs. You can find other example(s) there.

Possible values:

 One of the following values: 
Element's content is an address.
Element's content is a currency value.
Takes the value of this property from the computed style of the parent element.
Element's content is a measurement.
Element's content is a proper name of a person, company etc.
Element's content is a URI such as an email address or an http URI.
Element's content is a telephone number.
Default: this property has no default value.

Example HTML code 1:

This example illustrates the use of the -xv-interpret-as property:
        .name {
            -xv-interpret-as: name;
        .telephone {
            -xv-interpret-as: telephone;
        .net {
            -xv-interpret-as: net;
    <p class="name">Oscar de la Hoya</p>
    <p class="telephone">(212) 907-8686</p>
    <p class="net"></p>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content