add files of code before my time in the class
This commit is contained in:
30
Zweites Jahr/alt/LJ1/grafiken_e3fi1.htm
Executable file
30
Zweites Jahr/alt/LJ1/grafiken_e3fi1.htm
Executable 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>
|
||||
Reference in New Issue
Block a user