(10) How to add an Image by html code.
How to add an Image by html code:
To write html I am using here Notepad. To open Notepad click to start icon of computer. In search bar write notepad. Now click to notepad.
(i) Write <img src="Sid.jpg" />. Here, "Sid.jpg" is picture name. Here, you have to remember that to work this code, you have to put your picture in your test1.html file location. If you make folder than write the name of the folder before picture name. Example: <img src="Picture/Sid.jpg" />
See following example:
Code:
Output:
Video:
How to add an Image by html code:
|