|
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)
|
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 |
|
|
shadav
The Forgotten One
     
Posts: 391
Group: Super Moderators
Joined: Oct 2006
Status:
Offline
Reputation: 2
Points: 1058 (Donate)
|
|
| 16-09-2007 02:20 PM |
|
|
Lord_Daksh
Posting Freak
    
Posts: 643
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
Points: 16 (Donate)
|
|
| 16-09-2007 05:33 PM |
|
|
ivenms
Administrator
      
Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
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.
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 |
|
|
Lord_Daksh
Posting Freak
    
Posts: 643
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
Points: 16 (Donate)
|
|
| 16-09-2007 06:05 PM |
|
|
ivenms
Administrator
      
Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
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.
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 |
|
|
Dhanraj
Senior Member
   
Posts: 272
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 1
Points: 99 (Donate)
|
|
| 16-09-2007 10:11 PM |
|
|
ivenms
Administrator
      
Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
RE: Is DOCTYPE specification is necessary for an html page?
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 |
|
|
Dhanraj
Senior Member
   
Posts: 272
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 1
Points: 99 (Donate)
|
|
| 18-09-2007 08:09 PM |
|
|
ivenms
Administrator
      
Posts: 2,179
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
|
| 19-09-2007 11:52 AM |
|
|
shadav
The Forgotten One
     
Posts: 391
Group: Super Moderators
Joined: Oct 2006
Status:
Offline
Reputation: 2
Points: 1058 (Donate)
|
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...
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 |
|
|
Lord_Daksh
Posting Freak
    
Posts: 643
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
Points: 16 (Donate)
|
|
| 21-09-2007 02:22 AM |
|
|