Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| web:id_classes [2026/03/08 19:25] – created swe | web:id_classes [2026/03/08 19:29] (current) – swe | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # | + | # class und id in HTML/CSS |
| ## 1. Einstieg: Problem erzeugen | ## 1. Einstieg: Problem erzeugen | ||
| Line 5: | Line 5: | ||
| Gegeben ist folgender html-Code sowie css: | Gegeben ist folgender html-Code sowie css: | ||
| - | ```html | + | ```xml |
| < | < | ||
| < | < | ||
| Line 30: | Line 30: | ||
| --- | --- | ||
| - | # 2. Die `id` | + | # 2. Die id |
| Line 38: | Line 38: | ||
| HTML: | HTML: | ||
| - | ```html | + | ```xml |
| <p id=" | <p id=" | ||
| ``` | ``` | ||
| Line 60: | Line 60: | ||
| --- | --- | ||
| - | # 3. Die `class` | + | # 3. Die class |
| Line 69: | Line 69: | ||
| HTML: | HTML: | ||
| - | ```html | + | ```xml |
| <p class=" | <p class=" | ||
| <p class=" | <p class=" | ||
| Line 96: | Line 96: | ||
| HTML: | HTML: | ||
| - | ```html | + | ```xml |
| <p class=" | <p class=" | ||
| ``` | ``` | ||