images help text edit

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

  1. Rhysd macrumors newbie

    Joined:
    Apr 2, 2017
    #1
    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
    Thnks

    address of image on ma book is
    file:///Users/rhysdavies/Desktop/htmlweb/gflogov.jpg

    this is the code i wrote

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

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

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

    </body>
    </html>
     
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #2
    Your HTML contains "curly" quotes instead of neutral quotes. Read these:
    https://forums.macrumors.com/threads/keychain-password-removal-command.2017004/#post-23968019
    https://forums.macrumors.com/threads/image-wont-load.1835561/#post-20565755


    Here's the part of your HTML with the curly quotes:

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


    I've changed your posted text to a very large font, to make it easier to see the kinds of quotes. The quote before "file:" is curly, as are the ones around "logo".
     
  3. Rhysd thread starter macrumors newbie

    Joined:
    Apr 2, 2017
    #3
    i see thank you so for much for helping so quickly.
     
  4. superscape, Apr 3, 2017
    Last edited: Oct 6, 2017

    superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #4
  5. Rhysd thread starter macrumors newbie

    Joined:
    Apr 2, 2017
    #5
    thanks i just downloaded sublime .
    I have been working on wondows pc, but had a macbook bought me.
    It seems nothing is straight forward with mac compared to windows.
    thanks again
     
  6. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #6
    I disagree. It's just different and unfamiliar if all you're used to is Windows. Embrace the learning experience and you'll have some fun. A lot of stuff is much better and almost always more intuitive in macOS (IMHO).

    Remember you'd (probably) not code HTML using Word on Windows, in the same way you'd (probably) not use TextEdit on the Mac. In either case, you'd at least need a decent text editor. I believe Sublime in particular is used on both platforms. This isn't a macOS vs Windows thing, it's a picking the right tool for the job thing. ;-)
     
  7. olup macrumors 6502

    Joined:
    Oct 11, 2011
    #7
  8. sellyfied macrumors newbie

    Joined:
    Oct 4, 2017
    #8
    --- Post Merged, Oct 4, 2017 ---
    i see thank you so for much for help quicly
     
  9. 960design macrumors 68020

    Joined:
    Apr 17, 2012
    Location:
    Destin, FL
    #9
    Glad you have it sorted... when posting code... it is often better to use a dedicated service such as:
    1. JS Bin ( https://jsbin.com/?html,output )
    2. JSFiddle ( https://jsfiddle.net/ )
    3. Cloud9 ( https://c9.io/ )
    There are many other. I prefer JS Bin for simple code sharing. For example, your code:
    https://jsbin.com/bayomubiga/edit?html,output
     
  10. dwig macrumors 6502

    Joined:
    Jan 4, 2015
    Location:
    Key West FL
    #10
    In general, I agree with superscape's response, though in this case Apple has done you a bit of a disservice.

    Windows still ships with 2 editing utilities, a light weight wordprocessor named WordPad and a true text editor named Notepad. Apple, on the other hand, only provides a basic word processor with the macOS and they give it a rather inappropriate name "TextEdit".

    TextEdit, like WordPad but unlike Notepad, is a poor tool for coding. On Windows, Notepad is a solid reliable tool for such use but very very basic. On both OSs, I would recommend getting something else. On Windows, Notepad++ is a good lightweight tool. On macOS, I find BBedit a good choice.
     
  11. 960design macrumors 68020

    Joined:
    Apr 17, 2012
    Location:
    Destin, FL
    #11
    What about Vi or Pico!
     
  12. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #12
    Hah hah!

    Still use Vi pretty much every day in my line of work. I'm not mean enough to recommend it to a newbie though... or am I... ;-)
     
  13. 960design macrumors 68020

    Joined:
    Apr 17, 2012
    Location:
    Destin, FL
    #13
    Touché
     

Share This Page