HTML and CSS Certification Practice Test 2025 - Free HTML and CSS Practice Questions and Study Guide

Question: 1 / 400

Which HTML element is used to create a hyperlink?

<link>

<a>

The element used to create a hyperlink in HTML is the anchor element, which is represented by the <a> tag. This element allows you to define a clickable link that can direct users to another web page, a specific section within the same page, or initiate an action like downloading a file.

The <a> tag is versatile because it supports the "href" attribute, which specifies the URL or destination of the link. For instance, when you write <a href="https://www.example.com">Click here</a>, clicking on "Click here" will take the user to the specified website. Additionally, the <a> tag can be combined with other attributes like "target" to control how the linked document opens (e.g., in a new tab).

In contrast, other choices do not serve the function of creating hyperlinks. The <link> tag is used to link external resources, such as stylesheets, rather than for creating clickable links in the content. The terms <href> and <url> are not HTML elements. Instead, <href> is an attribute of the <a> tag, and "URL" is a general term for a web address. Thus, the anchor tag is the correct and primary means to create

Get further explanation with Examzify DeepDiveBeta

<href>

<url>

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy