Put in bold part of description in metatag Drupal module(将描述的粗体部分放在元标记 Drupal 模块中)
问题描述
我正在使用 Drupal 7 的 Metatag 模块.我想将部分描述放在 bold 中.
I'm using Metatag module of Drupal 7. I want to put part of the description in bold.
例如我有如下源码:
<meta name="description" content="My new content of web page" />
我想用粗体显示我的新内容".
and I want to put "My new content" in bold.
有可能吗?
推荐答案
这是不可能的.
meta-description 只能包含文字:
The meta-description can only contain text:
该值必须是描述页面的自由格式字符串.
The value must be a free-form string that describes the page.
即使您输入 HTML 元素,它们也只会显示为文本.
Even if you’d enter HTML elements, they would just be displayed as text.
这篇关于将描述的粗体部分放在元标记 Drupal 模块中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:将描述的粗体部分放在元标记 Drupal 模块中
基础教程推荐
- 检查 HTML5 拖放文件类型 2022-01-01
- 如何添加到目前为止的天数? 2022-01-01
- fetch 是否支持原生多文件上传? 2022-01-01
- 即使用户允许,Gmail 也会隐藏外部电子邮件图片 2022-01-01
- 在 contenteditable 中精确拖放 2022-01-01
- Bootstrap 模态出现在背景下 2022-01-01
- Bokeh Div文本对齐 2022-01-01
- npm start 错误与 create-react-app 2022-01-01
- 原生拖动事件后如何获取 mouseup 事件? 2022-01-01
- Fabric JS绘制具有活动形状的多边形 2022-01-01
