Images & Media

shape="default"

Defines a fallback region covering the image where earlier matching areas do not apply. Omit coords and place the fallback after specific hotspots to avoid obscuring them. On area within map; missing or invalid defaults to rect. Geometry must match the actual image. Use alt for linked areas.

Formal Syntax & Structure

html syntaxhtml
shape="default"

Parameters & Attributes

NameTypeDescription
shapekeywordDefines a fallback region covering the image where earlier matching areas do not apply. Omit coords and place the fallback after specific hotspots to avoid obscuring them.

Working Example

Example Snippethtml
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTYwIiBoZWlnaHQ9IjEwMCIgZmlsbD0ibGlnaHRibHVlIi8+PGNpcmNsZSBjeD0iODAiIGN5PSI1MCIgcj0iMzAiIGZpbGw9Im5hdnkiLz48L3N2Zz4=" width="160" height="100" alt="Diagram with a linked region" usemap="#diagram"><map name="diagram">  <area shape="default" href="#details" alt="Region details"></map><p id="details">Region details</p>
HTML Reference