How do I display the current date or time in my document?
Answer Posted / guest
With server-side includes. Ask your webmaster if this is
supported, and what the exact syntax is for your server. But
this will display the local time on the server, not for the
client. And if the document is cached, the date will of
course be incorrect after some time.
JavaScript can be used to display the local time for the
client, but as most people already have one or more clocks
on their screen, why display another one?
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is a web worker in html5? Explain
What are html functions?
State bullet types available in HTML?
What is the image tag?
What is title tag in html?
What is the difference between div and span?
What is the role of html?
Which is better html or html5?
Does footer go inside body?
Explain some of the common lists to design a web page.
What is a tag ict?
Why do we use html?
How many types of heading does an html contain?
What is WebSQL?
What is the difference between select and datalist in html?