asd
This commit is contained in:
parent
d310e69a6c
commit
3229c35c9c
28
20240903/index.html
Normal file
28
20240903/index.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--Inner HTML-->
|
||||
<p id="pelda"></p>
|
||||
<script>
|
||||
document.getElementById('pelda').innerHTML = "Példa: " + (10 + 20);
|
||||
</script>
|
||||
<!--Egyszerű kiíratás-->
|
||||
<script>
|
||||
document.write("Ez egy javascriptes szöveg");
|
||||
</script>
|
||||
<!--Alert - felugró ablak-->
|
||||
<script>
|
||||
window.alert("Felugró ablak példa");
|
||||
</script>
|
||||
<!--Console log-->
|
||||
<script>
|
||||
console.log("konzol üzenet");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user