C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to Write JavaScript Function Head Of the HTML Document In JavaScript
WhatsApp
Delpin Susai Raj
Aug 25
2016
695
0
0
<html>
<head>
<script type=
"text/JavaScript"
>
<!--
function
popup()
{
alert(
"Hello World"
)
}
//-->
</script>
</head>
<body> <input type=
"button"
onclick=
"popup()"
value=
"Click"
> </body>
</html>
HTML Document
JavaScript
JavaScript Function Head
Up Next
How to Write JavaScript Function Head Of the HTML Document In JavaScript