---
title: "Discussion on \"What are inline and block elements in HTML\" | Hashnode"
description: "Discussion on \"What are inline and block elements in HTML\". Inline elements are elements that take up only as much width as necessary and do not create a new line after them. Examples of inline elements include"
url: "https://hashnode.com/posts/what-are-inline-and-block-elements-in-html/63cfc5f1744a5690e53729d8"
---

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

Discussion

# [What are inline and block elements in HTML](https://amitk.hashnode.dev/what-are-inline-and-block-elements-in-html?utm_source=hashnode&utm_medium=feed)

Inline elements are elements that take up only as much width as necessary and do not create a new line after them. Examples of inline elements include

Jan 24, 2023 · 2 min read · amitk.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#block-element](https://hashnode.com/tag/block-element)
-   [#inline-elemnt](https://hashnode.com/tag/inline-elemnt)

## Written by

[Amit kumar](https://hashnode.com/@Amitk4600)

@Amitk4600

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

web development

pursuing full stack web development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
