Jump to content

[Résolu] - [Tips] Amélioration du fichier "header.tpl"


Recommended Posts

Vous allez dire que je fais dans le [très] petit détail  ;)

 

Pour que l'en-tête du document xhtml ait une correspondance de doctype avec la langue sélectionnée, je me suis permis d'ajouter cette modification (#line  1 and 2 #):

 

[pre]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}" lang="{$lang_iso}">

<head>[/pre]

 

Comme vous le constatez j'utilise un doctype xhtml strict (ce qui m'oblige à changer quelques petites choses afin d'obtenir une validation w3c du document)

 

Si cela peut intéresser quelqu'un.

 

Cordialement,

 

Patrick.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...