Team LiB
Previous Section Next Section

Introduction

Tidy is an incredibly useful extension for processing HTML, XHTML, and even XML markup from within your PHP scripts. Available since PHP 4.3.x with tidy 1.0, the tidy extension version 2.0 is part of the standard PHP 5.0 distribution boasting a new robust API for validating, repairing, and parsing markup from within PHP. In this chapter, I'll guide you through all the functionality tidy provides and show you how it can be used to effectively ensure that your markup meets the official Web standards.

    Team LiB
    Previous Section Next Section