Is it bad practice to embed JavaScript into the body of HTML?

前端 未结 17 2401
梦谈多话
梦谈多话 2020-12-13 01:44

A team that I am working on has gotten into the habit of using

17条回答
  •  有刺的猬
    2020-12-13 02:09

    Actually, it's quite common. For example Google's analytics tracking code uses just this syntax:

    
    

    If it's good enough for Google...

提交回复
热议问题