Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Adding a Title | Metadata and the Head Element
Introduction to HTML

bookAdding a Title

The <head> element and the elements within it, such as the <title> and <meta> elements, provide important information about an HTML document that is not displayed in the main body of the page. Web browsers or search engines typically use this information to provide context or metadata about the document.

The <title> element, found within the <head> section, specifies the document's title.

The <meta> element is used to specify metadata about the document.

For example, the following code shows how to use the <meta> element to specify the author and description of an HTML document:

index.html

index.html

copy

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 1

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

Kysy minulta kysymyksiä tästä aiheesta

Tiivistä tämä luku

Näytä käytännön esimerkkejä

Awesome!

Completion rate improved to 3.45

bookAdding a Title

Pyyhkäise näyttääksesi valikon

The <head> element and the elements within it, such as the <title> and <meta> elements, provide important information about an HTML document that is not displayed in the main body of the page. Web browsers or search engines typically use this information to provide context or metadata about the document.

The <title> element, found within the <head> section, specifies the document's title.

The <meta> element is used to specify metadata about the document.

For example, the following code shows how to use the <meta> element to specify the author and description of an HTML document:

index.html

index.html

copy

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 1
some-alt