<! - - ... - -> Åú×¢
<!> ÅÜÂíµÆ
<marquee>...</marquee>ÆÕͨ¾í¶¯
<marquee behavior=slide>...</marquee>»¬¶¯
<marquee behavior=scroll>...</marquee>Ô¤Éè¾í¶¯
<marquee behavior=alternate>...</marquee>À´»Ø¾í¶¯
<marquee direction=down>...</marquee>ÏòÏÂ¾í¶¯
<marquee direction=up>...</marquee>ÏòÉÏ¾í¶¯
<marquee direction=right></marquee>ÏòÓÒ¾í¶¯
<marquee direction='left'></marquee>Ïò×ó¾í¶¯
<marquee loop=2>...</marquee>¾í¶¯´ÎÊý
<marquee width=180>...</marquee>É趨¿í¶È
<marquee height=30>...</marquee>É趨¸ß¶È
<marquee bgcolor=FF0000>...</marquee>É趨±³¾°ÑÕÉ«
<marquee scrollamount=30>...</marquee>É趨¾í¶¯¾àÀë
<marquee scrolldelay=3 ......
±ÈÈç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Îļþ¼ÐµÄÉϲãĿ¼ÖÐ
......
Á½ÖÖ·½·¨:´óͬСÒì /*
*º¯Êý¹¦ÄÜ£º´Óhref»ñµÃ²ÎÊý
*sHref: http://www.cscenter.com.cn/arg.htm?arg1=d&arg2=re
*sArgName:arg1, arg2
*return: the value of arg. d, re
*/
function GetArgsfromHref(sHref, sArgName)
{
var args = sHref.split("?");
var retval = "";
if(args[0] == sHref) /*²ÎÊýΪ¿Õ*/
{
return retval; /*ÎÞÐè×öÈκδ¦Àí*/
}
var str = args[1];
args = str.split("&");
for(var i = 0; i < args.length; i ++)
{
str = args[i];
var arg = str.split("=");
if(arg.length ......
Ô´ÎÄ£ºhttp://www.pconline.com.cn/pcedu/sj/wz/html/0401/293106.html
metaÊÇÓÃÀ´ÔÚHTMLÎĵµÖÐÄ£ÄâHTTPÐÒéµÄÏìӦͷ±¨ÎÄ¡£meta ±êÇ©ÓÃÓÚÍøÒ³µÄ<head>Óë</head>ÖУ¬meta ±êÇ©µÄÓô¦ºÜ¶à¡£meta µÄÊôÐÔÓÐÁ½ÖÖ£ºnameºÍhttp-equiv¡£nameÊôÐÔÖ÷ÒªÓÃÓÚÃèÊöÍøÒ³£¬¶ÔÓ¦ÓÚcontent£¨ÍøÒ³ÄÚÈÝ£©£¬ÒÔ±ãÓÚËÑË÷ÒýÇæ»úÆ÷È˲éÕÒ¡¢·ÖÀࣨĿǰ¼¸ºõËùÓеÄËÑË÷ÒýÇ涼ʹÓÃÍøÉÏ»úÆ÷ÈË×Ô¶¯²éÕÒmetaÖµÀ´¸øÍøÒ³·ÖÀࣩ¡£ÕâÆäÖÐ×îÖØÒªµÄÊÇdescription£¨Õ¾µãÔÚËÑË÷ÒýÇæÉϵÄÃèÊö£©ºÍkeywords£¨·ÖÀà¹Ø¼ü´Ê£©£¬ËùÒÔÓ¦¸Ã¸øÿҳ¼ÓÒ»¸ömetaÖµ¡£±È½Ï³£ÓõÄÓÐÒÔϼ¸¸ö£º
¡¡¡¡name ÊôÐÔ
¡¡¡¡1¡¢<meta name="Generator" contect="">ÓÃÒÔ˵Ã÷Éú³É¹¤¾ß£¨ÈçMicrosoft FrontPage 4.0£©µÈ£»
¡¡¡¡2¡¢<meta name="KEYWords" contect="">ÏòËÑË÷ÒýÇæ˵Ã÷ÄãµÄÍøÒ³µÄ¹Ø¼ü´Ê£»
¡¡¡¡3¡¢<meta name="DEscription" contect="">¸æËßËÑË÷ÒýÇæÄãµÄÕ¾µãµÄÖ÷ÒªÄÚÈÝ£»
¡¡¡¡4¡¢<meta name="Author" contect="ÄãµÄÐÕÃû">¸æËßËÑË÷ÒýÇæÄãµÄÕ¾µãµÄÖÆ×÷µÄ×÷Õߣ»
¡¡¡¡5¡¢<meta name="Robots" contect= "all|none|index|noindex|follow|nofollow">
¡¡¡¡ÆäÖеÄÊôÐÔ˵Ã÷ÈçÏ£º
¡¡¡¡É趨Π......
// ³éÏóÀà package com.albert.email.mime; import org.springframework.mail.javamail.JavaMailSender; public abstract class AbstractMessageSender {
protected String from;
protected String to;
protected String subject;
protected JavaMailSender sender;
public void setfrom(String from) {
this.from = from;
}
public void setTo(String to) {
this.to = to;
}
public void setSubject(String subject) {
this.subject = subject;
}
public void setSender(JavaMailSender sender) {
this.sender = sender;
......
Æäʵ¾ÍÊÇ´´½¨ÆÕͨÎļþ, CreateFile() ºÍWriteFile. È»ºóÓÃShellExcuteEx()À´´ò¿ª¾ÍÐÐÁË(»á×Ô¶¯µ÷ÓÃIE).
HANDLE handle;
handle=CreateFile(L"\\windows\\google.html",GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
if(INVALID_HANDLE_VALUE!= handle )
{
DWORD Num;
::WriteFile(handle,text,strlen(text),&Num,NULL);
::CloseHandle(handle);
::CloseHandle(handle);
}
Éæ¼°µ½½âÎöhtml²¢´´½¨µÄ»°ÒÔºóÑо¿... ......
Æäʵ¾ÍÊÇ´´½¨ÆÕͨÎļþ, CreateFile() ºÍWriteFile. È»ºóÓÃShellExcuteEx()À´´ò¿ª¾ÍÐÐÁË(»á×Ô¶¯µ÷ÓÃIE).
HANDLE handle;
handle=CreateFile(L"\\windows\\google.html",GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
if(INVALID_HANDLE_VALUE!= handle )
{
DWORD Num;
::WriteFile(handle,text,strlen(text),&Num,NULL);
::CloseHandle(handle);
::CloseHandle(handle);
}
Éæ¼°µ½½âÎöhtml²¢´´½¨µÄ»°ÒÔºóÑо¿... ......