Scripbox interview question

2. How script tag work and its attributes work?