. How to specify the link in HTML and explain the target attribute?
Answer Posted / 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 |
Post New Answer View All Answers
What is the Application Cache in HTML5 and why it is used?
What is use for br tag?
How many types of css can be included in html?
Describe HTML Entities with example?
What is the difference between server sent events and websockets in html5?
What methods are used to draw straight line using canvas?
Explain various html list tags.
What is a tag ict?
What is datalist tag?
Is hr an empty tag?
Why do we need HTML 5 server-sent events?
What are the different types of storage in html5? Explain
What is a footer code?
What is div tag?
What is description list?