Podcast
Questions and Answers
Which element is used to define a hyperlink in HTML?
Which element is used to define a hyperlink in HTML?
- <href>
- <a> (correct)
- <url>
- <link>
What is the most important attribute of the element?
What is the most important attribute of the element?
- target
- href (correct)
- src
- alt
What happens when you move the mouse over a link?
What happens when you move the mouse over a link?
- The mouse arrow turns into a little hand (correct)
- The link changes color
- The link becomes underlined
- The link expands
By default, where will the linked page be displayed?
By default, where will the linked page be displayed?
What is the purpose of the target attribute?
What is the purpose of the target attribute?
Study Notes
HTML Hyperlinks
- The
<a>
element is used to define a hyperlink in HTML. - The most important attribute of the
</a><a>
element is thehref
attribute, which specifies the link destination. - When you move the mouse over a link, it becomes underlined and the cursor changes to a pointing hand.
- By default, the linked page will be displayed in the current browser window.
- The
target
attribute is used to specify where the linked page will be displayed, such as in a new tab or window.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge of HTML links and hyperlinks with this quiz. Learn about the syntax and functionality of HTML links and how they allow users to navigate between web pages.