Area protocol Property
Area Object
Definition and Usage
The protocol property can set or return the protocol part of the href attribute value.
Syntax
areaObject.protocol=
protocol
Browser support





All major browsers support the protocol property.
Example
Example
The following example returns the protocol in the "Venus" region:
Protocol of the Venus region:
The example above produces the following output:
Protocol of the Venus region: http:
Try it »
Area Object