Languages
[Edit]
DE

HTML - grundlegende HTML5-Vorlage

3 points
Created by:
Nikki
10520

F├╝r jedes Projekt sieht die grundlegende┬áHTML 5-Vorlage immer folgenderma├čen aus.

1. Nur body-Element - Beispiel

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<body>
  Webseiteninhalt hier...
</body>
</html>

2. head + body-Elemente - Beispiel 1

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<head>
  <!-- head tags here... -->
</head>
<body>
  Webseiteninhalt hier...
</body>
</html>

3. head + body-Elemente - Beispiel 2

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<head>
  <style>
    /* style here */
  </style>
  <script>
    // script here
  </script>
</head>
<body>
  Webseiteninhalt hier...
</body>
</html>

4. head + body-Elemente - Beispiel 3

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Beispielvorlage</title>
  <link rel="stylesheet" href="path/to/my/styles.css" />
  <script type="text/javascript" src="path/to/my/script.js"></script>
</head>
<body>
  <p>Webseiteninhalt hier...</p>
</body>
</html>

5. head + body-Elemente - Beispiel 4

// ONLINE-RUNNER:browser;

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Beispielvorlage</title>
  <meta name="description" content="Example template description." />
  <meta name="author" content="dirask.com" />
  <link rel="stylesheet" href="path/to/my/styles.css" />
  <style>

    /* Place for styles */

  </style>
  <script type="text/javascript" src="path/to/my/script.js"></script>
</head>
<body>
  <p>Webseiteninhalt hier...</p>
  <script>

    alert('Hello world!');  

  </script>
</body>
</html>

 

Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

HTML (DE)

Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join