Is possible to code a webpage by using just HTML and without CSS?

Discussion in 'HTML & Website Design' started by runner, Sep 13, 2011.

  1. #1
    Hi,
    I will be participating in a local contest. When I heard one of its rule I wondered. The rule was that only HTML is allowed for coding and CSS is not allowed. Is it possible to code a webpage by just using HTML?

    And Could you please show me some nice and simple web designs?



    Thanks
     
    runner, Sep 13, 2011 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    Technically that's impossible because the browser styles all elements using an internal CSS stylesheet. Of course you can code a web page without CSS but you can only apply styling with attributes in each tag. While that may be an interesting and fun thing to try, I would never do that on the modern web.
     
    drhowarddrfine, Sep 13, 2011 IP
  3. gauvion

    gauvion Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thats how they did it in the 90's, however, a website with no CSS is going to look terrible most of the time.
     
    gauvion, Sep 13, 2011 IP
  4. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #4
    Of course! What do you think people did before CSS was introduced lol. CSS just controls the styling of the webpage.
     
    dcristo, Sep 13, 2011 IP
  5. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #5
    Tables and images lol . That's the way I'd go for such a rere contest .
     
    ApocalypseXL, Sep 13, 2011 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    style="xxx" is CSS. There's external CSS (a file), internal CSS (styff between the <style></style> tags) and inline CSS, which is what you're suggesting.

    Runner, you just write the HTML you want and use images, with tables for formatting, as Apocalypse said. If they didn't prohibit Javascript you can do quite a lot.

    We had pretty animated sites back then with animated gifs, Javascript mousetails, all sorts of what one man I knew called "dancing baloney".
     
    Rukbat, Sep 13, 2011 IP
  7. Kuro

    Kuro Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes but without CSS it looks horrible, I'm guessing you're weary after looking at CSS codes or simply don't want to waste time learning it ?
     
    Kuro, Sep 13, 2011 IP
  8. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #8
    It is NOT what I was suggesting. I said to use "attributes", meaning valign, bgcolor and all those deprecated things which, as I ALSO said, no one should be using.
     
    drhowarddrfine, Sep 14, 2011 IP
  9. ~Bored~

    ~Bored~ Active Member

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #9
    You can do it but as many already said, a page without css looks horrible to the human eyes.
     
    ~Bored~, Sep 16, 2011 IP
  10. xtrashots9

    xtrashots9 Active Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #10
    I am not agree with any of the above comment.

    You can easily do the HTML page creation without CSS. Traditional HTML programming teach us how to generate the HTML page without using any CSS or Jacascript file.

    But you must be aware about all the HTML Tag and their attributes and their proposed values.

    simple example is table

    <Table cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td valign="center"> Sandeep Kumar</td>
    </tr>
    </table>

    So the condition of contest is pretty valid one....
     
    xtrashots9, Sep 16, 2011 IP
  11. 911511

    911511 Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    yes its possible but your site isnt look so great, css helps you to make your site looks good and attractive.
     
    911511, Sep 16, 2011 IP
  12. mutatedllama

    mutatedllama Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    What kind of contest doesn't allow CSS?! That's crazy!

    Yes it's possible but it'll likely look awful :)
     
    mutatedllama, Sep 17, 2011 IP
  13. creativewebmaster

    creativewebmaster Active Member

    Messages:
    654
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    78
    #13
    Yeah, Its possible but, If, you need changes tomorrow then you have to do on all the pages and its complete wast of time. So, its better to make html using well written css.
     
    creativewebmaster, Sep 17, 2011 IP
  14. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    819
    Best Answers:
    7
    Trophy Points:
    320
    #14
    The OP asked ONE question "Is possible to code a webpage by using just HTML and without CSS?"

    He did NOT ask for reasons WHY it was a bad idea or not. He did not make the rules for the contest. Therefore all this blabber about CSS being better is totally USELESS here. All he wanted was a YES or a NO and EXAMPLES, NOTHING else. Why is it that there are so many idiots on this forum who CANNOT READ???

    The simple answer is YES. For an example of an old website that has not been updated using CSS, go here Sample website using only HTML & Javascript without using CSS
     
    Last edited: Sep 17, 2011
    mmerlinn, Sep 17, 2011 IP
  15. reo69

    reo69 Peon

    Messages:
    114
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #15
    Yup.

    HTML provides the basic structural layout of the webpage.

    CSS, on the other hand, defines the styling only - colors, alignment and dimensions, to name a few. (as you may have guessed, the full form of CSS - Cascading Style Sheets - provides a hint as to its function).

    Think of HTML as the basic skeleton of the webpage. CSS can be thought of as the flesh that covers the skeleton to give it a better appeal.

    Therefore, ALL webpages need HTML. HTML can exist without CSS to create a website - but if you have a website with only styles (CSS) but no structure (HTML), basically there's nothing. The skeleton is essential - and the flesh makes it look better!

    It's your choice, whether you want simply the skeleton or a better-looking web-page with the flesh. I hope I cleared it up!
     
    reo69, Dec 3, 2011 IP
  16. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #16
    Why do you ignorant people think the OP needs an answer from you three months after the fact?
     
    drhowarddrfine, Dec 4, 2011 IP
  17. reo69

    reo69 Peon

    Messages:
    114
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #17
    Didn't notice this thread was bumped, it was showing atop all the other threads in this subforum. My bad.
     
    reo69, Dec 4, 2011 IP
  18. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #18
    @reo69 - That's an honest mistake but you see this happening way, waaayyyy more on DP than any other place.
     
    drhowarddrfine, Dec 4, 2011 IP
  19. reo69

    reo69 Peon

    Messages:
    114
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #19
    Well lesson learned! I'll be noting the date of the first post on every thread before imparting my wisdom :D Can't say the same for others on DP, though!
     
    reo69, Dec 4, 2011 IP
  20. tomcash

    tomcash Well-Known Member

    Messages:
    432
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    180
    #20
    You can do with just html, no CSS are required. Its just a matter of web style, without CSS your font might set to default such as arial/times new romans/verdana.
     
    tomcash, Dec 4, 2011 IP