+ 1

I am not understanding of href code please help me understand

24th Jul 2022, 6:24 AM
Atharv The Great
3 Respostas
+ 6
★ The href is used as attribute in html documents href attribute can be used with following tags ◈ <a> ◈ <area> ◈ <base> ◈ <link> ◉ Usage of href attribute with different tags : ➜ For <a> and <area> tags : specifies the URL of the page the link goes to. ➜ For <base> tag : specifies the base URL for all relative URLs on a page. ➜ For <link> tag : specifies the location (URL) of the external resource [commonly used to embed external style sheets].
24th Jul 2022, 7:09 AM
Sujal
Sujal - avatar
+ 2
href is used in html to provide the link or target address/URL where you want to redirect after clicking that word or symbol. It is an attribute of amchor tag. For example... It can be used with anchor tag like <a href = "www.geeksforgeeks.org"> or it can also redirect to other html page of the same website.
24th Jul 2022, 6:40 AM
Pallavi Jha
Pallavi Jha - avatar
+ 2
Thank you
24th Jul 2022, 7:39 AM
Atharv The Great