NEWS: Total Picture Views: 147060 | Total Article Views: 155624 | Top 5 Most Popular Article: 1. Am I Stuck Algorithm with Becker Robot | 2. How to read a JSON and work with it | 3. PickUpThings with Becker Robot | 4. Encrypted Data GUI (Download .Zip) | 5. Create Wall and Things with Becker

SVG HTML

Description:

In this example I will be showing how to use SVG.

You can view the example at https://www.jmdev.ca/sheridan/example/11/

Code:

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>SVG</title>
</head>
<body>
    <svg height="500" width="500" style="border: 5px solid red;background-color: lightblue">
        <circle cx="50" cy="50" r="20" style="stroke: green;stroke-width: 5px;fill:red;"></circle>
        <line x1="100" y1="100" x2="300" y2="300" style="stroke: yellow;stroke-width: 5px; fill: yellow"></line>
        <ellipse cx="100" cy="300" rx="50" ry="70" style="stroke: orange;stroke-width: 5px;fill: yellow;"></ellipse>
        <polygon points="10,300 100,25 75,180 10,300" style="stroke: yellow; stroke-width: 5px; fill: yellow;"></polygon>
    </svg>
</body>
</html>
Attachments: None

Tags: SVG

Total Views: 789

My name is Jean-Mathieu

I created this website so other people could enjoy finding useful stuff easier. If you have any question do not hesitate to contact me.

jean8mathieuCreated on 03/17/15


affiliate_link

Disclosure: We are a website that needs compensation to operate like any other website on the internet.
We may receive consideration for our reviews but we are totally unbiased and do not accept paid reviews or fake reviews claiming to be something they are not.