Links are specified in HTML using the <a>
tag. Links allow users to click their way from page to page. You can click on a link and jump to another document. The "href" attribute is the most important attribute of the HTML <a>
tag.
Links are specified in HTML using the <a>
tag. Links allow users to click their way from page to page. You can click on a link and jump to another document. The "href" attribute is the most important attribute of the HTML <a>
tag.
See this example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of HTML Links</title>
</head>
<body>
<p><a href="https://nexladder.com/" title="Visit Nexladder!">Visit Nexladder!</a>.</p>
<p><a href="https://nexladder.com/html-tutorial" title="Click for HTML Tutorial!">Click for HTML Tutorial!</a>.</p>
</body>
</html>
The target attribute specifies where to open the linked document.