# COS Structure

**URL:** <https://community.hubspot.com/t/cos-structure/1441>\
**Category:** CMS Development\
**Tags:** css, html\
**Created:** [April 1, 2017, 12:05pm UTC](https://community.hubspot.com/t/cos-structure/1441 "2017-04-01T12:05:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhlesh1993](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akhlesh1993/32/13631_2.png) [@akhlesh1993](https://community.hubspot.com/u/akhlesh1993)\
**Post date:** [April 1, 2017, 12:05pm UTC](https://community.hubspot.com/t/cos-structure/1441/1 "2017-04-01T12:05:31Z")

</div>

Hello,

I am very new to hubspot cos. I am just trying to understand the basic structure of hubspot cos modules. While studying about modules, i have found a ‘\<span\>’ tag inside their modules. I was just thinking that:

What is the purpose behind using \<span class=“hs\_cos\_wrapper hs\_cos\_wrapper\_type\_header”\>…\</span\>???

They can simply use the \<div\> tag instead of using \<span\>.

Thank you for your answer in advance.

---

<div class="post-metadata">

**Author:** ![robsobers](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robsobers/32/15627_2.png) [@robsobers](https://community.hubspot.com/u/robsobers)\
**Post date:** [April 3, 2017, 1:32pm UTC](https://community.hubspot.com/t/cos-structure/1441/2 "2017-04-03T13:32:27Z")

</div>

\<div\> is a block-level element, meaning that it forces a line break above and below it.

\<span\> is an inline element, so it can be inserted **within** a module to give you control over an element without forcing a line break.

I’ve found that the COS goes to great lengths to give you CSS classes on each element so that you can style your pages using stylesheets without having to write any inline CSS.

-Rob

[https://hubspotcourse.com](https://hubspotcourse.com)

---

<div class="post-metadata">

**Author:** ![akhlesh1993](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akhlesh1993/32/13631_2.png) [@akhlesh1993](https://community.hubspot.com/u/akhlesh1993)\
**Post date:** [April 4, 2017, 2:01pm UTC](https://community.hubspot.com/t/cos-structure/1441/3 "2017-04-04T14:01:00Z")

</div>

Thanks Rob…
