-2

Hy, I wish to draw a circle in a html page, unfortunately I cannot use css3 stuff like: border-radius, is there any more basic other way without html5 or css3? thx!

Amy
  • 4,034
  • 1
  • 20
  • 34
TBogdan
  • 737
  • 7
  • 17
  • 34

2 Answers2

1

In order of complexity, here are your options:-

1) Use the <IMG> element to link to and display an image of a circle
2) Use CSS to create one (I know you've already said you can't do this)
3) Use the CANVAS element and Javascript to draw a circle in the element
4) You could also use SVG and (again) Javascript to do this - or you could use a javascript library like Raphael to achieve this.

Without using "HTML5", CSS or JS however, I'd say the only remaining option is #1.

Mat Richardson
  • 3,576
  • 4
  • 31
  • 56
0

this called circle

.circle{
  border: 1px solid #000;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  }
<div class="circle"></div>
Avinash Antala
  • 641
  • 5
  • 10