html text edit image help

Discussion in 'Design and Graphics' started by Rhysd, Apr 2, 2017.

  1. Rhysd macrumors newbie

    Apr 2, 2017
    i am brand new to html
    i am triying to get image to appear in simple html on my mac book using tex edit
    i set text edit plain text
    i found address of image on the mac book but it denote appear.
    can any any one help me

    address of image on ma book is

    this is the code i wrote

    <!DOCTYPE html>
    <title>Page Title</title>

    <p>Test text .</p>
    <p>more test text </p>

    <img src=“file:///Users/rhysdavies/Desktop/htmlweb/gflogov.jpg" alt=“logo” width="128" height="128">

  2. Darth.Titan macrumors 68030


    Oct 31, 2007
    Austin, TX
    Drop the 'file://' prefix. This should work:
    <img src=“/Users/rhysdavies/Desktop/htmlweb/gflogov.jpg" alt=“logo” width="128" height="128">

    In fact, if your image is in the same folder as your html file, you can drop the path entirely:
    <img src=“gflogov.jpg" alt=“logo” width="128" height="128">

    Do some reading on file paths.

  3. Rhysd thread starter macrumors newbie

    Apr 2, 2017
    thanks for your post i had done a lot of reading up on this. i wouldn't come on here unless i really needed to.
    it was an "" issue thanks for your help

Share This Page