NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

HTML XHTML The Complete Reference
home » reference » appendix a » html element reference

<nobr> (No Breaks)


This proprietary element renders enclosed text without line breaks. Break points for where text may wrap can be inserted using the wbr element.

Common Syntax


<nobr
class="class name(s)"
id="unique alphanumeric identifier"
style="style information"
title="advisory text">

</nobr>

Attributes Defined by Internet Explorer


contenteditable=" false | true | inherit "(5.5)
dir="ltr | rtl"(5.5)
disabled="false | true"(5.5)
unselectable="on | off"(5.5)

Events Defined by Internet Explorer


onbeforeactivate, onbeforecopy, onbeforecut, onbeforeedit, ondragleave, ondragover, ondragstart, ondrop, onfocusin, onfocusout, onhelp, onlosecapture, onmouseenter, onmouseleave, onmousewheel, onpaste, onpropertychange, onreadystatechange, onscroll, onselectstart

Examples


<nobr>This really long text ... will not be broken.</nobr>

<nobr>With this element it is often important to hint where a line may be broken using &lt;wbr&gt;.<wbr> This element acts as a soft return.</nobr>

Compatibility


No standards
Internet Explorer 2, 3, 4, 5, 5.5, 6
Netscape 1.1, 2, 3, 4, 4.5-4.8,6, 7
Opera 4-7

Notes


While many browsers support this attribute, it is not part of any W3C standard.

(X)HTML Elements
CSS Properties
Previous: multicol Next: noembed
< Home | About | Chapters | Examples | Errata | Reference | Site Map >