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

ÈÃÒ³Ãæ±äµÃ¸ü¿ìÒ»µã HTML½âÎöÔ­Àí


ÈÃÒ³Ãæ±äµÃ¸ü¿ìÒ»µã-HTML½âÎöÔ­Àí
 http://justjavac.javaeye.com/blog/644235
WebÒ³ÃæÔËÐÐÔÚ¸÷ÖÖ¸÷ÑùµÄä¯ÀÀÆ÷µ±ÖУ¬ä¯ÀÀÆ÷ÔØÈë¡¢äÖȾҳÃæµÄËÙ¶ÈÖ±½ÓÓ°Ïì×ÅÓû§ÌåÑé¡£·Ç³£²»ÐÒµÄÊÇ£¬Ð§ÂÊ×îµÍµÄIEä¯ÀÀÆ÷ÈÔȻռÁìÕß¾ø´ó¶àÊýÊг¡·Ý¶î£¬ÕâÒѾ­ÑÏÖØÖÆÔ¼ÁË»¥ÁªÍøµÄ·¢Õ¹£¨¸Ð̾һÏ£º“ÂíÈü¿ËºÍIE——×è°­ÈËÀàÎÄÃ÷·¢Õ¹µÄ°í½Åʯ!”£©¡£
¼òµ¥µØ˵£¬Ò³ÃæäÖȾ¾ÍÊÇä¯ÀÀÆ÷½«html´úÂë¸ù¾ÝCSS¶¨ÒåµÄ¹æÔòÏÔʾÔÚä¯ÀÀÆ÷´°¿ÚÖеÄÕâ¸ö¹ý³Ì¡£ÏÈÀ´´óÖÂÁ˽âÒ»ÏÂä¯ÀÀÆ÷¶¼ÊÇÔõô¸É»îµÄ£º
Óû§ÊäÈëÍøÖ·£¨¼ÙÉèÊǸöhtmlÒ³Ã棬²¢ÇÒÊǵÚÒ»´Î·ÃÎÊ£©£¬ä¯ÀÀÆ÷Ïò·þÎñÆ÷·¢³öÇëÇ󣬷þÎñÆ÷·µ»ØhtmlÎļþ£»
ä¯ÀÀÆ÷¿ªÊ¼ÔØÈëhtml´úÂ룬·¢ÏÖ<head>±êÇ©ÄÚÓÐÒ»¸ö<link>±êÇ©ÒýÓÃÍⲿCSSÎļþ£»
ä¯ÀÀÆ÷ÓÖ·¢³öCSSÎļþµÄÇëÇ󣬷þÎñÆ÷·µ»ØÕâ¸öCSSÎļþ£»
ä¯ÀÀÆ÷¼ÌÐøÔØÈëhtmlÖÐ<body>²¿·ÖµÄ´úÂ룬²¢ÇÒCSSÎļþÒѾ­Äõ½ÊÖÁË£¬¿ÉÒÔ¿ªÊ¼äÖȾҳÃæÁË£»
ä¯ÀÀÆ÷ÔÚ´úÂëÖз¢ÏÖÒ»¸ö<img>±êÇ©ÒýÓÃÁËÒ»ÕÅͼƬ£¬Ïò·þÎñÆ÷·¢³öÇëÇó¡£´Ëʱä¯ÀÀÆ÷²»»áµÈµ½Í¼Æ¬ÏÂÔØÍ꣬¶øÊǼÌÐøäÖȾºóÃæµÄ´úÂ룻
·þÎñÆ÷·µ»ØͼƬÎļþ£¬ÓÉÓÚͼƬռÓÃÁËÒ»¶¨Ãæ»ý£¬Ó°ÏìÁ˺óÃæ¶ÎÂäµÄÅŲ¼£¬Òò´Ëä¯ÀÀÆ÷ÐèÒª»Ø¹ýÍ·À´ÖØÐÂäÖȾÕⲿ·Ö´úÂ룻
ä¯ÀÀÆ÷·¢ÏÖÁËÒ»¸ö°üº¬Ò»ÐÐJavascript´úÂëµÄ<script>±êÇ©£¬¸Ï¿ìÔËÐÐËü£»
Javascript½Å±¾Ö´ÐÐÁËÕâÌõÓï¾ä£¬ËüÃüÁîä¯ÀÀÆ÷Òþ²Øµô´úÂëÖеÄij¸ö<div> £¨style.display=”none”£©¡£±­¾ß°¡£¬Í»È»¾ÍÉÙÁËÕâôһ¸öÔªËØ£¬ä¯ÀÀÆ÷²»µÃ²»ÖØÐÂäÖȾÕⲿ·Ö´úÂ룻
ÖÕÓڵȵ½ÁË</html>µÄµ½À´£¬ä¯ÀÀÆ÷ÀáÁ÷ÂúÃæ……
µÈµÈ£¬»¹Ã»Í꣬Óû§µãÁËһϽçÃæÖеē»»·ô”°´Å¥£¬JavascriptÈÃä¯ÀÀÆ÷»»ÁËÒ»ÏÂ<link>±êÇ©µÄCSS·¾¶£»
ä¯ÀÀÆ÷ÕÙ¼¯ÁËÔÚ×ùµÄ¸÷λ<div><span><ul><li>ÃÇ£¬“´ó»ï¶ùÊÕÊ°ÊÕÊ°ÐÐÀÔÛµÃÖØÐÂÀ´¹ý……”£¬ä¯ÀÀÆ÷Ïò·þÎñÆ÷ÇëÇóÁËеÄCSSÎļþ£¬ÖØÐÂäÖȾҳÃæ¡£
ä¯ÀÀÆ÷ÿÌì¾ÍÕâôÀ´À´»Ø»ØÅÜ×Å£¬ÒªÖªµÀ²»Í¬µÄÈËд³öÀ´µÄhtmlºÍcss´úÂëÖÊÁ¿²Î²î²»Æ룬˵²»¶¨ÄÄÌìÅÜ×ÅÅÜמ͹ҵôÁË¡£ºÃÔÚÕâ¸öÊÀ½ç»¹ÓÐÕâôһȺÈË——Ò³ÃæÖع¹¹¤³Ìʦ£¬Æ½Ê±Í¦²»ÆðÑÛ£¬Ò²¾Í°ïÊÓ¾õÉè¼ÆʦÃÇÇÐÇÐͼ°¡¸Ä¸Ä×Ö£¬Æäʵ±³µØÀﻹÊǸÉÁ˲»ÉÙʵʵġ£
˵µ½Ò³ÃæΪʲô»áÂý£¿ÄÇÊÇÒòΪä¯ÀÀÆ÷Òª»¨Ê±¼ä¡¢»¨¾«Á¦È¥äÖȾ£¬ÓÈÆäÊǵ±Ëü·¢ÏÖij¸ö²¿·Ö·¢ÉúÁ˵ã±ä»¯Ó°ÏìÁ˲¼¾Ö£¬ÐèÒªµ¹»ØÈ


Ïà¹ØÎĵµ£º

HTML ¸öÈ˼òÀúÔ´Âë

<html>
 <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<head>
<title>Ò×Ë®º®µÄ¸öÈ˼òÀú</title>
</head>
<body bgcolor="#CCFFCC" lang=ZH-CN link=blue vlink=blue style='tab-interval:21.0pt'topmargin=4>
<center><h1>Ò×Ë® ......

[¾­Ñé×ܽá]XSLTÊä³öµÄHTML¿ÕÔªËص¼ÖÂjQurey½âÎö³ö´í


*/
-->
Author:
Thinkhy
Date:
2010.04.11.
Url:
http://www.disandu.com/?p=714
Keyword:
HTML¿ÕÔªËØ DIV XSLT jQuery
½ñÌìÓиöHTML¿ÕÔªËصÄÎÊÌâÕÛÌÚÁËÎÒÁ½¸öСʱ£¬ÎÊÌâÊÇÕâÑùµÄ£¬ÎÒÒª´¦ÀíÒ»¶ÎÃèÊö½á¹¹»¯Îı¾µÄHTMLƬ¶Ï£º
 £¼div class='paper'> 
   £¼div class='questio ......

Struts html:link ±êÇ©µÄʹÓÃ

Struts -- html:link ±êÇ©µÄʹÓÃ
 
<html:link> ±êÇ©ÓÃÓÚÉú³ÉHTML <a> ÔªËØ¡£<html:link> ÔÚ´´½¨³¬Á´½Óʱ£¬ÓÐÁ½¸öÓŵ㣺
(1) ÔÊÐíÔÚURL ÖÐÒÔ¶àÖÖ·½Ê½°üº¬ÇëÇó²ÎÊý¡£
(2) µ±Óû§ä¯ÀÀÆ÷¹Ø±ÕCookie ʱ£¬»á×Ô¶¯ÖØдURL£¬°ÑSessionID ×÷ΪÇëÇó²ÎÊý°üº¬ÔÚURL ÖУ¬ÓÃÓÚ¸ú×ÙÓû§µÄSession ״̬¡£
< ......

phpÕýÔòȡǶÌ×html±êÇ©

<?php
$s = <<<html
<html>
<head>
<title>nested tag test</title>
<mce:script type="text/javascript"><!--
alert('fdsafdasfasd');
// --></mce:script>
</head>
<body>
<div id=0>
<div id=1><img name="im ......

struts1±êÇ©Ö®html:optionsCollection

ÎÒÃdz£³£°ÑÒ»×鼯ºÏ·Åµ½Ã¿¸öÒ³ÃæµÄÏÂÀ­¿òÖУ¬ÕâÀïÀûÓÃstruts1µÄhtml:optionsCollection¿ÉÒÔÊ¡ºÜ¶àÊ¡£
¾Ù¸öÀý×Ó£º
дһ¸ö¹«¹²¾²Ì¬·½·¨£º
public static Collection<LabelValueBean> getAllType() {
Collection<LabelValueBean> col = new ArrayList<LabelValueBean>();
col.add(new LabelValueBean( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ