HTML - tags - <listing>

#78 of 147
listing
Next main
Prev link

 <html>
 <body>
     <p>The tree command produces the following output:</p>
     <listing>
         C:.
         ├───Program Files
         │   ├───Adobe
         │   ├───Bonjour
         ...
     </listing>
 </body>
 </html>
 

The listing element displays content as text, not HTML, and in a monospace font.

Obsolete Use pre instead.

A live example:


C:.
├───Program Files
│   ├───Adobe
│   ├───Bonjour
...

N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath