UBB/HTML互转
UBB支持的标记主要如下表格所示
[url=https://tool.ip138.com]tool.ip138.com[/url]
加入带有说明的超级链接
[download=https://tool.ip138.com/a.zip]下载[/download]
下载地址和说明
[email]ubb@tool.ip138.com[/email]
加入带有说明的电子邮件地址
[img]https://tool.ip138.com/res/logo.png[/img]
显示图像,但请记住,http://或https://是必须的
[b]粗体[/b]
粗体显示
[i]斜体[/i]
斜体显示
[u]下划线[/u]
带有下划线的显示
[1]字号一[/1]
字号一
[2]字号二[/2]
字号二
[3]字号三[/3]
字号三
[4]字号四[/4]
字号四
[sup]上标[/sup]
上标显示
[sub]下标[/sub]
下标显示
[center]居中[/center]
居中显示
[color=#0000FF]颜色[/color]
带有颜色的显示
[&]
显示符号 &
[*]条目
无序缩进和列表
[list]条目
条目
[quote]引用[/quote]
引用显示
[fly]滚动文本[/fly]
相当于html marquee tag,其中direction为right,behavior为scroll,scrollamount为10,scrolldelay为200
[font=宋体]字体[/font]
字体
[size=3]字体大小[/size]
字体大小
[#f7f7f7]彩色[/#]
同[color]标记
[w]https://tool.ip138.com[/w]或
在当前浏览其中显示一个浏览器窗口,相当于iframe,请注意url必须输入正确
[f w=200 h=300]https://tool.ip138.com/1.swf[/f] [f]https://tool.ip138.com/1.swf[/f]
flash,w为高度,h为宽度,使用第二种方式时缺省宽度和高度为500像素
[code]代码[/code]
代码显示