HTML5 svg not working
        Posted  
        
            by 01010011
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by 01010011
        
        
        
        Published on 2010-06-05T17:59:49Z
        Indexed on 
            2010/06/05
            18:02 UTC
        
        
        Read the original article
        Hit count: 347
        
html5
Hi,
I'm using Chrome version 5.0.375.55 and Firefox version 3.5.9 but I can't get the HTML5 code below to display a box.
<!DOCTYPE html> <!-- this tells browser, this is HTML5 -->
<html>
<body>
 <svg width="200" height="200"> 
 <rect
  x="0" y="0"
  width="100" height="100"
  fill="blue" stroke="red"
  stroke-width="5px"
  rx="8" ry="8"
  id="myRect" class="chart" />
 </svg>
</body>
</html>
The following sites stated that my browsers support HTML5 and svg so what gives?
http://caniuse.com/
http://www.html5test.com/
        © Stack Overflow or respective owner