Jump to content

Recommended Posts

Use the same one as the html one you want! Simple!alzable :)EDIT:PHP only processes the HTML. Like, its a script that writes the html (sometimes to a curcimstance) for you. The scouce of a php document comes out as pure html when on the web!

Link to post
Share on other sites
  • 3 years later...

The doctype depends on what your html looks like. It doesn't really matter whether the page is being generated with php or not, but just upon what the final code sent to the browser looks like. HTML 4 Transitional is probably a good one to start with. The W3C maintains a list of valid doctypes that you can choose from.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...