-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintroimgs.html
51 lines (41 loc) · 1.47 KB
/
introimgs.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Intro imágenes</title>
<style>
.mwidth{
width: 100%;
}
figure > img{
width: 80vw;
height: 40vh;
object-fit: cover;
}
/* img {
width: 300px;
height: 300px;
object-fit: contain;
} */
</style>
</head>
<body>
<figure>
<img src="img/periodic-table-of-html-elements.png" alt="">
<figcaption>Tabla pewriódica de elementos HTML</figcaption>
</figure>
<picture>
<source media="(min-width:950px)" srcset="img/img_pink_flowers.jpg">
<source media="(min-width:665px)" srcset="img/img_white_flower.jpg">
<img src="img/img_orange_flowers.jpg" alt="Flowers">
</picture>
<img class="hiper" src="img/escocia.jpg" alt="Texto alternativo descriptivo" title="Título informastivo">
<img class="hiper" src="img/gif1.gif" alt="gif animado">
<img src="img/imgs/tomato2.svg" alt="imágen svg">
<img class="mwidth" src="img/img_pink_flowers.jpg" alt="">
<div>
<img src="img/imgs/background.jpg" alt="">
</div>
</body>
</html>