Tk Library Source Code

View Ticket
Login
Ticket UUID: 1076400
Title: html lib doesn't seem to support DOCTYPE tag
Type: Bug Version: None
Submitter: dgonyier Created on: 2004-12-01 00:04:28
Subsystem: html Assigned To: welch
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-07-03 02:33:18
Resolution: Fixed Closed By: mic42
    Closed on: 2006-07-02 19:33:18
Description:
the html library doesn't seem to support the DOCTYPE 
directive that should be present at the beginning of an 
HTML document to be W3C HTML 4.* compliant.

A suggested solution would be the addition of 
an ::html::doctype command that would take the doc 
type arguments e.g:

::html::doctype {HTML PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN"}

This would cause the appropriate code be generated 
when ::html::head is called, etc.
User Comments: mic42 added on 2006-07-03 02:33:18:
Logged In: YES 
user_id=302287

There is now a html::doctype command in Version 1.3.1.