<script> placement, defer/async and inline handlers.
- Category: HTML Tutorial — part of the HTML Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "JavaScript in HTML" in one sentence, then back it up with a tiny example
<!-- JavaScript in HTML -->
<div>
<!-- see MDN for the full attribute/tag reference -->
</div>Tip
Quick recall: "JavaScript in HTML" — <script> placement, defer/async and inline handlers.