---
title: "Discussion on \"What is display property in HTML?\" | Hashnode"
description: "Discussion on \"What is display property in HTML?\". Let us first understand the concept of margin and padding in HTML elements and why we use them.\nPadding is a space between the content and the border, or, in other words, it is a space between the HTML elements from the inside. It is used to create s..."
url: "https://hashnode.com/posts/what-is-display-property-in-html/63e3f7b9e83b3ad14fe1cf0b"
---

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

Discussion

# [What is display property in HTML?](https://aakarshit.hashnode.dev/what-is-display-property-in-html?utm_source=hashnode&utm_medium=feed)

Let us first understand the concept of margin and padding in HTML elements and why we use them. Padding is a space between the content and the border, or, in other words, it is a space between the HTML elements from the inside. It is used to create s...

Feb 8, 2023 · 2 min read · aakarshit.hashnode.dev  
Read the article

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

## Written by

[Aakarshit Choudhary](https://hashnode.com/@Aakarshit)

@Aakarshit

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

Full-Stacks Developer Beginner

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
