HTML Tutorial

HTML-tagg: <title>

Vad <title> används till:

  • Anger titeln på webbsidan i webbläsarens flik och sökresultat.

Attribut för <title>:

  • Inga attribut finns för <title>.

Exempel med <title>:

<title>Min fantastiska hemsida</title>

Explorations HTML-exempel: Utforska <title>-taggen:

<!DOCTYPE html>
<html>
<head>
  <title>Utforska <title>-taggen</title>
</head>
<body>
  <h1>Välkommen till min hemsida!</h1>
</body>
</html>