[HTML] document domain µÄ˵Ã÷
ÏÈÀ´¿´¶Î´úÂ룺
document.domain = 'ray.com';
Õâ¶Î´úÂëµ½µ×ÊÇʲôÒâË¼ÄØ£¿
Ê×ÏÈ£¬ÎÒÃÇÀ´¿´ÏÂHTML DOM ¹ØÓÚÕâ¸öµÄ˵Ã÷£º
domain of type DOMString, readonlyThe domain name of the server that served the document, or null if the server cannot be identified by a domain name.
Õâ¶Î»°µÄÒâ˼ÊÇÕâ¸öÖµÊÇDOMString ÀàÐ͵IJ¢ÇÒÊÇÖ»¶ÁµÄ£¬Èç¹ûÕÒ²»µ½ÓòÃûµÄ»°Õâ¸öֵΪnull£¬·ñÔò£¬Õâ¸öÖµ¾ÍÊÇÕâ¸öÌṩÕâ¸öÎĵµµÄÓòÃû¡£
ÔÙÀ´¿´ÏÂfirefox ¹ØÓÚÕâ¸öÖµµÄ˵Ã÷£º
In the DOM HTML specification, this property is listed as being read-only. However, all common browsers including Mozilla will let you set it to a superdomain of the current value. For example, on developer.mozilla.org it is possible to set it to "mozilla.org" but not "mozilla.com".
It is not universally possible in all browsers to set document.domain to a top-level domain (such as "com" or "org") or to a subdomain of a domain on which registrations are restricted (e.g. "co.uk", as registrations on the "uk" domain are restricted).
Õâ¶Î»°µÄ´óÖÂÒâ˼ÊÇËäÈ»DOM ±ê×¼¹æ¶¨document.domain Õâ¸öÖµÊÇÖ»¶ÁµÄ£¬µ«ÊÇÐí¶àä¯ÀÀÆ÷°üÀ¨»ðºüÔÊÐíËüÉèÖÃΪµ±Ç°ÓòÃûµÄ¸¸ÓòÃû¡£±ÈÈç‘developer.mozila.org’ ¿ÉÒÔÉèÖÃΪ‘mozila.org’µÄÓòÃû£¬µ«ÊDz»ÄÜÉèÖÃΪ‘mozila.com’µÄÓòÃû¡£²»Í¬ä¯ÀÀÆ÷¶ÔÕâ¸öÖµµÄÉèÖÃÖ§³Ö²»Ò»Ö¡£
¸ù¾ÝÎÒµÄʵÑ飬ÉèÖÃÁËÕâ¸ödomainÖµºó£¬ËùÓзÇдÔÚ±êǩʼþÖеÄJS¶¼ÎÞ·¨Ö´ÐÐ.
Ïà¹ØÎĵµ£º
<! - - ... - -> ×¢½â
<!> ÅÜÂíµÆ
<marquee>...</marquee>ÆÕͨ捲¶¯
<marquee behavior=slide>...</marquee>»¬¶¯
<marquee behavior=scroll>...</marquee>Ô¤Éè捲¶¯
<marquee behavior=alternate>...</marquee>À´»Ø捲¶¯
<marq ......
HTML £ Hyper Text Mark-up Language £ ³¬Îı¾±ê¼ÇÓïÑÔ
HTML-³¬Îı¾±ê¼ÇÓïÑÔ£¬ÊÇWWWµÄÃèÊöÓïÑÔ¡£Éè¼ÆHTMLÓïÑÔµÄÄ¿µÄÊÇΪÁËÄܰѴæ·ÅÔÚһ̨µçÄÔÖеÄÎı¾»òͼÐÎÓëÁíһ̨µçÄÔÖеÄÎı¾»òͼÐη½±ãµØÁªÏµÔÚÒ»Æð£¬ÐγÉÓлúµÄÕûÌ壬ÈËÃDz»Óÿ¼ÂǾßÌåÐÅÏ¢ÊÇÔÚµ±Ç°µçÄÔÉÏ»¹ÊÇÔÚÍøÂçµÄÆäËüµçÄÔÉÏ¡£ÎÒÃÇÖ» ......
.net ¹¦ÄÜÊ®·ÖÇ¿´ó£¬Æäʵ¿ÉÒÔÖ±½ÓÔÚÀïÃæÐ´Ò»Ð©htmlµÄ´úÂ룬±ÈÈçÏñÕâÑù
<asp:CheckBox ID="checksingup" runat="server" Text='I have read and agree to <a href="abc.aspx">This is ABC web</a>' onclick="ValidateTandCs" />
ÕâÖÖ¿ÉÒÔÓÃÓÚ×¢²áʱµÄ³¬Á´½Óµ½±ðµÄµØ·½£¬µ±È»¿ÉÒÔ·¢»ÓÏëÏñ£¬Ë ......
*Ò³ÃæµÄ¿ªÍ·
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
<%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%>
<%@ tagl ......
HTML±í¸ñºÜÈÝÒ×ÉÏÊÖ£¬Ò»¶Ñtr¼Ótd¾Í¿ÉÒÔÏÔʾһÕűí¸ñÁË¡£¸´ÔÓÒ»µã¾ÍÊÇÔÙ¼ÓÉÏth£¬colgroup£¬tbody£¬tfooter£¬captionÖ®Àà¡£ÕâЩHTMLÀïÃæµÄ¸÷ÖÖÔªËØµÄÈ·¼ÓÇ¿Á˱í¸ñµÄʵÓÃÐÔºÍÓïÒ廯£¬µ«table±¾Éí¾ÍÓкܴóѧÎÊŶ£¬±Ï¾¹ÊÇÕû¸ö±í¸ñµÄ¸ù°¡£¡
½ñÌìÏÂÃæÒª×ܽá°üº¬¶Ôtable±¾ÉíµÄÊôÐÔ¹éÄɺÍtableרÓõÄCSS±È½Ï£º
attributes VS CSS ......