2
0

add files of code before my time in the class

This commit is contained in:
Schuledaniel
2025-11-18 13:35:07 +01:00
parent 861ebfbe3d
commit 4632ceaac0
23 changed files with 970 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML-Grundlagen: Grafiken</title>
</head>
<body>
<h1>HTML-Grundlagen: Grafiken</h1>
<h2>Grafiken ohne Zusammenhang zum Text</h2>
<!-- src und alt sind Pflicht-Attribute -->
<img src = "images/pic.jpg" alt = "Bild von WvSS in Vietnam">
<h2>Abbildung mit Bezug zum Text</h2>
<figure>
<img src = "images/pic.jpg" alt = "Erklärendes Bild">
<figcaption>Abb 1.1 Vergaser</figcaption>
</figure>
<h2>Falls Grafik mit hoher Auflösung für verschiedene Endgeräte</h2>
<picture>
<!-- Desktop -->
<source media="(min-width:950px)" srcset="large.jpg">
<!-- Laptop -->
<source media="(min-width:465px)" srcset="medium.jpg">
<!-- Smartphone -->
<img src="small.jpg" alt="Flowers">
</picture>
</body>
</html>