Log In    |    Knowledge Base    |    4D Home
Tech Tip: Setting the HTML page DOCTYPE when using 4DAF Objects
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.1 | PLATFORM: Mac & Win
Published On: July 18, 2007
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack version 1.1

When embedding 4D Ajax Framework objects into an HTML page, it is recommended that the webpage doctype be set to Transitional XHTML mode like so:

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">



For this and other recommendations when adding 4D Ajax Framework objects to your web pages, go to:

For more information on XHTML, go to:

For the latest information on Web 2.0 Pack please go to: