Initial commit

This commit is contained in:
Reimar 2024-03-20 17:10:27 +01:00
commit 5e613fee1a
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268
3 changed files with 134 additions and 0 deletions

3
assets/preposition.svg Normal file
View File

@ -0,0 +1,3 @@
<svg viewBox="0 0 120 80" xmlns="http://www.w3.org/2000/svg">
<path d="M 0 10 l 10 0 q 30 0, 30 20 q 0 20, 30 20 q 30 0, 30 -20 q 0 -20, 30 -20 l 10 0" stroke="black" stroke-width="15" fill="none"></path>
</svg>

After

Width:  |  Height:  |  Size: 213 B

37
assets/style.css Normal file
View File

@ -0,0 +1,37 @@
:root {
color-scheme: light dark;
}
body {
max-width: 1000px;
margin: 0 auto;
padding: 0 20px;
}
table {
border-spacing: 0;
text-align: center;
margin: 20px;
}
.preposition {
background-image: url("preposition.svg");
background-size: 10px;
background-repeat: repeat-x;
background-position: center;
}
.added {
background-color: #C8E6C9;
}
@media (prefers-color-scheme: dark) {
.preposition {
filter: invert(1);
}
.added {
background-color: #1B5E20;
}
}

94
kasus.html Normal file
View File

@ -0,0 +1,94 @@
<!DOCTYPE html>
<html lang="da">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bøjning af danske pronominer</title>
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<h1>Bøjning af danske pronominer</h1>
Mange af de oftest brugte pronominer i det danske sprog bøjes efter deres kasus. De har således følgende former:
<ul>
<li>Nominativ: <i>Jeg, du, han, hun, vi, de</i></li>
<li>Oblik: <i>Mig, dig, ham, hende, os, dem</i></li>
</ul>
Står ordet som subjekt i sætningen, bruges nominativ-formen. Ellers bruges oblik form. Her er et eksempel:
<table>
<tr>
<td>Jeg</td>
<td>&nbsp;</td>
<td>tager</td>
<td>&nbsp;</td>
<td>i skole</td>
<td>&nbsp;</td>
<td>i morgen</td>
<td>.</td>
</tr>
<tr>
<td>&times;</td>
<td></td>
<td>&#9675;</td>
<td></td>
<td class="preposition"></td>
<td></td>
<td class="preposition"></td>
<td></td>
</table>
Nu bliver der tilføjet endnu en person:
<table>
<tr>
<td>Jeg<span class="added"> og Peter</span></td>
<td>&nbsp;</td>
<td>tager</td>
<td>&nbsp;</td>
<td>i skole</td>
<td>&nbsp;</td>
<td>i morgen</td>
<td>.</td>
</tr>
<tr>
<td>&times;</td>
<td></td>
<td>&#9675;</td>
<td></td>
<td class="preposition"></td>
<td></td>
<td class="preposition"></td>
<td></td>
</table>
Ved almindelig høflighed sætter man typisk sig selv til sidst:
<table>
<tr>
<td><span class="added">Peter og </span>jeg</td>
<td>&nbsp;</td>
<td>tager</td>
<td>&nbsp;</td>
<td>i skole</td>
<td>&nbsp;</td>
<td>i morgen</td>
<td>.</td>
</tr>
<tr>
<td>&times;</td>
<td></td>
<td>&#9675;</td>
<td></td>
<td class="preposition"></td>
<td></td>
<td class="preposition"></td>
<td></td>
</table>
Læg mærke til at der står <i>jeg</i> og ikke <i>mig</i> - det at der tilføjes et navn ændrer altså ikke pronominets kasus.
</body>
</html>