English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
O marcador <br> HTML define um caractere de nova linha dentro do texto do documento HTML. Este rótulo também é conhecido como elemento <br>. O elemento <br> HTML gera um símbolo de nova linha (enter) no texto. Este elemento é muito útil em poemas e endereços, onde as quebras de linha são muito importantes.
A seguir, o código que marca uma quebra de linha:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Site de Tutoriais Básicos(oldtoolbag.com)</title> </head> <body> <p> Use o elemento <br> para quebrar linha no texto.<br> </p> <p>O parágrafo começa aqui<br> and ends on the next line./p> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the <br> tag.
The <br> tag inserts a simple line break.
The <br> tag is an empty tag, meaning it does not have a closing tag.
The HTML <br> element is located within the <body> tag.
The <br> tag simply moves the text to the next line, unlike the <p> tag at this point with a </ p> has less vertical blank space when closed compared to.
None.
In HTML, the <br> tag does not have a closing tag.
In XHTML, the <br> tag must be closed correctly, like this: <br /> .
<br> tag support HTML global attributes.
<br> tag support HTML event attributes.
HTML tutorial:HTML paragraph