Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Understanding Tags, Elements, and Attributes | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
HTML Basics for Absolute Beginners (Sliced) - 1768407373666

bookUnderstanding Tags, Elements, and Attributes

Note
Important

Tags, elements, and attributes are the core building blocks of every HTML page. You'll explore each of them in detail later. For now, you're getting familiar with the basics.

Tags

Tags define elements in an HTML document. They are written inside angle brackets: <tag> and </tag> (opening + closing). The content between them is what the element contains. For example, <p>...</p> defines a paragraph.

Elements

An element = opening tag + content + closing tag. Elements can contain text or other nested elements. For example, <p>I am a paragraph.</p>, this is the complete HTML element.

Attributes

Attributes give extra information about an element. They appear inside the opening tag as name="value". They can change the element's behavior or appearance. For example, <img src="image.jpg" alt="Image" />, src sets the image URL and alt provides fallback text.

Summarizing

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

bookUnderstanding Tags, Elements, and Attributes

Swipe um das Menü anzuzeigen

Note
Important

Tags, elements, and attributes are the core building blocks of every HTML page. You'll explore each of them in detail later. For now, you're getting familiar with the basics.

Tags

Tags define elements in an HTML document. They are written inside angle brackets: <tag> and </tag> (opening + closing). The content between them is what the element contains. For example, <p>...</p> defines a paragraph.

Elements

An element = opening tag + content + closing tag. Elements can contain text or other nested elements. For example, <p>I am a paragraph.</p>, this is the complete HTML element.

Attributes

Attributes give extra information about an element. They appear inside the opening tag as name="value". They can change the element's behavior or appearance. For example, <img src="image.jpg" alt="Image" />, src sets the image URL and alt provides fallback text.

Summarizing

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6
some-alt