Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Title Tag Limitation -> Is it the only one? 1

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
Hi,

I've noticed that the title tag seems to suffer from the inability to put other tags within it.

Is this correct?

Basically I wanted to add accessibility and semantics to my title as it had an abbreviation in it.

I tried the <abbr> tag and it showed as actual text, not parsed as a tag.

I'm guessing this is a deliberate 'by design' issue and there is nothing I can do about it?

Plus wondered if there are any other tags which suffer the same problem.

Cheers, 1DMF.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
 
Hi

1DMF said:
I've noticed that the title tag seems to suffer from the inability to put other tags within it.
W3C said:
Titles may contain character entities (for accented characters, special characters, etc.), but may not contain other markup (including comments).
The global structure of an HTML document | The document head | The [tt]TITLE[/tt] element
1DMF said:
Plus wondered if there are any other tags which suffer the same problem.
As far as I know, no.

Feherke.
 
Not the answer I wanted, but thanks anyway.

hmm...so much for accessibility and semantic coding, if you cannot wrap an abbr tag around an abbreviation used in a title!

Same for acronyms and emphasis as well I guess.. just think of those poor ole screen readers, ... assuming they read the user the title tag content?


"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top