Jump to content

Doctype


onemanstarwars
 Share

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...