Name
<LISTING> — NN all IE all HTML <4
Synopsis
<LISTING>...</LISTING>
End Tag: Required
The LISTING
element displays its content in a monospace font as a block element,
as in computer code listings rendered 132 columns wide. In most
browsers, the font size is also reduced from the default size.
Browsers observe carriage returns and other whitespace in element
content. This element has been long deprecated in HTML and has even
been removed from the HTML 4.0 specification. You are encouraged to
use the PRE element instead.
Example
<LISTING>
<SCRIPT LANGUAGE="JavaScript">
document.write("Hello, world.")
</SCRIPT>
</LISTING>Object Model Reference
- IE
[window.]document.all.elementID
Attributes
|
|
|
|
|
|
|
|
Event Handler Attributes
|
Handler |
NN |
IE |
HTML |
|---|---|---|---|
onClick |
n/a |
4 |
n/a |
onDblClick |
n/a |
4 |
n/a |
onDragStart |
n/a |
4 |
n/a |
onHelp |
n/a |
4 |
n/a |
onKeyDown |
n/a |
4 |
n/a |
onKeyPress |
n/a |
4 |
n/a |
onKeyUp |
n/a |
4 |
n/a |
onMouseDown |
n/a |
4 |
n/a |
onMouseMove |
n/a |
4 |
n/a |
onMouseOut |
n/a |
4 |
n/a |
onMouseOver |
n/a |
4 |
n/a |
onMouseUp |
n/a |
4 |
n/a |
onSelectStart |
n/a |
4 |
n/a |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access