---
title: "Discussion on \"Display : block, inline, inline-block\" | Hashnode"
description: "Discussion on \"Display : block, inline, inline-block\". 1. block\n\nBegins a new line of text.\n\nIts width extends beyond the inner content.\n\nYou can set the value of width and height.\n\nRespect margin-left, margin-right, margin-top, margin-bottom and padding.\n\nCan contain text, data, inline elements and othe..."
url: "https://hashnode.com/posts/display-block-inline-inline-block/63a446e9df1887deeb43a6cc"
---

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

Discussion

# [Display : block, inline, inline-block](https://drashtijethvablogs.hashnode.dev/display-block-inline-inline-block?utm_source=hashnode&utm_medium=feed)

1\. block Begins a new line of text. Its width extends beyond the inner content. You can set the value of width and height. Respect margin-left, margin-right, margin-top, margin-bottom and padding. Can contain text, data, inline elements and othe...

Dec 22, 2022 · 2 min read · drashtijethvablogs.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#fresher](https://hashnode.com/tag/fresher)

## Written by

[Drashti Jethva](https://hashnode.com/@drashtijethva)

@drashtijethva · India

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

I am Frontend Developer & Developer blogger

Microsoft BETA Student Ambassador | Frontend Developer | Data Structure &amp; Algorithm Expert | Developer Blogger

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
