0

Formatting Etiquette with Type and Placement

I understand that using <script language="javascript"> and <script type=text/javascript> have become deprecated, however I have seen a few instances where these tags are still used, as well as placed at the top of a page body rather than at the end. Is there a beneficial reason for doing this?

20th Dec 2016, 7:16 AM
Robert Jones
Robert Jones - avatar
1 Antwort
0
No. There is no advantage. Just many IDE continue to do so. And JS script must always be placed at bottom of the page,
20th Dec 2016, 11:47 AM
Rishi Anand
Rishi Anand - avatar