Sollicitatievraag bij Tata Consultancy Services

How do you inject JavaScript into HTML, and what methods do you use to embed JS into HTML files?