• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 23. Building Reusable Components > Writing Custom Tags That Display Inf...

Writing Custom Tags That Display Information

Now that you understand how to use existing custom tags, it's time to write your own. This section introduces you to the basic concepts involved in creating a custom tag. As you will soon see, it's an easy and productive way to write your code.

Writing Your First Custom Tag

It's traditional to illustrate a new language or technique with a “Hello, World” example. Listing 23.3 shows a custom tag that outputs a "Hello, World" message in the current Web page, formatted with ordinary HTML table syntax.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint