1.

What is the purpose of using the attribute href in <a> tag?

Answer»

The href stands for Hypertext Reference. The href attribute is used with <a> tag to specify the link to some other HTML page or Website.

e.g. <a href “”https://www.learncbse.in”>

click here </a> to go to learncbse.

It will display like:

click here to go to learncbse.



Discussion

No Comment Found