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: 
address
Element's content is an address.
currency
Element's content is a currency value.
inherit
Takes the value of this property from the computed style of the parent element.
measure
Element's content is a measurement.
name
Element's content is a proper name of a person, company etc.
net
Element's content is a URI such as an email address or an http URI.
telephone
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:
<head>
    <style>
        .name {
            -xv-interpret-as: name;
        }
        .telephone {
            -xv-interpret-as: telephone;
        }
        .net {
            -xv-interpret-as: net;
        }
    </style>
</head>
<body>
    <p class="name">Oscar de la Hoya</p>
    <p class="telephone">(212) 907-8686</p>
    <p class="net">www.goldenboysite.us</p>
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content