12 replies
  • SEO
  • |
So where is the best place for this (</head>) tag in SEO terms?

I see some place right after the metatags & others place it way down around say, line 120

If it makes a difference, which is best & why please?
#&lt or head&gt #< or head> #tag
  • Profile picture of the author jasonbrien
    It does not take any effect in SEO process. You may place it either before meta tags or after meta tags.
    Signature
    {{ DiscussionBoard.errors[7388551].message }}
  • Profile picture of the author yukon
    Banned
    Originally Posted by Paul240480 View Post

    So where is the best place for this (</head>) tag in SEO terms?

    I see some place right after the metatags & others place it way down around say, line 120

    If it makes a difference, which is best & why please?
    It doesn't matter what line number it's on, it's a closing tag (<head> ... </head>). That's HTML 101.
    {{ DiscussionBoard.errors[7389890].message }}
  • Profile picture of the author Sillysoft
    Make sure its before the <body> tag
    {{ DiscussionBoard.errors[7389909].message }}
    • Profile picture of the author Paul240480
      That's great, thanks. Yes it is before the <body> tag. It is, on my site 'where Dreamweaver put it'. In my case that's around line 120 or so. I was cribbing a bit on page source on similar sites and noticed that many have head 'close' and the body much higher up virtually right below the metatags.
      As it makes no odds I'll leave mine alone
      Signature
      {{ DiscussionBoard.errors[7390173].message }}
      • Profile picture of the author paulgl
        Originally Posted by Paul240480 View Post

        That's great, thanks. Yes it is before the <body> tag. It is, on my site 'where Dreamweaver put it'. In my case that's around line 120 or so. I was cribbing a bit on page source on similar sites and noticed that many have head 'close' and the body much higher up virtually right below the metatags.
        As it makes no odds I'll leave mine alone
        That makes sense and makes no sense.

        You put the close head at the very end of everything that is included
        in the head. You cannot, repeat, you cannot change that unless you
        eliminate stuff in the head. So, if you do not like it at line 120, well,
        eliminate a line to get 119. Voila!

        Actually, with browsers very forgiving these days, you could forget to
        close the head and have everything look okay anyway. Maybe. That
        way, you won't have to worry about where to close the head tag.

        I remember when browsers were not forgiving...

        Paul
        Signature

        If you were disappointed in your results today, lower your standards tomorrow.

        {{ DiscussionBoard.errors[7390644].message }}
  • Profile picture of the author kimseo
    Originally Posted by Paul240480 View Post

    So where is the best place for this (</head>) tag in SEO terms?

    I see some place right after the metatags & others place it way down around say, line 120

    If it makes a difference, which is best & why please?
    Close head tag (E.g. </head>) just before opening of body tag.
    It's standard HTML practice
    Signature
    {{ DiscussionBoard.errors[7390668].message }}
    • Profile picture of the author Paul240480
      Originally Posted by kimseo View Post

      Close head tag (E.g. </head>) just before opening of body tag.
      It's standard HTML practice
      Okay, but that my point.... Some seem to have both tags just below the metatags you know in 'the teens ' and some like mine have them after loads of HTML around line 120.

      Or am I being real hard work and missing point completely:confused:

      Thanks.
      Signature
      {{ DiscussionBoard.errors[7390690].message }}
      • Profile picture of the author Sillysoft
        Originally Posted by Paul240480 View Post

        Okay, but that my point.... Some seem to have both tags just below the metatags you know in 'the teens ' and some like mine have them after loads of HTML around line 120.

        Or am I being real hard work and missing point completely:confused:

        Thanks.
        You are over thinking this. </head> Simply is a closing tag for the header information. It doesnt do anything else, it doesnt matter what line it goes on as long as its somewhere after the <head> tag and before the <body> tag. Just like to bold something you do <strong>//bold text here</strong>
        {{ DiscussionBoard.errors[7390708].message }}
      • Profile picture of the author kimseo
        Originally Posted by Paul240480 View Post

        Okay, but that my point.... Some seem to have both tags just below the metatags you know in 'the teens ' and some like mine have them after loads of HTML around line 120.

        Or am I being real hard work and missing point completely:confused:

        Thanks.
        Size of the head block depend upon the page. The standard practice is to inhouse all the external scripts, CSS, metatags in head block.
        In your case , Some css and javascript are being defined on the page that's why your head block is long.
        Signature
        {{ DiscussionBoard.errors[7390971].message }}
  • Profile picture of the author UMS
    Perhaps it is clearer with the following outline of your typical HTML page:

    <html>
    <head>
    title
    meta tags
    stylesheets
    javascript
    etc

    </head>
    <body>
    Your actual content
    </body>
    </html>
    {{ DiscussionBoard.errors[7391021].message }}
    • Profile picture of the author paulgl
      Ya know, I did forget the ubiquitous answer.
      It could be very possible to put the entire head on one line,
      provided there was no reason for line breaks when typing it in.

      Paul
      Signature

      If you were disappointed in your results today, lower your standards tomorrow.

      {{ DiscussionBoard.errors[7391192].message }}

Trending Topics