Published online by Cambridge University Press: 05 May 2013
This appendix provides complete programs of the keyword program from the Chapter 10. It consists of
a section introducing the basic HTML concepts,
a section containing the complete IndexGen program, and
a section containing the complete NextLevelRefs program.
The remaining program for the keyword example: MakeWebCat, appears in Table 10.19. The source can also be found on the homepage of the book.
Web source files
The source of a web-page is a file encoded in the HTML (Hyper Text Mark-up Language) format. This section gives a brief introduction to HTML using the library documentation web-page as an example.
An HTML file is an ordinary text file using a special syntax. Certain characters like <, >, & and “ are delimiters defining the syntactical structure. The file consists of elements of the form <…> intermixed with text to be displayed. The following construction will for instance make a button with a link to a web-page:
<a href="http://msdn.microsoft.com/en-us/library/ee353439.aspx"> active pattern</a>
The text:
active pattern
is displayed in the button and a click will cause the browser to select the web-page given by the URI:
http://msdn.microsoft.com/en-us/library/ee353439.aspx
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.