50 lines
1.7 KiB
Markdown
50 lines
1.7 KiB
Markdown
```html
|
|
<DOCTYPE html>
|
|
<html language="de">
|
|
<header>
|
|
<meta charset="UTF-8" />
|
|
<title>Esoterische Programmiersprachen</title>
|
|
</header>
|
|
<body>
|
|
<h1>LOLCODE</h1>
|
|
<p>
|
|
LOLCODE ist eine esoterische Programmiersprache (angelehnt an den Netzjargon Lolspeak des
|
|
humoristischen Internet-Phänomens Lolcat) und wurde im Jahr 2007 von Adam Lindsay an
|
|
der Lancaster University entwickelt.
|
|
</p>
|
|
<h2>"Hello World" in LOLCODE<h2>
|
|
<pre>
|
|
HAI 1.2
|
|
CAN HAS STDIO?
|
|
VISIBLE "HAI WORLD!"
|
|
KTHXBYE
|
|
</pre>
|
|
</html>
|
|
</body>
|
|
```
|
|
|
|
1. `<DOCTYPE html>` zu `<!DOCTYPE html>`
|
|
2. `<html language="de">` zu `<html lang="de">`
|
|
3. `<header>` zu `<head>`
|
|
4. `<h2>"Hello World" in LOLCODE<h2>` zu `<h2>"Hello World" in LOLCODE</h2>`
|
|
5. `</body>`-Tags so, dass es vor `</html>`
|
|
|
|
# 2
|
|
|
|
1.
|
|
- A hierarchically correct `main` element is one whose ancestor elements are limited to `html`, `body`, `div`, `form` without an accessible name, and autonomous custom elements. Each `main` element must be a hierarchically correct main element.
|
|
- https://html.spec.whatwg.org/multipage/grouping-content.html#the-main-element
|
|
2.
|
|
- A custom data attribute is an attribute in no namespace whose name starts with the string "`data-`", has at least one character after the hyphen, is [XML-compatible](https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible), and contains no [ASCII upper alphas](https://infra.spec.whatwg.org/#ascii-upper-alpha).
|
|
- https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes
|
|
3.
|
|
- ne
|
|
|
|
# 3
|
|
|
|
1. `<a href="../articles/article1.html">Zu Artikel 1</a>`
|
|
2. `<a href="/web/index.html">Zur Startseite</a>`
|
|
3. `<a href="../../web/index.html">Zurück zur Startseite</a>`
|
|
|
|
|