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

Tips for Webbuilding

Discussion in 'HTML, Graphics & Programming' started by Apex, 2 May 2006.

  1. Apex


    Joined: 12 Feb 2006

    Posts: 12,297

    Location: Surrey

    im currently attempting to learn webbuilding in my free time and am using this website to help me, however sometimes i read other posts and find people say oh you should learn that to do this etc etc so im a unsure on what is best to learn. for example i see people make websites using tables, however people are teling them not to and to do something else. Is there any tips you can give me for anything id need on a web.

    Things like best thing to learn for forms, for the layout, for inserting pictures etc etc. Hope this makes sense. thanks
  2. Inquisitor


    Joined: 12 Apr 2004

    Posts: 11,788

    Location: Birmingham

    Well, I'd start off by getting a decent text editor such as Notepad++ with syntax highlighting. I'd recommend making sure your markup is XHTML compliant and making good use of CSS to write web pages. You can find some decent tutorials on them here:

    HTML - introduction to HTML
    XHTML - outlines the differences between the HTML and XHTML specifications
    CSS - introduction to CSS

    With regards to tables, it's best practice to avoid using tables for anything but what they're designed for, that is displaying data in tabular format. They're quite popular for building website layouts because they provide a way of structuring your content, but generally you shouldn't do this (there are numerous disadvantages but I won't go into them). Instead, you should use <div> elements, which basically represent boxes, along with CSS in order to structure your website.
  3. gord


    Joined: 18 Oct 2003

    Posts: 19,332

    Location: Midlands

    Cant see why tables are so popular, the concept of divs is hardly rocket science.. and muchos better..

    Good luck to you champ, you'll be banging out sites in no time.
  4. Mr_L


    Joined: 28 Jan 2005

    Posts: 3,732

    Location: Worcester

  5. akakjs

    Wise Guy

    Joined: 18 Oct 2002

    Posts: 1,044

    one word: browser support. Tables work in everything from lynx to ie7, but importantly without changing that much in appearence. Divs and css takes a lot more effort to scale (but the results are more flexable).

    At work we still have a tables based website, not because we're anti-tables, but because it suits our target market much more closely.

  6. blade007

    Wise Guy

    Joined: 16 Jun 2003

    Posts: 1,862

    a lot of designers will curse tables, you only have to look at css zengarden to see why.

    but! a LOT of sites use tables (even pro built sites). from what I've seen it is more reliably rendered. and it permits some basic vertical positioning of objects in the cell - It's more tricky to do this in css.