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

html输入框去除记忆功能

IE提供了一个自动完成功能可以记忆我们的输入内容(如登录帐号等),方便下一次快速地录入类似资料.这确实是一个非常友好的功能,
自动完成功能,只需把AUTOCOMPLETE设为off即可,如:
整个表单禁止自动完成
HTML code
<FORM method=post action="submit.asp" AUTOCOMPLETE="OFF">
禁止文本框自动完成
HTML code
<input type="text" name="creditcard" maxlength="16" AUTOCOMPLETE="OFF">
在脚本中禁止自动完成
HTML code
function init()
{
element.setAttribute("AutoComplete", "off");
}


相关文档:

搜索之路 c#从html中提取文本

直接封装成一个类的,用起来还挺方便的
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text ......

HTML学习1

<p>: 格式化段落; <h1>,<h6> 标题; <blockquote>-- 引用的文本;  <pre>--预先格式化好的文本;保留原有的格式.
<ol><dl><ul>:顺序列表,定义列表,无标号列表. <li>用以显示单个的元素; <dl><dt><dd></dd></dt><dl>
< ......

HTML标签小meta的大作用

摘自:http://www.pconline.com.cn/pcedu/sj/wz/html/0401/293106.html     
      meta是用来在HTML文档中模拟HTTP协议的响应头报文。meta 标签用于网页的<head>与</head>中,meta 标签的用处很多。meta 的属性有两种:name和http-equiv。name属性主要用 ......

获取其它进程中的Web Browser中的HTML源码


HWND H1,H2,H3,H4,hw;
 H1=H2=H3=H4=hw=NULL;
 H1=::FindWindow("TForm1",NULL);
 if (H1) H2=::FindWindowEx(H1,NULL,"Shell Embedding",NULL);
 if (H2) H3=::FindWindowEx(H2,NULL,"Shell DocObject View",NULL);
 if (H3) H4=::FindWindowEx(H3,NULL,"Internet Explorer_Server",NULL) ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号