YouTip LogoYouTip

Prop Area Protocol

# Area protocol property [![Image 8: Area Object Reference](#) Area Object](#) * * * ## Definition and Usage The protocol property sets or returns the protocol part of the href attribute value. ## Syntax areaObject.protocol=_protocol_ * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The protocol property is supported by all major browsers. * * * ## Example ## Example The following example returns the protocol of the "Venus" area: Venus

Venus area's protocol: document.write(document.getElementById('venus').protocol);

The output of the above example: Venus area's protocol: http: [Try it Β»](#) * * Area Object](#)
← Prop Area SearchProp Area Port β†’