Il tag HTML <nobr>



Descrizione

Il tag HTML <nobr> per indicare al browser di non interrompere il testo (come accade quando si ridimensione la finestra di un browser).

È utilizzato con il tag <wbr> che indica al browser dove dovrebbe andare a capo il testo. A differenza del tag <br> tag, che fa andare sempre il testo a capo, il tag <wbr> funziona solo se inserito come contenuto in un elemento <nobr> e manda il testo a capo solo se necessario.

Example:

<!DOCTYPE html>
<html>
<head>
<title>HTML nobr Tag</title>
</head>
<body>
<nobr>
This is a very long sequence of text that is
forced to be on a single line, even if doing so causes
<wbr />
the browser to extend the document window beyond the
size of the viewing pane and the poor user must scroll right
<wbr />
to read the entire line.
</nobr>
</body>
</html>
This is a very long sequence of text that is forced to be on a single line, even if doing so causes the browser to extend the document window beyond the size of the viewing pane and the poor user must scroll right to read the entire line.

Attributi Globali

Questo tag supporta tutti gli attributi globali descritti in - HTML - Referenze Attributi

Compatibilità Browser

Questo tag è disponibile solo in Netscape 4 e versioni successive.

ChromeFirefoxIEOperaSafariAndroid
NoNoNoNoNoNo
html_tags_reference.htm
Advertisements