¹ýÂËhtmlÎı¾·½·¨
public static string filterStr(string html)
{
System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"<script[\s\S]+</script *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex2 = new System.Text.RegularExpressions.Regex(@" href *= *[\s\S]*script *:", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex3 = new System.Text.RegularExpressions.Regex(@" no[\s\S]*=", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex4 = new System.Text.RegularExpressions.Regex(@"<iframe[\s\S]+</iframe *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex5 = new System.Text.RegularExpressions.Regex(@"<frameset[\s\S]+</frameset *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex6 = new System.Text.RegularExpressions.Regex(@"\<img[^\>]+\>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex7 = new System.Text.RegularExpressions.Regex(@"</p>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Rege
Ïà¹ØÎĵµ£º
<html>
<head>
<script>
function locking(){
document.all.ly.style.display="block";
document.all.ly.style.width=document.body.clientWidth;
document.all.ly.style.height ......
ת×Ôhttp://www.cnblogs.com/jujusharp/archive/2009/12/20/10-Rare-Html-Tag-You-Should-Know.html
ÀïÃæÓÐЩ±ê¼Ç,»¹ÕæÊÇûÓùý,×Ô¼ºÒ²¼ÇÒ»ÏÂÁË.
ÔÎĵØÖ·:http://net.tutsplus.com/articles/web-roundups/10-rare-html-tags-you-really-should-know/
Èç½ñ,Web¿ª·¢¹¤³ÌʦÔÚѧϰºÍ¹¤×÷ÖÐÍ ......
½ñÌìÈÏÕæ¿´ÁËЩHtml´úÂ룬¾õµÃhtml±êǩʵÔÚÌ«¶à£¬ÓÚÊǵ½°Ù¶ÈËÑÁ˸öhtml±êÇ©´óÈ«£¬ÔÚÕâ·¢±íÏ£¬·½±ãÒÔºó²éÔÄ
±êÇ©´óÈ«£º
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¾1¡¿1 ......
ÏÖÔÚ×ö Code Manager .SWT µÄ¹ý³ÌÖв»¿É±ÜÃâµÄÓöµ½ÁËÐèҪץ´æÍøÒ³ÒÔ¼°ÍøÒ³ÄÚǶµÄһЩ×ÊÔ´µÄÎÊÌâ.
ÏÖÔÚ
MHT Éú³ÉÒѾ²»³ÉÎÊÌâ, µ«ÊÇÈçºÎ̽²âÔ´Îļþ±àÂëÒÔ¼°°Ñ MHT ½âѹËõ(µ¼³ö)Ϊ¿ÉÒÔä¯ÀÀµÄ HTML Îļþ(º¬Í¼Æ¬µÈ)ÊǸö´óÎÊÌâ,
ÒÔ¼°Óû§¿ÉÊÓ»¯±à¼Ò³ÃæºóÖØб£´æΪ MHT µÄÎÊÌâ. Java µÄ MHT ´¦Àí¼¼ÊõÄ¿Ç°ÊÇÓÐÒ»¼ÒÃÀ¹ú¹«Ë¾ÔÚ ......
<html>
<script language="javascript" defer>
function isvalid()
{
Input_Str=document.getElementById("tsinput").value;
document.getElementById("ts").innerHTML=Input_Str;
if(Input_Str!=document.getElementById("ts").innerText)
alert("include Html Element... ......