In the general case, the order should be assumed to be significant. Because it can be. JavaScript code may, for example, try to access a link
element, and then it matters whether the link
element appears before the script
element (in which case it exists in the DOM when the script is executed).