Class 10 Exam  >  Class 10 Questions  >  How to define target in new page in HTML?a)&l... Start Learning for Free
How to define target in new page in HTML?
  • a)
    <a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>
  • b)
    <a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>
  • c)
    <a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>
  • d)
    <a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>
Correct answer is option 'B'. Can you explain this answer?
Most Upvoted Answer
How to define target in new page in HTML?a)<a href = “http://...
Explanation:

HTML Code:
- The correct way to define a target in a new page in HTML is by using the target attribute with the value "_blank".
- The HTML code for this would look like this:

<a href="http://www.navneetmehra.com/" target="_blank">Click Here</a>

Explanation:
- The target attribute specifies where to open the linked document.
- The value "_blank" opens the linked document in a new window or tab.

Details:
- In option B, the target attribute is set to "_blank", which tells the browser to open the linked document in a new window or tab.
- This ensures that the linked page opens in a separate window, allowing the user to easily navigate back to the original page.

Conclusion:
- Using the target attribute with the value "_blank" is the correct way to define a target in a new page in HTML.
Free Test
Community Answer
How to define target in new page in HTML?a)<a href = “http://...
A target=”_blank” Open in New Browser Tab (or Window) The target attribute specifies where the linked document will open when the link is clicked. The default is the current window. If target="_blank" , the linked document will open in a new tab or (on older browsers) a new window.
Attention Class 10 Students!
To make sure you are not studying endlessly, EduRev has designed Class 10 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 10.
Explore Courses for Class 10 exam

Similar Class 10 Doubts

Top Courses for Class 10

How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer?
Question Description
How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? for Class 10 2024 is part of Class 10 preparation. The Question and answers have been prepared according to the Class 10 exam syllabus. Information about How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? covers all topics & solutions for Class 10 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer?.
Solutions for How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Class 10. Download more important topics, notes, lectures and mock test series for Class 10 Exam by signing up for free.
Here you can find the meaning of How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer?, a detailed solution for How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? has been provided alongside types of How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice How to define target in new page in HTML?a)<a href = “http://www.navneetmehra. com/” target = “blank”>Click Here</a>b)<a href = “http://www. navneetmehra. com/” target = “_blank”> Click Here </ a>c)<a href = “http://www. navneetmehra. com/” target = “#blank”> Click Here </ a>d)<a href = “http://www. navneetmehra. com/” target = “@blank”> Click Here </ a>Correct answer is option 'B'. Can you explain this answer? tests, examples and also practice Class 10 tests.
Explore Courses for Class 10 exam

Top Courses for Class 10

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev