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 µÄ³ÊÏÖÌØÐÔʱ£¬Ç
Ïà¹ØÎĵµ£º
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"
......
Steve Jobs ÔÚ"Thoughts on Flash"Ò»ÎÄÖУ¬Ì¸¼°ÍøÂçÓ°Òôʱ£¬¶à´ÎÌáµ½HTML5ÓëH.264Á½Ïî±ê×¼¡£µ«ÊÇ£¬µ½µ×HTML5ÊÇʲô?FlashºÍH.264ÓÖÊÇʲô»ØÊÂ?ËùÒÔ£¬±¾ÎÄÖ¼ÔÚ½âÊÍËüÃÇÖ®¼äµÄ¹ØÏµ£¬Èôó¼Ò¿ÉÒÔ³õ²½Á˽⡣
¡¡¡¡Ê×ÏÈ£¬ÒýÓÃSteve JobsµÄÒ»¶Î»°£º
¡¡¡¡AdobeÒ»ÔÙ·´¸´Ðû³ÆAppleµÄÒÆ¶¯É豸²»ÄÜÌṩ"ÍêÕû ......
public static String splitAndFilterString(String input, int length) {
if (input == null || input.trim().equals("")) {
&nb ......
³ÃÖÜÄ©ÏëÕÛÌÚÒ»ÏÂǶÈëASP.NETµÄWinForm³ÌÐò
ÐèÒªÓõ½WebBrowser¿Ø¼þµÄHTMLÔ´Âë¶Áд
¾Í°ÑÒÔǰµÄһЩ´úÂëÆ¬¶ÏÒÆÖµµ½C#ÏÂ
˳±ã·¢¸öÌû×Ó±¸Íü£¬ºÇºÇ
˼·ÆäʵºÜ¼òµ¥£¬Ö±½Óͨ¹ýdocument.documentElement.outerHTML
»òÕßʹÓÃIPersistStreamInit½Ó¿ÚÖ±½Ó¶ÔÁ÷½øÐд¦Àí
ǰÕßÎҾͲ»·Ï»°ÁË£¬ºóÕßʵÏÖ·½·¨ÈçÏÂ
&nbs ......
Ò»°ãÎÒÃÇ×ö³ÌÐò£¬±ÈÈçÓÃVC,¿ª·¢½çÃæÊǸöÍ·Í´µÄÎÊÌâ¡£¿ª·¢Ð§ÂÊÌ«µÍ£¬¶øÇÒ×ö³öÀ´µÄЧ¹ûҲ̫²îÁË¡£¿´ÆðÀ´Ì«²»ÃÀ¹ÛרҵÁË¡£ÁíÒ»·½ÃæHMTL×ö½çÃæÊÇÓÖ·½±ãÓÖÃÀ¹Û£¬ÇÒ»¹ÌìÉúÖ§³Öscript½Å±¾¡£·Ç³£Ç¿´ó°¡¡£ÎÒÃÇÒ»°ãʹÓÃhtmlµÄʱºò¶¼ÊÇ×öµÄB/S½á¹¹µÄÈí¼þ£¬ÐèÒªÒ»¸öWEB·þÎñÆ÷¡£ ......