shape Possible Values : shape « HTML Attributes Reference « HTML CSS Reference






shape Possible Values

Possible Values


 <element                         x and y are coordinates for the circle center, and r
 shape="circle"                  represents the radius 
 coords="x, y, r">
...</element>                               

<element                         x1 and y1 represent the top-left rectangle
   shape="rectangle"             corner, and x2 and y2 represent the bottom- 
   coords="x1, y1, x2, y2">      right corner
...</element>



<element                         each x and y pair represents the coordinates 
   shape="polygon"               of a vertex in a polygon
   coords="x1, y1, x2, y2, . . . xn, yn">
...</element>

                                 The point of origin in the document is (0,0). 
                                 X increases toward the right and Y increases 
                                 toward the bottom.
    
      
      








Related examples in the same category

1.'shape' Syntax and Note
2.'shape' Example
3.shape is applied to