
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
Set the shape of the area in HTML
Use the shape attribute to set the shape of the area in HTML. You can try to run the following code to implement shape attribute −
Example
<!DOCTYPE html> <html> <head> <title>HTML shape attribute</title> </head> <body> <img src = "/images/html.gif" alt = "HTML Map" border = "0" usemap = "#html"/> <!-- Create Mappings --> <map name = "html"> <area shape = "circle" coords = "154,150,59" href = "about/about_team.htm" alt = "Team" target = "_self" /> </map> </body> </html>
- Related Articles
- Set the coordinates of the area in an image map in HTML?
- How do we set the visible number of lines in a text area in HTML?
- Set the width of the element in HTML
- Set the size of the icons in HTML
- Set the language of the linked document in HTML
- How to set the shape of the border of the top-right corner with JavaScript?
- How to set the shape of the border of the top-left corner with JavaScript?
- How to set the name of the element in HTML?
- Set the language of the track text data in HTML
- Set the number of columns to span in HTML
- Set the types of files that the server accepts in HTML
- How to set the URL of the media file in HTML?
- Set the name of the form the element belongs to in HTML?
- A cylinder of same height and radius is placed on the top of a hemisphere. Find the curved surface area of the shape if the length of the shape be $7\ cm$.
- How to set the painting area of the background with JavaScript?

Advertisements