Site web - Les trucs à garder en memoire

HTML

Consectetur adipiscing elit. Inscite autem medicinae et gubernationis ultimum cum ultimo sapientiae comparatur.


CSS

Grid View

Concept de base pour la construction d'un modele de page/de site

https://www.w3schools.com/css/css_rwd_grid.asp

 

responsive design template

Nouvelle fonctionnalité de la derniere version de CSS, les pages vont se comporter differement en fonction de la taille de l'ecran. Permet le portage automatique vers les telephones portables, tablettes et PC dont le tailles d'ecran varient.

En plus des actions sont possibles en fonctions de la taille, par exemple la couleur du fond d'ecran peut changer.

Assez impressionnant.

 

tooltip

Un petit texte quand vous passer sur un mot

https://www.w3schools.com/css/css_tooltip.asp

 


PHP

PHP supports one error control operator: the at sign (@). When prepended to an expression in PHP, any error messages that might be generated by that expression will be ignored.

If the track_errors feature is enabled, any error message generated by the expression will be saved in the variable $php_errormsg. This variable will be overwritten on each error, so check early if you want to use it.

 

<?php
/* Intentional file error */
$my_file = @file ('non_existent_file') or
    die (
"Failed opening file: error was '$php_errormsg'");

// this works for any expression, not just functions:
$value = @$cache[$key];
// will not issue a notice if the index $key doesn't exist.

?>