====== HTML ====== ===== Trucs et astuces ===== ==== Base64 image ==== Il est possible d'incorporer directement les images dans le fichier html grĂ¢ce au [[http://en.wikipedia.org/wiki/Data_URI_scheme|data URI]] : Outils en ligne: * https://www.base64-image.de/ ==== Feature Detection ==== browser feature detection. https://www.html5rocks.com/en/tutorials/detection/#feature-detection ==== Form array ==== Route::get('/essai01', function () { error_log( print_r( \Request::all(), true ) ); $html = <<<"HTML" Hello World!
text1:
text2:
text2:
text3:
text3:
HTML; return $html; });
Result: [Sat Jun 3 09:51:50 2017] Array ( [text1] => text 1 [text2] => Array ( [0] => text 2.1 [1] => text 2.2 ) [text3] => Array ( [fr] => text 3.1 [en] => text 3.2 ) )