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

µÃµ½HTML±êÇ©µÄIDºÍNAME

µÃµ½HTML±êÇ©µÄIDºÍNAME
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function GetNameNId(obj)
{
alert("µ±Ç°¿Ø¼þµÄnameΪ:"+obj.name)
alert("µ±Ç°¿Ø¼þµÄidΪ:"+obj.id)
}
//-->
</SCRIPT>
<BODY>
<INPUT TYPE="text" NAME="testname" id="testid" onclick="GetNameNId(this)">
<div name='divtest' id='divtest' onclick="GetNameNId(this)">click me</div>
</BODY>
</HTML>  
JSʵÏÖ¸´Ñ¡¿òÈ«²¿Ñ¡ÖлòÈ¡ÏûÑ¡ÖÐЧ¹û
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> ¸´Ñ¡¿òÈ«Ñ¡/²»Ñ¡Ð§¹û </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<mce:script type="text/javascript"><!--

function selectall(obj) {
var temp = document.getElementsByName("cb");
for (var i =0; i<temp.length; i++)
{
temp[i].checked = obj.checked;
}
}
function cancel(obj,all) {
var flag = 0;
var all = document.getElementsByName(all)[0];
if (!obj.checked)
{
all.checked = false;
}
else
{
for (var i=0; i<d


Ïà¹ØÎĵµ£º

ÀûÓÃIEä¯ÀÀ±¾µØHTML,WORD, pdf¸ñʽÎļþ

1. bstrCurPathΪÎļþµÄĿ¼, bstrFileNameΪÎļþÃû;´úÂëÈçÏ£º
//ÀûÓÃIE¿Ø¼þ£¬ä¯ÀÀWORD,pdfµÈÎļþ¡£
void putLocalUrl(CComBSTR bstrCurPath, CComBSTR bstrFileName)
{
//»ñÈ¡IE¿Ø¼þÖ¸Õë
HWND hWnd = GetDlgItem(IDC_EXPLORER);
CComPtr<IUnknown> spUnk;
HRESULT hr = AtlAxGetControl(hWn ......

HTML µÄDOCTYPE ±êÇ©

HTML <!DOCTYPE> ±êÇ©
¶¨ÒåºÍÓ÷¨
<!DOCTYPE> ÉùÃ÷λÓÚÎĵµÖеÄ×îÇ°ÃæµÄλÖ㬴¦ÓÚ <html> ±êǩ֮ǰ¡£´Ë±êÇ©¿É¸æÖªä¯ÀÀÆ÷ÎĵµÊ¹ÓÃÄÄÖÖ HTML »ò XHTML ¹æ·¶¡£
¸Ã±êÇ©¿ÉÉùÃ÷ÈýÖÖ DTD ÀàÐÍ£¬·Ö±ð±íʾÑϸñ°æ±¾¡¢¹ý¶É°æ±¾ÒÔ¼°»ùÓÚ¿ò¼ÜµÄ HTML Îĵµ¡£
ÒÔÏÂÃæÕâ¸ö <!DOCTYPE> ±êǩΪÀý£º
<!DOCTYP ......

htmlÖеķÖÒ³´òÓ¡

<html>
<head>
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<title>¿´¿´</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--media=print Õâ¸öÊôÐÔ¿ÉÒÔÔÚ´òӡʱÓÐЧ-->
<style media=print ......

HTML link ±êÇ©


HTML <link> ±êÇ©
¶¨ÒåºÍÓ÷¨
<link> ±êÇ©¶¨ÒåÎĵµÓëÍⲿ×ÊÔ´µÄ¹Øϵ¡£
<link> ±êÇ©×î³£¼ûµÄÓÃ;ÊÇÁ´½ÓÑùʽ±í¡£
ʵÀý
Á´½ÓÒ»¸öÍⲿÑùʽ±í£º
<head>
<link rel="stylesheet" type="text/css" href="theme.css" />
</head>
TIY
ä¯ÀÀÆ÷Ö§³Ö
ÔÚÓÃÓÚÑùʽ±íʱ£¬<link> ±êÇ ......

htmlͼƬѭ»·¹ö¶¯ÎÞ·ì϶

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÎÞ±êÌâÎĵµ< ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ