Horje
How to create HTML SVG Rectangle | HTML SVG Graphics Code
How to create HTML SVG Rectangle

Design up HTML SVG Rectangle


Example of HTML SVG Rectangle

Follow the Example
index.html
Example: HTML
<svg width="400" height="100">
  <rect width="400" height="100" style="fill:rgb(0,0,255);stroke-width:10;stroke:rgb(0,0,0)" />
</svg>

Output should be:

Example of HTML SVG Rectangle

Full Example of HTML SVG Rectangle

Follow the Example
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<svg width="400" height="100">
  <rect width="400" height="100" 
  style="fill:rgb(0,0,255);stroke-width:10;stroke:rgb(0,0,0)" />
Sorry, your browser does not support inline SVG.
</svg>
 
</body>
</html>

Output should be:

Full Example of HTML SVG Rectangle



Read Full::
HTML SVG Graphics Code
Category:
HTML Code
Sub Category:
HTML SVG Graphics Code
Uploaded:
6 months ago
Uploaded by:
Admin
Views:
3

Related Articles
What is HTML SVG Graphics HTML SVG Graphics Code
How to create HTML <svg> Circle Element HTML SVG Graphics Code
How to create HTML SVG Rectangle HTML SVG Graphics Code
How to design HTML SVG Rounded Rectangle HTML SVG Graphics Code
How to design HTML SVG Star HTML SVG Graphics Code
How to design HTML SVG Logo HTML SVG Graphics Code
What are the Differences Between SVG and Canvas HTML SVG Graphics Code

Single Articles
Example of HTML SVG Rectangle
Full Example of HTML SVG Rectangle

Share on: