.
JavaScript Image Map Assignment Help
Image Map
Java script has the facility to build client/server image map. The <img> tag has the attribute called usemap for contructing client/server image map.
Here the image is act as map. Using <img/> tag normal image is inserted. To act as map it hold an additional attribute called ‘usemap’. The value of usemap attribute is the name attribute value of <map>. <map>attribute has only one property called name. It has <area> tag, it defines the hot spot area and assigns hyperlink.
The following program and output illustrates the above:
Program:
Output:
Explanation
In the output screen, the perl, HTML, PHP are acted as hot spot. While clicking on the hot I takes the user to the index pages of the corresponding perl, HTML and PHP.
- Namespaces
- Preprocessor Directives
- Regular Expressions
- Exception Handling
- File I/O
- Attributes
- Reflection
- Properties
- Indexers
- Delegates
- Events
- Collections
- Generics
- Anonymous Methods
- Unsafe Code
- Multithreading
- Variables Declarations
- Build In Types
- Operators
- Unary Operators
- Binary Operators
- Array Operations
.