From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/html/element/nobr/index.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 files/pt-br/web/html/element/nobr/index.html (limited to 'files/pt-br/web/html/element/nobr') diff --git a/files/pt-br/web/html/element/nobr/index.html b/files/pt-br/web/html/element/nobr/index.html new file mode 100644 index 0000000000..87d37a0de3 --- /dev/null +++ b/files/pt-br/web/html/element/nobr/index.html @@ -0,0 +1,26 @@ +--- +title: +slug: Web/HTML/Element/nobr +tags: + - Elemento + - HTML + - Não-padrão + - Referencia +translation_of: Web/HTML/Element/nobr +--- +
{{non-standard_header}}
+ +

Sumário

+ +

O elemento HTML <nobr> previne que um texto quebre em uma nova linha automaticamente, de forma que ele seja exibido em uma única grande linha, podendo tornar o scroll (horizontal) necessário. Esta tag não é padrão HTML e não deve ser usada. Como alternativa, use a propriedade CSS {{Cssxref("white-space")}} como segue:

+ +
<span style="white-space: nowrap">Texto longo sem quebras de linha</span>
+ +

Ver também

+ + + +
{{HTMLRef}}
-- cgit v1.2.3-54-g00ecf