编写提示
- 自动将网址与电子邮件地址转变为链接。
允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <p> <img> <div>
本站允许 HTML 标签,虽然学习 HTML 可能比较困难,但学习如何使用一小部分基础的 HTML“标签”是很容易的。这个表格提供了本站可用的 HTML 标签的例子。
更多信息,请参见 W3C 组织的 HTML 或使用您喜欢的搜索引擎搜索其他解释 HTML 的站点。
标签说明 您输入 您得到 锚点(anchor)用来生成链接到其他页面的链接。 <a href="http://www.tacon.com.cn:8080">上海天维建筑设计事务所</a>上海天维建筑设计事务所 强调 <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>- 第一个术语
- 第一个定义
- 第二个术语
- 第二个定义
默认情况下,换行符被自动添加,使用此标签将额外添加一个换行符。注意这个标签不像其他 HTML 标签一样使用一对开/关标记。另外,在标签内加上一个 "/"来和 XHTML1.0 兼容 带有 <br /> 换行符的文本带有
换行符的文本默认情况下,段落标记自动被添加。如果要再加一个,使用此标签。 <p>第一段。</p> <p>第二段。</p>第一段。
第二段。
目前没有标签 img 的说明。 目前没有标签 div 的说明。 许多特殊字符可以轻松的直接输入。
如果您碰到问题,尝试使用 HTML 字符实体。一个通常的例子,类似于 & 代表一个与符号(&)。全部的列表参见 HTML 实体。某些可用字符包括:
字符说明 您输入 您得到 与标记(&) && 大于号 >> 小于号 << 双引号 "" - 行和段被自动识别。<br /> 分行、<p> 段落开始以及 </p> 段落结束标记会被自动插入。如果段落没有被识别出来,只要加入一对空行。
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>
