Sure! Here's a simple HTML program to create a hyperlink:
```html
<!DOCTYPE html>
<html>
<head>
<title>Hyperlink Example</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>Click the link below to visit OpenAI:</p>
<a href="https://www.openai.com">Visit OpenAI</a>
</body>
</html>
```
This program creates a basic webpage with a title, a heading, a paragraph, and a hyperlink to the OpenAI website. Save this code in a file with a `.html` extension (e.g., `index.html`) and open it in a web browser to see the hyperlink in action.
No comments:
Post a Comment