Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > <META NAME="TITLE" CONTENT="">

Reply
Thread Tools

<META NAME="TITLE" CONTENT="">

 
 
terry
Guest
Posts: n/a
 
      02-26-2006
Hello,

Some websites put both of the following in the head of their web pages.
Can someone explain the difference, if any?

<META NAME="TITLE" CONTENT="">

<TITLE></TITLE>

Thanks,
Terry
 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      02-26-2006
terry wrote:

> Some websites put both of the following in the head of their web pages.
> Can someone explain the difference, if any?


> <META NAME="TITLE" CONTENT="">


Generic meta data with no predefined meaning that seems entirely redundant
as we have...

> <TITLE></TITLE>


.... an element especially for specifying the page title, which gets used by
most user agents.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
Alan J. Flavell
Guest
Posts: n/a
 
      02-26-2006
On Sun, 26 Feb 2006, David Dorward wrote:

> > <TITLE></TITLE>

^^ btw. I'd recommend putting some content in here!

> ... an element especially for specifying the page title, which gets
> used by most user agents.


Indeed, and every valid HTML page contains one of these in its head
part.

There are of course some good-practice recommendations in its use.
Since it seems the questioner either hasn't found, or hasn't read, or
hasn't understood, the relevant specification,

http://www.w3.org/TR/REC-html40/stru...l.html#h-7.4.2

I'd recommend that they peruse that first, and then ask any questions
which arise from it.
 
Reply With Quote
 
terry
Guest
Posts: n/a
 
      02-26-2006
Alan J. Flavell wrote:
> On Sun, 26 Feb 2006, David Dorward wrote:
>
>>> <TITLE></TITLE>

> ^^ btw. I'd recommend putting some content in here!
>
>> ... an element especially for specifying the page title, which gets
>> used by most user agents.

>
> Indeed, and every valid HTML page contains one of these in its head
> part.
>
> There are of course some good-practice recommendations in its use.
> Since it seems the questioner either hasn't found, or hasn't read, or
> hasn't understood, the relevant specification,
>
> http://www.w3.org/TR/REC-html40/stru...l.html#h-7.4.2
>
> I'd recommend that they peruse that first, and then ask any questions
> which arise from it.



Thanks guys. I *think* I understand now. META NAME="TITLE" serves no
purpose but we put it there anyway. I guess if it doesn't hurt, why not.

Before posting my question I did read the page you recommended Alan but
it makes no mention of META NAME="TITLE". It only talks about
<TITLE></TITLE>. I Googled but didn't come across anything helpful.
That's when I posted my question.

Thanks for the help.
Terry
 
Reply With Quote
 
Alan J. Flavell
Guest
Posts: n/a
 
      02-26-2006

On Sun, 26 Feb 2006, terry wrote:

> Before posting my question I did read the page you recommended Alan but


Well, those who won't make it clear where they are starting from,
mustn't be *too* surprised to be referred to places they've already
been.

> it makes no mention of META NAME="TITLE".


Indirectly, it does.

The META element can be used to identify properties of a document
(e.g., author, expiration date, a list of key words, etc.) and assign
values to those properties. This specification does not define a
normative set of properties.

In other words, META NAME="..." is a container for all kinds of stuff,
but their usage isn't codified. It then goes on to say:

Note. The META element is a generic mechanism for specifying meta
data. However, some HTML elements and attributes already handle
certain pieces of meta data and may be used by authors instead of
META to specify those pieces: the TITLE element, the ADDRESS
element, the INS and DEL elements, the title attribute, and the cite
attribute.

I'd say that was a hint that they were guiding readers towards using
the purpose-designed <title> element - wouldn't you?

As yet, no-one has suggested a reason to prefer the use of <meta
name="title"...> , nor am I aware of one myself. I don't suppose it
does any harm, other than cluttering up the document with extra stuff.
But omitting the actual <title> element is not an option, if you want
to write valid HTML - and there are quite a few practical benefits for
getting that right (search engines, summaries, browser title bars -
window and/or tab - bookmark titles etc...)

have fun
 
Reply With Quote
 
terry
Guest
Posts: n/a
 
      02-26-2006
Alan J. Flavell wrote:
> On Sun, 26 Feb 2006, terry wrote:
>
>> Before posting my question I did read the page you recommended Alan but

>
> Well, those who won't make it clear where they are starting from,
> mustn't be *too* surprised to be referred to places they've already
> been.
>
>> it makes no mention of META NAME="TITLE".

>
> Indirectly, it does.
>
> The META element can be used to identify properties of a document
> (e.g., author, expiration date, a list of key words, etc.) and assign
> values to those properties. This specification does not define a
> normative set of properties.
>
> In other words, META NAME="..." is a container for all kinds of stuff,
> but their usage isn't codified. It then goes on to say:
>
> Note. The META element is a generic mechanism for specifying meta
> data. However, some HTML elements and attributes already handle
> certain pieces of meta data and may be used by authors instead of
> META to specify those pieces: the TITLE element, the ADDRESS
> element, the INS and DEL elements, the title attribute, and the cite
> attribute.
>
> I'd say that was a hint that they were guiding readers towards using
> the purpose-designed <title> element - wouldn't you?
>
> As yet, no-one has suggested a reason to prefer the use of <meta
> name="title"...> , nor am I aware of one myself. I don't suppose it
> does any harm, other than cluttering up the document with extra stuff.
> But omitting the actual <title> element is not an option, if you want
> to write valid HTML - and there are quite a few practical benefits for
> getting that right (search engines, summaries, browser title bars -
> window and/or tab - bookmark titles etc...)
>
> have fun


Thanks Alan! I appreciate the explanation. I do have a better
understanding now.

Terry
 
Reply With Quote
 
Jim Higson
Guest
Posts: n/a
 
      02-26-2006
Alan J. Flavell wrote:

> As yet, no-one has suggested a reason to prefer the use of <meta
> name="title"...> , nor am I aware of one myself. I don't suppose it
> does any harm, other than cluttering up the document with extra stuff.
> But omitting the actual <title> element is not an option, if you want
> to write valid HTML - and there are quite a few practical benefits for
> getting that right (search engines, summaries, browser title bars -
> window and/or tab - bookmark titles etc...)


Zooming out a bit, is there a good reason to use *any* meta elements in
documents for the public internet?

It seems no search engines use them, and nobody ever really sees them on the
page. I never bother; should I?

--
Jim
 
Reply With Quote
 
Alan J. Flavell
Guest
Posts: n/a
 
      02-26-2006
On Sun, 26 Feb 2006, Jim Higson wrote:

> Zooming out a bit, is there a good reason to use *any* meta elements in
> documents for the public internet?


"Dublin Core" specifies a profile of META usage which some groups
of users find appropriate.

Google suggests http://dublincore.org/documents/dcq-html/

> It seems no search engines use them, and nobody ever really sees
> them on the page. I never bother; should I?


I guess that if you needed to use them, you would already know about
it

cheers
 
Reply With Quote
 
Jim Higson
Guest
Posts: n/a
 
      02-26-2006
Alan J. Flavell wrote:

> On Sun, 26 Feb 2006, Jim Higson wrote:
>
>> Zooming out a bit, is there a good reason to use *any* meta elements in
>> documents for the public internet?

>
> "Dublin Core" specifies a profile of META usage which some groups
> of users find appropriate.
>
> Google suggests http://dublincore.org/documents/dcq-html/


Ah, yes, IIRC OpenDocument uses DublinCore (which is about the only contact
I've had with it). I suppose that could be handy, expecialy if Browsers
ever start showing it.

>> It seems no search engines use them, and nobody ever really sees
>> them on the page. I never bother; should I?

>
> I guess that if you needed to use them, you would already know about
> it
>
> cheers


 
Reply With Quote
 
Dan
Guest
Posts: n/a
 
      02-27-2006

Jim Higson wrote:
> Zooming out a bit, is there a good reason to use *any* meta elements in
> documents for the public internet?


I have some discussion here:
http://webtips.dan.info/titles.html

--
Dan

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Python have equivalent to MATLAB "varargin", "varargout", "nargin", "nargout"? openopt@ukr.net Python 8 11-17-2011 01:22 PM
meta http-equiv="refresh" content="0... Sam HTML 1 03-07-2006 12:43 AM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej ASP .Net 0 06-04-2004 07:55 PM
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">? TheKeith HTML 20 10-29-2003 10:56 AM
<meta http-equiv="pragma" content="no-cache"> - What does this mean??? Titus A Ducksass HTML 1 08-01-2003 07:44 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57