From a67727e6ff873813221f1472490874625650363c Mon Sep 17 00:00:00 2001 From: Emmanuel Srivastava Date: Wed, 27 Nov 2024 10:24:47 +0100 Subject: [PATCH] update --- DEV | 1 + DEV.1.2/csv2html.c | 25 +++++++++++++++++++++++++ DEV.1.2/tp1/ex0.html | 14 ++++++++++++++ DEV.1.2/tp1/ex1.html | 23 +++++++++++++++++++++++ DEV.1.2/tp1/ex2.html | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) create mode 160000 DEV create mode 100644 DEV.1.2/csv2html.c create mode 100644 DEV.1.2/tp1/ex0.html create mode 100644 DEV.1.2/tp1/ex1.html create mode 100644 DEV.1.2/tp1/ex2.html diff --git a/DEV b/DEV new file mode 160000 index 0000000..07a9e6c --- /dev/null +++ b/DEV @@ -0,0 +1 @@ +Subproject commit 07a9e6c81e6c9cfaff262d94d2a584b95c4f8872 diff --git a/DEV.1.2/csv2html.c b/DEV.1.2/csv2html.c new file mode 100644 index 0000000..3824421 --- /dev/null +++ b/DEV.1.2/csv2html.c @@ -0,0 +1,25 @@ +#include + +/* csv2html < file.csv > file.html */ + +int main(int argc, char *argv[]) +{ + int s; + + printf("\n\n\n
"); + + while ((s = getchar()) != EOF) { + switch(s) { + case '\n': printf("
"); break; + case ';': printf(""); break; + case '<': printf("<"); break; + case '>': printf(">"); break; + case '&': printf("&"); break; + default: putchar(s); + } + } + + puts("
"); + + return 0; +} diff --git a/DEV.1.2/tp1/ex0.html b/DEV.1.2/tp1/ex0.html new file mode 100644 index 0000000..f367f19 --- /dev/null +++ b/DEV.1.2/tp1/ex0.html @@ -0,0 +1,14 @@ + + + + + My first HTML5 document + + +

My first HTML5 document

+ +

HTML5 est vraiment super !

+ + + + \ No newline at end of file diff --git a/DEV.1.2/tp1/ex1.html b/DEV.1.2/tp1/ex1.html new file mode 100644 index 0000000..9e37b0a --- /dev/null +++ b/DEV.1.2/tp1/ex1.html @@ -0,0 +1,23 @@ + + + + + structurage de contenu + + + +

Le W3C

+ Le W3C est un consortium créé le par Tim Berners-Lee, principal
+ inventeur du World Wide Web en , pour promouvoir la compatibilité et donc
+ la normalisation des technologies du World Wide Web. Avant le W3C, c'était l'IETF,
+ un autre organisme important de l'Internet, qui était en charge de cette mission.

+ Le W3C a par exemple standardisé les technologies HTML et XML. +

+ + + + + + + + diff --git a/DEV.1.2/tp1/ex2.html b/DEV.1.2/tp1/ex2.html new file mode 100644 index 0000000..3ebe8a2 --- /dev/null +++ b/DEV.1.2/tp1/ex2.html @@ -0,0 +1,39 @@ + + + + + structurage de contenu + + + Emoticons history +

Emoticons

+ Emoticons are textual portrayals of a writer's moods or facial
+ expressions in the form of icons. Originally, these icons
+ consisted of ASCII art.

+ + Emoticons geography and differences +

Emoticons can generally be divided into two groups: Western (mainly
+ from America and Europe) or horizontal; Eastern or vertical (mainly
+ from east Asia).

+ Western +

+ +

+ Western style emoticons are mostly written from left to right as
+ though the head is rotated counter-clockwise 90 degrees.

+ +

Smiley: :‑) :->
+ Tongue-tied: :‑&
+ Broken heart: <\3
+ Rose: @}->--
+ Fish: ><(((*>

+ Eastern

+ Eastern emoticons generally are not rotated sideways. They first
+ arose in Japan, where they are referred to as kaomoji.

+ + + + + + +