. 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 use of xhtml modules?
How we can create dropdown list control in html?
What is the section tag?
How many web browsers does html5 support?
What are the new attributes provided in HTML5 for <form>?
What are dynamic documents?
Why div tag is used in html?
What is the difference between <div> and <span> tag?
What is the difference between linking to an image, a website, and an email address?
What is an xhtml element?
What is ol tag?
. What is the difference between inline, block, and inline-block elements?