Cours php
Pierre-Nicolas Clauss
Laboratoire Lorrain de Recherche en Informatique et ses Applications
12 mars 2008
pierre-nicolas.clauss@loria.fr (LORIA)
Cours HTML / CSS / PHP / MySQL
12 mars 2008
1 / 63
Plan
1
HTML CSS PHP (My)SQL
2
3
4
pierre-nicolas.clauss@loria.fr (LORIA)
Cours HTML / CSS / PHP / MySQL
12 mars 2008
2 / 63
Plan
1
HTML
2
3
4
HTML Introduction Texte en HTML Listes en HTML Tableau en HTML CSS Utilité Syntaxe PHP Introduction Eléments du langage PHP avec HTML (My)SQL Introduction à SQL MySQL avec PHP
Cours HTML / CSS / PHP / MySQL 12 mars 2008 3 / 63
pierre-nicolas.clauss@loria.fr (LORIA)
Plan
1
HTML
Introduction
2
3
4
HTML Introduction Texte en HTML Listes en HTML Tableau en HTML CSS Utilité Syntaxe PHP Introduction Eléments du langage PHP avec HTML (My)SQL Introduction à SQL MySQL avec PHP
Cours HTML / CSS / PHP / MySQL 12 mars 2008 4 / 63
pierre-nicolas.clauss@loria.fr (LORIA)
Généralités sur l'HTML
Language descriptif Balises
HTML
Introduction
Pas de séquences de contrôle Description de la sémantique du document Balise ouvrante : Balise fermante : Les deux en une : W3C : http ://www.w3c.org Dernière version : HTML 4.01 Strict Transitional Frameset Validation automatique : http ://validator.w3.org Balise DOCTYPE, sur la première ligne du chier
Cours HTML / CSS / PHP / MySQL
Standardisé
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http ://www.w3.org/TR/html4/loose.dtd"> 12 mars 2008 5 / 63
pierre-nicolas.clauss@loria.fr (LORIA)
Généralités sur l'HTML
HTML
Introduction
Encapsulation de type "pile" (Mal)formation incorrect correct
Structure arborescente Arbre minimal
pierre-nicolas.clauss@loria.fr (LORIA)
Cours HTML / CSS / PHP / MySQL
12 mars 2008
6 / 63
Généralités sur l'HTML
HTML
Introduction
Commentaires entre HTML + XML =>