The script tag has two important attributes.
<!DOCTYPE html> <html lang="en"> <head> document.write('Helo World!'); </head> <body> </body> </html>
The browser will produce the following result.
When to Use Semicolons