Question: Select all that apply. Which of the following are HTML semantic elements?
- span
- main
- header
- nav
Explanation
HubSpot defines semantic markup as HTML that conveys meaning about the content inside an element. Tags used for major page regions and document structure fit this model because they communicate purpose to browsers, search engines, and assistive technologies. HubSpot specifically treats region-defining elements such as main, header, and nav as semantic because they identify the role of that content within the page. In HubSpot CMS development, these elements also support accessible page structure and clearer landmarks for navigation. HubSpot Developers
Why the other options are incorrect
span is non-semantic in HubSpot’s accessibility guidance because it does not describe content meaning and is mainly used for presentation or inline grouping. HubSpot Developers
Source for verification
https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/accessibility
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
