0.0.常用的转义字符
字符 意思 \n 回车 \t 水平制表符 \b 空格 \r 换行 \f 换页 \’ 单引号 \" 双引号 \ 反斜杠 \ddd 三位八进制
1.0.换行
< br/>
1.1.空格
或  
1.2.字体、字号、颜色
< font size = " 3" color = " red" > This is some text!</ font>
< font size = " 2" color = " blue" > This is some text!</ font>
< font face = " verdana" color = " green" > This is some text!</ font>
2.转义字符
· < b>
文本加粗bold。----------->< b> </ b>
· < i>
文本变斜体italic。----------->< i> </ i>
.< big> (big标签可以嵌套使用,每个放大1号,直到上限7号。
其字体比周围的文字要大一号,如果文字已经是最大号字体,无效----------->< big> </ big>
· < u>
文本加下划线underline。----------->"< u> 点击注册</ u> "
3.栗子
3.1字体颜色
sb. append ( insertHtml ( "√" , "#01b5c6" , desc, "#0ABE1E" ) ) ;
private String insertHtml ( String frount, String frount_color, String txt, String color) {
String sult = "<font color= '" + frount_color + "'>" + frount + "</font> " + " " +
"<font color= '" + color + "'>" + "<big>" + txt + "</big></font><br/>" ;
return sult;
}
3.1.下划线
"< u> 点击注册</ u> "