Skip to main content
Home

Main navigation

  • Home
  • Books
  • Contact
    • Contact Form

Breadcrumb

  1. Home

Testing SVG for HTML5

Here's a piece of embedded SVG. If your browser can see this, you see SVG just mixed in with HTML. If you can see colored things, pure embedding is working. After the break comes an iFrame with the same SVG code. It tends to be more reliable in many browsers.







< rect fill="green" stroke="black" x="15" y="15" width="120" height="20" / >
< rect fill="green" stroke="black" x="15" y="65" width="120" height="20" rx="12" ry="18" / >
<circle fill="yellow" stroke="blue" cx="42" cy="110" r="10"/>
<ellipse fill="blue" stroke="red" cx="62" cy="155" rx="50" ry="10"/>



  • Log in to post comments

Books

  • Agents Unleashed
  • Attention Must Be Paid, But for $800?
  • Compression Algorithms
  • Digital Cash 2nd Edition
  • Digital Copyright Protection
  • Disappearing Cryptography 1st Edition
  • Disappearing Cryptography 2nd Edition
  • Disappearing Cryptography 3rd Edition
  • Free for All
  • Future Ride
  • How To Hide Online
  • Java Beans Programming
  • Java RAMBO Manifesto
  • Policing Online Games
  • SAT Sneak Attack
  • Translucent Databases
RSS feed
Powered by Drupal