HTML + CSS Flashcards

(14 cards)

1
Q

Was bedeutet HTML?

A

Hypertext Markup Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Was ist eine URL?

A

Uniform Resource Locator; eindeutige Adresse einer Ressource im Web

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Nenne die bestandsteile einer URL

A

Protokoll (z. B. https), Hostname (Server), Ressource (Pfad/Datei)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Aufgaben des <head>

A

Metadaten wie Titel, Encoding, Stylesheets, Skripte, Verweise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Aufgaben des <body>

A

Sichtbarer Inhalt der Webseite (Text, Bilder, Videos

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Was ist das DOM?

A

Baumstruktur eines HTML-Dokuments, auf die JavaScript zugreifen kann

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Wozu dient das DOM praktisch?

A

Lesen, verändern und manipulieren von HTML-Elementen per JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Bedeutung des id-Attributs

A

Eindeutiger Bezeichner; darf im Dokument nur einmal vorkommen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Unterschied Block- vs. Inline-Elemente

A

Block: volle Zeile; Inline: nur so breit wie Inhalt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Zweck des <a>-Tags</a>

A

Erzeugt Hyperlinks zu Seiten, Ankern, E-Mails oder Programmen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Warum reicht HTML-Validierung nicht für Sicherheit?

A

Sie läuft clientseitig und kann umgangen werden.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Was macht der Browser mit einer HTML-Datei?

A

Er parst sie, erzeugt das DOM und rendert die Seite.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Was bedeutet CSS?

A

Cascading Style Sheet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Nenne drei Arten CSS einzubinden in HTML

A

Inline-CSS, <style> im HTML, externe .css-Datei</style>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly