add html/css demos for 223015c chapter 1: html basics, widgets, a11y
This commit is contained in:
@@ -877,7 +877,7 @@ Kostenlos freigegeben → darum existiert es
|
||||
<!-- _header: '' -->
|
||||
<!-- _footer: '' -->
|
||||
|
||||

|
||||

|
||||
|
||||
<!--
|
||||
Unterseekabel-Karte: Über 400 Kabel verbinden die Kontinente.
|
||||
@@ -1267,6 +1267,8 @@ Steuert die Vorschau beim Teilen auf Mastodon, LinkedIn, Signal, MS Teams, Slack
|
||||
|
||||
# HTML-Tags und Attribute
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<body>
|
||||
<p class="wichtig">Das ist ein Absatz.</p>
|
||||
@@ -1298,6 +1300,8 @@ Steuert die Vorschau beim Teilen auf Mastodon, LinkedIn, Signal, MS Teams, Slack
|
||||
|
||||
# Vollständiges Grundgerüst
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
@@ -1373,10 +1377,10 @@ Accessibility ist eingebaut
|
||||
|
||||
---
|
||||
|
||||
[]
|
||||
|
||||
# Beispiel: Details/Summary
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<details>
|
||||
<summary>Klick mich!</summary>
|
||||
@@ -1390,6 +1394,8 @@ https://developer.mozilla.org/de/docs/Web/HTML/Reference/Elements/details
|
||||
|
||||
# Beispiel: Details/Summary (geöffnet)
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<details open>
|
||||
<summary>Klick mich!</summary>
|
||||
@@ -1404,6 +1410,8 @@ https://developer.mozilla.org/de/docs/Web/HTML/Reference/Elements/details#erstel
|
||||
|
||||
# Beispiel: Button
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<button>Add to favorites</button>
|
||||
```
|
||||
@@ -1414,6 +1422,8 @@ https://developer.mozilla.org/de/docs/Web/HTML/Reference/Elements/button
|
||||
|
||||
# Beispiel: Input/Eingabefeld
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<input
|
||||
type="text"
|
||||
@@ -1427,6 +1437,8 @@ https://developer.mozilla.org/de/docs/Web/HTML/Reference/Elements/input
|
||||
|
||||
# Beispiel: Dialog
|
||||
|
||||

|
||||
|
||||
```html
|
||||
<dialog open>
|
||||
<p>Greetings, one and all!</p>
|
||||
@@ -1629,6 +1641,8 @@ Captions ≠ Untertitel (Captions = auch Geräusche beschrieben)
|
||||
|
||||
# Operable: Bedienbar
|
||||
|
||||

|
||||
|
||||
**Tastaturzugänglich:**
|
||||
```css
|
||||
/* Fokus-Indikator NIE entfernen! */
|
||||
@@ -1657,6 +1671,8 @@ Skip-Links: "Zum Hauptinhalt springen"
|
||||
|
||||
# Understandable: Verständlich
|
||||
|
||||

|
||||
|
||||
**Sprache angeben:**
|
||||
```html
|
||||
<html lang="de">
|
||||
@@ -1682,6 +1698,8 @@ Fehlermeldungen: konkret, hilfreich, am Feld
|
||||
|
||||
# Robust: Technisch solide
|
||||
|
||||

|
||||
|
||||
**Semantisches HTML:**
|
||||
```html
|
||||
<!-- Schlecht -->
|
||||
|
||||
Reference in New Issue
Block a user