Write your personal profile in a file saving it with the-00665
This subjective question is related to the book/course vu cs403 Database Management Systems. It can also be found in vu cs403 Mid Term Solved Past Paper No. 6.
Question 1: Write your personal profile in a file saving it with the extension of e.g. "abc.js"and then call it in a JavaScript code.
document.write("my name: dua" +"<P>")
document.write("my id: mc090" +"<P>")
document.write("My Uni Name: VU" +"<P>")
//-->
<HEAD>
</HEAD>
<BODY><H1>My Profile</h1>
<SCRIPT SRC="abc.js"></SCRIPT>
</body>
</html>
Answer:
Code#1
<!--document.write("my name: dua" +"<P>")
document.write("my id: mc090" +"<P>")
document.write("My Uni Name: VU" +"<P>")
//-->
code#1 File save with extension "abc.js"
Code#2
.html coding:
<HTML><HEAD>
</HEAD>
<BODY><H1>My Profile</h1>
<SCRIPT SRC="abc.js"></SCRIPT>
</body>
</html>