TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

HTML

HTML Hyperlinks

Overview

HTML Hyperlinks on the web page help users to navigate from one document to another document.

Syntax

Links in the web page are created using the <a> tag.

<a href = “target_URL”> Link Text </a>

When the user clicks on the Link Text, he/she will be navigated to the
specified target URL. We can specify the URL in the href attribute.

Example

<html>
<!–
####################################
# HTML Hyperlinks Demo
####################################
–>
<head>
<title> HTML Tutorials – HTML HyperLinks Demo</title>
</head>

<body>
<h1> Twitter Website </h1>

<p>
This is the link for Twitter Website:
<a href = “https://www.twitter.com”> Twitter Website Link</a>
</p>

<h1> Facebook Website </h1>
<p>
This is the for Facebook Website:
<a href = “https://www.facebook.com”> Facebook Website Link</a>
</p>

<h1> TestingDocs Website </h1>
<p>
This is the link for TestingDocs Website:
<a href = “https://www.TestingDocs.com”> TestingDocs Website Link</a>
</p>

</body>
</html>

HTML Hyperlinks

 

The link will open on the current browser window.
We can add the target=”_blank” to open the link in the new browser window or new browser tab.

 

—

HTML Tutorials

HTML Tutorials on this website:

https://www.testingdocs.com/html-tutorials/

More Information on HTML:

https://www.w3.org/TR/html401/intro/intro.html

Related Posts

Create HTML File

HTML /

Create HTML file with NetBeans IDE

HTML /

HTML5 Document Structure

HTML /

Introduction To HTML5

HTML5 Application NetBeans

HTML /

Create an HTML5 Application using NetBeans IDE

CSS Validator Tool

HTML /

HTML & CSS Validator Tools

‹ HTML Paragraph› HTML Images

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version