SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: HTML

  1. #1
    Non-Member
    Join Date
    Jul 2012
    Location
    Dhaka
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question HTML

    Quote Originally Posted by Sams Teach Yourself HTML and CSS in 24 Hours
    I've looked at the HTML "source" of some Web pages on the Internet, and it looks frighteningly difficult to learn. Do I have to think like a computer programmer to learn this stuff?
    Last edited by TechnoBear; Aug 10, 2012 at 03:46. Reason: Acknowledged source of question

  2. #2
    SitePoint Mentor silver trophybronze trophy
    Mikl's Avatar
    Join Date
    Dec 2011
    Location
    Edinburgh, Scotland
    Posts
    1,571
    Mentioned
    63 Post(s)
    Tagged
    0 Thread(s)
    It depends how sophisticated you want your site to be.

    You can create a fairly simple site - but still a very attractive one - with just some basic HTML and CSS. You don't have to think like a programmer to do that, but you do need a good eye for detail. You can learn the basics fairly easily, and build up from there.

    The scary stuff you're seeing is probably JavaScript. That is indeed a programming language, and you do need programming skills to use it. But you can go quite a long way with website design without going anywhere near JavaScript.

    Mike

  3. #3
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,888
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    The advantage of basic HTML is that it is actually a very readable language. Look at the code sample below:
    HTML Code:
    <h1>News in brief</h1>
    <h2>Olympic roundup</h2>
    <img src="/images/olympic-rings.png" alt="Olympic Rings">
    <p><b>China</b> are currently leading the medal table, followed by <b>USA</b>, <b>Great
    Britain</b>, and <b>Korea</b> who have sneaked ahead of Russia by winning more gold 
    medals, even though they haven't got as many medals overall.</p>
    <p><a href="/medal-table.htm">See full medal table</a></p>
    Notice that all the text shown in black is just text – that's what you want to appear on the reader's screen. The bits in bright blue are filenames. It's only the dark blue, purple and green that are in any way complicated. But even then, they are usually reasonably easy to understand.

    <h1> marks the start of a main heading
    <h2> marks the start of a subheading
    <p> marks the start of a paragraph
    <b> marks the start of text in bold
    <img...> marks an image
    and so on.

    Nearly all tags are paired up with a closing tag, so </h1> ends the main heading, </p> ends a paragraph.

    You need a certain level of logic to get your head round this, but a lot of it really is more a language thing than a programming thing.

  4. #4
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For html you need zero programming skills. To add a bit on interactivity to your site you may need some javacript, but then again javascript is not frighteningly hard to learn as there are so many resources out there.

  5. #5
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,230
    Mentioned
    265 Post(s)
    Tagged
    5 Thread(s)
    I'm sure if the OP reads the rest of the book from which he or she copied that question, he or she will have all the necessary answers. Thanks to those who took the trouble to replt.

    Thread closed.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •