首页 > 解决方案 > 在标签中渲染 html 标签

问题描述

我想将标签中的正文标签呈现为文本元素

<label for="message-text" class="col-form-label">
  <strong>Copy and paste this code in Google Tag Manager as custom html or paste this code before </body> tag on your website page(s).</strong>
</label>

但是我该怎么做呢?

标签: html

解决方案


将此&lt;用于< ,&gt;>

完整列表

演示

<label for="message-text" class="col-form-label">
  <strong>Copy and paste this code in Google Tag Manager as custom html or paste this code before &lt;/body&gt; tag on your website page(s).</strong>
</label>


推荐阅读