Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Documentation - assorted html errors
Re: Documentation - assorted html errors - change the doctype to XHTML 1.0 Transitional [message #3494 is a reply to message #3493] Thu, 14 February 2013 07:49 Go to previous messageGo to previous message
jjtoranzo2004 is currently offline  jjtoranzo2004
Messages: 261
Registered: September 2012
Senior Member
Tony,

If you change the doctype of these pages
http://www.tonymarston.net/php-mysql/encryption.php
http://www.tonymarston.net/php-mysql/showsource.php?file=amo rtise.php
http://www.tonymarston.net/php-mysql/showsource.php?file=cal endar.php
http://www.tonymarston.net/php-mysql/showsource.php?file=con verter.php
http://www.tonymarston.net/php-mysql/showsource.php?file=dat e.class.inc
http://www.tonymarston.net/php-mysql/showsource.php?file=enc ryption.php
http://www.tonymarston.net/php-mysql/showsource.php?file=std .encryption.class.inc

to XHTML 1.0 Transitional the warnings will disappear. That doctype fits better the html style of those pages.

Compare checking http://www.tonymarston.net/php-mysql/showsource.php?file=dat e.class.inc
as HTML 4.01 Transitional
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.tonymarst on.net%2Fphp-mysql%2Fshowsource.php%3Ffile%3Ddate.class.inc& amp;charset=%28detect+automatically%29&doctype=HTML+4.01 +Transitional&group=0&user-agent=W3C_Validator%2F1.3
546 warnings

versus checking it as XHTML 1.0 Transitional
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.tonymarst on.net%2Fphp-mysql%2Fshowsource.php%3Ffile%3Ddate.class.inc& amp;charset=%28detect+automatically%29&doctype=XHTML+1.0 +Transitional&outline=1&group=1&st=1&user-ag ent=W3C_Validator%2F1.3

0 warnings
(two errors related to having a HTML 4.01 doctype and checking it as XHTML 1.0)

Only three changes are necessary:
1) Change the doctype to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

2) Change the html tag to
<html xmlns="http://www.w3.org/1999/xhtml">

3) Close the meta tag
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Documentation - Broken links
Next Topic: v1.81.0 - Syntax Error: menu-data.sql
Goto Forum:
  


Current Time: Mon Nov 25 09:07:55 EST 2024

Total time taken to generate the page: 0.04986 seconds