update
This commit is contained in:
1
DEV
Submodule
1
DEV
Submodule
Submodule DEV added at 07a9e6c81e
25
DEV.1.2/csv2html.c
Normal file
25
DEV.1.2/csv2html.c
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/* csv2html < file.csv > file.html */
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
int s;
|
||||||
|
|
||||||
|
printf("<table>\n<tr><td>");
|
||||||
|
|
||||||
|
while ((s = getchar()) != EOF) {
|
||||||
|
switch(s) {
|
||||||
|
case '\n': printf("</td></tr>\n<tr><td>"); break;
|
||||||
|
case ';': printf("</td><td>"); break;
|
||||||
|
case '<': printf("<"); break;
|
||||||
|
case '>': printf(">"); break;
|
||||||
|
case '&': printf("&"); break;
|
||||||
|
default: putchar(s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
puts("</td></tr>\n</table>");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
14
DEV.1.2/tp1/ex0.html
Normal file
14
DEV.1.2/tp1/ex0.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>My first HTML5 document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>My first HTML5 <strong>document</strong></h1>
|
||||||
|
|
||||||
|
<p lang="fr">HTML5 est vraiment super !</p>
|
||||||
|
|
||||||
|
<input type="checkbox">
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
23
DEV.1.2/tp1/ex1.html
Normal file
23
DEV.1.2/tp1/ex1.html
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>structurage de contenu</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p lang="fr">Le W3C<br /><br />
|
||||||
|
Le W3C est un consortium créé le <time datetime="1994-10-01">1er octobre 1994</time> par Tim Berners-Lee, principal<br />
|
||||||
|
inventeur du World Wide Web en <time datetime="1989">1994</time>, pour promouvoir la compatibilité et donc<br />
|
||||||
|
la normalisation des technologies du World Wide Web. Avant le W3C, c'était l'IETF,<br />
|
||||||
|
un autre organisme important de l'Internet, qui était en charge de cette mission.<br /><br />
|
||||||
|
Le W3C a par exemple standardisé les technologies HTML et XML.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
39
DEV.1.2/tp1/ex2.html
Normal file
39
DEV.1.2/tp1/ex2.html
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>structurage de contenu</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<title>Emoticons history</title>
|
||||||
|
<p lang="en">Emoticons<br /><br />
|
||||||
|
Emoticons are textual portrayals of a writer's moods or facial<br />
|
||||||
|
expressions in the form of icons. Originally, these icons<br />
|
||||||
|
consisted of ASCII art.</p>
|
||||||
|
|
||||||
|
<title>Emoticons geography and differences</title>
|
||||||
|
<p lang="en">Emoticons can generally be divided into two groups: Western (mainly<br />
|
||||||
|
from America and Europe) or horizontal; Eastern or vertical (mainly<br />
|
||||||
|
from east Asia).<br /><br />
|
||||||
|
Western
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p lang="en">
|
||||||
|
Western style emoticons are mostly written from left to right as<br />
|
||||||
|
though the head is rotated counter-clockwise 90 degrees. </p>
|
||||||
|
|
||||||
|
<p>Smiley: :‑) :-><br />
|
||||||
|
Tongue-tied: :‑&<br />
|
||||||
|
Broken heart: <\3<br />
|
||||||
|
Rose: @}->--<br />
|
||||||
|
Fish: ><(((*></p>
|
||||||
|
Eastern</p>
|
||||||
|
Eastern emoticons generally are not rotated sideways. They first<br />
|
||||||
|
arose in Japan, where they are referred to as kaomoji.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user