The use of Java Script tag <head> ; <head> ট্যাগের মাঝে জাভা স্ক্রীপ্ট এর ব্যবহার~~Hedaet Forum~~


Email: Password: Forgot Password?   Sign up
Are you Ads here? conduct: +8801913 364186

Forum Home >>> Java Script >>> The use of Java Script tag <head> ; <head> ট্যাগের মাঝে জাভা স্ক্রীপ্ট এর ব্যবহার

Tamanna
Modarator Team
Total Post: 7639

From:
Registered: 2011-12-11
 

The use of Java Script tag <head>

No specific button / click event, which - if you want to start, <head> tag of the Java scripts are. Certain button is clicked, the alert box will appear.
Such as:
<html>
<head>
<script type="text/javascript">
<! -
function salam () {
alert ("Salam from www.hedaet.com")
}
/ / ->
</ script>
</ head>
<body>
<input type="button" onclick="salam()" value="Salam" />
</ body>
</ html>
===================
<head> ট্যাগের মাঝে জাভা স্ক্রীপ্ট এর ব্যবহার

নির্দিষ্ট কোন বাটন/ইভেন্ট এ ক্লিক করে, তা- চালু করতে চাইলে, <head> ট্যাগের মাঝে জাভা স্ক্রীপ্ট এর রাখতে হয়।নির্দিষ্ট বাটনে ক্লিক করা মাত্র, সেই এলার্ট বক্স প্রদর্শিত হবে।
যেমন:
<html>
<head>
<script type="text/javascript">
<!--
function salam() {
alert("Salam from www.hedaet.com")
}
//-->
</script>
</head>
<body>
<input type="button" onclick="salam()" value="Salam" />
</body>
</html>