SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: adding images

  1. #1
    SitePoint Member
    Join Date
    Jun 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    adding images

    Hi everyone
    Please could I have some advice on how to add an image to notepad as I have followed the instructions in 'Build your own Website The Right Way using HTML and CSS 2nd edition' p48 and p49 and have been so far unable to add any images!

  2. #2
    SitePoint Wizard
    Join Date
    Jul 2003
    Location
    Kent
    Posts
    1,921
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You will not see the image in notepad, only in your browser.

    Assuming your images are in a folder called images, inside the folder containing your html files, this is the code to add an image to an html file
    <img src="images/myimage.jpg" alt="some text2 title="some other text">

    PS stop using notepad, it is one of the most primitive editors around. Download notepad++ for a vastly superior editor.

  3. #3
    SitePoint Wizard bronze trophy Black Max's Avatar
    Join Date
    Apr 2007
    Posts
    4,029
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Notepad++ is excellent, but it may be too much for a novice designer. An effective in-between text editor is EditPad. The Lite version is free, and it works for 90&#37; of what I do. Though I have NP++, I find the EditPad environment a bit friendlier. Or maybe it's just what I'm used to.

    http://www.editpadpro.com/

    http://download.jgsoft.com/editpad/SetupEditPadLite.exe


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
  •