Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > Intro Programming
Intro Programming What is a loop? Which language is best for beginners? What is "object oreinted?" All those types of questions and more are welcome here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Intro Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 17th, 2011, 01:18 AM
Registered User
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default Beginning HTML, XHTML, CSS, and Javacript Page 17 I need help

I am trying to do figure 1-11 from scratch, but I need help:

<title>Creating Preformatted Text Using the <pre> Element</title>
<p>The following text is written inside a <pre> element. Multiple spaces should be preserved and the line breaks should appear where they do in the source doucment.</p>
function testFunction(strText){
alert (strText)
} </pre>
<p>The content of the <pre> element is most likely displayed in a monospaced font.</p>

What am I doing wrong? Why is more code other than the JavaScript in Courier font,
Reply With Quote
The Following User Says Thank You to WizardElsontro For This Useful Post:

Similar Threads
Thread Thread Starter Forum Replies Last Post
BEGINNING XHTML (2000, Wrox Press) aggman BOOK: Beginning HTML, XHTML, CSS, and JavaScript 0 August 16th, 2010 02:17 PM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
Updating an Existing Website to XHTML and CSS funksoulkitty HTML Code Clinic 2 April 3rd, 2006 05:51 PM
Beginning XHTML Lynk Wrox Book Feedback 1 March 1st, 2005 11:16 PM
New HTML, XHTML, and CSS book jminatel HTML Code Clinic 0 July 30th, 2004 04:41 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.