1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can I redefine the H1 Tags in a CSS Stlye Sheet or...

Discussion in 'HTML & Website Design' started by nameonthecake, Aug 24, 2006.

  1. #1
    Can I redefine the H1 Tags in a CSS Stlye Sheet or does it have to be in the actual HTML document?
    SEMrush
     
    nameonthecake, Aug 24, 2006 IP
    SEMrush
  2. fatinfo guy

    fatinfo guy Peon

    Messages:
    586
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you mean redefine by CSS as in making the H1 tag look in font and color any way you want, then yes.
     
    fatinfo guy, Aug 24, 2006 IP
  3. softwareindex.org

    softwareindex.org Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes.If you don't kown,you can visit this.w3.org/Style/CSS/
     
    softwareindex.org, Aug 24, 2006 IP
  4. cj1223

    cj1223 Well-Known Member

    Messages:
    287
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #4
    I waswoundering the same thing, becuase i made a .h1 class and made it how i wanted it to look, and i was woundering if class="h1"> was just as effective as <h1>?
     
    cj1223, Aug 24, 2006 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,499
    Likes Received:
    377
    Best Answers:
    29
    Trophy Points:
    335
    #5
    If you want a header, use a header tag, don't make some other element emulate one.

    cheers,

    gary
     
    kk5st, Aug 24, 2006 IP
  6. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Spacebars appear to be having trouble these days ;)

    You can style it in a separate CSS file or in the HTML file (but I recommend the external CSS file). You *could* make a p tag look like an h tag, but the value is then lost. You have h tags to define headings. Various software exist that make use of the h tags in a page (such as for creating a table of contents).

    Use whatever tag makes sense and then style it based on your needs.
     
    Gordaen, Aug 25, 2006 IP