+ 2
What is the difference between <a href...> and <link href...>?
4 Antworten
+ 4
In HTML, the <a> tag is used for creating a link on your webpage that will send your user to another website after clicking on it. The <link> tag is used for connecting an external CSS document into your code rather than writing it directly into the HTML using the <style> tag.
+ 3
If you're talking about making a photo send you to another website when you press it, then all you would need to do is surround the <img> tag around the <a> tag, providing the link in the <a> tag to the website with the image and the source of the image in the <img> tag.
<a href = "example.com">
<img src = "example.com/jpg" />
</a>
+ 1
and how can we use style tag for connecting CSS document directly
0
good and how can I insert a link to a photo?