What is HREF | Sololearn: Learn to code for FREE!

0

What is HREF

10/5/2018 7:16:18 PM

Irham Rizqan Zakiy

5 Answers

New Answer

+2

The HREF is an attribute of the anchor tag, which is also used to identify sections within a document. The HREF contains two components: the URL, which is the actual link, and the clickable text that appears on the page, called the "anchor text Definition and Usage. The <a> tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link's destination. By default, links will appear as follows in all browsers: An unvisited link is underlined and blue

0

it's the place in a link that refers to the website or id you want it to refer to syntax : href="#myId" or href="https://www.example.com" important is that the link has to start with http or https

0

0

you're welcome

0

What does the href attribute contain? the URL of the page to be transferred whether the new page should be opened in the same or a new window the name of the web page to be transferred