vc_raw_html Shortcode

The vc_raw_html shortcode renders the raw HTML component.

The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.

In the backend builder, use the element's code action to edit content in the dedicated full-screen CodeMirror modal. The standard edit action remains available for the element ID, extra class, and responsive visibility settings. Other shortcode parameters that use a code editor are not moved into this modal.

Usage

[vc_raw_html]

Attributes

Attribute Default Accepted values Purpose
content PHA+SSBhbSByYXcgaHRtbCBibG9jay48YnIvPkNsaWNrIGVkaXQgYnV0dG9uIHRvIGNoYW5nZSB0aGlzIGh0bWw8L3A+ String unless stated otherwise Enter your HTML content.
device_visibility String unless stated otherwise Applies the selected responsive visibility rule.
el_id Valid unique HTML ID Enter element ID (Note: make sure it is unique and valid according to w3c specification).
el_class String unless stated otherwise Style particular content element differently - add a class name and refer to it in custom CSS.

Verification

Limit vc_raw_html to trusted authors, review the supplied source carefully and confirm it does not block the rest of the page. Pay particular attention to content.