A Study of Regular Polygons

Originaly done by Tantek Çelik, 2001.01.27, modified by me to work with mozilla. I encountered those enhancements to make it work in IE6/Win, too (except for the octagon). They also make it work in Opera6 (any probably 5) except for the colors and the box-height. Opera7 now does everything quite well.

Valid HTML 4.01! Valid CSS!
regular polygon
A regular polygon is a polygon where all the sides are the same, and all the interior angles are the same.

Triangle

A three-sided polygon is called a triangle. A regular three-sided polygon is called an equilateral triangle.

Square

A four-sided polygon is called a quadrilateral. A regular four-sided polygon is called a square.

Pentagon

A five-sided polygon is called a pentagon. A regular five-sided polygon is simply called a regular pentagon.

Hexagon

A six-sided polygon is called a hexagon. A regular six-sided polygon is simply called a regular hexagon.

Octagon

A eight-sided polygon is called an octagon. A regular eight-sided polygon is simply called a regular octagon.