Divi 5’s Semantic Elements and HTML Wrapper Update

By Interactive OnlinePublished Updated Editorial draft

Quick Answer

Divi 5 added Element Type selection and HTML Before/After fields to give builders more control over rendered markup. The publisher’s announcement, last updated January 5, 2026, records that feature change. Use the controls for a defined structural requirement, then verify the full template and behavior. Their availability does not establish that an existing website needs every container retagged.

The useful change was direct access to markup choices that previously needed a different implementation. Deciding where to use those choices still requires an understanding of the page.

What the announcement documented

The Elegant Themes announcement describes Element Type selection in an Advanced HTML option group and fields for markup before and after an element. The first changes the selected element’s tag; the latter can add surrounding markup.

This record belongs to the Divi 5 development period before its February 26, 2026 official release. The source’s last-updated date should not be treated as proof of an earlier publication date or as a claim that these controls are new today.

Start with an inventory of existing markup

Inspect a representative page and its shared header, footer and content template. Identify which structure the theme already supplies and which custom sections need attention. Record the actual problem, such as an unlabeled navigation region or a repeated main area.

Prioritize patterns that repeat across the site. A correction in a shared template can affect many pages, so review that scope before editing the definition. A unique campaign section may need a local change instead.

Keep layout-only containers when their purpose is layout. Our semantic tag guide covers choosing elements from content meaning.

Choose the smallest appropriate markup change

Use Element Type when the selected container should carry a different native meaning. Use a class or another supported attribute when the requirement is a styling hook or a label on the correct target. Use before/after markup when an additional valid structure is necessary.

For an illustrative custom navigation area, first identify the group of links and its opening control. The navigation container’s structure and the control’s action need separate review. Selecting nav does not implement a menu’s opening, closing or keyboard behavior.

Our roles and attributes guide covers names, roles and states. The HTML wrapper guide covers tag pairing and nesting.

Define acceptance by the rendered result

Inspect the saved HTML, heading sequence and landmarks, then test affected interactions. The W3C landmark guidance helps distinguish structural regions and their names.

Record the approved pattern and any code dependencies so later editing preserves it. Avoid using a tag change as evidence of improved rankings or complete accessibility. Our accessibility service can review the resulting page, and ongoing development can address repeated structural problems in the appropriate template.

Key Takeaways

  • The announcement records access to element and wrapper controls.
  • Inspect existing theme and template output before changing it.
  • Choose tags, attributes and wrappers for specific requirements.
  • Approve the rendered structure and behavior, not the setting alone.

Frequently Asked Questions

Should an existing site be retagged immediately?

Start with a rendered audit and prioritize actual structural problems. Avoid changing correct or layout-only containers without a requirement.

Are Element Type and HTML wrappers the same control?

No. One chooses the selected element’s tag. Before/after fields add markup around its output.

Does a nav tag implement a complete custom menu?

No. It identifies navigation structure. The links, opening control, focus behavior and responsive interaction still require review.

Archives