Results 1 to 2 of 2
  1. #1

    What is the HTML tag for the date

    How would you write the HTML tag so that today's date would show on the page?

  2. #2

    Re: What is the HTML tag for the date

    Hi, Tony:

    There is no HTML tag for the current date. In fact, no HTML tag contains variables, and pure HTML documents are therefore "static"; they do not change.

    There are ways to make HTML documents "dynamic" (change) by using Dynamic HTML, also called DHTML. DHTML uses HTML, script (JavaScript, VBScript, or other scripts), and the DOM (Document Object Model) to do things like add the current date to an HTML document.

    Another way to do this, is to use "Server Side Includes"; code (JavaScript, VBScript, PHP, Perl, Python, Tcl, and others) that work at the server level to write a new HTML (or XHTML) document.

    Let me know if you need additional details.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts