what is the html tag for a link?

Recommended Answers

It would be

              <a href="url">Link text</a>
Jump to Post

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.