ÓйØÈ¥µôhtmlÖеÄÁ½¶Ë×Ö·û
ÈçºÎÓÐÒ»¸ö×Ö·û´®ÊÇÕâÑùµÄÐÎʽstr = "&bbbLAA";
ÏëµÃµ½"L"µÄ»°¿ÉÒÔÕâÑùȥʵÏÖ£º
//sDataStr = "&bbbLAA";
//sLeftQuote = ""&bbb";
//sRightQuote = "&AA";
µ÷ÓÃÕâ¸ö·½·¨½«µÃµ½L×ֶΡ£
function abCutString( sDataStr, sLeftQuote, sRightQuote)
{
var sReturnVal = '';
var nStartPos = sDataStr.indexOf(sLeftQuote) ;
if (nStartPos < 0) return sReturnVal;
nStartPos += sLeftQuote.length ;
if (nStartPos >=0 ) {
var sWorkStr = sDataStr.substring( nStartPos , sDataStr.length );
var nEndPos = sWorkStr.indexOf(sRightQuote) //- sRightQuote.length + 1;
if ( nEndPos >= 1 ) {
sReturnVal = sWorkStr.substring( 0 , nEndPos );
}
}
return sReturnVal ;
}
Ïà¹ØÎĵµ£º
HTML <link> ±êÇ©
¶¨ÒåºÍÓ÷¨
<link> ±êÇ©¶¨ÒåÎĵµÓëÍⲿ×ÊÔ´µÄ¹ØÏµ¡£
<link> ±êÇ©×î³£¼ûµÄÓÃ;ÊÇÁ´½ÓÑùʽ±í¡£
ʵÀý
Á´½ÓÒ»¸öÍⲿÑùʽ±í£º
<head>
<link rel="stylesheet" type="text/css" href="theme.css" />
</head>
TIY
ä¯ÀÀÆ÷Ö§³Ö
ÔÚÓÃÓÚÑùʽ±íʱ£¬<link> ±êÇ ......
ÏÂÃæÕâ¸öÍøÕ¾ÂÞÁÐÁË£¬¼¸ºõËùÓеĹØÓÚHTML 5 ÔÚ¸÷ÖÖÖ÷Á÷ä¯ÀÀÆ÷ÉϵݲȫÎÊÌ⣬ÕâЩ°²È«ÎÊÌâºÜÓпÉÄܽ«»áÊǺڿ͹¥»÷ÄãµÄÍøÉϵÄÇÃÃÅש£¬ËûÃǼ¸ºõ¶¼ºÍJavascript¶¼ÓйØÏµ£¬Äã¾ÍÒªºÃºÃ×¢ÒâÁË¡£
http://heideri.ch/jso/
ÏÂÃæÂÞÁм¸¸ö£º
1£©<table background=”javascript:alert(1)”>
IE6£¬7£¬8£¬9£¬ºÍOpera ......
map
:¶¨ÒåÒ»¸ö¿Í»§¶ËͼÏñÓ³É䡣ͼÏñÓ³É䣨image-map£©Ö¸´øÓпɵã»÷ÇøÓòµÄÒ»·ùͼÏñ¡£
ÊôÐÔ£º
name£º Ϊ image-map ¹æ¶¨µÄÃû³Æ¡£
  ......
µÃµ½HTML±êÇ©µÄIDºÍNAME
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT=""& ......
ǰ¼¸Ìì×öÏîÄ¿¡£ÐèÒªÓõ½Ò»¸öWinFormµÄHTMLµÄ±à¼ºÍÏÔʾ¿Ø¼þ¡£.NET×Ô¼º²¢Ã»ÓÐÌṩÕâ·½ÃæµÄ¿Ø¼þ¡£È¥Googel°Ù¶ÈÁËһϡ£Ã»ÓÐÕÒµ½ºÏÊʵÄ.NET¿Ø¼þ¡£ÎÞÄÎÈ¥Ó¢ÎÄGoogelÁËһϡ£¹ûÈ»·¢ÏÖÁËÒ»¿îÃûΪ£º.NET Win HTML Editor Control 3.2µÄ¿Ø¼þ¡£ÏÂÔØÅäÖû·¾³ÊÔÓ᣷¢ÏÖÃâ·Ñ°æÌṩȫ¹¦ÄÜÊÔÓá£Î¨Ò»²»ºÃµÄµØ·½¾ÍÊÇÔÚ±à¼ÇøÓÐÒ»¸ö×¢²áµÄÁ ......