<font color="#000080">Quote:<br>"The async and defer attributes are
boolean attributes that indicate how the script should be
executed."..."The defer attribute may be specified even if the async
attribute is specified"</font><br>Do it mean 'async' is equivalent to 'defer'? (namely, are the two attributes interchangeable?)<br><br>I personally consider the two attributes are different. The reason is as follows,<br>
ASYNC tells the browsers to run the script with its following content at the SAME time(namely, asynchronously).<br>DEFER
tells the browsers to run the script LATER, and to run the following
content first(the browsers will run the script until the page is
ready). <br><br><font color="#000080">Quote:<br>"The defer and async attributes must not be specified if the src attribute is not present."</font><br>Do it mean "if the src attribute is not present, the defer and async
attributes can be not used" ? (English is not my native language,  :)  )<br><br>However,
I saw the defer attribute can work on both in-line and external scripts
. In short,  when the src attribute is not present,  the defer
attributes can be used. <br>Could you give some expanations or tips? thanks<br>e.g.<br><script type='text/javascript' ><br>  alert("1");<br></script><br><script type='text/javascript' defer='defer'><br>
   alert("defer");<br></script><br><script type='text/javascript' ><br>  alert("2");<br></script><br><br>-Matt<br>