the location where link tag be writen? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

the location where link tag be writen?

8th Jun 2016, 11:36 AM
fakhrul
5 Answers
+ 4
Of course, all content should be placed between <body> and </body>. But I mean what on that content you want to make link of. A word or a meaning in a paragraph, a menu item or even an image? Let's say you want to link the word 'Google' in the following paragraph: <p>Visit Google and look it up.</p> Here's how to create the link: <p>Visit <a href="www.google.com">Google</a> and look it up.</p>
8th Jun 2016, 12:32 PM
ZinC
ZinC - avatar
+ 1
Depends where you want to place a link and which text you want to link.
8th Jun 2016, 12:10 PM
ZinC
ZinC - avatar
+ 1
@ZinC thanks
8th Jun 2016, 12:35 PM
fakhrul
+ 1
I should add that there's also the <link> tag which occurred to me is what you were asking about. That tag should be placed between <head> and </head>. It's used to link to a stylesheet or a JavaScript file for example.
8th Jun 2016, 12:42 PM
ZinC
ZinC - avatar
0
@ZinC can I place it between <body> and </body>?
8th Jun 2016, 12:14 PM
fakhrul