Change Layouts

Cpanel

编写提示

  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong><font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code><th><cite> <embed> <object> <param> <strike> <caption>

    本站允许 HTML 标签,虽然学习 HTML 可能比较困难,但学习如何使用一小部分基础的 HTML“标签”是很容易的。这个表格提供了本站可用的 HTML 标签的例子。

    更多信息,请参见 W3C 组织的 HTML 或使用您喜欢的搜索引擎搜索其他解释 HTML 的站点。

    标签说明您输入您得到
    锚点(anchor)用来生成链接到其他页面的链接。<a href="http://www.taohai.com">淘海</a>淘海
    默认情况下,段落标记自动被添加。如果要再加一个,使用此标签。<p>第一段。</p> <p>第二段。</p>

    第一段。

    第二段。

    目前没有标签 span 的说明。
    目前没有标签 div 的说明。
    标题<h1>标题</h1>

    标题

    标题<h2>副标题</h2>

    副标题

    标题<h3>副标题三</h3>

    副标题三

    标题<h4>副标题四</h4>

    副标题四

    标题<h5>副标题五</h5>
    副标题五
    标题<h6>副标题六</h6>
    副标题六
    目前没有标签 img 的说明。
    目前没有标签 map 的说明。
    目前没有标签 area 的说明。
    目前没有标签 hr 的说明。
    默认情况下,换行符被自动添加,使用此标签将额外添加一个换行符。注意这个标签不像其他 HTML 标签一样使用一对开/关标记。另外,在标签内加上一个 "/"来和 XHTML1.0 兼容带有 <br /> 换行符的文本带有
    换行符的文本
    默认情况下,换行符被自动添加,使用此标签将额外添加一个换行符。注意这个标签不像其他 HTML 标签一样使用一对开/关标记。另外,在标签内加上一个 "/"来和 XHTML1.0 兼容带有 <br /> 换行符的文本带有
    换行符的文本
    无序列表 - 使用 <li> 开始每个项目<ul> <li>第一项</li> <li>第二项</li> </ul>
    • 第一项
    • 第二项
    顺序列表- 使用 <li> 来开始每个项目<ol> <li>第一项</li> <li>第二项</li> </ol>
    1. 第一项
    2. 第二项
    定义列表类似于其他 HTML列表。<dl> 开始定义列表,<dt> 开始定义列表项,<dd> 则开始列表描述。<dl> <dt>第一个术语</dt> <dd>第一个定义</dd> <dt>第二个术语</dt> <dd>第二个定义</dd> </dl>
    第一个术语
    第一个定义
    第二个术语
    第二个定义
    表格<table> <tr><th>表格的表头</th></tr> <tr><td>表格单元格</td></tr> </table>
    表格的表头
    表格单元格
    强调<em>强调</em>强调
    粗体<b>粗体</b>粗体
    下划线<u>下划线</u>下划线
    斜体<i>斜体</i>斜体
    强调<strong>强调</strong>强调
    目前没有标签 font 的说明。
    已删除<del>已删除</del>已删除
    已插入<ins>已插入</ins>已插入
    下标<sub>下</sub>标
    上标<sup>上</sup>标
    目前没有标签 quote 的说明。
    区块引言<blockquote>区块引言</blockquote>
    区块引言
    预格式化的<pre>预格式化的</pre>
    预格式化的
    目前没有标签 address 的说明。
    编码化文本,用于显示程序源代码<code>编码化</code>编码化
    引用<cite>引用</cite>引用
    目前没有标签 embed 的说明。
    目前没有标签 object 的说明。
    目前没有标签 param 的说明。
    目前没有标签 strike 的说明。
    目前没有标签 caption 的说明。

    许多特殊字符可以轻松的直接输入。

    如果您碰到问题,尝试使用 HTML 字符实体。一个通常的例子,类似于 &amp; 代表一个与符号(&)。全部的列表参见 HTML 实体。某些可用字符包括:

    字符说明您输入您得到
    与标记(&)&amp;&
    大于号&gt;>
    小于号&lt;<
    双引号&quot;"
  • 行和段被自动识别。<br /> 分行、<p> 段落开始以及 </p> 段落结束标记会被自动插入。如果段落没有被识别出来,只要加入一对空行。
  • Images can be added to this post.
  • You may link to files uploaded with the current node using special tags. The tags will be replaced by the corresponding files. For example: Suppose you uploaded three files (in this order):

    • imag1.png (referred as file #1)
    • file1.pdf (referred as file #2)
    • imag2.png (referred as file #3)
    [inline:1=test]  or  [inline:imag1.png=test]
    will be replaced by <img src=imag1.png alt=test>
    [file:1=test]  or  [file:imag1.png=test]
    will be replaced by <a href=imag1.png>test</a>
    [attachment:2=test]  or  [attachment:file1.pdf=test]
    will be replaced by <a href=file1.pdf.png>test</a>

  • To add a lightbox to your images, add rel="lightbox" attribute to any link tag to activate the lightbox. For example:

    <a href="image-1.jpg" rel="lightbox">image #1</a>

    <a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>

    To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute.

    If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:

    <a href="image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
    <a href="image-2.jpg" rel="lightbox[roadtrip][caption 2]">image #2</a>
    <a href="image-3.jpg" rel="lightbox[roadtrip][caption 3]">image #3</a>

    There are no limits to the number of image sets per page or how many images are allowed in each set.

    If you wish to turn the caption into a link, format your caption in the following way:

    <a href="image-1.jpg" rel='lightbox[][<a href="http://www.yourlink.com">View Image Details</a>]' >image #1</a>

  • Image links from G2 are formatted for use with Lightbox2
  • To add a lightbox slideshow to your images, add rel="lightshow[slideshowname][slide caption]" attribute to any link tag to activate the slideshow. For example:

    <a href="image-1.jpg" rel="lightshow[show1]">image #1</a>
    <a href="image-2.jpg" rel="lightshow[show1]">image #2</a>
    <a href="image-3.jpg" rel="lightshow[show1]">image #3</a>

    The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox.

    There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow.

    If you wish to turn the caption into a link, format your caption in the following way:

    <a href="image-1.jpg" rel='lightshow[show1][<a href="http://www.yourlink.com">View Image Details</a>]'>image #1</a>

  • It's possible to show webpage content in the lightbox, using iframes. In this case the "rel" attribute should be set to "lightframe". Again it's possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the "width", "height" and "scrolling" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

    Basic example:
    <a href="http://www.google.com" rel="lightframe">Search google</a>

    Grouped example:
    <a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
    <a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>

    Controlling iframe property example:
    <a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>

    Controlling iframe property when grouped example:
    <a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
    <a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>

  • It's possible to show video content in the lightbox. In this case the "rel" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the "width" and "height" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

    Basic example:
    <a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>

    Controlling lightbox size example:
    <a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>

    Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org.

  • It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the "rel" attribute should be set to "lightmodal". Again it's possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it's possible to control some of the modal properties. It's possible to set the "width", "height" and "scrolling" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

    Basic example:
    <a href="search.php" rel="lightmodal">Search</a>

    Grouped example:
    <a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
    <a href="search.php?status=1" rel="lightmodal[search]">Search published</a>

    Controlling modal property example:
    <a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>

    Controlling modal property when grouped example:
    <a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
    <a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>

  • SWF Tools Filter

    The basic syntax for embedding a flash file (.swf), flash movie (.flv) or audio file (.mp3) is:

    [swf file="filename.swf"]

    If you would like to override SWF Tools and flash player default settings, you can specify additional parameters. For example:

    [swf file="song.mp3" flashvars="backcolor=#AABBCC&&forecolor=#11AA11"]

    If you would like to output a list of files then the format is:

    [swf files="image1.jpg&&image2.jpg&&..."]
    SWF Tools Filter will accept following:
    • params : You can specify values for parameters to be passed to Flash to control the appearance of the output. Typical values are bgcolor and wmode. Example: params="wmode=true&&bgcolor="#00FF00" Alternatively you can supply each parameter individually without using params. Example wmode="true" bgcolor="#00FF00"
    • flashvars : You can specify values for output as flashvars, which become available to the Flash movie that is playing. This is often done to control a media player. Refer to the documentation of the flash player you are using to know what flashvar options are available. Example: flashvars="autostart=true&&volume=80"
    • methods : Optional information about how to display the file. The most common usage is to specify a particular media player and thus override the default specified on the settings page. Example: methods="player=onepixelout_mp3"

    WARNING: with params, flashvars and othervars, pass multiple values separated by &&.

You are here

快速报价

QQ翻译服务    

电话: (021) 65100980 

手机: 13636510755

Social

新浪微博: 淘海翻译
新浪微博: 淘海快译

Address

上海浦东新区张江紫薇路750弄8号 邮编: 201210
©2001-2011 淘海全球化解决方案 版权所有