TOC
wwworkshop
Uni Köln

html
head
title
body

1.2
Ordner erstellen und ersten Code schreiben

Schreibe deinen ersten Code, indem du die folgenden Schritte durchführst.

Write your first code, by following these steps:

  1. Create a new folder (in the Explorer, Finder etc.)

  2. Open the folder in VS Code

  3. Create a new file (File -> New File… -> index.html)

  4. Paste the code

  5. Press “Go Live” (all the way at the bottom right corner)

The result should be an empty page

???

The html element is used to indicate the beginning and end of an HTML page. The head element contains meta information and the body element contains the content of the page.

The meta element is used to hold various meta information. title contains the title of the page (which is shown in places like the browser tab or search results).

<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Titel</title>
</head>
<body>
    
</body>
</html>