The anchor element a is used to link to the content outside of the web page you are developing or maintaining.
While using anchor elements to link to an external page the target attribute must be used the target attribute causes the linked page to open in a new page.
The a element has a destination address assigned to a href attribute.
the anchor text is also needed.
Here is an example:
<ahref="webadress" target="blank">anchor text</a>
Now your browser will display "this links to the Facebook" as a link that you can click.
some examples of using the a element are as under:
<ahref="www.facebook.com">this links to facebook</a>
<ahref="www.the-mirs-mechatronics.com">this links to the mirs mechatronics home page</a>
<ahref="www.alibaba.com">this links to the alibaba</a>
Hello, I am Junaid Ahmad Mir and this is my website where we would learn programming.
Here also we would look into the insights of the modern technology and development taking place at a very rapid pace. So welcome to this platform of learning...
You can also visit my profile on GitHub at this adress: https://github.com/mirjunaid
No comments:
Post a Comment