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
Explain the advantage of collapsing white space?
What is a self closing tag?
What are the types of tags in html?
Describe HTML Element?
How we can display our web page icon in browser using html?
Explain Canvas?
How can I hide my source?
What is html5 used for?
What is simple html?
What are dynamic documents?
What are advantages of html?
What is a meta description?
What can you do with html5?
Does hr need a closing tag?
How do you add a template to html?