what is the html tag for a link?

Recommended Answers

All 3 Replies

It would be

              <a href="url">Link text</a>

You could have googled that BTW....

I am assuming that ibra.kitandwe is really asking about an anchor (hyperlink). So just to clarify, there is an HTML element for a link, not to be confused for an anchor.

You can use the link element to define the relationship between a document and an external resource, such as a style sheet. For example...

<link rel="stylesheet" type="text/css" href="style.css">

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.