# Main element lesson?

**URL:** <https://forum.freecodecamp.org/t/main-element-lesson/771233>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [December 24, 2025, 2:19am UTC](https://forum.freecodecamp.org/t/main-element-lesson/771233 "2025-12-24T02:19:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fir\_tree](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/fir_tree/32/414480_2.png) [@Fir\_tree](https://forum.freecodecamp.org/u/Fir_tree)\
**Post date:** [December 24, 2025, 2:19am UTC](https://forum.freecodecamp.org/t/main-element-lesson/771233/1 "2025-12-24T02:19:10Z")

</div>

Where is the main element taught? The video compilation lab asked for a main element. I don’t think I’ve run into it in a lesson though. I looked it on the mdn but wondered if there was something here about it?

---

<div class="post-metadata">

**Author:** ![Teller](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teller/32/412338_2.png) [@Teller](https://forum.freecodecamp.org/u/Teller)\
**Post date:** [December 24, 2025, 3:27am UTC](https://forum.freecodecamp.org/t/main-element-lesson/771233/2 "2025-12-24T03:27:33Z")

</div>

Hi @Fir_tree

The `main` element is mentioned in the “Accessibility” module, in the “What are ARIA roles?” session.

They are a semantic element, so the tag name describes what the element is used for.

It is used to group the main content of a web page.

If you cannot find something on the fCC page, then you can search for it online.

Happy coding

---

<div class="post-metadata">

**Author:** ![Fir\_tree](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/fir_tree/32/414480_2.png) [@Fir\_tree](https://forum.freecodecamp.org/u/Fir_tree)\
**Post date:** [December 24, 2025, 3:59am UTC](https://forum.freecodecamp.org/t/main-element-lesson/771233/3 "2025-12-24T03:59:07Z")

</div>

I’ll look out for it. Haven’t done that. I generally find the information here easier to understand than other sources.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [December 24, 2025, 8:41am UTC](https://forum.freecodecamp.org/t/main-element-lesson/771233/5 "2025-12-24T08:41:09Z")

</div>

this is the first time you are asked to use a `main` element: [https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-cat-photo-app/step-5](https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-cat-photo-app/step-5)

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [May 7, 2026, 7:49am UTC](https://forum.freecodecamp.org/t/main-element-lesson/771233/6 "2026-05-07T07:49:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
