homepage Welcome to WebmasterWorld Guest from 54.211.201.65
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Max. length of web page title
max maximum web page title
TechMan




msg:3469676
 4:51 am on Oct 5, 2007 (gmt 0)

Hi,

What's the max. length of web page title allowed in IE and Firefox?

Thanks

 

inbound




msg:3469678
 4:58 am on Oct 5, 2007 (gmt 0)

Ignoring the technical limits in browsers may be a good idea. I find titles are more important in SERPs, so take a look at how a title would look in that context.

People rarely look at a page title in their browser, unless they're bookmarking the page (the page title is used as the default bookmark text).

TechMan




msg:3469687
 5:28 am on Oct 5, 2007 (gmt 0)

Actually my question has nothing to do with website or SEO. I am developing an application in VB6 in which I will be making a string for title to do something that is why I was asking. Because my string could be 200 chars in length.

jomaxx




msg:3470252
 6:50 pm on Oct 5, 2007 (gmt 0)

I doubt there's any "maximum", in the sense that the browsers will crash if you exceed it. They will simply display the first n characters (easily determined if it's important) and throw away the rest.

kamikaze Optimizer




msg:3503498
 8:26 am on Nov 13, 2007 (gmt 0)

I doubt there's any "maximum", in the sense that the browsers will crash if you exceed it. They will simply display the first n characters (easily determined if it's important) and throw away the rest.

There is a url limit. Certain browsers will crash if you exceed the limit. I saved the original source of this info [boutell.com] a few months back and tested it out and proved it to be true.

Here it is:

Although the specification of the HTTP protocol does not specify any maximum length, practical limits are imposed by web browser and server software.

Microsoft Internet Explorer (Browser)
Microsoft states that the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL. In my tests, attempts to use URLs longer than this produced a clear error message in Internet Explorer.

Firefox (Browser)
After 65,536 characters, the location bar no longer displays the URL in Windows Firefox 1.5.x. However, longer URLs will work. I stopped testing after 100,000 characters.

Safari (Browser)
At least 80,000 characters will work. I stopped testing after 80,000 characters.

Opera (Browser)
At least 190,000 characters will work. I stopped testing after 190,000 characters. Opera 9 for Windows continued to display a fully editable, copyable and pasteable URL in the location bar even at 190,000 characters.

[edited by: kamikaze_Optimizer at 8:42 am (utc) on Nov. 13, 2007]

[edited by: phranque at 2:51 am (utc) on Feb. 12, 2008]
[edit reason] quote attribution and trimmage [/edit]

phranque




msg:3503558
 10:25 am on Nov 13, 2007 (gmt 0)

kamikaze, that is actually really interesting information:

Apache (Server)
My early attempts to measure the maximum URL length in web browsers bumped into a server URL length limit of approximately 4,000 characters, after which Apache produces a "413 Entity Too Large" error. I used the current up to date Apache build found in Red Hat Enterprise Linux 4. The official Apache documentation only mentions an 8,192-byte limit on an individual field in a request.

Microsoft Internet Information (Server)
The default limit is 16,384 characters (yes, Microsoft's web server accepts longer URLs than Microsoft's web browser). This is configurable.

but techman was asking about titles, so only have this to offer:
there is no length limit on titles per se.
i believe the practical limit for what is typically displayed on a search engine results page is 60-65 characters.

caveman




msg:3615320
 1:43 pm on Mar 31, 2008 (gmt 0)

There is technically no limit on the length of a page title.

W3C recommends restricting the length to 64 characters as a matter of style.

There are plenty of SEO and display considerations involved when determining title length, but since that is not part of the OP's question, no point in going into it here.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved