trouble with <h1 >

Discussion in 'HTML & Website Design' started by mothproof, Feb 9, 2007.

  1. #1
    hi,

    is it possible to make turn a word into <h1> , like and yet still have it aligned with the rest of the paragraph?

    Lets say i want to make bolden the word "remarkable", but i don't want to use just <b> or <strong> but <h1> since it has better crawlability.

    But what happens is this:

    "...There was nothing so very

    remarkable

    in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself "Oh dear! Oh dear! I shall be too late!" (when she thought it over afterwards it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but, when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on..

    instead of


    "...There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself "Oh dear! Oh dear! I shall be too late!" (when she thought it over afterwards it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but, when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on..



    sorry for the long post.


    [excerpt from Alice in Wonderland]


    thanks!
     
    mothproof, Feb 9, 2007 IP
  2. abixalmon

    abixalmon Well-Known Member

    Messages:
    378
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    120
    #2
    abixalmon, Feb 9, 2007 IP
  3. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could use a FONT tag (or modernly a style tag) to make the word look the way you want: bigger, darker, with other color, etc.
    Good luck.
     
    TechnoGeek, Feb 9, 2007 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    The font tag is not a part of html as of html4, 1999. You could use span with a class designation to segregate the words you want to style differently. From your example, the strong or b tag would be appropriate. It would be a misuse of a header tag. Thus:
    
    <blockquote>
      <p>… There was nothing so very <strong>remarkable</strong> in  
        that; nor did Alice think it so very much out of the way to hear the Rabbit 
        say to itself <q>Oh dear! Oh dear! I shall be too late!</q> (when she 
        thought it over afterwards it occurred to her that she ought to have 
        wondered at this, but at the time it all seemed quite natural); but, when 
        the Rabbit actually took a watch out of its waistcoat-pocket, and looked 
        at it, and then hurried on …
      </p>
      <cite>excerpt from Alice in Wonderland</cite>
    </blockquote>
    Code (markup):
    cheers,

    gary
     
    kk5st, Feb 9, 2007 IP
  5. Munk

    Munk Peon

    Messages:
    56
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    This should work for ya http://munkebizness.com/stealth-h1-tags/
     
    Munk, Feb 10, 2007 IP
    pipes likes this.
  6. mothproof

    mothproof Banned

    Messages:
    371
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thanks you all.. munk, kk5st, TechnoGeek, & abixalmon

    im still the shaky fumbling guy with html, but with you coming to the rescue, i might just be able to manage.


    :)


    thanks again:)
     
    mothproof, Feb 12, 2007 IP