Friday, January 20, 2012

HTML5 Sample Coding

Rectangle -  Create rectangle using html5 tag. Try below sample code, put it under body tag.

< svg width="200" height="200 ">
< rect
x="0" y="0"
width="100" height="100"
fill="blue" stroke="100"
stroke-width="5px"
rx="8" ry="8"
id="myRect" />
< / svg>

No comments:

Post a Comment