473,672 Members | 2,718 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

difference between h1 and title

Hello,

While I haven't finished my wonderful tutorial to save the world, I do
have a simple question.

What's the difference between h1 and the title tag?

For me it seems as though both can be used interchangebly. For
example, the articles on my site (andkon.com) have the same title as
h1. Comments?
Jul 20 '05 #1
50 5913
MozillaCensorsM e wrote:
What's the difference between h1 and the title tag?


The title applies to the document as a whole, and h1 to the titles of
the major subdivisions within the document. For example, consider a
resume. An appropriate title would be "John Doe's Resume", and some
likely h1's would be "Objective, " "Experience ," and "References ."

In terms of how they're used by browsers, graphical browsers tend to
display the title as part of the text appearing in the title bar. And,
both graphical and text browsers often use it when displaying stored
favorites or bookmarks.

sherm--
Jul 20 '05 #2
Sherm Pendley <sp********@d ot-app.org> wrote in
news:d9******** ***********@new s1.news.adelphi a.net:
MozillaCensorsM e wrote:
What's the difference between h1 and the title tag?


The title applies to the document as a whole, and h1 to the titles of
the major subdivisions within the document. For example, consider a
resume. An appropriate title would be "John Doe's Resume", and some
likely h1's would be "Objective, " "Experience ," and "References ."

In terms of how they're used by browsers, graphical browsers tend to
display the title as part of the text appearing in the title bar. And,
both graphical and text browsers often use it when displaying stored
favorites or bookmarks.


Another way to put it is that the <title> element is part of the document's
*metadata*, whereas an <H1> is part of the document's *content*. Metadata
is literally "data about data" and in the Web context it means the sort of
data that helps one locate or categorize a document; "what is this document
called?" is, for example, a question answerable by metadata.

As it turns out, in most cases the first-level heading of a Web page will
essentially duplicate its title, for the simple reason that any document
that's big enough to have more than one first-level heading should, in a
hypertext environment, probably be broken up into multiple smaller
documents that are linked together. But the roles played by the title and
the heading are still different, even though the same actor may be playing
them.
Jul 20 '05 #3
In article <39************ ************@po sting.google.co m> in
comp.infosystem s.www.authoring.html, MozillaCensorsM e
<mo************ **@yahoo.com> wrote:
What's the difference between h1 and the title tag?

For me it seems as though both can be used interchangebly.


Try interchanging them and validating your document. You will
quickly see the difference.

And think about whether your screen name will cause you to be taken
seriously.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4
Quoth the raven named Stan Brown:
And think about whether your screen name will cause you to be taken
seriously.


You didn't recognize the URL, Stan?

http://andkon.com/ Our old friend with the HTML tutorial. <g>

--
-bts
-This space intentionally left blank.

Jul 20 '05 #5
Sherm Pendley <sp********@d ot-app.org> wrote in message news:<d9******* ************@ne ws1.news.adelph ia.net>...
MozillaCensorsM e wrote:
What's the difference between h1 and the title tag?
The title applies to the document as a whole, and h1 to the titles of
the major subdivisions within the document. For example, consider a
resume. An appropriate title would be "John Doe's Resume", and some
likely h1's would be "Objective, " "Experience ," and "References ."


That brings up another point. Is it okay to use more than one h1? I'd
think that it'd be better to split it up into other documents.
In terms of how they're used by browsers, graphical browsers tend to
display the title as part of the text appearing in the title bar. And,
both graphical and text browsers often use it when displaying stored
favorites or bookmarks.

sherm--

Jul 20 '05 #6
mo************* *@yahoo.com (MozillaCensors Me) wrote:
That brings up another point. Is it okay to use more than one h1? I'd
think that it'd be better to split it up into other documents.


It's technically okay, but if you find that a page does indeed have
two top level topics it is often a good idea to either (a) split it
into two pages or (b) make the two H1s into H2s and add a new H1 that
encompasses both of them.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #7

"Sherm Pendley" <sp********@d ot-app.org> wrote in message
news:d9******** ***********@new s1.news.adelphi a.net...
MozillaCensorsM e wrote:
What's the difference between h1 and the title tag?
The title applies to the document as a whole, and h1 to the titles of
the major subdivisions within the document. For example, consider a
resume. An appropriate title would be "John Doe's Resume", and some
likely h1's would be "Objective, " "Experience ," and "References ."


You would probably have

<h1>Resume of John Doe</h1>

and then use <h2> for "Objective" , etc.

In terms of how they're used by browsers, graphical browsers tend to
display the title as part of the text appearing in the title bar. And,
both graphical and text browsers often use it when displaying stored
favorites or bookmarks.

sherm--


Jul 20 '05 #8
Stan Brown <th************ @fastmail.fm> wrote in message news:<MP******* *************** **@news.odyssey .net>...
In article <39************ ************@po sting.google.co m> in
comp.infosystem s.www.authoring.html, MozillaCensorsM e
<mo************ **@yahoo.com> wrote:
What's the difference between h1 and the title tag?

For me it seems as though both can be used interchangebly.
Try interchanging them and validating your document. You will
quickly see the difference.


As in the text, not the actual tags.
And think about whether your screen name will cause you to be taken
seriously.


Search andkon.com for an explanation.
Jul 20 '05 #9
MozillaCensorsM e wrote:
And think about whether your screen name will cause you to be taken
seriously.

Search andkon.com for an explanation.


I think we already understand. You're selfishly bitter because not
everyone sees things in your uninformed point of view.

Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
23789
by: Masao Kishore | last post by:
How do you change the title within <title> and </title> by JS? Thank you for your help. M.K.
8
10639
by: Lian | last post by:
Hi all, It is a newbie's question about html tag "img". The attributes "title" and "alt" for "img" seems having the same function. So what is the main difference between them? Can i use them at the same time and set different values? Thank you for suggestions!
14
4591
by: Del Ferguson | last post by:
Group, New to this list. I just found out that FireFox does not display the img alt attribute the same way IE does. I use both browsers to verify that my pages are readable. Dumb me for not reading all of the reference document. With this is mind, I need a way to display text in a title attribute, dynamically. I don't like the idea of going through 100+ pages and making the changes every time a load new images. Is it possible to...
12
17393
by: Nathan Sokalski | last post by:
What is the difference between the Page_Init and Page_Load events? When I was debugging my code, they both seemed to get triggered on every postback. I am assuming that there is some difference, and I would like to know what it is so that I can take advantage of it in my code. Thanks. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/
3
2968
by: Allan | last post by:
Hi All - We're developing in Python 2.4.3 and are noticing something strange. For example, when testing, here's what we're seeing: x = "here's my title!"; x = x.title(); print x; Here'S My Title!
1
1246
by: cashdeskmac | last post by:
Can anyone tell me the difference between these two xml files: <?xml version="1.0" ?> <Bookshop> <book title="my first book" author="someone"/> <book title="another book" author="someone else"/> <DVD title="how to cook" director="TV Chef"/> <DVD title="Gardening" director="TV gardener"/> </Bookshop>
6
4027
by: JonathanOrlev | last post by:
Hello everyone, I have a newbe question: In Access (2003) VBA, what is the difference between a Module and a Class Module in the VBA development environment? If I remember correctly, new types of objects (classes) can only be defined in Class modules.
27
2199
by: affiliateian | last post by:
Is there a simple piece of php code(s) that can pull the title of a web page out? We need to pull the words in between <title></titleand insert it into stumble upon. Here is what their requirements are: http://www.stumbleupon.com/submit?url=http://www.yoursite.com/article.php&title=The+Article+Title We have the url but not the title. The full instructions are here: http://www.stumbleupon.com/integrate.php
11
19960
by: YZXIA | last post by:
Is there any difference between explicit inner join and implicit inner join Example of an explicit inner join: SELECT * FROM employee INNER JOIN department ON employee.DepartmentID = department.DepartmentID
0
8505
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8947
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8851
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8699
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6261
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4245
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2844
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.