易截截图软件、单文件、免安装、纯绿色、仅160KB

HTML 字符实体

最常用的字符实体
显示结果描述实体名称实体编号
 
空格
 
 
<
小于号
&lt;
&#60;
>
大于号
&gt;
&#62;
&
和号
&amp;
&#38;
"
引号
&quot;
&#34;
'
撇号 
&apos; (IE不支持)
&#39;
其他一些常用的字符实体
显示结果描述实体名称实体编号


&cent;
&#162;
£

&pound;
&#163;
¥
日圆
&yen;
&#165;
§

&sect;
&#167;
©
版权
&copy;
&#169;
®
注册商标
&reg;
&#174;
×
乘号
&times;
&#215;
÷
除号
&divide;
&#247;


相关文档:

HTML数据岛访问

  
  基本步骤
  1,把需要排序的行放到tbody中(程序会直接取tbody的rows);
  2,把排序行放到一个数组中;
  this.Rows = Map(this.tBody.rows, function(o){ return o; });
  3,按需求对数组进行排序(用数组的sort方法);
  this.Rows.sort(Bind(this, this.Compare, orders, 0));
  4, ......

HTML中单元格合并

跨行合并:rowspan,  跨列合并: colspan.
<table border=2 width="50%">
<tr>
<td rowspan=2> 天朝 </td>
<td> Party </td>
</tr>
<tr><td>河蟹</td></tr>
</table>
<table border=2 width="50%">
<tr&g ......

HTML转义字符表

转帖,不说话
字符
十进制
转义字符
"
&#34;
&quot;
&
&#38;
&amp;
<
&#60;
&lt;
>
&#62;
&gt;
不断开空格(non-breaking space)
&#160;
&nbsp;
字符
十进制
转义字符
字符
十进制
转义字符
字符
十进制
转义字符
?
&#161;
& ......

从数据库中取值批量生成html文件

1. web.config
<connectionStrings>
<add name ="myconn" connectionString="Data Source=who\SQLEXPRESS; Initial Catalog=dbname;Integrated Security=True;" providerName="System.Data.SqlClient"/>
</connectionStrings>
2.
string htmlPath = "D:\\htmlFiles";
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号