最全的HTML特殊字符列表
'   Nonbreaking space
¡ ¡ ¡ Inverted exclamation
¢ ¢ ¢ Cent sign
£ £ £ Pound sterling
¤ ¤ ¤ General currency sign
¥ ¥ ¥ Yen sign
¦ ¦ ¦ or &brkbar; Broken vertical bar
§ § § Section sign
¨ ¨ ¨ or ¨ Diæresis / Umlaut
© © © Copyright
ª ª ª Feminine ordinal
« « « Left angle quote, guillemot left
¬ ¬ ¬ Not sign
­ ­ Soft hyphen
® ® ® Registered trademark
¯ ¯ ¯ or &hibar; Macron accent
° ° ° Degree sign
± ± ± Plus or minus
² ² ² Superscript two
³ ³ ³ Superscript three
´ ´ ´ Acute accent
µ µ µ Micro sign
¶ ¶ ¶ Paragraph sign
· · · Middle dot
¸ ¸ ¸ Cedilla
¹ ¹ ¹ Superscript one
º º º Masculine ordinal
» » » Right angle quote, guillemot right
¼ ¼ ¼ Fraction one-fourth
½ ½ ½ Fraction one-half
¾ ¾ ¾ Fraction three-fourths
¿ ¿ ¿ Inverted question mark
À À À Capital A, grave accent
Á Á Á Capital A, acute accent
   Capital A, circumflex
à à à Capital A, tilde
Ä Ä Ä Capital A, diæresis / umlaut
Å Å Å Capital A, ring
Æ Æ Æ Capital AE ligature
Ç Ç Ç Ca
相关文档:
<%@ Page Language="C#" %>
<%@ Import Namespace="System.IO" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
prote ......
先看如下代码:
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>body元素</title>
......
1、分段
输入如下代码:
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb231 ......
Html是否是标准文档往往影响js的执行效果。 比如:在IE6下 document.documentElement.clientHeight 这个函数是获取可视窗口文档高度,如果html不是标准文档 则返回值是零.而document.body.clientHeight 能返回相应的值.相反如果是标准文档 document.body.clientHeight 返回值是0;
类似的还有document.documentElemen ......
#region 清除文本样式 主要应用于从网络粘贴进来的文本
[WebMethod]
public static string ClearStyle(string yourStr)//清除样式
{
& ......