. How to specify the link in HTML and explain the target attribute?
Answer / nashiinformaticssolutions
HTML provides a hyperlink - <a> tag to specify the links in a webpage. The ‘href’ attribute is used to specify the link and the ‘target’ attribute is used to specify, where do we want to open the linked document. The ‘target’ attribute can have the following values:
1. _self: This is a default value. It opens the document in the same window or tab as it was clicked.
2. _blank: It opens the document in a new window or tab.
3. _parent: It opens the document in a parent frame.
4. _top: It opens the document in a full-body window.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between the svg and canvas tag in html5?
What is html5 and what is it used for?
What is img src?
What is html and how is it used?
How can I create a web page?
What are the new attributes provided in HTML5 for <form>?
Does localstorage expire?
Why do we use href?
What is the difference between br and br />?
How do you play a audio using html5?
explain what are the new media elements in html5? Is canvas element used in html5
What is the Application Cache in HTML5 and why it is used?