title: Element 'script' cannot be nested inside element html
body: <p>I'm making a flask application and just stuffed it all into a Visual Studio pyproj file and am just reviewing all the edit suggestions the IDE is proposing. One of them is where I put the <code>&lt;script&gt;</code> tag in the html. The code worked as the browser is very forgiving I know with html, but what exactly did I unwittingly violate?</p>
  
  <p><a href="https://i.stack.imgur.com/W9FC9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/W9FC9.png" alt="script inside html tags"></a></p>