-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExample-5.html
35 lines (19 loc) · 970 Bytes
/
Example-5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<! Objective 1: Add image by downloading it or directly using link>
<! Objective 2: Change width and alignment>
<html>
<head>
<title>Adding Image</title>
</head>
<body>
<h1> Learn adding image to HTML page</h1>
<h3>Method 1: Adding image by downloading it</h3>
<p><img src="./Image/Image.PNG" width="200"></p>
<! Adding align="left" in above command can change alignment>
<p><i><u>Adding image without formatting</u></i></p>
<hr>
<h3>Method 2: Adding image without downloading it</h3>
<p><sup>**</sup>This method of hot linking is not recommended</p>
<p><img src="https://upload.wikimedia.org/wikipedia/en/thumb/b/bf/UEFA_Champions_League_logo_2.svg/800px-UEFA_Champions_League_logo_2.svg.png" width="200"></p>
<p><i><u>Added image using link</u></i></p>
</body>
</html>