Pear-html_page2

Jul 20, 2023

PEAR base class for XHTML page generation

The PEARHTML_Page2 package provides a simple interface for generating an XHTML compliant page

  • supports virtually all HTML doctypes, from HTML 2.0 through XHTML 1.1 and XHTML Basic 1.0 plus preliminary support for XHTML 2.0
  • namespace support
  • global language declaration for the document
  • line ending styles
  • full META tag support
  • support for stylesheet declaration in the head section
  • support for script declaration in the head section
  • support for linked stylesheets and scripts
  • full support for header link tags
  • body can be a string, object with toHtml or toString methods or an array can be combined

Ideas for use

  • Use to validate the output of a class for XHTML compliance
  • Quick prototyping using PEAR packages is now a breeze.


Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80asm - Assembler for the Z80 microprocessor
  • Z80-asm - Z80 assembly code assembler and disassembler