Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

stupid question

Options
  • 06-06-2009 12:28am
    #1
    Registered Users Posts: 4,632 ✭✭✭


    No doubt im doing something stupid here but im trying to write a little basic html page out in a folder on my computer and im putting in the usual tag for an image but when i try to open the webpage the image wont display, its being recognised but just wont fully display if you know what i mean!

    Any ideas?


Comments

  • Registered Users Posts: 442 ✭✭STBR


    Post the code.


  • Registered Users Posts: 4,632 ✭✭✭NoQuarter


    the code is so basic im sure its fine, i think its a setting on my computer thats the problem...

    here is the code anyway...pic.jpg is in the same dir as the page.


    <html>


    <head>
    <title>welcome</title>
    </head>


    <body>
    <META name="Cheap Gifts" content="gifts for all occasions">
    <img scr="pic.jpg" alt="logo"><br><br>
    <basefont face="arial, verdana, courier" size="4" color="black">
    Welcome<br>
    Take a look around and enjoy the site.<br><br>
    <a href="http://www.google.ie">SEARCH</a><br><br><br>
    <ul type="circle">
    <li>Electronics</li>
    <li>Home</li>
    <li>Clothing</li>
    <li>Health & Beauty</li>
    <li>Sports & Fitness</li>
    <li>Tickets</li>
    <li>Travel</li>
    </ul>


    </body>


    </html>


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    I'd probably say get yourself WAMP / MAMP / XAMPP (a web server)

    Or else you're probably going to end up with path issues when you're linking to images you may need to put in file://c|.... to see the images

    WAMP (windows apache mysql php) takes about 2 minutes to have setup and running :) and basically turns your machine into a webserver

    you then go to http://localhost and away you go


  • Registered Users Posts: 6,511 ✭✭✭daymobrew


    king-stew wrote: »
    <img scr="pic.jpg" alt="logo">
    Typo - scr should be src.


  • Registered Users Posts: 4,632 ✭✭✭NoQuarter


    daymobrew wrote: »
    Typo - scr should be src.
    :o:o:o

    Thank you, i could have stared at that all day and never would have spotted it!!:D


  • Advertisement
  • Registered Users Posts: 3,594 ✭✭✭forbairt


    daymobrew wrote: »
    Typo - scr should be src.

    can't believe I missed that ... I might be lysdexic or something :o


  • Registered Users Posts: 4,632 ✭✭✭NoQuarter


    forbairt wrote: »
    can't believe I missed that ... I might be lysdexic or something :o

    At least the problem was found before i set up your servers! :pac:


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    king-stew wrote: »
    At least the problem was found before i set up your servers! :pac:

    Honestly I'd say set it up anyways ... (may sound scary) actually its great and allows you to set up wordpress / joomla / cmsms / and so on locally having a database and everything .. allows you to make full use of .htaccess / mod rewrite ... and so on ... great to play with if you're still at the beginning stage

    You'll just put files into the webfolder ...instead of where you're putting them now


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    forbairt wrote: »
    can't believe I missed that ... I might be lysdexic or something :o

    Don't make jokes about dyslexia.......you'll get some very weird letters of complaint! ;)


  • Registered Users Posts: 2,119 ✭✭✭p


    forbairt wrote: »
    Honestly I'd say set it up anyways ... (may sound scary) actually its great and allows you to set up wordpress / joomla / cmsms / and so on locally having a database and everything .. allows you to make full use of .htaccess / mod rewrite ... and so on ... great to play with if you're still at the beginning stage

    You'll just put files into the webfolder ...instead of where you're putting them now

    Personally, I don't think setting up a personal web server is a good idea if you're just learning HTML. It's quite intimidating and requires a good bit of general knowledge that people don't have at that stage.


  • Advertisement
  • Registered Users Posts: 442 ✭✭STBR


    p wrote: »
    Personally, I don't think setting up a personal web server is a good idea if you're just learning HTML. It's quite intimidating and requires a good bit of general knowledge that people don't have at that stage.

    Yeah there's no point when just using XHTML/CSS, but when you start with PHP/MySQL, etc. :D


Advertisement