HTML Basics — Web Development Übungsblatt
HTML (HyperText Markup Language) structures web page content using elements (tags). Every page needs <!DOCTYPE html>, <html>, <head> (metadata), and <body> (visible content).
Semantic tags describe meaning: <header>, <nav>, <main>, <article>, <section>, <footer>. Headings <h1>–<h6> create hierarchy — use one main h1 per page. Links use <a href="url">text</a>.
Images need alt text for accessibility: <img src="photo.jpg" alt="description">. Lists: <ul>/<ol> with <li> items. Forms use <form>, <input>, <label>, and <button>.
Geübte Fähigkeiten
- Writing valid HTML document structure
- Using semantic and heading tags
- Creating links, lists, and images
- Applying basic accessibility (alt text, labels)
Übungsblatt: HTML Basics
Anleitung: Löse jede Aufgabe sorgfältig. Zeige deine Arbeit klar. Schreibe deine endgültige Antwort in das vorgesehene Feld oder wie angewiesen auf ein separates Blatt.
-
1.What does the acronym HTML stand for?
HTML Basics — Übungsblatt (Fortsetzung)
-
2.Which tag is used to create a hyperlink in HTML?
- A.
<link> - B.
<href> - C.
<a> - D.
<url>
- A.
HTML Basics — Übungsblatt (Fortsetzung)
-
3.Write the HTML code to create a paragraph of text that says “Hello, World!”
HTML Basics — Übungsblatt (Fortsetzung)
-
4.Which of the following is the correct way to insert an image in HTML?
- A.
<img src="image.jpg"> - B.
<image src="image.jpg"> - C.
<img href="image.jpg"> - D.
<picture src="image.jpg">
- A.
HTML Basics — Übungsblatt (Fortsetzung)
-
5.What is the purpose of the
<title>tag in HTML? -
6.List three common HTML tags used for text formatting (e.g., bold, italic, underline).
HTML Basics — Übungsblatt (Fortsetzung)
-
7.Write the HTML code to create an ordered list with three items: “Apples”, “Bananas”, and “Cherries”.
HTML Basics — Übungsblatt (Fortsetzung)
-
8.Which tag is used to define a table row in HTML?
- A.
<tr> - B.
<td> - C.
<th> - D.
<table>
- A.
HTML Basics — Übungsblatt (Fortsetzung)
-
9.Explain the difference between the
<div>and<span>tags in HTML. -
10.Write the HTML code to create a heading that says “Welcome to My Website” using the largest heading size.
Lösungsschlüssel
-
1.
Endgültige Antwort: HyperText Markup Language
-
2.
Endgültige Antwort: C.
<a> -
3.
Endgültige Antwort:
<p>Hello, World!</p> -
4.
Endgültige Antwort: A.
<img src="image.jpg"> -
5.
Endgültige Antwort: The
<title>tag defines the title of the web page, which appears in the browser's title bar or tab. -
6.
Endgültige Antwort:
<b>(bold),<i>(italic),<u>(underline) (Other common answers:<strong>,<em>,<mark>, etc.)
Lösungsschlüssel (Fortsetzung)
-
7.
Endgültige Antwort:
<ol>; \qquad<li>Apples</li>; \qquad<li>Bananas</li>; \qquad<li>Cherries</li>;</ol> -
8.
Endgültige Antwort: A.
<tr> -
9.
Endgültige Antwort:
<div>is a block-level element used to group larger sections of content, while<span>is an inline element used to group small pieces of text or elements within a line. -
10.
Endgültige Antwort:
<h1>Welcome to My Website</h1>
Häufige Fehler, die es zu vermeiden gilt
- Skipping DOCTYPE or html/head/body structure
- Using headings for font size only (skipping levels)
- Missing alt attributes on images
- Confusing <div> (generic) with semantic tags when meaning exists
Erstelle dein eigenes Arbeitsblatt
Möchtest du neue html basics-Aufgaben in deiner gewünschten Schwierigkeit? Nutze WorksheetSmith, um in Sekunden ein individuelles, druckfertiges PDF zu erstellen.
Zuletzt aktualisiert: 2026