jlgoinggreen Posted March 8, 2013 Share Posted March 8, 2013 Hi,I am new to HTML and taking the tutorial on this site. For some reason I can not get the images to come out. Can someone please help me. This is what I am putting in notebook then saving to HTML: <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <a href="http://www.htmlandcssbook.com/">This is a link</a> <p>This is a paragraph.</p> <hr> <p>This is a paragraph.</p> <hr> <p>This is a paragraph.</p> <p>This is<br>a paragraph <br> with line breaks</p> <img src="images/cf2.png" alt="sewing" /> </body> </html> Link to comment Share on other sites More sharing options...
Mudsaf Posted March 8, 2013 Share Posted March 8, 2013 (edited) So this is your html file for example index.html <html><body><h1>My First Heading</h1><p>My first paragraph.</p><a href="http://www.htmlandcssbook.com/">This is a link</a><p>This is a paragraph.</p><hr><p>This is a paragraph.</p><hr><p>This is a paragraph.</p><p>This is<br>a paragraph<br> with line breaks</p><img src="images/cf2.png" alt="sewing" /></body></html> So you have to link it like this [FOLDER WHERE IS YOUR HTML FILE]/images/ of your html file index.htmlimages/cf2.png // This means its in images folder Edited March 8, 2013 by Mudsaf Link to comment Share on other sites More sharing options...
jlgoinggreen Posted March 8, 2013 Author Share Posted March 8, 2013 I don't know you, but I love you. I've been working on this for two days trying to figure it out by myself. You rock! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now