Home >> HTML 5 >> What is HTML JavaScript in HTML 5

What is HTML JavaScript in HTML 5

HTML Javascript is used to make a web page interective and dynamic. HTML Javascript is used by "script" tag.

Example

<!Doctype Html>  
<html>     
<head>      
      <title>HTML Javascript</title>
</head>  
<body> 
       <p id="new"></p>

        <script>
               document.getElementById("new").innerHTML = "Hello JavaScript!";
        </script>
</body>  
</html>  

Output

Hello Javascript

Post Your Comment

Next Questions
What is HTML File Paths
What is HTML Head Element
What is HTML Layout
What is HTML Responsive Website Design
What is HTML Forms
What is HTML Form Attributes
What is HTML Form Elements
What is HTML Input Types
What is HTML Input Attributes
What is HTML Input form attributes
What is HTML SVG Graphics
What is HTML Multimedia
What is HTML Video
What is HTML Audio
How to Embed YouTube Video
What is HTML Predefined Tags
What is HTML Predefined Attributes
Comment Tag
DOCTYPE Tag
a Tag
abbr Tag
acronym Tag
address Tag
applet Tag
area Tag

Copyright ©2022 coderraj.com. All Rights Reserved.