[Résolu] validator.w3.org validation
Règles du forum
Pensez à faire une recherche, afin de savoir si votre problème n'a pas déjà été traité.
[IMPORTANT] N’oubliez pas que pour demander de l’aide, vous devez fournir les détails d’assistance appropriés, s’il vous plaît, lisez le règlement de l'entraide, cela nous aidera à vous donner le meilleur soutien.
Une fois le problème résolu, merci de passer votre sujet en [Résolu] en sélectionnant l'attribut en conséquence en bas de page.
Pensez à faire une recherche, afin de savoir si votre problème n'a pas déjà été traité.
[IMPORTANT] N’oubliez pas que pour demander de l’aide, vous devez fournir les détails d’assistance appropriés, s’il vous plaît, lisez le règlement de l'entraide, cela nous aidera à vous donner le meilleur soutien.
Une fois le problème résolu, merci de passer votre sujet en [Résolu] en sélectionnant l'attribut en conséquence en bas de page.
-
- Membre
- Messages: [30]
- Enregistré depuis: 1 an 1 mois
- Prénom: Daron
- Forum phpBB: https://forum.t3kk.com/index.php
- Intérêt: IT / Technology
- Emploi: Retired
validator.w3.org validation
Hi Fred, could you consider sharing the HTML code you have to show the 'validator.w3.org' approval badge on your site? No worries if you are unable to share.....
Modifié en dernier par MariePop's le 11 déc. 2024, 19:58, modifié 1 fois. (Journal des éditions)
Raison: Déplacé dans le forum idoine - Moved to the appropriate forum
Raison: Déplacé dans le forum idoine - Moved to the appropriate forum
-
- Fondateur
- Messages: [3487]
- Enregistré depuis: 5 ans
- Identité: Fred Rimbert
- Forum phpBB: https://rimbertweb.fr
- Localisation: Le Lude - Pays de la Loire
- Intérêt: GitHub
Re: validator.w3.org validation
Yes off course
In the template directory of the style Zeina edits the file overall_footer.html, find
Add after on a new ligne
Add your w3c url here: https://validator.w3.org/nu/?doc=w3c_link
Add the image in FTP to the server in ./images/w3c/
This gives this to the footer
In the template directory of the style Zeina edits the file overall_footer.html, find
Code: Tout sélectionner
<!-- EVENT overall_footer_timezone_after -->
Add after on a new ligne
Code: Tout sélectionner
<a href="https://validator.w3.org/nu/?doc=w3c_link" target="_blank">
<div class="w3c"><img src="{ROOT_PATH}images/w3c/validate.png" width="80" height="35" alt="Check the markup (HTML, XHTML, etc.) of web documents" title="Check the markup (HTML, XHTML, etc.) of web documents"></div>
</a>
Add the image in FTP to the server in ./images/w3c/
This gives this to the footer
Vous n’avez pas les permissions nécessaires pour voir les fichiers joints à ce message.
Mettre à jour son forum | Mettre à jour son style perso | Sauvegarde des fichiers du forum | Extra CSS
"Les logiciels propriétaires n'ont aucune éthique"
- Richard Stallman
-
- Membre
- Messages: [30]
- Enregistré depuis: 1 an 1 mois
- Prénom: Daron
- Forum phpBB: https://forum.t3kk.com/index.php
- Intérêt: IT / Technology
- Emploi: Retired
Re: validator.w3.org validation
Hi Fred, thanks. I put in code:
Which gives me:
However I must have done something wrong as it breaks the validator adding the following errors:
Code: Tout sélectionner
<a href="https://validator.w3.org/nu/?doc=https://forum.t3kk.com/index.php" target="_blank"> <div class="w3c"><img src="{ROOT_PATH}images/w3c/validate.png" width="80" height="35" alt="Check the markup (HTML, XHTML, etc.) of web documents" title="Check the markup (HTML, XHTML, etc.) of web documents"></div></a>
</p>
</div>
</div>
</div>
</div>
</footer>
However I must have done something wrong as it breaks the validator adding the following errors:
-
- Fondateur
- Messages: [3487]
- Enregistré depuis: 5 ans
- Identité: Fred Rimbert
- Forum phpBB: https://rimbertweb.fr
- Localisation: Le Lude - Pays de la Loire
- Intérêt: GitHub
Re: validator.w3.org validation
Here is your URL
Ajouté 3 minutes 18 secondes après :
So add this in the template
Code: Tout sélectionner
https://validator.w3.org/nu/?doc=https%3A%2F%2Fforum.t3kk.com%2F
So add this in the template
Code: Tout sélectionner
<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fforum.t3kk.com%2F" target="_blank">
<div class="w3c"><img src="{ROOT_PATH}images/w3c/validate.png" width="80" height="35" alt="Check the markup (HTML, XHTML, etc.) of web documents" title="Check the markup (HTML, XHTML, etc.) of web documents"></div>
</a>
Mettre à jour son forum | Mettre à jour son style perso | Sauvegarde des fichiers du forum | Extra CSS
"Les logiciels propriétaires n'ont aucune éthique"
- Richard Stallman
-
- Membre
- Messages: [30]
- Enregistré depuis: 1 an 1 mois
- Prénom: Daron
- Forum phpBB: https://forum.t3kk.com/index.php
- Intérêt: IT / Technology
- Emploi: Retired
Re: validator.w3.org validation
Thanks, that is now in place (and I've left it there for now), but you can see I still get errors if you check the validator here.
-
- Fondateur
- Messages: [3487]
- Enregistré depuis: 5 ans
- Identité: Fred Rimbert
- Forum phpBB: https://rimbertweb.fr
- Localisation: Le Lude - Pays de la Loire
- Intérêt: GitHub
Re: validator.w3.org validation
It's still less error than with the phpbb.com demo board
Mettre à jour son forum | Mettre à jour son style perso | Sauvegarde des fichiers du forum | Extra CSS
"Les logiciels propriétaires n'ont aucune éthique"
- Richard Stallman
-
- Membre
- Messages: [30]
- Enregistré depuis: 1 an 1 mois
- Prénom: Daron
- Forum phpBB: https://forum.t3kk.com/index.php
- Intérêt: IT / Technology
- Emploi: Retired
Re: validator.w3.org validation
LOL I see what you mean!