<script> or <style> tags. data-* attributes or hidden elements, then access it in Page Settings Footer with JavaScript.If your HTML embed component in Webflow is displaying raw tags instead of rendering or outputting values from the CMS Collection, it's typically due to syntax or incorrect dynamic field usage.
<script> or <style> tags—Webflow escapes them for security, which causes issues.
<script> or <style> tags.<script>var name = "{{name}}";</script> — Outputs the raw {{name}} string.<div data-name="{{name}}"></div> — Then read it with JavaScript elsewhere (e.g., via custom code in the Page Settings Footer block).
{{name}} inside the embed without using the dynamic binding, Webflow won’t replace it.
{{fieldName}} or similar template syntax inside an embed.
data-* attributes** or hidden elements:<div id="cmsData" data-name="(Add Field → Name)"> </div>document.getElementById("cmsData").dataset.name in JavaScript.
To fix CMS values not rendering in an HTML embed: avoid putting CMS fields inside <script> tags, use the "Add Field" button, and pass values via attributes for scripts handled in the Footer. This ensures proper output and avoids raw tag display.