Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.


Post Reply  Post Thread 

Is DOCTYPE specification is necessary for an html page?

Post Bank
Posting Manager
******

Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.

Signin to Remove this Post

Lord_Daksh
Posting Freak
*****


Posts: 643
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Points: 16 (Donate)
Post: #1

Question Is DOCTYPE specification is necessary for an html page?


Hey friends,i've seen in many sites source code that,they use DOCTYPE codes in the beginning. So,it is necessary or mandatory for our html page? I cant understand. I've no where used such codes in my page. If its mandatory,den i'll. But b4 dat,i want some suggestions.


EARN EASY 50$ IN 10 DAYS!
FREE CALLS,GPRS,SMS,MMS TRICKS,FULL MOVIES,FREE RAPIDSHARE
80$ IN 1 DAY! 20$/REFERRAL!!
16-09-2007 01:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
shadav
The Forgotten One
******


Posts: 391
Group: Super Moderators
Joined: Oct 2006
Status: Offline
Reputation: 2
Points: 1058 (Donate)
Post: #2

RE: Is it necessary for an html page?


no you can use .htm, .html, .php, .asp i think it is and whatever else extentions there are to create websites...


Foamy Fanatics Fan Site
Webmasters Resource Forum Photos For Sale
16-09-2007 02:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Lord_Daksh
Posting Freak
*****


Posts: 643
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Points: 16 (Donate)
Post: #3

RE: Is it necessary for an html page?


Arey i'm not asking that one bro. I just want to ask that,is it necessary to give the header code in a html page with its introduction like DOCTYPE UNI8 TEXT TYPE HTML,etc. Dont think,its the tag. I've just given a example.


EARN EASY 50$ IN 10 DAYS!
FREE CALLS,GPRS,SMS,MMS TRICKS,FULL MOVIES,FREE RAPIDSHARE
80$ IN 1 DAY! 20$/REFERRAL!!
16-09-2007 05:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #4

RE: Is it necessary for an html page?


Lord_Daksh Wrote:
Arey i'm not asking that one bro. I just want to ask that,is it necessary to give the header code in a html page with its introduction like DOCTYPE UNI8 TEXT TYPE HTML,etc. Dont think,its the tag. I've just given a example.


The DOCTYPE tag is necessary for giving other crawlers an idea what is your file's format. There are different Markup Languages around and the first line tag ( DOCTYPE ) points to the DTD reference file which gives the descriptions for each tags you used on the page. That helps you to get better positions on search engines.


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
16-09-2007 05:45 PM
Find all posts by this user Quote this message in a reply
Lord_Daksh
Posting Freak
*****


Posts: 643
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Points: 16 (Donate)
Post: #5

RE: Is it necessary for an html page?


Does dis tag create any problem with the different kind of browsers which my visitors from worldwide use? Because,i hear sometimes that,some ppl face problem to access my main page. Cant understand why.


EARN EASY 50$ IN 10 DAYS!
FREE CALLS,GPRS,SMS,MMS TRICKS,FULL MOVIES,FREE RAPIDSHARE
80$ IN 1 DAY! 20$/REFERRAL!!
16-09-2007 06:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #6

RE: Is it necessary for an html page?


Lord_Daksh Wrote:
Does dis tag create any problem with the different kind of browsers which my visitors from worldwide use? Because,i hear sometimes that,some ppl face problem to access my main page. Cant understand why.


Normally browsers have DTD for all HTML tags. But some browsers show errors if the HTML pages don't have the Document type specifications. But in my experience, I never received any complaints because of doctype specification.


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
16-09-2007 06:45 PM
Find all posts by this user Quote this message in a reply
Dhanraj
Senior Member
****


Posts: 272
Group: Registered
Joined: Aug 2007
Status: Offline
Reputation: 1
Points: 99 (Donate)
Post: #7

RE: Is DOCTYPE specification is necessary for an html page?


doctype tags not so necessory for the working of html pages except that with crawlers
but in the case of wml language or wap pages must use doc introduction before starting language,
else they wont appear


Free cash for surveys

Our Great indian forum

Pretty good PTC-Real

Anonymize your links
16-09-2007 10:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #8

RE: Is DOCTYPE specification is necessary for an html page?


Dhanraj Wrote:
but in the case of wml language or wap pages must use doc introduction before starting language,
else they wont appear


That is because in default, it normally check the extension of the file. If it is an HTML file, it is consider as an HTML page. If you are using an XHTML page or pages with some other DTD format like WML ( Used for WAP pages ), you should explain the DOCTYPE of file.


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
16-09-2007 10:31 PM
Find all posts by this user Quote this message in a reply
Dhanraj
Senior Member
****


Posts: 272
Group: Registered
Joined: Aug 2007
Status: Offline
Reputation: 1
Points: 99 (Donate)
Post: #9

RE: Is DOCTYPE specification is necessary for an html page?


yup thats what i said bro,also i think some hosts wont allow to host wml
Also what this DOC type indicates,and also i saw a tag in all wml pages that is starting with a wap address like wapforum or wap school
what that means


Free cash for surveys

Our Great indian forum

Pretty good PTC-Real

Anonymize your links
18-09-2007 08:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #10

RE: Is DOCTYPE specification is necessary for an html page?


Dhanraj Wrote:
yup thats what i said bro,also i think some hosts wont allow to host wml
Also what this DOC type indicates,and also i saw a tag in all wml pages that is starting with a wap address like wapforum or wap school
what that means


DOCTYPE just indicating the type of Markup Language for the Document. You can see a good tutorial about WAP Site creation of here: http://webmasters-forums.com/Tutorial-Fo...t-864.html


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
19-09-2007 11:52 AM
Find all posts by this user Quote this message in a reply
shadav
The Forgotten One
******


Posts: 391
Group: Super Moderators
Joined: Oct 2006
Status: Offline
Reputation: 2
Points: 1058 (Donate)
Post: #11

RE: Is it necessary for an html page?


shadav Wrote:
no you can use .htm, .html, .php, .asp i think it is and whatever else extentions there are to create websites...

Big Grin sorry completely missunderstood the question, was very tired that day lol....didn't read question right..


Foamy Fanatics Fan Site
Webmasters Resource Forum Photos For Sale
19-09-2007 07:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Lord_Daksh
Posting Freak
*****


Posts: 643
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Points: 16 (Donate)
Post: #12

RE: Is DOCTYPE specification is necessary for an html page?


I'm saying about the header commententary in which the type is specified,which counts for validation.


EARN EASY 50$ IN 10 DAYS!
FREE CALLS,GPRS,SMS,MMS TRICKS,FULL MOVIES,FREE RAPIDSHARE
80$ IN 1 DAY! 20$/REFERRAL!!
21-09-2007 02:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  log in page Artmark 6 189 27-03-2008 01:00 AM
Last Post: ivenms
  How do I add page description and keywords? Cedik 3 206 29-01-2008 03:10 AM
Last Post: Menard
Question HOW TO HAVE ADS IN SIDES OF DA PAGE?? Lord_Daksh 11 388 27-11-2007 03:21 PM
Last Post: Lord_Daksh
  Flash Site (Landing Page) Optimization kristy 7 324 17-10-2007 03:13 AM
Last Post: walsh
Smile Design HTML pages only with CSS ivenms 12 1,309 08-10-2007 02:24 AM
Last Post: balakrish
Question HOW TO HIDE YOUR HTML SOURCE CODE? Lord_Daksh 6 276 17-09-2007 07:38 AM
Last Post: Lord_Daksh
Rolleyes Basic HTML Page Structure walsh 7 647 19-07-2007 11:35 PM
Last Post: Suraj
  Make a GoTo Top of Page Link fightclub 3 919 05-12-2006 05:46 PM
Last Post: ivenms
  HTML Introduction clookid 2 584 29-10-2006 07:14 AM
Last Post: clookid
Rolleyes The Secret to Web Pages - HTML chakit 0 733 23-09-2006 05:53 AM
Last Post: chakit

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites
Rate This Thread:

Forum Jump:

Sign In to Remove Ads

Download 1000's of web templates. Unlimited access!
World's Best Web Hosting
Website of the Month

Create-a-Page for Free
SOTM June 2008


Accepting Submissions
for July 2008
Resources

Recommended Sites:



Visit our Sponsors!

Current time: 30-08-2008, 07:34 AM


Copyright © 2002-2008 MyBB Group
Powered By MyBB