...

View Full Version : What HTML should I place my php include inside?



moss2076
11-14-2008, 12:51 PM
I have a php include on my page, which is a timestamp to display when the page was last updated. It is positioned just underneath an unordered list.

I was just wondering what html I should really place the php code in? At the moment it is inside a css styled <p> tag -
<p id="timestamp"><?php include("timestamp.php"); ?> </p>.

As it isnt actually part of the UL I placed it in a <p> tag because when the page is uploaded there is essentialy a line of text quoting "This Page Was Last Updated On 1st November, 2008.

Have I done right?

gnomeontherun
11-14-2008, 12:53 PM
That is fine. In HTML 4 there is no date/time tag.

There is in HTML 5, but thats the future my friend.

moss2076
11-14-2008, 01:01 PM
Cool thanks :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum