English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständige Liste der HTML-Tags

HTML: <br> Symbol

Das HTML <br>-Tag definiert einen Zeilenumbruch im Text eines HTML-Dokuments. Dieses Tag wird auch als <br>-Element bezeichnet. Das HTML <br>-Element erzeugt in Text ein Zeilenumbruchsymbol (Eingabe). Dieses Element ist besonders nützlich für Gedichte und Adressen, wo Zeilenumbrüche sehr wichtig sind.

Online-Beispiel

Nachfolgender Code markiert einen Zeilenumbruch:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Grundlagen-Tutorial-Website(oldtoolbag.com)</title> 
</head>
<body>
<p> 
Verwenden Sie das <br>-Element<br>um in Text zu Zeilen zu brechen. 
</p>
<p>Der Abschnitt beginnt hier<br>
and ends on the next line.</p>
</body>
</html>
Test to see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the <br> tag.

Tag Definition and Usage Description

The <br> tag inserts a simple line break.

The <br> tag is a void tag, meaning it does not have a closing tag.

Tips and Notes

The HTML <br> element is located within the <body> tag.
<br> tag just drags the text to the next line, compared to <p> tag at this point with </ Closing <p> produces less vertical blank space than <br> at this point with <

HTML 4.01 With HTML5Differences

None.

Differences Between HTML and XHTML

In HTML, the <br> tag does not have a closing tag.

In XHTML, the <br> tag must be properly closed, for example: <br /> .

Global Attributes

<br> Tag Supported HTML Global Attributes.

Event Attributes

<br> Tag Supported HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Paragraph