A Developer’s Guide to HTML5 Canvas
make sure you defined height/width in java script.
also correct this
adi007me_syn :HTML 5 is supported only on IE v9 and above.
Also I tried your given code and it runs successfully in Internet Explorer version 9.08112.16421 i.e. IE9
Browser Support for HTML5
HTML5 is not yet an official standard, and no browsers have full HTML5 support.
But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer) continue to add new HTML5 features to their latest versions.
and HTML5 & CSS3 Support
] best describes that-
Quote:no browsers have full HTML5 support.
I think you should update your browser.