Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Voices That Matter

  • Print
  • + Share This
From the author of

From the author of

Modifications

ID actions allow for a lot of user control over the information displayed. With both the Clock/Date and Last Modified actions you can easily customize your displayed time/date by including or excluding lead-in text, day of the week, time, 24-hour time format, and various different date formats. The lead-in text is optional and enables you to include such information as "The current time is:" or "Page Last Modified:," and so on.

Because you can use the ID attribute to create an object anywhere on the page, you can display your time/date stamps anywhere on the page. The ID attribute can also be added to almost any HTML tag, such as <P>, <A>, <IMG>, making it a container for your timestamp. For example, you can place a button or link somewhere on the page that displays the time/date stamp elsewhere on the page, even replacing existing text. By thinking creatively, you can do a lot of cool things on the page that weren't possible with earlier browsers and static HTML.

  • + Share This
  • 🔖 Save To Your Account