Avadhesh Kumar Patel
District Project Manager - Aligarh
14 months work experience in Panchayati Raj Department Sector as District Project Manager & 12 months work experience in IT Sector as Software Engineer. :-)
The canvas element is used to draw graphics images on a web page by using javascript like below <canvas id="pcdsCanvas" width="500" height="400"></canvas> <script type="text/javascript"> var pcdsCanvas=document.getElementById("pcdsCanvas"); var pcdsText=pcdsCanvas.getContext("2d"); pcdsText.fillStyle="#82345c"; pcdsText.fillRect(0,0,150,75); </script>
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
<canvas id="pcdsCanvas" width="500" height="400"></canvas> <script type="text/javascript">
var pcdsCanvas=document.getElementById("pcdsCanvas");
var pcdsText=pcdsCanvas.getContext("2d");
pcdsText.fillStyle="#82345c";
pcdsText.fillRect(0,0,150,75);
</script>