A little question?

Status
Not open for further replies.

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Right,

Well this is so nooby, But I'm now going to learn some CSS + HTML for the December coding competition.

And I'm on w3schools. But I've seen this on lots of layouts:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

What is it actually for? Does it just stay there? Or don't we need it? lol.

I'm just interested in knowing.
 

RyanMK

Still alive
May 27, 2010
802
117
It states information about the coding language. For example that one means that the page is coded in HTML 4.

EDIT: Pudding you don't need to write that for HTML to work. It's just invalid.
 

RyanMK

Still alive
May 27, 2010
802
117
Sledmore, this is what I code in. XHTML 1.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 
Status
Not open for further replies.

Users who are viewing this thread

Top