允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h3> <h4> <h5> <h6> <p> <img> <br>
本站允许 HTML 标签,虽然学习 HTML 可能比较困难,但学习如何使用一小部分基础的 HTML“标签”是很容易的。这个表格提供了本站可用的 HTML 标签的例子。
更多信息,请参见 W3C 组织的 HTML 或使用您喜欢的搜索引擎搜索其他解释 HTML 的站点。
| 标签说明 | 您输入 | 您得到 |
|---|---|---|
| 锚点(anchor)用来生成链接到其他页面的链接。 | <a href="http://drupalgarden.cn">Drupal花园</a> | Drupal花园 |
| 强调 | <em>强调</em> | 强调 |
| 强调 | <strong>强调</strong> | 强调 |
| 引用 | <cite>引用</cite> | 引用 |
| 编码化文本,用于显示程序源代码 | <code>编码化</code> | 编码化 |
| 无序列表 - 使用 <li> 开始每个项目 | <ul> <li>第一项</li> <li>第二项</li> </ul> |
|
| 顺序列表- 使用 <li> 来开始每个项目 | <ol> <li>第一项</li> <li>第二项</li> </ol> |
|
| 定义列表类似于其他 HTML列表。<dl> 开始定义列表,<dt> 开始定义列表项,<dd> 则开始列表描述。 | <dl> <dt>第一个术语</dt> <dd>第一个定义</dd> <dt>第二个术语</dt> <dd>第二个定义</dd> </dl> |
|
| 预格式化的 | <pre>预格式化的</pre> | 预格式化的 |
| 标题 | <h3>副标题三</h3> | 副标题三 |
| 标题 | <h4>副标题四</h4> | 副标题四 |
| 标题 | <h5>副标题五</h5> | 副标题五 |
| 标题 | <h6>副标题六</h6> | 副标题六 |
| 默认情况下,段落标记自动被添加。如果要再加一个,使用此标签。 | <p>第一段。</p> <p>第二段。</p> | 第一段。 第二段。 |
| 目前没有标签 img 的说明。 | ||
| 默认情况下,换行符被自动添加,使用此标签将额外添加一个换行符。注意这个标签不像其他 HTML 标签一样使用一对开/关标记。另外,在标签内加上一个 "/"来和 XHTML1.0 兼容 | 带有 <br /> 换行符的文本 | 带有 换行符的文本 |
许多特殊字符可以轻松的直接输入。
如果您碰到问题,尝试使用 HTML 字符实体。一个通常的例子,类似于 & 代表一个与符号(&)。全部的列表参见 HTML 实体。某些可用字符包括:
| 字符说明 | 您输入 | 您得到 |
|---|---|---|
| 与标记(&) | & | & |
| 大于号 | > | > |
| 小于号 | < | < |
| 双引号 | " | " |
Quoted content can be placed between [quote] tags in order to be displayed as an indented quote. Every [quote] tag must have a corresponding [/quote] tag. For example:
[quote]This is a simple quote.[/quote]is displayed as:
Additionally, there is an optional attribute which allows quotes to specify the original author.
[quote=Mr. Drupal]This is a quote with an attribution line.[/quote]is displayed as:
Finally, multiple [quote] tags can be nested within one another. Just remember that every [quote] tag must have a corresponding [/quote] tag.
[quote]I think she says it best... [quote=Ms. Quotation]This is a quote nested within another quote.[/quote] but you can't argue with [quote=Ms. Reply]The more quotes, the merrier. Just don't get too carried away.[/quote] And I have nothing more to say.[/quote]is displayed as:
Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
Example: {syntaxhighlighter brush:php;collapse:true;first-line:50;highlight:[57,81,101];class-name:'some_class some_other_class'}...{/syntaxhighlighter}
This will syntax highlight PHP code, initially collapsed, start line number at 50, highlight lines 57, 81 and 101 and tag highlighted code with class names some_class and some_other_class.
See the Syntaxhighlighter javascript library site for additional helps.
Break long pages into smaller ones by means of a page break tag (e.g. <!--pagebreak-->):
First page here. <!--pagebreak--> Second page here. <!--pagebreak--> More pages here.
Automatic page breaking based on character or word count is also supported.
Quoted content can be placed between [quote] tags in order to be displayed as an indented quote. Every [quote] tag must have a corresponding [/quote] tag. For example:
[quote]This is a simple quote.[/quote]is displayed as:
Additionally, there is an optional attribute which allows quotes to specify the original author.
[quote=Mr. Drupal]This is a quote with an attribution line.[/quote]is displayed as:
Finally, multiple [quote] tags can be nested within one another. Just remember that every [quote] tag must have a corresponding [/quote] tag.
[quote]I think she says it best... [quote=Ms. Quotation]This is a quote nested within another quote.[/quote] but you can't argue with [quote=Ms. Reply]The more quotes, the merrier. Just don't get too carried away.[/quote] And I have nothing more to say.[/quote]is displayed as:
Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
Example: {syntaxhighlighter brush:php;collapse:true;first-line:50;highlight:[57,81,101];class-name:'some_class some_other_class'}...{/syntaxhighlighter}
This will syntax highlight PHP code, initially collapsed, start line number at 50, highlight lines 57, 81 and 101 and tag highlighted code with class names some_class and some_other_class.
See the Syntaxhighlighter javascript library site for additional helps.
允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h3> <h4> <h5> <h6> <img> <table> <th> <td> <tr> <thead> <tbody> <tfoot>
本站允许 HTML 标签,虽然学习 HTML 可能比较困难,但学习如何使用一小部分基础的 HTML“标签”是很容易的。这个表格提供了本站可用的 HTML 标签的例子。
更多信息,请参见 W3C 组织的 HTML 或使用您喜欢的搜索引擎搜索其他解释 HTML 的站点。
| 标签说明 | 您输入 | 您得到 | ||
|---|---|---|---|---|
| 锚点(anchor)用来生成链接到其他页面的链接。 | <a href="http://drupalgarden.cn">Drupal花园</a> | Drupal花园 | ||
| 强调 | <em>强调</em> | 强调 | ||
| 强调 | <strong>强调</strong> | 强调 | ||
| 引用 | <cite>引用</cite> | 引用 | ||
| 编码化文本,用于显示程序源代码 | <code>编码化</code> | 编码化 | ||
| 无序列表 - 使用 <li> 开始每个项目 | <ul> <li>第一项</li> <li>第二项</li> </ul> |
| ||
| 顺序列表- 使用 <li> 来开始每个项目 | <ol> <li>第一项</li> <li>第二项</li> </ol> |
| ||
| 定义列表类似于其他 HTML列表。<dl> 开始定义列表,<dt> 开始定义列表项,<dd> 则开始列表描述。 | <dl> <dt>第一个术语</dt> <dd>第一个定义</dd> <dt>第二个术语</dt> <dd>第二个定义</dd> </dl> |
| ||
| 预格式化的 | <pre>预格式化的</pre> | 预格式化的 | ||
| 标题 | <h3>副标题三</h3> | 副标题三 | ||
| 标题 | <h4>副标题四</h4> | 副标题四 | ||
| 标题 | <h5>副标题五</h5> | 副标题五 | ||
| 标题 | <h6>副标题六</h6> | 副标题六 | ||
| 目前没有标签 img 的说明。 | ||||
| 表格 | <table> <tr><th>表格的表头</th></tr> <tr><td>表格单元格</td></tr> </table> |
| ||
| 目前没有标签 thead 的说明。 | ||||
| 目前没有标签 tbody 的说明。 | ||||
| 目前没有标签 tfoot 的说明。 | ||||
许多特殊字符可以轻松的直接输入。
如果您碰到问题,尝试使用 HTML 字符实体。一个通常的例子,类似于 & 代表一个与符号(&)。全部的列表参见 HTML 实体。某些可用字符包括:
| 字符说明 | 您输入 | 您得到 |
|---|---|---|
| 与标记(&) | & | & |
| 大于号 | > | > |
| 小于号 | < | < |
| 双引号 | " | " |
Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
Example: {syntaxhighlighter brush:php;collapse:true;first-line:50;highlight:[57,81,101];class-name:'some_class some_other_class'}...{/syntaxhighlighter}
This will syntax highlight PHP code, initially collapsed, start line number at 50, highlight lines 57, 81 and 101 and tag highlighted code with class names some_class and some_other_class.
See the Syntaxhighlighter javascript library site for additional helps.