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:
Create a new folder (in the Explorer, Finder etc.)
Open the folder in VS Code
Create a new file (File -> New File… ->
index.html
)Paste the code
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>