Link to home
Start Free TrialLog in
Avatar of rpartington
rpartingtonFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Html header tags question

I have a problem with html tags and as Im not a web developer by any stretch of the imagination Im struggling.

We for what ever reason cannot simply select the heading line of the below paragraph and use the bold option as the marketing team need the <H5> TEXT</H5> tags to be used apparently the heading tag has more seo benefits, dont ask me so they dont want the <strong> tags to be used.
Each time I try to use the H tag as per below it includes all of the text rather than just the heading 1st line, when I manually move the h5 tag to where I need it ie
<h5>Bad Credit and Poor Credit Mortgages - Help from APS</h5>
It simply screws all the text up.
Im using Dreamweaver MX Ver 6
in layout mode

<td width="685" valign="top"><font size="-1">
      <div align="left">
        <h5><font size="2" face="Arial, Helvetica, sans-serif">Bad Credit and
          Poor Credit Mortgages<br>
          Getting a mortgage with bad credit doesnt have to be difficult. If
          you have had poor credit problems in the past  whether it be CCJs &amp;
          defaults, an IVA mortgage, or even previous bankruptcy   with over
          ten years of experience and can help you find a competitive deal.<br>
          <br>
          </font> </h5>
      </div>
      </font></td>

Using the normal bold ie <strong> works a treat but they insist on using the <h5> tag which simply will not work.
Also Does anyone know if there actually any added benefits for marketing purposes by using the H tags as oppose to using the strong tags
Avatar of MayoorPatel
MayoorPatel

The H tags are the ones that are parsed by the search engines to determine what your site is about after which the search engine will index your site under than keyword search.

change your code to this

<h5><font size="2" face="Arial, Helvetica, sans-serif">Bad Credit and
          Poor Credit Mortgages<br></h5>

and remove this </h5>

 <br>
          </font></h5><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      </div>
      </font></td>


Avatar of rpartington

ASKER

I must be missing somthing here as each time I put a Line of text below the heading text
IE
******************************************************************************************
Bad Credit and Poor Credit Mortgages (this line is H5 spot on no problems)
But this line of text directly below also goes to H5 as well<<<<<<
and so is this line etc I cannot prevent it,
moving the h5 tag back to the top line screws all this text up on the
lower lines
*******************************************************************************************



The only way I can get it to work is by having a gap between the 2 lots of text ie as below

******************************************************************************************
Bad Credit and Poor Credit Mortgages (this line is H5 spot on no problems)
But this line of text directly below also goes to H5 as well<<<<<<

Having the above empty line means this text is not h5 however I have that
much text I need the empty line above as I do not have enough space if I add the empty lines
Man give me active directory any day
*******************************************************************************************
Sorry should of being

******************************************************************************************
Bad Credit and Poor Credit Mortgages (this line is H5 spot on no problems)

Having the above empty line means this text is not h5 however I have that
much text I need the empty line above as I do not have enough space if I add the empty lines
Man give me active directory any day
*******************************************************************************************
try manually changing it to this:
<td width="685" valign="top"><font size="-1">
      <div align="left">
        <h5><font size="2" face="Arial, Helvetica, sans-serif">Bad Credit and
          Poor Credit Mortgages</font></h5>
         <br>
          Getting a mortgage with bad credit doesnt have to be difficult. If
          you have had poor credit problems in the past  whether it be CCJs &amp;
          defaults, an IVA mortgage, or even previous bankruptcy   with over
          ten years of experience and can help you find a competitive deal.<br>
          <br>
      </div>
      </font>
</td>
"The H tags are the ones that are parsed by the search engines to determine what your site is about after which the search engine will index your site under than keyword search."

I'm sorry, but that's not true.  The search engines will crawl your content and evaluate it as a whole.  Some people (not all) still feel that the content inside of header tags is weighted slightly more heavily than content that is not.  IF that is still the case (only the SE's know for sure), the benefits are marginal and not worth messing up your code for.

Google for one is far more interested in the context of your content than just what is there.  Stuffing keywords and trying to manipulate the search engines by misusing header tags is more likely to harm your SE ranking than help it.

So, use <h#></h#> for what they're meant for - headers and not for regular content - and stop trying to game the search engines.  Your life will be much easier.
(and i agree with humeniuk regarding second guessing what the search engines look for, but I can imagine a clueless marketing department who insist on things for arbitrary reasons may be difficult to argue with)
actually....

shame on you both. (humeniuk, najh) Headers, Lists, and Meta tags....are what most search engines index your site on.  Just because google and a few others actually spider the content does not mean that the rest of the 1.2 Million others do...
however in agreement....you should not wrap your content in header tags...header tags are meant to be just that.  a header for some content  (like the title of a chapter in a book)
ASKER CERTIFIED SOLUTION
Avatar of kevp75
kevp75
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
;-) i didn't say they weren't popular...
I agree about using the H Tags correctly,
However as NAJH correctly states convincing a marketing dept otherwise is like climbing up a wall of ice with no climbing equipt. Theyve been on some tour and had reps in from all the top search engine optimization companies who have convinced them this is the way to go, so lets just let them learn from their mistakes.
With ref to the auto line break created by the H Tag Ive managed to close it down using CSS.
Its being an enlightening debate and thanks for the heads up everyone.
One of those where you want to dish the points out to everyone but not enough to go round.
I Gave points to KevP for the mention of CSS to close the line break down and humeniuk for the heads up on the H Tags. Thanks to all of you and your comments.
Thanks for the fun question.

Polotics, Marketing and advertising are like the ice wall :)