---
title: "Discussion on \"Learn: Box-Model\" | Hashnode"
description: "Discussion on \"Learn: Box-Model\". Every HTML element is treated as a box, the box model is nothing but the element has the margin , border , padding , content . It mainly talks about the layout of the element.\n\nMargin\nThe margin is nothing but we are giving the space outside the bord..."
url: "https://hashnode.com/posts/learn-box-model/63c7b0b94c2d2d9de241d3d6"
---

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

Discussion

# [Learn: Box-Model](https://nareshblogs.dev/learn-box-model?utm_source=hashnode&utm_medium=feed)

Every HTML element is treated as a box, the box model is nothing but the element has the margin , border , padding , content . It mainly talks about the layout of the element. Margin The margin is nothing but we are giving the space outside the bord...

Jan 18, 2023 · 3 min read · nareshblogs.dev  
Read the article

-   [#ineuron-hiteshchaudhary-webdev-javascript-lco-learncodeonline-lco-css-learncodeonline-cssselectors-hiteshchoudharylco-code-with-hitesh-choudhary](https://hashnode.com/tag/ineuron-hiteshchaudhary-webdev-javascript-lco-learncodeonline-lco-css-learncodeonline-cssselectors-hiteshchoudharylco-code-with-hitesh-choudhary)
-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#anuragtiwarime](https://hashnode.com/tag/anuragtiwarime)

## Written by

[Naresh Chandragiri](https://hashnode.com/@nareshpittu769)

@nareshpittu769 · Andra Pradesh, INDIA

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

Always learning new.

I am a currently undergraduate student from computer science background. I'm currently learning full stack web development.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
