Object Constructor function – Object Oriented Programming in JavaScript – One of the easiest ways of defining an Object is using a constructor function. Object Constructor function helps to create different instances of an object using the same function.

This article shows how to draw a rectangle shape using the canvas tag in HTML5. cavas tag in HTML5 extends the possibilities of drawing various shapes like, rectangles, circles,etc. with various filling styles, like solid fills, gradient fills, pattern fills, etc.

Featured Tutorials – HTML5

HTML5 will be the new standard for HTML.
Tutorials2learn.com brings you some of the easy to understand tutorials on HTML5.
Learn more about HTML5 in our HTML5 section. Learn more about Canvas, 2D drawings using canvas, client data storage, geo location api,etc.

Popular Tutorials

Tutorials2learn is a FREE resource gallery. Our topics include articles for beginners, intermediate and for the advanced learners. We hope that, this will help us to build a very rich resource gallery, by mutual sharing of knowledge and thus we can reach out to our objective. We recommend our visitors, to visiting us back, to get updates on the articles. Forget not to keep referring to your friends and colleagues if you think it is worth to visit this site. Browse through various articles on scripts, tools, etc. You can submit your own genuine articles at "articles[at]tutorials2learn.com". Your articles will be published after the review.