1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trick I use to highlight keywords for the search engines

Discussion in 'Black Hat SEO' started by Cloud9, Dec 11, 2008.

  1. Cloud9

    Cloud9 Newbie

    Joined:
    Dec 7, 2008
    Messages:
    18
    Likes Received:
    5
    Hi, I'm relatively new here, and this may already be common information, but here's a little trick I use to make keywords on my pages stand out for the search engines, without distracting my viewers.

    Code:
    .myclass b
    {
       font-weight:lighter;
    }
    
    Code:
    <div class="myclass">
    Now I can make my <b>keyword phrases</b> stand out for the search engines, 
    and still use <strong>bold</strong> text!
    </div>
    
    Have fun with it, and don't over-abuse :D
     
    • Thanks Thanks x 5
  2. lennon

    lennon Newbie

    Joined:
    Aug 13, 2007
    Messages:
    14
    Likes Received:
    0
    what trick :confused:

    about seo webdesign or not?
    sorry im just newbies
     
  3. Cloud9

    Cloud9 Newbie

    Joined:
    Dec 7, 2008
    Messages:
    18
    Likes Received:
    5
    The first part is what you'd throw into your css file. Then the other part just shows the usage.

    You'll have to rename the class to whatever your main content area's class is.
     
  4. thedorf

    thedorf Senior Member

    Joined:
    Oct 1, 2008
    Messages:
    1,193
    Likes Received:
    700
    Occupation:
    what? I gotta have a job?
    Location:
    BHW - Where else?
    This is a funny hack. Hats off to you for the simplicity and no, I won't overabuse...
     
  5. macmastermike

    macmastermike Junior Member

    Joined:
    Apr 2, 2008
    Messages:
    116
    Likes Received:
    33
    Location:
    Grand Duchy of Bavaria
    aah very nice trick! never thought about using css this way! thanks!
     
  6. Zwitterion

    Zwitterion BANNED BANNED

    Joined:
    Mar 18, 2008
    Messages:
    198
    Likes Received:
    146
    can you please explain the css thingy in layman's terms or what it does exactly do?


    sorry i dont anything about css
     
  7. Cloud9

    Cloud9 Newbie

    Joined:
    Dec 7, 2008
    Messages:
    18
    Likes Received:
    5
    Alright I'll attempt to explain it in laymen's terms.

    .myclass b{} in CSS states the properties that any <b> tag falling within a <div class="myclaass"></div> will have.

    We state that the properties of the b tag should not be bold, with font-weight:lighter;... so now we can use <b></b> to highlight keyword phrases, and they won't appear bolded to the user, just the search engines. If you actually want to use bold in your content, just use <strong> tags.

    Try to keep your bold on only 10% of your content as well, and dont bold the same phrase twice per page, or if you do just reword it slightly.

    These are just my tips and I base them on nothing!
     
    Last edited: Dec 11, 2008
  8. kojakfull

    kojakfull Senior Member

    Joined:
    Jan 13, 2008
    Messages:
    851
    Likes Received:
    1,050
    Location:
    CustomBotSolutions.com
    Home Page:
    I think you can also use this
    Code:
    .myclass b
    {
    	font-weight:normal;
    }
    
    For both <b> and <strong>
    Code:
    .myclass b,strong
    {
    	font-weight:normal;
    }
    
     
  9. Cloud9

    Cloud9 Newbie

    Joined:
    Dec 7, 2008
    Messages:
    18
    Likes Received:
    5
    You gotta use font-weight:lighter... I tried normal and that would be the "normal" for the element, so it would be bold.

    Also I only make b tags lightened because I like to bold some phrases for the user so use strong.
     
  10. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    ha ha thats cool!!
    gonna try it out right away!