Area Object
The noHref property sets or returns the value of the nohref attribute of an area.
The nohref attribute specifies that an area has no associated link.
Tip: The nohref attribute should inform the browser that an href attribute is not present. You could more easily do that by not including an href attribute.
![]()
The noHref property is supported in all major browsers, except Internet Explorer.
Return the value of the nohref attribute for the "Venus" area in the image-map:
The output of the code above will be:
Area Object
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| Download XML Editor |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|