Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Links | Basic Elements
Introduction to HTML

bookLinks

The anchor tag, also known as the <a> tag, is used in HTML to create a hyperlink to another webpage or a specific location on the current webpage. The anchor tag typically contains two attributes: href and target.

href

The href attribute is used to specify the destination URL of the hyperlink.

index.html

index.html

copy

The typical usage of this functionality on a website is that the logo in the navigation takes you to the homepage because it is wrapped in an anchor tag that goes to the homepage.

target

The target attribute is used to specify where the linked document should be opened.

index.html

index.html

copy

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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

Awesome!

Completion rate improved to 3.45

bookLinks

Pyyhkäise näyttääksesi valikon

The anchor tag, also known as the <a> tag, is used in HTML to create a hyperlink to another webpage or a specific location on the current webpage. The anchor tag typically contains two attributes: href and target.

href

The href attribute is used to specify the destination URL of the hyperlink.

index.html

index.html

copy

The typical usage of this functionality on a website is that the logo in the navigation takes you to the homepage because it is wrapped in an anchor tag that goes to the homepage.

target

The target attribute is used to specify where the linked document should be opened.

index.html

index.html

copy

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5
some-alt