Billig Refinansiering | Sähkösopimukset | Beste Kredittkort Fordeler | Strøm | Boligalarm | Billigste Forsikring | Mobilselskaper 2017 | Billigste Eiendomsmegler
JavaScript programming

Why JavaScript web page to display text?

Many might think that when a question by HTML text can be displayed on any Web page, then we’ll use JavaScript to display, why write? HTML of a web page can not be displayed in any written JavaScript is used to display the dynamic text. HTML is not a programming Guadalajara because so many different kinds of HTML data, variables, operators, etc. does not work. The JavaScript programming language and data, variables, operators, etc., according to statements made by using work. JavaScript is so dynamic data to work with. Greet the name of a variable var greet = “Welcome to”; Welcome to the string was similar; Now Welcome to www.Mobilebdprice.com, Welcome to www.trickbd.com.bd ,and three three-line text display Welcome to will levy. The document.write (greet + “www.trickbd.com.bd <br />”); document.write (greet + “www.Mobilebdprice.com <br />”); document.write (greet + “www.trickbd.com.bd”); Welcome to greet preregistration variables used by radarscope text which is not possible with HTML.

Practice Project:

<html>
<head>
<title> www.tutohost.com</title>
<style>
body{background: #FFC;
font-size:24px;}
</style>

</head>
<body>
<script type=”text/javascript”>
var greet = “Welcome to “;
document.write( greet + “www.trickbd.com.bd <br />” );
document.write( greet + “www.Mobilebdprice.com <br />” );
</script>
</body>

</html>

Notepad to open a file type from the menu at the top of layer code by clicking on the Save as File name: index.html, Save as type: All files, save and open the index.html file with the Mozilla Firefox look like the image shown below.

Welcome to WWW.trickbd.com.bd

Welcome to WWW.mobilebdprice.com

Comments

comments

About the author

Toriqul Islam Tusher

বলার মত কিছু নাই!

Leave a Comment