Jump to content

html


chimp1950

Recommended Posts

been reading a book that says i should add this to my pages

 

<!DOCTYPE html PUBLIC "-//WC3//DTD XHTML 1.0 Transitional//EN"

 

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"

xml:lang="en" lang="en">

 

ive memorized this but sometimes i forget..i mean wtf..is it really nesasary to remember that? the urls are just long and dumb.

Link to comment
https://forums.phpfreaks.com/topic/56963-html/
Share on other sites

When you use a doctype it helps you to weed out the errors in your HTML and make it run more smoothly on other or all browsers if you have the patience.  If you don't use one then your page may not look right or something really minuet that will bug the hell out of you.

 

here's some reading material

http://alistapart.com/stories/doctype/

Link to comment
https://forums.phpfreaks.com/topic/56963-html/#findComment-281386
Share on other sites

ive been doing html for a long time and i dont even know that.

 

i just use templates that i have made.

 

for example:

 

transitional_template.htm

 

<!DOCTYPE html PUBLIC "-//WC3//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title> </title>
</head>
<body>


</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/56963-html/#findComment-281400
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.