HTML CSS examples for HTML Tag:script
Loading an External Scripting Library
Contents of the simple.js Script File
document.write("This is from the external script");
<!DOCTYPE html> <html> <head> <script src="simple.js"></script> </head> <body> <p> I like <code id="myId">HTML</code> and CSS. <!-- www .j a v a2 s . c o m--> </p> <a href="http://java2s.com">Visit java2s.com</a> <a href="page2.html">Page 2</a> </body> </html>