Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

HTML ¼¼ÇÉ´óÈ«

1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)><td>no</table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡Ïûѡȡ¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù
4. oncopy="return false;" oncut="return false;" ·ÀÖ¹¸´ÖÆ
5. <link rel="Shortcut Icon" href="favicon.ico"> IEµØÖ·À¸Ç°»»³É×Ô¼ºµÄͼ±ê
6. <link rel="Bookmark" href="favicon.ico"> ¿ÉÒÔÔÚÊղؼÐÖÐÏÔʾ³öÄãµÄͼ±ê
7. <input style="ime-mode:disabled"> ¹Ø±ÕÊäÈë·¨
8. ÓÀÔ¶¶¼»á´ø×Å¿ò¼Ü
<script language="JavaScript"><!--
if (window == top)top.location.href = "frames.htm"; //frames.htmΪ¿ò¼ÜÍøÒ³
// --></script>
9. ·ÀÖ¹±»ÈËframe
<SCRIPT LANGUAGE=J***ASCRIPT><!--
if (top.location != self.location)top.location=self.location;
// --></SCRIPT>
10. <noscript><iframe src="/*.html>";</iframe></noscript> ÍøÒ³½«²»Äܱ»Áí´æÎª
11. <input type=button value=²é¿´ÍøÒ³Ô´´úÂë
onclick="window.location = ''view-source:''+ ''http://www.csdn.net/''">
12. ÔõÑùͨ¹ýaspµÄÊÖ¶ÎÀ´¼ì²éÀ´·ÃÕßÊÇ·ñÓÃÁË´úÀí
<% if Request.ServerVariables("HTTP_X_FORWARDED_FOR")<>"" then
response.write "<font color=#FF0000>Äúͨ¹ýÁË´úÀí·þÎñÆ÷£¬"& _
"ÕæÊµµÄIPΪ"&Request.ServerVariables("HTTP_X_FORWARDED_FOR")
end if
%>
13. È¡µÃ¿Ø¼þµÄ¾ø¶ÔλÖÃ
//Javascript
<script language="Javascript">
function getIE(e){
var t=e.offsetTop;
var l=e.offsetLeft;
while(e=e.offsetParent){
t+=e.offsetTop;
l+=e.offsetLeft;
}
alert("top="+t+"\nleft="+l);
}
</script>
//VBScript
<script language="VBScript"><!--
function getIE()
dim t,l,a,b
set a=document.all.img1
t=document.all.img1.offsetTop
l=document.all.img1.offsetLeft
while a.tagName<>"BODY"
set a = a.offsetParent
t=t+a.offsetTop
l=l+a.offsetLeft
wend
msgbox "top="&t&chr(13)&"left="&l,64,"µÃµ½¿Ø¼þµÄλÖÃ"
end fu


Ïà¹ØÎĵµ£º

´¿Java¶ÁÈ¡¡¢ÏÔʾ¡¢×ª»»wordÎĵµ(97~2007)¡¢htmlÎĵµ

´¿Java¶ÁÈ¡¡¢ÏÔʾ¡¢×ª»»wordÎĵµ(97~2007)¡¢htmlÎĵµ
ÏÂÔØ³ÌÐò¿â
http://hgsqldoc.appspot.com/lib/hg.jar
Ö÷³ÌÐò¿â£¨±ØÐ룩
http://hgsqldoc.appspot.com/lib/poi.jar
½âÎödoc¸ñʽ
http://hgsqldoc.appspot.com/lib/itext.jar
Êä³öpdfºÍrtf
http://hgsqldoc.appspot.com/lib/fgio.jar
Êä³ösvg¡¢swf¡¢ps¡¢emf
¶ÁÈ ......

HTMLÖеÄÄÚÁªÔªËØÓë¿é¼¶ÔªËØ£¨inline and block£©

<html>
<head>
<title>block and inline test</title>
</head>
<body>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body& ......

µ¯³öÍøÒ³´°¿ÚÈ«¹¥ÂÔ(html/hta)


ÒªÊǵ¯³ö´°¿Ú±äµÃÄܱ»Íø³æÃÇϲ»¶£¬ÄÇ¹ã¸æÉ̿϶¨¾Í·¢Á˰ɣ¿£¿ºÇºÇ
¡¡¡¡1.µ¯ÆôÒ»¸öÈ«ÆÁ´°¿Ú
<html>
<body onload="window.open('http://www.sdinf.com','example01','fullscreen');">;
<b>www.sdinf.com</b>
</body>
</html>
¡¡¡¡2.µ¯ÆôÒ»¸ö±»F11»¯ºóµÄ´°¿Ú
<html>
< ......

htmlÊÖ²á

×ÜÀࣨËùÓÐHTMLÎļþ¶¼Óеģ©
ÎļþÀàÐÍ <HTML></HTML> £¨·ÅÔÚµµ°¸µÄ¿ªÍ·Óë½á⣩
ÎļþÖ÷Ìâ <TITLE></TITLE> £¨±ØÐë·ÅÔÚ¡¸ÎÄÍ·¡¹Çø¿éÄÚ£©
ÎÄÍ· <HEAD></HEAD> £¨ÃèÊöÐÔ×ÊÁÏ£¬ÏñÊÇ¡¸Ö÷Ì⡹£©
ÎÄÌå <BODY></BODY> £¨Îļþ±¾Ì壩
½á¹¹ÐÔ¶¨Ò壨ÓÉä¯ÀÀÆ÷¿ØÖƵÄÏÔʾ·ç¸ñ£©
±ê ......

asp.netÖйýÂÔhtml´úÂë

// <summary>
        /// ¹ýÂËhtml´úÂë
        /// </summary>
        public static string RphtmlStr(string html)
        {
   &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ