---
title: "Discussion on \"SVG Notes: Line & Rect Reference\" | Hashnode"
description: "Discussion on \"SVG Notes: Line & Rect Reference\". rect -> Rectangle\nBasic Rectangle\n<rect x=\"10\" y=\"10\" width=\"50\" height=\"30\" />\n\n\nx, y = top-left corner position\n\nwidth, height = dimensions\n\n\nRounded Corners\n<rect x=\"10\" y=\"10\" width=\"50\" height=\"30\" rx=\"5\" ry=\"5\" />\n\n\nrx = horizontal corner radiu..."
url: "https://hashnode.com/posts/svg-notes-line-and-rect-reference/686a7dcb5a1408a3e9eb193f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SVG Notes: Line & Rect Reference](https://tigerabrodi.blog/svg-notes-line-and-rect-reference?utm_source=hashnode&utm_medium=feed)

rect -> Rectangle Basic Rectangle <rect x="10" y="10" width="50" height="30" /> x, y = top-left corner position width, height = dimensions Rounded Corners <rect x="10" y="10" width="50" height="30" rx="5" ry="5" /> rx = horizontal corner radiu...

Jul 6, 2025 · 1 min read · tigerabrodi.blog  
Read the article

-   [#html5](https://hashnode.com/tag/html5)
-   [#html](https://hashnode.com/tag/html)

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

  
[View profile](https://hashnode.com/@tigerabrodi)

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
