Difference between script type="text/javascript" vs script src="app.js"


Can someone help me understand the difference between using app.js vs. javascript in our code. Previously, I have used script type="text/javascript" when using jQuery. Does app.js replace that? Or is it only used in certain instances?
Thank you


you can read about it on mdn, type specifies which scripting language is use (type could also have a value of text/css, which indicates you want to use css), but type="text/javascript" is no longer required in the latest standers (html5)

src stands for source, and tell the script tags where the js file is located. I would specify those, very useful