Dynamic HTML Question:
How DHTML work with JavaScript?

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>
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>
Previous Question | Next Question |
What is the difference between HTML and DHTML? | What are the attributes that make up a DHTML? |