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

HTML µÄDOCTYPE ±êÇ©

HTML <!DOCTYPE> ±êÇ©
¶¨ÒåºÍÓ÷¨
<!DOCTYPE> ÉùÃ÷λÓÚÎĵµÖеÄ×îÇ°ÃæµÄλÖ㬴¦ÓÚ <html> ±êǩ֮ǰ¡£´Ë±êÇ©¿É¸æÖªä¯ÀÀÆ÷ÎĵµÊ¹ÓÃÄÄÖÖ HTML »ò XHTML ¹æ·¶¡£
¸Ã±êÇ©¿ÉÉùÃ÷ÈýÖÖ DTD ÀàÐÍ£¬·Ö±ð±íʾÑϸñ°æ±¾¡¢¹ý¶É°æ±¾ÒÔ¼°»ùÓÚ¿ò¼ÜµÄ HTML Îĵµ¡£
ÒÔÏÂÃæÕâ¸ö <!DOCTYPE> ±êǩΪÀý£º
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
ÔÚÉÏÃæµÄÉùÃ÷ÖУ¬ÉùÃ÷ÁËÎĵµµÄ¸ùÔªËØÊÇ html£¬ËüÔÚ¹«¹²±êʶ·û±»¶¨ÒåΪ "-//W3C//DTD XHTML 1.0 Strict//EN" µÄ DTD ÖнøÐÐÁ˶¨Òå¡£ä¯ÀÀÆ÷½«Ã÷°×ÈçºÎÑ°ÕÒÆ¥Åä´Ë¹«¹²±êʶ·ûµÄ DTD¡£Èç¹ûÕÒ²»µ½£¬ä¯ÀÀÆ÷½«Ê¹Óù«¹²±êʶ·ûºóÃæµÄ URL ×÷ΪѰÕÒ DTD µÄλÖá£
ÌáʾºÍ×¢ÊÍ£º
×¢ÊÍ£º<!DOCTYPE> ±êǩûÓнáÊø±êÇ©£¡
HTML
HTML 4.01 ¹æ¶¨ÁËÈýÖÖÎĵµÀàÐÍ£ºStrict¡¢Transitional ÒÔ¼° Frameset¡£
HTML Strict DTD
Èç¹ûÄúÐèÒª¸É¾»µÄ±ê¼Ç£¬ÃâÓÚ±íÏÖ²ãµÄ»ìÂÒ£¬ÇëʹÓôËÀàÐÍ¡£ÇëÓë²ãµþÑùʽ±í£¨CSS£©ÅäºÏʹÓãº
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">
HTML Transitional DTD
Transitional DTD ¿É°üº¬ W3C ËùÆÚÍûÒÆÈëÑùʽ±íµÄ³ÊÏÖÊôÐÔºÍÔªËØ¡£Èç¹ûÄúµÄ¶ÁÕßʹÓÃÁ˲»Ö§³Ö²ãµþÑùʽ±í£¨CSS£©µÄä¯ÀÀÆ÷ÒÔÖÁÓÚÄú²»µÃ²»Ê¹Óà HTML µÄ³ÊÏÖÌØÐÔʱ£¬ÇëʹÓôËÀàÐÍ£º
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
Frameset DTD
Frameset DTD Ó¦µ±±»ÓÃÓÚ´øÓпò¼ÜµÄÎĵµ¡£³ý frameset ÔªËØÈ¡´úÁË body ÔªËØÖ®Í⣬Frameset DTD µÈͬÓÚ Transitional DTD£º
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "
http://www.w3.org/TR/html4/frameset.dtd">
XHTML
XHTML 1.0 ¹æ¶¨ÁËÈýÖÖ XML ÎĵµÀàÐÍ£ºStrict¡¢Transitional ÒÔ¼° Frameset¡£
XHTML Strict DTD
Èç¹ûÄúÐèÒª¸É¾»µÄ±ê¼Ç£¬ÃâÓÚ±íÏÖ²ãµÄ»ìÂÒ£¬ÇëʹÓôËÀàÐÍ¡£ÇëÓë²ãµþÑùʽ±í£¨CSS£©ÅäºÏʹÓãº
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XHTML Transitional DTD
Transitional DTD ¿É°üº¬ W3C ËùÆÚÍûÒÆÈëÑùʽ±íµÄ³ÊÏÖÊôÐÔºÍÔªËØ¡£Èç¹ûÄúµÄ¶ÁÕßʹÓÃÁ˲»Ö§³Ö²ãµþÑùʽ±í£¨CSS£©µÄä¯ÀÀÆ÷ÒÔÖÁÓÚÄú²»µÃ²»Ê¹Óà XHTML µÄ³ÊÏÖÌØÐÔʱ£¬Ç


Ïà¹ØÎĵµ£º

coolite control add the html tag

I always consider the coolitm control only can use its control tag in its body.
But I found that it can use html tag ,this very good.
so I show the sample to other:
<ext:Window
ID="Window1"
runat="server"
Width="500"
Height="485"
......

JAVAÇå³ýhtml¸ñʽÕýÔò±í´ïʽ


 public static String splitAndFilterString(String input, int length) {   
        if (input == null || input.trim().equals("")) {   
     &nb ......

ÍøÕ¾HTML¾²Ì¬»¯½â¾ö·½°¸

package com.jb.y2t034.thefifth.web.servlet;  
import java.io.ByteArrayOutputStream;  
import java.io.FileOutputStream;  
import java.io.IOException;  
import java.io.OutputStreamWriter;  
import java.io.PrintWriter;  
import jav ......

ʹÓÃHTML/ASP×öÈí¼þµÄ½çÃæ

     Ò»°ãÎÒÃÇ×ö³ÌÐò£¬±ÈÈçÓÃVC,¿ª·¢½çÃæÊǸöÍ·Í´µÄÎÊÌâ¡£¿ª·¢Ð§ÂÊÌ«µÍ£¬¶øÇÒ×ö³öÀ´µÄЧ¹ûҲ̫²îÁË¡£¿´ÆðÀ´Ì«²»ÃÀ¹ÛרҵÁË¡£ÁíÒ»·½ÃæHMTL×ö½çÃæÊÇÓÖ·½±ãÓÖÃÀ¹Û£¬ÇÒ»¹ÌìÉúÖ§³Öscript½Å±¾¡£·Ç³£Ç¿´ó°¡¡£ÎÒÃÇÒ»°ãʹÓÃhtmlµÄʱºò¶¼ÊÇ×öµÄB/S½á¹¹µÄÈí¼þ£¬ÐèÒªÒ»¸öWEB·þÎñÆ÷¡£ ......

Web¿ª·¢ µÚÒ»²¿·Ö HTML½Ì³Ì»ù´¡£¨Ê®Èý£©±í¸ñ²¼¾Ö

Ç°ÃæµÄ¿Î³ÌÖУ¬ÎÒÃÇѧϰÁ˱í¸ñÔªËØ£¬ÉϽڿÎÖУ¬ÎÒÃÇͨ¹ýÒ»±¾±í¸ñÀ´¶Ô±íµ¥ÄÚµÄ×é¼þ½øÐÐλÖõĿØÖÆ£¬ÕâÆäʵ¾ÍÊÇÒ»ÖÖ¼òµ¥µÄ±í¸ñ²¼¾Ö¡£Õâ½Ú¿Î£¬ÎÒÃÇÏêϸÀ´ÌÖÂÛÒ»ÏÂʹÓñí¸ñµÄ²¼¾Ö·½·¨¡£
¿´ÈçÏ´úÂ룺
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ