📄 ubbcode.htm
字号:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>什么是UBB代码</title><link rel="stylesheet" type="text/css" href="style.css">
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
.style1 {font-size: 12px}
-->
</style></head>
<body>
<p align="center"><font size="2">什么是UBB代码?</font></p>
<div align="center">
<table border="2" cellpadding="25" cellspacing="0" width="100%" bordercolor="#C0C0C0" bgcolor="#E4E4E4">
<tr>
<td width="100%"><span class="style1"> UBB代码是HTML的一个变种。你也许已经对它很熟悉了。一般情况下,如果允许你用HTML,也就可以使用UBB代码。即使你的讨论区不能让你使用HTML,你也可以使用UBB代码。
由于要求使用的编码很少,即使可以使用HTML,可能也想使用UBB代码,因为代码错误的可能性大大减小了。 <br>
<br>
当前 UBB 代码: <br>
</span>
<div align="center" class="style1">
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF">
<tr>
<td width="100%" bgcolor="#B5BA9C">URL 超级链接 </td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFF7">在你的信息里加入超级链接,只要按下列方式套入就可以了(UBB代码是<font color="#FF0000">红字</font>). <br> <br>
直接输入http://www.ultimatebb.com,系统将自动创建链接 <br>
或者 <br> <br>
<font color="#FF0000">[url]</font>http://www.ultimatebb.com<font color="#FF0000">[/url] </font><br>
或者 <br> <br>
<font color="#FF0000">[url=http://www.ultimatebb.com]</font>UltimateBB.com<font color="#FF0000">[/url] <br>
</font> 按上例套入,UBB代码会自动对URL产生链接,并保证当用户点击新的窗口时这个链接是打开着的。注意URL的"http://"这一部分是随意的。 <br> </td>
</tr>
<tr>
<td width="100%" bgcolor="#B5BA9C">Email 超级链接 </td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFF7">在你的信息里加入电子邮件的超级链接,只要按照下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>) <br> <br> <br>
<font color="#FF0000">[email]</font>ted@prime-web.com<font color="#FF0000">[/email] <br>
</font> 按上例套入,UBB代码会对电子邮件自动产生链接。 </td>
</tr>
<tr>
<td width="100%" bgcolor="#B5BA9C">粗体与斜体 </td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFF7">你可以使用 <font color="#FF0000">
[b]</font> <font color="#FF0000"> [/b]</font>
或 <font color="#FF0000"> [i]</font> <font color="#FF0000">
[/i]</font> 这些标志以达到在贴子中使用粗体或斜体的效果. <br> <br>
你好, <font color="#FF0000">[b]</font><b>James</b><font color="#FF0000">[/b]</font><br>
你好, <font color="#FF0000">[i]</font><i>Mary</i><font color="#FF0000">[/i] </font></td>
</tr>
<tr>
<td width="100%" bgcolor="#B5BA9C">列表</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFF7">在你的信息里加入列表,只要按照下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>) <br>
无序列表: <br> <br>
<font color="#FF0000"> [list]</font> <br>
<font color="#FF0000"> [*]</font> This is the first bulleted item.<br>
<font color="#FF0000"> [*]</font> This is the second bulleted
item.<br>
<font color="#FF0000"> [/list]</font><br> <br>
效果: <br>
<ul>
<li> This is the first bulleted item.</li>
<li> This is the second bulleted item.</li>
</ul>
<p>请注意不要漏掉 [/list] . <br>
有序列表也非常简单只要用 [LIST=A] 或者 [LIST=1]就可以了. [List=A]将产生从A到Z的列表. [List=1]则产生数字列表. <br>
<br>
例如: <br>
<br>
<font color="#FF0000"> [list=A] </font><br>
<font color="#FF0000"> [*]</font> This is the first bulleted
item.<br>
<font color="#FF0000"> [*]</font> This is the second bulleted
item.<br>
<font color="#FF0000"> [/list]</font><br>
<br>
效果: <br>
<ol type=A>
<li>This is the first bulleted item.</li>
<li>This is the second bulleted item.</li>
</ol>
</td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%" bgcolor="#B5BA9C">加入图片</td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%">在你的信息里加入图象,只要按下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>). <br> <br>
<font color="#FF0000">[img]</font>http://www.prime-web.com/Ultimate20/tline.gif<font color="#FF0000">[/img] </font><br>
在上例中,UBB代码会自动让图象在你的信息里显示。注意:URL的"http://"这一部分要求在[img]后套入。还要注意:一些UBB讨论区可能会禁止使用[img]标签,阻止图形的显示。 <br> </td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%" bgcolor="#B5BA9C">引用信息</td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%">引用一些人的帖子,只要剪切和拷贝然后按下例套入就可以了(UBB代码是<font color="#FF0000">红字</font>)). <br> <br>
<font color="#FF0000">[QUOTE]</font>Ask not what your country
can do for you....<br>
ask what you can do for your country.<font color="#FF0000">[/QUOTE]</font> <br>
在上例中,UBB代码会自动加重你引用的文字。 </td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%" bgcolor="#B5BA9C">保持格式</td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%">如果希望贴入源代码或字符图,可以这样贴: (UBB代码是<font color="#FF0000">红字</font>)) <br>
源代码字符:<br>
<font color="#FF0000">[CODE]</font>#!/usr/bin/perl <br> <br>
print "Content-type: text/html\n\n"; <br>
print "Hello World!"; <font color="#FF0000"> [/CODE] </font><br> <br>
字符图: <br> <br>
<div align=center><font color="#FF0000">[code]</font><br>
**<br>
*<br>
* * *<br>
<font color="#FF0000">[/code]</font><br>
在上例中,UBB代码会保持格式。 </div>
</td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%" bgcolor="#B5BA9C">彩色文字 </td>
</tr>
<tr bgcolor="#FFFFF7">
<td width="100%"><font color="#FF0000">[color=red]</font>彩色文字<font color="#FF0000">[/color]</font><br>
以上的"red"可以是:<br>
<div align="center">
<table width="50%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td height="22" width="31%" align="center">Black</td>
<td height="22" width="35%" align="center">#000000</td>
<td height="22" width="34%" align="center">黑色</td>
</tr>
<tr>
<td width="31%" align="center">Silver</td>
<td width="35%" align="center">#C0C0C0</td>
<td width="34%" align="center">银色</td>
</tr>
<tr>
<td width="31%" align="center">Gray</td>
<td width="35%" align="center">#808080</td>
<td width="34%" align="center">灰色</td>
</tr>
<tr>
<td width="31%" align="center">White</td>
<td width="35%" align="center">#FFFFFF</td>
<td width="34%" align="center">白色</td>
</tr>
<tr>
<td width="31%" align="center">Maroon</td>
<td width="35%" align="center">#800000</td>
<td width="34%" align="center">茶色</td>
</tr>
<tr>
<td width="31%" align="center">Red</td>
<td width="35%" align="center">#FF0000</td>
<td width="34%" align="center">红色</td>
</tr>
<tr>
<td width="31%" align="center">Purple</td>
<td width="35%" align="center">#800080</td>
<td width="34%" align="center">紫色</td>
</tr>
<tr>
<td width="31%" align="center">Fuchsia</td>
<td width="35%" align="center">#FF00FF</td>
<td width="34%" align="center">紫红</td>
</tr>
<tr>
<td width="31%" align="center">Green</td>
<td width="35%" align="center">#008000</td>
<td width="34%" align="center">绿色</td>
</tr>
<tr>
<td width="31%" align="center">Lime</td>
<td width="35%" align="center">#00FF00</td>
<td width="34%" align="center">亮绿</td>
</tr>
<tr>
<td width="31%" align="center">Olive</td>
<td width="35%" align="center">#808000</td>
<td width="34%" align="center">橄榄</td>
</tr>
<tr>
<td width="31%" align="center">Yellow</td>
<td width="35%" align="center">#FFFF00</td>
<td width="34%" align="center">黄色</td>
</tr>
<tr>
<td width="31%" align="center">Navy</td>
<td width="35%" align="center">#000080</td>
<td width="34%" align="center">深蓝</td>
</tr>
<tr>
<td width="31%" align="center">Blue</td>
<td width="35%" align="center">#0000FF</td>
<td width="34%" align="center">蓝色</td>
</tr>
<tr>
<td width="31%" align="center">Teal</td>
<td width="35%" align="center">#008080</td>
<td width="34%" align="center">青色</td>
</tr>
<tr>
<td width="31%" align="center">Aqua</td>
<td width="35%" align="center">#00FFFF</td>
<td width="34%" align="center">浅绿</td>
</tr>
</table>
<br>
</div>
</td>
</tr>
</table>
</div>
<p class="style1"><font color="#FF0000">特别注意: </font><br>
你不可以同时使用HTML和UBB代码的同一种功能。并且注意UBB代码不对大小写敏感。所以你可以用<font color="#FF0000">[URL]</font>
或 <font color="#FF0000"> [url]</font> <br>
<br>
不正确的UBB代码使用: <br>
<br>
<font color="#FF0000"> [url]</font> www.chinacpu.com <font color="#FF0000">
[/url]</font> - 不要在括号和你输入的文字之间有空格 <br>
<br>
<font color="#FF0000">[email]</font>webmaster@chinacpu.com<font color="#FF0000">[email]</font>
- 在结束时,不要忘了在括号内加入斜杠<font color="#FF0000">[/email]</font>
</td>
</tr>
</table>
</div>
<font size="2">
<!--#include file="about.asp" -->
</font>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -