1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Title of the document</title>
5 </head>
6 <body>
7 <p>There is a hidden message for you. Click to see it.</p>
8 <button onclick="myFunction()">Click me!</button>
9 <p id="demo"></p>
10 <script>
11 function myFunction() {
12 document.getElementById("demo").innerHTML = "Hello Dear Visitor!</br> We are happy that you've chosen our website to learn programming languages. We're sure you'll become one of the best programmers in your country. Good luck to you!";
13 }
14 </script>
15 </body>
16</html>
1
2 <form action="/action_page.php">
3 <label for="fname">First
4 name:</label><br>
5 <input type="text" id="fname" name="fname"
6 value="John"><br>
7 <label for="lname">Last name:</label><br>
8
9 <input type="text" id="lname" name="lname" value="Doe"><br><br>
10
11 <input type="submit" value="Submit">
12</form>
13
1 <label for="fname">First name:</label><br>
2 <input type="text" id="fname" name="fname"><br>