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

appletÔÚhtmlÖÐÎÞ·¨ÏÔʾ ½â¾ö·½·¨

±ÈÈçappletÎļþÊÇAppletTest.class
1£©
ÔÚAppletTest.javaµÄ´úÂëÖÐ
ʹÓÃĬÈϰü£¬¼´²»ÓÃpackageÓï¾ä
ÔÚhtmlÒ³ÖеĴúÂëÊÇ
<applet code="AppletTest.class" width="400" height="300">
</applet>
AppletTest.classÎļþºÍhtmlÒ³·ÅÔÚÒ»¸öÎļþ¼ÐÖÐ
2)
ÔÚAppletTest.javaµÄ´úÂëÖÐ
package xx.yy;
ÔÚhtmlÒ³ÖеĴúÂëÊÇ
<applet code="xx.yy.AppletTest.class" width="400" height="300">
</applet>
AppletTest.classÎļþ·ÅÔÚxx/yyÎļþ¼ÐÖÐ
htmlÒ³·ÅxxÎļþ¼ÐµÄÉϲãĿ¼ÖÐ


Ïà¹ØÎĵµ£º

HtmlµÄSelect¼ÓÒ»¸öÊäÈëµÄ·½·¨

<Html>
<Head>
<SCRIPT LANGUAGE="JavaScript">
  <!--
  //¶¨Òå select Ô­Öµ
  var oldValue,oldText;
  //selectÏÂÀ­¿òµÄonkeydownʼþ£¬ÐÞ¸ÄÏÂÀ­¿òµÄÖµ
  function catch_keydown(sel){
   switch(event.keyCode) {
    case 13: //»Ø ......

HTML ÍøÒ³½âÎö¼¼ÊõµÄһЩ×ÊÁÏ

ÏÖÔÚ×ö Code Manager .SWT µÄ¹ý³ÌÖв»¿É±ÜÃâµÄÓöµ½ÁËÐèҪץ´æÍøÒ³ÒÔ¼°ÍøÒ³ÄÚǶµÄһЩ×ÊÔ´µÄÎÊÌâ.
ÏÖÔÚ
MHT Éú³ÉÒѾ­²»³ÉÎÊÌâ, µ«ÊÇÈçºÎ̽²âÔ´Îļþ±àÂëÒÔ¼°°Ñ MHT ½âѹËõ(µ¼³ö)Ϊ¿ÉÒÔä¯ÀÀµÄ HTML Îļþ(º¬Í¼Æ¬µÈ)ÊǸö´óÎÊÌâ,
ÒÔ¼°Óû§¿ÉÊÓ»¯±à¼­Ò³ÃæºóÖØÐ±£´æÎª MHT µÄÎÊÌâ. Java µÄ MHT ´¦Àí¼¼ÊõĿǰÊÇÓÐÒ»¼ÒÃÀ¹ú¹«Ë¾ÔÚ ......

HTML DOM Document ¶ÔÏó


Document ¶ÔÏó
Document ¶ÔÏó´ú±íÕû¸ö HTML Îĵµ£¬¿ÉÓÃÀ´·ÃÎÊÒ³ÃæÖеÄËùÓÐÔªËØ¡£
Document ¶ÔÏóÊÇ Window ¶ÔÏóµÄÒ»¸ö²¿·Ö£¬¿Éͨ¹ý window.document ÊôÐÔÀ´·ÃÎÊ¡£
ÓÐ¹Ø Document ¶ÔÏóµÄÏêϸÃèÊö¡£
IE: Internet Explorer, F: Firefox, O: Opera, W3C: World Wide Web Consortium (Internet ±ê×¼).
Document ¶ÔÏóµÄ¼¯º ......

lucene Ë÷ÒýHTMLÎĵµ ÉîδÀ´¼¼Êõ


1¡¢´ó²¿·ÖWEBÎĵµ²ÉÓÃHTML¸ñʽ¡£
2¡¢±¾ÀýÓÃÈçÏÂHTMLÎĵµ
<html>
   <head>
      <title>
         Laptop power supplies are avaliable in First class only
       ......

¹ØÓÚ½â¾öJmail·¢Ë͸½¼þºÍhtmlÓʼþµÄÎÊÌâ

    ÓÐʱÐèÒª·¢ËÍHTML¸ñʽµÄÓʼþ£¬±ãÓÚÉèÖÃÄÚÈݵÄÑùʽ£¬µ«ÉèÖÃÁËContentType = "text/html"ºóÈç¹ûÓи½¼þ¶Ô·½»áÊÕµ½ÂÒÂ룬½â¾ö·½·¨ÈçÏ£º 
ɾ³ý³£¹æÐ´·¨¡¡
MyMail.ContentType = "text/html";
MyMail.Body = ÄÚÈÝ;
¸Ä³ÉÏÂÃæÕâÁ½ÐоͿÉÒÔhtml´úÂëºÍ¸½¼þͬʱ·¢ËÍ
MyMail.Body = ÄÚÈÝ;
MyMail.H ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ