Hi everyone my friend is learning to code self taught and his struggling to make a HTML link what must he do for him to be able to make a HTML link suggestions are welcomed
hi there!
for making text or image to clickable link, you need to wrap that within anchor element <a href="valueLink">text or image element</a>
1 Like
Hi and welcome to the forum.
If you search on Google: “how to make an html link” you find many examples.
1 Like
Hello,
- FOR IMAGE:
<a href="[your_desired_location]"><img src="[image_location.image_extention]"></a>
- FOR TEXT
<a href="[desired_location]"> [place the text you want to link]</a>
PS:
Do not forget to include the image extention.
1 Like
How to nest a new anchor (a) element within the p element?
Is this for a freeCodeCamp challenge?