English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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.
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 ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the <br> tag.
The <br> tag inserts a simple line break.
The <br> tag is a void tag, meaning it does not have a closing tag.
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 <
None.
In HTML, the <br> tag does not have a closing tag.
In XHTML, the <br> tag must be properly closed, for example: <br /> .
<br> Tag Supported HTML Global Attributes.
<br> Tag Supported HTML Event Attributes.
HTML Tutorial:HTML Paragraph