ʹÓÃHTML/ASP×öÈí¼þµÄ½çÃæ
Ò»°ãÎÒÃÇ×ö³ÌÐò£¬±ÈÈçÓÃVC,¿ª·¢½çÃæÊǸöÍ·Í´µÄÎÊÌâ¡£¿ª·¢Ð§ÂÊÌ«µÍ£¬¶øÇÒ×ö³öÀ´µÄЧ¹ûҲ̫²îÁË¡£¿´ÆðÀ´Ì«²»ÃÀ¹ÛרҵÁË¡£ÁíÒ»·½ÃæHMTL×ö½çÃæÊÇÓÖ·½±ãÓÖÃÀ¹Û£¬ÇÒ»¹ÌìÉúÖ§³Öscript½Å±¾¡£·Ç³£Ç¿´ó°¡¡£ÎÒÃÇÒ»°ãʹÓÃhtmlµÄʱºò¶¼ÊÇ×öµÄB/S½á¹¹µÄÈí¼þ£¬ÐèÒªÒ»¸öWEB·þÎñÆ÷¡£ÕâÑùÄØ£¬µ¥»ú³ÌÐòËƺõ¾ÍÎÞ·¨ÏíÊܵ½HTMLµÄ·½±ãºÍ¿ì½ÝÁË¡£Æäʵ²»È»£¬·½°¸ÓÐ2ÖÖ£¬Ò»ÖÖÊÇÔÚ±¾µØ¼ÓÔØhtml£¬ÕâÖÖ·½°¸ºÜ²î£¬ÒòΪÎÒÃÇÎÞ·¨ÀûÓÃweb·þÎñÆ÷Ç¿´óµÄRespose/requeset/server¶ÔÏ󣬶øÖ»ÄÜÔÚ´úÂëÖдóÁ¿³ä³âÅжÏ×Ö·û´®µÄ´úÂ룬ÄÇÑù·Åµ½¹¤×÷Á¿¼Ó´óÁË¡£ÁíÒ»¸öÖз½°¸¾ÍÊÇʹÓñ¾µØµÄweb·þÎñÆ÷£¬±ÈÈç˵apache¾ÍÊǹ«¿ªÔ´´úÂëµÄ£¬¿ÉÒÔ×Ô¼ºÐ޸ijÉÒ»¸ö¾«¼ò½øÈëÄã×Ô¼ºµÄ¹¤³Ìµ±ÖÐÈ¥Ìṩ·þÎñ¡£µ±È»apache·þÎñÆ÷´úÂëÁ¿Ì«´óÁ˵㣬ÆäËû´ó¼Ò¿ÉÒÔÕÒһЩ¿ªÔ´µÄasp web·þÎñÆ÷´úÂ룬Èç¹û×Ô¼ºÊµÏÖÒ»¸öÒ²²»Ì«¸´ÔÓ£¬µ«ÊÇÒ²¿Ï¶¨ÓÐÒ»¶¨¹¤×÷Á¿µÄ¡£Õâ¸öÒ²¾ÍËãÕâÖÖ·½°¸×îºËÐĵŤ×÷ÁË¡£ ÏÂÃæ¾Í¿ÉÒÔÔÚ×Ô¼ºµÄ¹¤³ÌÀïÖ±½Ó¿ªÒ»¸öhtml´°ÌåÁË£¬´úÂëÈçÏÂ:£¨×¢Òâ±àÒëµÄʱºò¼ÇµÃʹÓÃ_stdcall·½Ê½£© HINSTANCE hinstMSHTML = LoadLibrary(TEXT("MSHTML.DLL"));
typedef HRESULT (*FunSHOWMODELESSHTMLDIALOGFN)(
HWND hwndParent,
IMoniker *pMk,
VARIANT *pvarArgIn,
WCHAR *pchOptions,
IHTMLWindow2 **ppWindow
);
::CoInitialize(0) ;
IHTMLWindow2 * iwnd = 0;
if (hinstMSHTML)
{
FunSHOWMODELESSHTMLDIALOGFN pfnShowModelessHTMLDialog;
pfnShowModelessHTMLDialog = (F
Ïà¹ØÎĵµ£º
¶¨ÒåºÍÓ÷¨
<area> ±êÇ©¶¨ÒåͼÏñÓ³ÉäÖеÄÇøÓò£¨×¢£ºÍ¼ÏñÓ³ÉäÖ¸µÃÊÇ´øÓпɵã»÷ÇøÓòµÄͼÏñ£©¡£
area ÔªËØ×ÜÊÇǶÌ×ÔÚ <map> ±êÇ©ÖС£
×¢ÊÍ£º<img> ±êÇ©ÖÐµÄ usemap ÊôÐÔÓë map ÔªËØ name ÊôÐÔÏà¹ØÁª£¬´´½¨Í¼ÏñÓëÓ³ÉäÖ®¼äµÄÁªÏµ¡£
ʵÀý
´øÓпɵã»÷ÇøÓòµÄͼÏñÓ³É䣺
<img src="planets.jpg" border=" ......
<form action="#" method="get">ÕâÀïÊÇ±íµ¥µÄÄÚÈÝ</form>
<form action="#" method="post">ÕâÀïÊÇ±íµ¥µÄÄÚÈÝ</form>
ÊôÐÔ"action",ÀïÃæÉèÖõÄÊÇ±íµ¥Ìá½»µÄ·¾¶.Ò»¸ö¶ÔÏó,°×»°ÎĵĽâÊÍ:±íµ¥½»¸øÁËË.
ÊôÐÔ"method",ÀïÃæÉèÖõÄÊÂ±íµ¥Ìá½»µÄ·½Ê½,Ò»ÖÖ·½·¨,°×»°ÎĽâÊÍ:ÒªÔõÑùÌá½»Õâ¸ö±íµ¥,ÊÇÎÒÖ±½Óà ......
±éÀúXMLÎĵµ
¶ÔÓÚÏÂÃæµÄÒ»¶ÎXML´úÂ룺
XMLÎĵµÊµÀýbooks.xml£¬ÈçÏÂËùʾ£º
<?xml version="1.0" encoding="gb2312" ?>
<books>
<book status="ÒÑÊÛÍê">
<author>ÆÆÆÆ</author>
<title>XMLÈëÃÅ</title >
</book>
<book statu ......
<html>
<head>
<mce:style type = "text/css"><!--
table
{
border-collapse:collapse;
}
td
{
border:solid 1px black;
}
--></mce:style><style type = "text/css" mce_bogus="1">table
{
border-collapse:collapse;
}
td
......