Answer: Using JavaScript we can made dynamic HTML content. We can use document.write() to show dynamic content on your web page.Below I have given you HTML page which made dynamic after using JavaScript.This example will show current date. Example: <html> <body> <script type="text/javascript"> document.write(Date()); </script> </body> </html>
Using JavaScript we can made dynamic HTML content. We can use document.write() to show dynamic content on your web page.Below I have given you HTML page which made dynamic after using JavaScript.This example will show current date. Example: <html> <body> <script type="text/javascript"> document.write(Date()); </script> </body> </html> Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.