Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : html

html unicode±àÂëת»»·½·¨

¶ÔÓÚ"&# 24038;&# 36793;"ÕâÖÖ&#¿ªÊ¼µÄ×Ö·û£¬Ó¦¸ÃΪhtml unicode±àÂëÀàÐÍ£¬½âÂë·½·¨ÈçÏ£º
s="&#  24038;& # 36793;"
s="×ó±ß"
import re
_=re.compile('&#(x)?([0-9a-fA-F]+);')
to_str=lambda s,charset='utf-8':_.sub(lambda result:unichr(int(result.group(2),result.group(1)=='x' and 16 or 10)).encode(charset) ,s)
print to_str(s) ......

XHTMLºÍHTMLµÄÇø±ð

ÒòΪWap2.0ʹÓÃXHTMLÓïÑÔ²¢¼æÈÝWML£¬ÒÔÏÂÊÇÍøÉÏÕÒµÄXHTMLºÍHTMLµÄÇø±ð
XHTMLÏà±ÈÓÚHTML
  1.ËùÓеıê¼Ç¶¼±ØÐëÒªÓÐÒ»¸öÏàÓ¦µÄ½áÊø±ê¼Ç
  ÒÔÇ°ÔÚHTMLÖУ¬Äã¿ÉÒÔ´ò¿ªÐí¶à±êÇ©£¬ÀýÈçºÍ<li>¶ø²»Ò»¶¨Ð´¶ÔÓ¦µÄ
  ºÍ</li>À´¹Ø±ÕËüÃÇ¡£µ«ÔÚXHTMLÖÐÕâÊDz»ºÏ·¨µÄ¡£XHTMLÒªÇóÓÐÑϽ÷µÄ½á¹¹£¬ËùÓбêÇ©±ØÐë¹Ø±Õ¡£Èç¹ûÊǵ¥¶À²»³É¶ÔµÄ±êÇ©£¬ÔÚ±êÇ©×îºó¼ÓÒ»¸ö"/"À´¹Ø±ÕËü¡£ÀýÈç:
  <img height="80" alt="ÍøÒ³Éè¼Æʦ" src="../images/logo_w3cn_200x80.gif" width="200" />
  2.ËùÓбêÇ©µÄÔªËغÍÊôÐÔµÄÃû×Ö¶¼±ØÐëʹÓÃСд
  ÓëHTML²»Ò»Ñù£¬XHTML¶Ô´óСдÊÇÃô¸ÐµÄ£¬<title>ºÍ<TITLE>ÊDz»Í¬µÄ±êÇ©¡£XHTMLÒªÇóËùÓеıêÇ©ºÍÊôÐÔµÄÃû×Ö¶¼±ØÐëʹÓÃСд¡£ÀýÈ磺<BODY>±ØÐëд³É<body> ¡£´óСд¼ÐÔÓÒ²ÊDz»±»ÈϿɵģ¬Í¨³£dreamweaver×Ô¶¯Éú³ÉµÄÊôÐÔÃû×Ö"onMouseOver"Ò²±ØÐëÐ޸ijÉ"onmouseover"¡£
  3.ËùÓеÄXML±ê¼Ç¶¼±ØÐëºÏÀíǶÌ×
  ͬÑùÒòΪXHTMLÒªÇóÓÐÑϽ÷µÄ½á¹¹£¬Òò´ËËùÓеÄǶÌ׶¼±ØÐ밴˳Ðò£¬ÒÔÇ°ÎÒÃÇÕâÑùдµÄ´úÂ룺
  <b>
  </b>
  ±ØÐëÐÞ¸ÄΪ£º
  ¾ÍÊÇ˵£¬Ò»²ãÒ ......

HTML ¼òÊ·

HTML ¼òÊ·
      HTML ÊÇ Web ͳһÓïÑÔ£¬ÕâЩÈÝÄÉÔÚ¼âÀ¨ºÅÀïµÄ¼òµ¥±êÇ©£¬¹¹³ÉÁËÈç½ñµÄ Web¡£1991 Ä꣬Tim Berners-Lee ±àдÁËÒ»·Ý½Ð×ö “HTML ±êÇ©”µÄÎĵµ£¬ÀïÃæ°üº¬ÁË´óÔ¼20¸öÓÃÀ´±ê¼ÇÍøÒ³µÄ HTML ±êÇ©¡£ËûÖ±½Ó½èÓà SGML µÄ±ê¼Ç¸ñʽ£¬Ò²¾ÍÊǺóÀ´ÎÒÃÇ¿´µ½µÄ HTML ±ê¼ÇµÄ¸ñʽ¡£±¾ÎĽ²ÊöÁË HTML ÕâÃÅ Web ±ê¼ÇÓïÑԵķ¢Õ¹¼òÊ·¡£
´Ó IETF µ½ W3C: HTML 4 ֮·
      HTML 1 ²¢²»Ôø´æÔÚ£¬HTML µÄµÚÒ»¸ö¹Ù·½°æ±¾¾ÍÊÇÓÉ IETF £¨»¥ÁªÍø¹¤³ÌÈÎÎñ×飩 ÍƳöµÄ HTML 2.0¡£ÎÊÊÀ֮ǰ£¬Õâ¸ö°æ±¾ÖеĺܶàϸÔòÒѾ­±»ÊµÏÖ£¬±ÈÈ磬1994ÄêµÄ Mosaic ä¯ÀÀÆ÷ÒѾ­ÊµÏÖÁËÔÚÎĵµÖÐǶÈëͼƬµÄ·½·¨£¬ºóÀ´ HTML 2.0 ±ãÎüÄÉÁË img Õâ¸ö±êÇ©¡£
ºóÀ´£¬W3C È¡´ú IETF µÄ½ÇÉ«£¬³ÉΪ HTML µÄ±ê×¼×éÖ¯£¬1990Äê´úµÄºó°ëÒ³£¬HTML µÄ°æ±¾±»Æµ·±Ð޸ģ¬Ö±µ½1999ÄêµÄ HTML 4.01£¬ÖÁ´Ë£¬HTML µ½´ïÁËËüµÄµÚÒ»¸ö¹Õµã¡£
XHTML 1: XML ·ç¸ñµÄ HTML
      HTML ÔÚ HTML 4.01 Ö®ºóµÄµÚÒ»¸öÐÞ¶©°æ±¾¾ÍÊÇ XHTML 1.0£¬ÆäÖÐ X ´ú±í “eXtensible” £¬À©Õ¹£¬µ±È»Ò²ÓÐÈ˽«Ö®½â¶ÁΪ “eXtreme”£¬¼«¶Ë¡£XHTML ......

htmlµ¯³öÌáʾ¿ò²¢ÊµÏÖÍ϶¯µÄÔ´Âë

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type" />
<title>¼òµ¥µÄ²âÊÔÒ³Ãæ</title>
<mce:style type="text/css"><!--
html {
height: 100%;
}
body {
margin: 0px;
padding: 0px;
height: 100%;
}
#dt_3 {
cursor: pointer;
}
div#mbDIV {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: #000;
z-index: 10;
filter: alpha(opacity=50);
opacity: 0.5;
}
div#loginDIV {
position: absolute;
width: 300px;
height: 150px;
background-color: #FFFF00;
z-index: 20;
}
div#loginTopDIV {
width: 100%;
height: 20px;
background-color: #FF0000;
cursor: move;
}
--></mce:style><style type="text/css" mce_bogus="1">html {
height: 100%;
}
body {
margin: 0px;
padding: 0px;
height: 100%;
}
#dt_3 {
cursor: p ......

java°Ñwordתhtml»òtxt

×î½üÏîÄ¿ÖÐÐèÒªÔÚÒ³ÃæÖÐÔ¤ÀÀwordÎļþ£¬Ëä˵word±¾Éí¾Í¿ÉÒÔÔÚÒ³ÃæÖдò¿ª£¬µ«ÊÇÓÐÁ½¸ö±×¶Ë£¬1ÊÇ¿É¿Í»§¶Ë±ØÐë°²×°word£¬ 2ÊÇ¿Í»§¶ËµÄ»·¾³ÒÔ¼°office°æ±¾ÓвîÒ죬»áÔì³ÉÔ¤ÀÀ²»Îȶ¨¡£ÔÚÍøÉÏÕÒÁËһϣ¬·¢ÏÖpoi¿ÉÒÔ°Ñword×°»»³Étxt,µ«ÊǸñʽ¶¼¶ªÁË,Ö»ÓйâͺͺµÄÎı¾,ÓÖËÑjacob, ÍøÓÑÃÇÖÚ˵·×ç¡, ×îºó»¹ÊÇ×Ô¼ºsourceforgeÉÏÏÂÔØjacob²¢ÔĶÁdoc¸ã¶¨ÁË.
1 goto http://sourceforge.net/projects/jacob-project/ and download latest library of jacob.
ÏÂÔصÄzipÎļþ½á¹¹ÈçÏÂ:
2 intel cpuµÄ»úÆ÷¿½±´jacob-1.15-M3-x86.dllµ½%JAVA_HOME%/jre/bin, AMD cpuµÄ»úÆ÷¿½±´jacob-1.15-M3-x64.dll. ²»¹ýÇëÈ·±£jreĿ¼ÊÇÄãÕýÔÚʹÓõÄjre, ÒòΪÏÖÔںܶàeclipse°æ±¾×Ô¼º´øjre. Õâ¸öÔÚeclipse windows-> preferences -> installed jres¿ÉÒԲ鿴.
3 ¿½±´jacob.jarµ½ÄãÏîĿĿ¼µÄlibÏÂÃ沢ȷ±£¼ÓÈëµ½ÁËclasspath.
×¼±¸¹¤×÷Íê±Ï, ÏÖÔÚ¾Íд³ÌÐòÁË.
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;
public class Test {
public static void main(String[] args) {
ActiveXComponent app = new ActiveXComponent ......

java°Ñwordתhtml»òtxt

×î½üÏîÄ¿ÖÐÐèÒªÔÚÒ³ÃæÖÐÔ¤ÀÀwordÎļþ£¬Ëä˵word±¾Éí¾Í¿ÉÒÔÔÚÒ³ÃæÖдò¿ª£¬µ«ÊÇÓÐÁ½¸ö±×¶Ë£¬1ÊÇ¿É¿Í»§¶Ë±ØÐë°²×°word£¬ 2ÊÇ¿Í»§¶ËµÄ»·¾³ÒÔ¼°office°æ±¾ÓвîÒ죬»áÔì³ÉÔ¤ÀÀ²»Îȶ¨¡£ÔÚÍøÉÏÕÒÁËһϣ¬·¢ÏÖpoi¿ÉÒÔ°Ñword×°»»³Étxt,µ«ÊǸñʽ¶¼¶ªÁË,Ö»ÓйâͺͺµÄÎı¾,ÓÖËÑjacob, ÍøÓÑÃÇÖÚ˵·×ç¡, ×îºó»¹ÊÇ×Ô¼ºsourceforgeÉÏÏÂÔØjacob²¢ÔĶÁdoc¸ã¶¨ÁË.
1 goto http://sourceforge.net/projects/jacob-project/ and download latest library of jacob.
ÏÂÔصÄzipÎļþ½á¹¹ÈçÏÂ:
2 intel cpuµÄ»úÆ÷¿½±´jacob-1.15-M3-x86.dllµ½%JAVA_HOME%/jre/bin, AMD cpuµÄ»úÆ÷¿½±´jacob-1.15-M3-x64.dll. ²»¹ýÇëÈ·±£jreĿ¼ÊÇÄãÕýÔÚʹÓõÄjre, ÒòΪÏÖÔںܶàeclipse°æ±¾×Ô¼º´øjre. Õâ¸öÔÚeclipse windows-> preferences -> installed jres¿ÉÒԲ鿴.
3 ¿½±´jacob.jarµ½ÄãÏîĿĿ¼µÄlibÏÂÃ沢ȷ±£¼ÓÈëµ½ÁËclasspath.
×¼±¸¹¤×÷Íê±Ï, ÏÖÔÚ¾Íд³ÌÐòÁË.
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;
public class Test {
public static void main(String[] args) {
ActiveXComponent app = new ActiveXComponent ......

Ê¡ÊÐÏز»Ë¢Ò³Ãæjs Íê³É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=utf-8" />
  <title> new document </title>
</head>
 <body><select id="s1"></select><select id="s2"></select><select id="s3"></select>
  <script type="text/javascript">
  <!--
    function LianDong(arr, sel)
{
this.GetCnNameByValue = function(val)
{
      for ( var j = 0; j < arr.length; j++)
      {
           if (arr[j][0] == val)
           {
             return arr[j][2];
     & ......
×ܼǼÊý:583; ×ÜÒ³Êý:98; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [6] [7] [8] [9] 10 [11] [12] [13] [14] [15]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ