What does a in <a> </a> stands for? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

What does a in <a> </a> stands for?

28th Nov 2016, 9:44 AM
Sachin Kadam
Sachin Kadam - avatar
5 Réponses
+ 3
you have two ways to use the a tag. first: to link to an other page (in your own website or to an external one) the a tag has to be use like this: <a href="url_where_i_want_to_point">text of the link</a> second: to link to à point of the same page. for example if you've got a long page with a lot of text. when you are in the end of the page you have to scroll to the top. But you can create an anchor at the top of This page and a link to this anchor, like This : at the top. <a name="top"></a> where "name" is what you want. at the end. <a href="#top">go to the top </a> In all case the link must be in the href attribute. it's an url or an anchor. the text between the open tag <a> and the close tag </a> is what you want. Have fun
28th Nov 2016, 10:20 AM
Laurent Doudiès
Laurent Doudiès - avatar
+ 2
it defines a hyperlink
28th Nov 2016, 10:00 AM
AREMU SAMUEL
AREMU SAMUEL - avatar
+ 1
a stands for anchor
28th Nov 2016, 12:03 PM
Maciej Tracz
Maciej Tracz - avatar
+ 1
anchor element
28th Nov 2016, 6:00 PM
Satyajeet Premnath Gaur
Satyajeet Premnath Gaur - avatar
0
the <a> tag stands for anchor link
29th Nov 2016, 8:15 AM
Orfeo Terkuci
Orfeo Terkuci - avatar