A value of nowrap means that the text won't have automatic lines inserted, and that can lead very long lines that force the browser to display horizontal scroll bars.
You can use white-space: pre to display code samples. Unlike <pre>, the font isn't automatically monospaced.
<html> <head> <title>Simple HTML Page</title> </head> <body> <h1>Simple HTML Page</h1> <p>This is a basic HTML web page.</p> </body> </html>