Area search Property
Return the query portion of the href attribute for a specific area in an image-map:
The result of x will be:
Try it yourself »
Definition and Usage
The search property sets or returns the query portion of the href attribute value.
The query portion is the part of the URL after the question mark (?) (this is often used for parameter passing).
The search property is supported in all major browsers.
Return the search property:
Set the search property:
|querystring||The search part of a URL|
|String||The querystring of the href attribute value, including the question mark (?)|
Thank You For Helping Us!
Your message has been sent to W3Schools.