首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

HTML字符实业(Character Entities),转义字符串(Escape Sequence)

2012-09-05 
HTML字符实体(Character Entities),转义字符串(Escape Sequence)为什么要用转义字符串??Function htmlenti

HTML字符实体(Character Entities),转义字符串(Escape Sequence)

为什么要用转义字符串?



?

Function htmlentities(str)     For i = 1 to Len(str)         char = mid(str, i, 1)         If Ascw(char) > 128 then             htmlentities = htmlentities & "&#" & Ascw(char) & ";"         Else             htmlentities = htmlentities & char         End if     NextEnd Function

?

?

coldfusion