Vad är en dator?

What does html code look like?

Nowadays programmers have made most things user-friendly, so that the basic job of making a web-site can be done without ever looking at the code, although this is needed for a final polishing...

But even the code itself is rather human, actually, and quite understandable even for us ordinary mortals - no less than a work of genius, considering what it can achieve as a universal language between different computers.

Basically, a web-page is nothing more than a simple text document, which can be written with an ordinary word processor. It consists of the text we read, of course, and apart from that a load of instructions to the reader's computer to sow some text bold here in italics there, indented this or that much, coloured to please you, and so on...

The beginning of an instruction is shown <inside this kind of bracket>, the end </like this>

Then there is further information that a picture is to be placed after a particular paragraph, with or without a frame, as well as where the computer can find the picture; that a piece of music is to sound, or an animation is to be played when a particular page opens, or when the reader asks for it with a click of the mouse.

And then the links, instructions that, when the reader clicks on a picture or a bit of marked text, the computer is to show a different, named, page instead of the present one...

Details of the basic text colour, background colour or -pattern, title, etc. got out of the way at the beginning.

Here comes part of the code for the beginning of this page:


MAIN PAGE