User Tools

Site Tools


en:public:developer:template_system:tags:headelement:doctype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:public:developer:template_system:tags:headelement:doctype [2013/02/17 11:47]
admin created
en:public:developer:template_system:tags:headelement:doctype [2013/04/01 14:02] (current)
svanderclock [Cfgpages configuration]
Line 1: Line 1:
-===== <#doctype> =====+====== <#doctype> ======
  
 This tag gives the HTML <!DOCTYPE> Declaration of the current page This tag gives the HTML <!DOCTYPE> Declaration of the current page
Line 6: Line 6:
  
 The doctype declaration is taken from the [[en:public:developer:template_system:cfgpages]].  The doctype declaration is taken from the [[en:public:developer:template_system:cfgpages]]. 
-if for exemple the [[en:public:developer:template_system:cfgpages]] contain the node+If for exemple the [[en:public:developer:template_system:cfgpages]] contain the node
  
 <code xml>  <code xml> 
Line 16: Line 16:
 </code> </code>
  
-the result of <#doctype> will be //<!DOCTYPE html>//+the result of <#doctype>; for the page "/"; will be //<!DOCTYPE html>//
  
 ==== Default ==== ==== Default ====
  
-if [[en:public:developer:template_system:cfgpages]] does not contain the node doctype then default +if [[en:public:developer:template_system:cfgpages]] does not contain the node doctype for the current 
-value will be returned :+page then this default value will be returned :
  
 <code html> <code html>
-  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">+  <!DOCTYPE html>
 </code> </code>
    
Line 36: Line 36:
  
 <code html> <code html>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">+<!DOCTYPE html>
 </code> </code>
  
en/public/developer/template_system/tags/headelement/doctype.1361087225.txt.gz · Last modified: 2013/02/17 11:47 by admin