HTML or CSS

Discussion in 'HTML & Website Design' started by navii, May 30, 2009.

  1. #1
    Which code is the best option HTML or CSS?



    I find HTML easier but CSS seems to be getting more popular.
     
    navii, May 30, 2009 IP
  2. houck

    houck Active Member

    Messages:
    654
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    lol, CSS can't work without HTML. You should learn both.

    XHTML and CSS is a great skill to have.
     
    houck, May 30, 2009 IP
  3. navii

    navii Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry i didn't explain myself too well, I was actually referring to the layout of HTML (eg using tables etc) or CSS code.

    Thanks
     
    navii, May 30, 2009 IP
  4. Forgiven

    Forgiven Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    without html css dun work...... learn both, but if you want to learn just one i recommend Html
     
    Forgiven, May 30, 2009 IP
  5. archey

    archey Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No. Never use tables for your layout, CSS always. Only use tables for tabular data.
     
    archey, May 30, 2009 IP
  6. Lorena

    Lorena Active Member

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #6
    what everyone said above...css wont work without html, HTML is like the base/core while css adds the good looks and mask :p
     
    Lorena, May 31, 2009 IP
  7. unigogo

    unigogo Peon

    Messages:
    286
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    unigogo, May 31, 2009 IP
  8. Oranges

    Oranges Active Member

    Messages:
    2,610
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    90
    #8
    CSS is a part of HTML coding, usually you call it XHTML.
    And yeah these days everybody prefer CSS, rather than those early days of HTML and Tables based coding.
     
    Oranges, May 31, 2009 IP
  9. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #9
    @navii, no one on dp reads past the first or last post so go with archey's response and you're done.
     
    drhowarddrfine, May 31, 2009 IP
  10. goldenpearl

    goldenpearl Active Member

    Messages:
    772
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #10
    hi
    Best option resource I know is w3schools.com and Tizag.com has some pretty good coding examples.
    thank.
     
    goldenpearl, May 31, 2009 IP
  11. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #11
    See what I mean?
     
    drhowarddrfine, May 31, 2009 IP
  12. krtsss

    krtsss Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    css is the part of html. you should learn it too.
     
    krtsss, May 31, 2009 IP
  13. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #13
    It's a never ending story. Let's see how long this thread goes before someone actually reads it.
     
    drhowarddrfine, May 31, 2009 IP
    pipes likes this.
  14. leoslab

    leoslab Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I think that you are better using CSS than table in html..
     
    leoslab, May 31, 2009 IP
  15. CoryR

    CoryR Active Member

    Messages:
    68
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    70
    #15
    Lets sum everything up into one post, shall we?

    In order to use CSS, you must use (X)HTML. (X)HTML is used to build webpages and CSS is used to style them. You do need to learn and use both if you wish to build a legit website. When you use tables for tabular data, you may use CSS to style them.
     
    CoryR, May 31, 2009 IP
  16. geoiss2004

    geoiss2004 Guest

    Messages:
    1,454
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #16
    CSS over table layout always. simply because the semantic web is becoming more popular and correct markup is expected from professional websites these days.
     
    geoiss2004, Jun 1, 2009 IP
  17. ffb

    ffb Active Member

    Messages:
    79
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #17
    You should use XHTML and CSS. And if you do things right, you might should make sure that your source code validates for SEO reasons.
     
    ffb, Jun 1, 2009 IP
  18. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #18
    You must be newbie to the web stuff.
    Html is markup and css is style, they must work collaborative.
    Do you think you can choose only one of them? :confused:
     
    justinlorder, Jun 1, 2009 IP
  19. allenzhang

    allenzhang Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    You must choose both.
     
    allenzhang, Jun 1, 2009 IP
  20. lonewolff

    lonewolff Member

    Messages:
    338
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #20
    Just to upset drhowarddrfine some more, CSS wont work without HTML :D

    Some people do read the entire thread ;)
    But yes, most dont.
     
    lonewolff, Jun 2, 2009 IP