08 Jun '26, maschinenraum
webdev
image source: https://redd.it/1fpgddo
⟷
image source: https://redd.it/1fpgddo
⟷
image source: https://redd.it/1fpgddo
⟷
⤢

“what if we, like, organized our science information, but better?”
– Tim Berners-Lee (1989)
(paraphrased)
![]()
Photograph by Mike Peel (www.mikepeel.net), CC-BY-SA-4.0

first ever web server (CERN, 1990) second vr lab domain controller (BUW, 2025)
Photograph by Mike Peel (www.mikepeel.net), CC-BY-SA-4.0

The Web is a global, interconnected information system, consisting of many, many hypertext documents.
you’ll need:
npm i -g live-server, run: live-server
index.html in therelive-server, …)
<!DOCTYPE html>
<html>
<head>
<title>My site</title>
</head>
<body>
<h1>Hello!</h1>
<p>this is so cool!</p>
<img src="https://http.cat/200"/>
</body>
</html>
this is so cool!
<p> Paragraph with <b>bold</b>, <i>italic</i>, and <u>underlined</u> text </p>
<ul>
</ul>
<a href="https://example.com">Link</a><img src="https://http.cat/200"/><br/><span>hello!</span><!-- i am a comment -->
<div> is a container<div style="padding: 0.5em; background-color: lightblue">
<div style="padding: 0.5em; background-color: pink">
<div style="padding: 0.25em; background-color: white">
<marquee>hello!</marquee>
</div>
</div>
</div>
p { background-color: red; }
p is the selector, selecting all <p> elements, andbackground-color is a property…red<p class="my-cool-class">hi</p>
<p id="my-cool-id">hi</p>
p { background-color: red; }
.my-cool-class { background-color: green; }
#my-cool-id { background-color: blue; }
span.rainbow selects <span> with the rainbow classp img selects all <img> that are (somewhere) inside a <p>
p > img only selects ones that are direct childrena:hover selects all #foo that the user is hovering over
#link-pseudo-classes:hover {background-color: black; color: white}#bar:hover::before { content: "i am a link to " }this is some crazy stuff, all w/o javascript!
font-size, width, height, padding, margin, …
1 em = size of the font1 px = 1 pixel1 vh (1 vw) = height (width) of the viewport0 (nothing)% (relative to parent)Legal disclaimer for when u put a website on the internet:
Options (a very much non-exhaustive list):
abcd1234
~ became synonymous with home~abcd1234/ = /home/abcd1234/~abcd1234/public_html/Apache 1.3 Documentation, 2001
webuser.uni-weimar.deabcd1234*******there’s also some more detailed documentation from SCC

<your-name-here>.neocities.org<your-name-here>.github.ioenough of that.

slides online at: http://jakob.ruckel.de/slides/www-i/