O'Reilly logo

Extreme Programming Adventures in C# by Ron Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Adding the <pre> Tag

Just to get back in the swing of things, we’re going to add a new tag, extending the menu a bit in the process. In the course of that, we’ll see what kind of duplication we really get, compared to the kind I’ve been worrying about. Better yet, we learn something surprising!

New Stories

We’ve got a few new stories to work on:

  • Add the <pre> tag that we use to display code. Like the <P> tag, cause it to insert itself after the end of the current tag.

  • Add all the tags to the menu. Make it an Insert menu with the various tags under it.

  • Modify the <section> tag so that it adds only at the end of a preceding section, rather than in the middle like it does now.

This is a good set of stories that will make the product pretty ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required