difference between h1 and title

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MozillaCensorsMe

    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?
  • Sherm Pendley

    #2
    Re: difference between h1 and title

    MozillaCensorsM e wrote:
    [color=blue]
    > What's the difference between h1 and the title tag?[/color]

    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--

    Comment

    • Eric Bohlman

      #3
      Re: difference between h1 and title

      Sherm Pendley <spamfilter@d ot-app.org> wrote in
      news:d9VAb.8039 $NN.1037903@new s1.news.adelphi a.net:
      [color=blue]
      > MozillaCensorsM e wrote:
      >[color=green]
      >> What's the difference between h1 and the title tag?[/color]
      >
      > 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.[/color]

      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.

      Comment

      • Stan Brown

        #4
        Re: difference between h1 and title

        In article <39665a4.031207 2233.e2da3fb@po sting.google.co m> in
        comp.infosystem s.www.authoring.html, MozillaCensorsM e
        <mozillacensors me@yahoo.com> wrote:[color=blue]
        >What's the difference between h1 and the title tag?
        >
        >For me it seems as though both can be used interchangebly.[/color]

        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

        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/

        Comment

        • Beauregard T. Shagnasty

          #5
          Re: difference between h1 and title

          Quoth the raven named Stan Brown:
          [color=blue]
          > And think about whether your screen name will cause you to be taken
          > seriously.[/color]

          You didn't recognize the URL, Stan?

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

          --
          -bts
          -This space intentionally left blank.

          Comment

          • MozillaCensorsMe

            #6
            Re: difference between h1 and title

            Sherm Pendley <spamfilter@d ot-app.org> wrote in message news:<d9VAb.803 9$NN.1037903@ne ws1.news.adelph ia.net>...[color=blue]
            > MozillaCensorsM e wrote:
            >[color=green]
            > > What's the difference between h1 and the title tag?[/color]
            >
            > 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 ."
            >[/color]

            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.
            [color=blue]
            > 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--[/color]

            Comment

            • Steve Pugh

              #7
              Re: difference between h1 and title

              mozillacensorsm e@yahoo.com (MozillaCensors Me) wrote:
              [color=blue]
              >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.[/color]

              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 <steve@pugh.net > <http://steve.pugh.net/>

              Comment

              • Harlan Messinger

                #8
                Re: difference between h1 and title


                "Sherm Pendley" <spamfilter@d ot-app.org> wrote in message
                news:d9VAb.8039 $NN.1037903@new s1.news.adelphi a.net...[color=blue]
                > MozillaCensorsM e wrote:
                >[color=green]
                > > What's the difference between h1 and the title tag?[/color]
                >
                > 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 ."[/color]

                You would probably have

                <h1>Resume of John Doe</h1>

                and then use <h2> for "Objective" , etc.
                [color=blue]
                >
                > 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--[/color]

                Comment

                • MozillaCensorsMe

                  #9
                  Re: difference between h1 and title

                  Stan Brown <the_stan_brown @fastmail.fm> wrote in message news:<MPG.1a3e6 138a7a2067a98b9 03@news.odyssey .net>...[color=blue]
                  > In article <39665a4.031207 2233.e2da3fb@po sting.google.co m> in
                  > comp.infosystem s.www.authoring.html, MozillaCensorsM e
                  > <mozillacensors me@yahoo.com> wrote:[color=green]
                  > >What's the difference between h1 and the title tag?
                  > >
                  > >For me it seems as though both can be used interchangebly.[/color]
                  >
                  > Try interchanging them and validating your document. You will
                  > quickly see the difference.
                  >[/color]

                  As in the text, not the actual tags.
                  [color=blue]
                  > And think about whether your screen name will cause you to be taken
                  > seriously.[/color]

                  Search andkon.com for an explanation.

                  Comment

                  • Keith Bowes

                    #10
                    Re: difference between h1 and title

                    MozillaCensorsM e wrote:[color=blue]
                    >[color=green]
                    >>And think about whether your screen name will cause you to be taken
                    >>seriously.[/color]
                    >
                    >
                    > Search andkon.com for an explanation.[/color]

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

                    Comment

                    • Stephen Poley

                      #11
                      Re: difference between h1 and title

                      On Mon, 08 Dec 2003 15:52:29 GMT, "Beauregard T. Shagnasty"
                      <a.nony.mous@ex ample.invalid> wrote:
                      [color=blue]
                      >Quoth the raven named Stan Brown:
                      >[color=green]
                      >> And think about whether your screen name will cause you to be taken
                      >> seriously.[/color]
                      >
                      >You didn't recognize the URL, Stan?
                      >
                      >http://andkon.com/ Our old friend with the HTML tutorial. <g>[/color]

                      Cool. A year (or thereabouts) after producing a tutorial which was the
                      best around, and he isn't clear on the difference between H1 and TITLE.

                      Reminds me of someone in the alternative medicine groups who ranted on
                      about how all the AIDS researchers had no idea what they were doing.
                      After a few months of this we discovered he didn't know the difference
                      between a mean and a median.

                      --
                      Stephen Poley


                      Comment

                      • True Gamer

                        #12
                        Re: difference between h1 and title

                        The h1 element is a header that should go at the beginning of the body
                        element while title is an element that must go in the head element and
                        displays in the top of the screen. If you've ever looked at a web page,
                        you've probably seen those titles at the top of the browser that tell
                        you the name of the page. In IE, when you add a page to favorites, that
                        element's content is used. You don't have to have an h1 but you must
                        have a title. If there is no title, you see the address of the page.
                        ---------------------------------------------------------------------------
                        MozillaCensorsM e wrote:[color=blue]
                        > 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?[/color]

                        Comment

                        • Beauregard T. Shagnasty

                          #13
                          Re: difference between h1 and title

                          Quoth the raven named True Gamer:
                          [top posting corrected]
                          [color=blue]
                          > MozillaCensorsM e wrote:
                          >[color=green]
                          >> 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?[/color][/color]
                          [color=blue]
                          > The h1 element is a header that should go at the beginning of the
                          > body element while title is an element that must go in the head
                          > element and displays in the top of the screen. If you've ever
                          > looked at a web page, you've probably seen those titles at the top
                          > of the browser that tell you the name of the page. In IE, when you
                          > add a page to favorites, that element's content is used. You don't
                          > have to have an h1 but you must have a title. If there is no
                          > title, you see the address of the page.[/color]

                          You must be new here. Andkon (alias MozillaCensorsM e) wrote an HTML
                          tutorial last year worth about 2 cents. Authors of tutorials should
                          already know the difference between title and h1.



                          --
                          -bts
                          -This space intentionally left blank.

                          Comment

                          • Stan Brown

                            #14
                            Re: difference between h1 and title

                            In article <39665a4.031208 1225.959ca6@pos ting.google.com > in
                            comp.infosystem s.www.authoring.html, MozillaCensorsM e
                            <mozillacensors me@yahoo.com> wrote:[color=blue]
                            >Stan Brown <the_stan_brown @fastmail.fm> wrote in message news:<MPG.1a3e6 138a7a2067a98b9 03@news.odyssey .net>...[color=green]
                            >> And think about whether your screen name will cause you to be taken
                            >> seriously.[/color]
                            >
                            >Search andkon.com for an explanation.[/color]

                            I think not. If you want to be taken seriously, present yourself
                            that way.

                            --
                            Stan Brown, Oak Road Systems, Cortland County, New York, USA

                            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/

                            Comment

                            • Mark Parnell

                              #15
                              Re: difference between h1 and title

                              Sometime around 8 Dec 2003 12:25:21 -0800, MozillaCensorsM e is reported to
                              have stated:[color=blue]
                              > Stan Brown <the_stan_brown @fastmail.fm> wrote in message
                              > news:<MPG.1a3e6 138a7a2067a98b9 03@news.odyssey .net>...
                              >[color=green]
                              >> And think about whether your screen name will cause you to be taken
                              >> seriously.[/color]
                              >
                              > Search andkon.com for an explanation.[/color]

                              I tried. I couldn't see a "Search" option anywhere.

                              And most people aren't going to bother to look, even if you ask them to.

                              --
                              Mark Parnell

                              Comment

                              Working...