tags:

views:

53

answers:

2

I want to draw geometrical figure in the <textarea> of HTML pages, but I'm facing difficulty in how to do that. Could anyone please tell me?

+4  A: 

You can use the HTML5 <canvas> element and its javascript API to draw geometric figures in an HTML document. There are many examples and tutorials of its usage, but here is one I found this morning: Mozilla Canvas Tutorial

Jamey Hicks
+2  A: 

You can’t draw in HTML <textarea> elements. You can only put text in them. So the nearest you can get to drawing in them is ASCII art.

Paul D. Waite