Monthly Archives: February 2011

HTML5 SVG

In my previous post, I explained how to draw an American flag using HTML5 <canvas>. In this post, I’ll explain another solution using SVG. For this example, I’m using <polygon> tag. You can let server produce the polygons’ markup, or … Continue reading

Posted in HTML5 | Leave a comment

HTML5 <canvas>

Implement an American flag without using image. Here is one solution using <canvas>. Most front-end engineers can use simple <div>s and css to show the red/white strips and the blue rectangle at the upper-left corner. To output the 50 stars, … Continue reading

Posted in HTML5 | Leave a comment