Project

General

Profile

Actions

Bug #14361

closed

Placement of <title>-tag

Added by old_yuckfoo over 19 years ago. Updated over 19 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2004-10-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The placement of the <title> tag should be at the very beginning of the document heading. Thus, the tag should be moved to the beginning of the <head>-tag.

(issue imported from #M423)

Actions #1

Updated by Christopher over 19 years ago

I'd like to see some documentation of this - I can NOT confirm it. You will need to provide links to w3c specs showing this, or at least provide more details I guess.

For example, pages pass the w3c's validator as xhtml 1.0 strict with <title> elements coming either before or after <meta> elements. As far as html 4.01 is concerned, the w3c spec on this page:

http://www.w3.org/TR/html4/struct/global.html

...only specifies that every document head must contain a <title> element - it makes no claim about where that element must be placed. Furthermore, that same page passes validation:

http://tinyurl.com/5957o (scroll down and view the source)

...even though it places a <meta> element BEFORE the <title> element in the source.

In fact, I was under the impression that, if the <meta> element is used to set the page's language, that IT had to come first in the <head> - but I can't document this either. Please provide some more information.

-Christopher

edited on: 21.10.04 03:16

edited on: 21.10.04 03:17

Actions #2

Updated by old_yuckfoo over 19 years ago

Sorry, hard to document this. Many SEO-experts claim that the <title> element should be placed at the very beginning of the document heading. After thorough investigation it seems to me as the placement within the document heading should have no or little effect.

Sorry about this.

Actions #3

Updated by Ingmar Schlecht over 19 years ago

Personally I find it more logical if the meta tag specifiying the charset is the first one, because in the title tag that charset can already be used.

I'm closing this bug now, but if anyone comes up with more arguments, just repopen it!

Actions

Also available in: Atom PDF