This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to insert an image in html using brackets?
05-22-2014, 10:24 AM
Post: #4
 
you need the full path to where the image is stored. If it's in the same folder as the html file then your code should work but lets say it's in a folder called 'images' and the images folder is in the same folder as the html file it would be
<img src="images/twitter.jpg" /> (note the forward slash before the closing '>'
You should aslo include the width and height of the image and an alt tag to describe it.

Assuming the twitter image is 20 pixels square your code would be
<img src="images/twitter.jpg" width="20" height="20" alt="Twitter Icon" />

You could also add a title tag and a class to the image if you wanted to
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[] - Jordan - 05-22-2014, 10:06 AM
[] - Franco - 05-22-2014, 10:12 AM
[] - alfie - 05-22-2014 10:24 AM
[] - santos - 05-22-2014, 10:40 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)