Choosing Semantic HTML Elements in Divi 5

By Interactive OnlinePublished Updated Editorial draft

Quick Answer

Semantic elements describe a page’s structure, such as navigation, its main content and a self-contained article. Divi 5’s Element Type control lets you choose an appropriate HTML tag for supported elements. Choose tags from the content’s purpose, inspect the complete rendered page and keep ordinary styling containers generic when they add no structural meaning.

A visual section in a builder is not automatically an HTML section, landmark or article. Decide what the content means before choosing the tag that surrounds it.

Map the whole page first

List the site header, navigation, main content, related information and footer. Include the parts supplied by a WordPress theme or Divi Theme Builder template. The article body may already sit inside the page’s main content area.

The W3C landmark guidance explains how structure supports navigation with assistive technology. Inspect the existing output before adding another main landmark inside a content module or another site-level banner around an ordinary section heading.

Review headings separately. A meaningful container does not correct an unexplained heading sequence or make a styled paragraph into a heading. Write headings that describe their sections and use the appropriate heading elements.

Choose the tag from the content relationship

A navigation region contains a substantial set of navigation links. An article represents content that makes sense as a self-contained composition. A section groups a distinct topic, usually with a heading. A div can remain the right choice for a container used only to arrange a grid or apply spacing.

MDN’s section reference distinguishes topical sections from styling wrappers and more specific elements. Use that distinction when a page contains many nested Divi rows and groups. Giving every wrapper a semantic tag can make the structure harder to interpret.

For an illustrative service page, “What the service includes” may form a headed section within the main content. A nested group holding its three decorative icons may only need a generic container.

Apply the change in Divi and inspect the result

The January 21, 2026 Elegant Themes guide documents the Advanced tab’s HTML option group and Element Type selector. Change one representative element on a development copy and inspect the saved front end before repeating the pattern.

Check the surrounding nesting and any implied landmark role. A header within an article has a different context from the site’s top-level header. Multiple navigation regions may need distinct names that identify their purpose.

Use the custom HTML wrapper fields only when the required structure cannot be expressed by the selected element’s native options. Extra wrappers add another structure to inspect and maintain.

Review structure and behavior together

Inspect the heading list and landmarks with accessibility tools, then check keyboard use and relevant screen-reader navigation. A correct container tag helps describe content but does not supply missing link names, button behavior, image alternatives or form labels.

Document the structural pattern in the site’s editing instructions so new pages follow it. Our website accessibility service can help assess the rendered page and explain corrections in the context of the whole template. A tag change alone does not establish WCAG conformance or a search-ranking improvement.

Key Takeaways

  • Inspect the shared template before tagging article or page content.
  • Choose elements for their content meaning.
  • Keep generic containers for layout-only wrappers.
  • Review headings, landmarks and interactions separately.

Frequently Asked Questions

Should every Divi section use the section tag?

No. A builder container may only provide layout. Use a topical section where it fits the content and a more specific element when appropriate.

Should I add main around each article section?

No. Inspect the page’s existing main content area. Individual article sections belong within that structure rather than becoming repeated main landmarks.

Does selecting button make a complete interactive control?

Review the resulting markup, accessible name and behavior. Changing an element type alone does not implement the action and its required interaction.

Archives