Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doctype Info 1

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
I have been looking into Doctypes and have a simple question.
I have seen the following code used on a number of sites.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
What is the function of the URL at the end, does it have to be etc?

Keith
 
It doesn't have to be - it just has to be the URL to a valid DTD (specifically the DTD you specified in the first half of the DOCTYPE declaration). At that url is a physical file.

Cheers,
Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top