473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to insert a image in a HTML codes?

How to I insert an image in the following code?
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>dsfgu</title>
  4. </head>
  5. <body>
  6. <H1>hfcuidh</H1>
  7. <H2>fiuvhids</H2>
  8. <hr>
Mar 11 '11 #1
2 2254
JKing
1,206 Expert 1GB
Do you mean insert?

If so an image tag looks something like this:
Expand|Select|Wrap|Line Numbers
  1. <img src="http://www.mywebsite.com/images/myimage.jpeg" width="50" height="50" alt="My Image Description"
  2.  
width and height are optional and can be set in your CSS instead of the html.
Mar 11 '11 #2
imavp2
7
Hi, may I add something too? The alt tag is used if you want to add a caption to your image.
Vickie
Mar 11 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jayme Assuncao Casimiro | last post by:
I am witing a wrapper to extract data from werb sites. I am storing the data in xml format. But it doesn't produce valid xml because of html codes like the above - typical of latin languages....
1
by: Alexandre Soares | last post by:
Hi, Is there a way to convert characters into their html code equivalent, for instance "à" becomes "à" or "&agrave;" Thank you! Alexandre Soares
4
by: Greg -- | last post by:
Is it possible to replace html codes, such as $#63;, to the ASCII equivalent with RegEx? Using RegEx, I'm able to obtain the 63, but I'm unable to convert it: Regex.Replace("?", "&#(.+?);",...
0
by: Atara | last post by:
I have a file path that contains unicode characters. e.g: "C:\vs2003\OutputDir???\mc_data\" I want to translate this string to HTML with unicode characters: e.g: "C:\vs2003\OutputDirאבג\data\" ...
3
by: Jonathan | last post by:
Hi I want to convert HTML codes ("!" , "#" , "$" , "%") to text ("!","#", "$", "%"). How can i do it without replacing one an one the codes? Thanks in advance
1
by: linamazari | last post by:
Hello, everyone! I am new here, as well as, new in everything about computers. I am learning to build sites through HTML. So, being not a techie, please bear with me if my questions are so basic...
5
by: clarencelai | last post by:
Hi, I have a field that store HTML codes. How do I output them to MS Access Report / MS Word in HTML format or text format? Kindly advise. Regards, Clarence
10
by: laredotornado | last post by:
Hi, I have certain blocks of Spanish text, for example ¿Necesita agregar una impresora o copiadora adicional a su forma personalizada de orden? Presione aquí. Don't know if the backwards...
3
by: Wendy Palmer | last post by:
I am using a suckerfish drop down menu and copied the html codes from their site. I can't figure out how to make the border go to the end of the drop down menu. I made the drop down menu wider but...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.