How you define JavaScript Code?

How you define JavaScript Code?

<p>we can define JavaScript as a sequence of JavaScript Statements.Statement write in JavaScript Code executed one by one in order they have written.<br><b>Example:</b></p><p><ol><li>&lt;script type=\"text/javascript\"&gt;</li><li>document.write(\"&lt;h1&gt;Here you write header&lt;/h1&gt;\");</li><li>document.write(\"&lt;p&gt;Here write your first paragraph&lt;/p&gt;\");</li><li>document.write(\"&lt;p&gt;Here write your second paragraph&lt;/p&gt;\");</li><li>&lt;/script&gt;</li><li><br></li></ol></p>

By:Vivek
Date:2019-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related JAVASCRIPT Subjective Links

JAVASCRIPT Subjective interview questions and answers for experienced and fresher