Embedding SVG Into HTML Pages - HTML CSS SVG

HTML CSS examples for SVG:Text

Description

Embedding SVG Into HTML Pages

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <meta charset="UTF-8"> 
  <title>Embedding SVG Into HTML Pages</title> 
 </head> <!--   ww  w.  ja  v a 2s.c  o  m-->
 <body> 
  <svg width="300" height="200"> 
   <text x="10" y="20" style="font-size:14px;">
     Your browser support SVG. 
   </text> Sorry, your browser does not support SVG. 
  </svg>   
 </body>
</html>

Related Tutorials