Java-Script


Java-Script in HTML einbinden
<script language="JavaScript"><!--
         //Add code here
//-->
</script>


Seite wechseln
top.location.href="http://www.tnotes.de";





<!DOCTYPE html>
<html>
<body>
<p id="demo"></p>

<script>
var person = {
    firstName : "Andreas",
    lastName  : "Tobola",
    age       : 35,
    eyeColor  : "brown green"
};

document.getElementById("demo").innerHTML =
person.firstName + person.lastName +  " is " + person.age + " years old.";
</script>

</body>
</html>





Siehe auch Programmiersprachen

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki