
HTML Tutorial for Beginners(2022) - Change the Target of a Link in HTML
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the target attribute in an HTML anchor tag?
To set the color of the link
To define the style of the link
To specify the URL of the link
To determine where the linked document will open
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which target attribute value will open a link in a new tab?
_self
_blank
_parent
_top
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the practical example, what was the initial behavior of the link before setting the target attribute?
Opened in a new tab
Opened in a new window
Opened in the same tab
Did not open at all
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you set a link to open in the topmost frame using the target attribute?
Set target to _parent
Set target to _top
Set target to _blank
Set target to _self
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default behavior of a link if no target attribute is specified?
Opens in a new tab
Opens in the parent frame
Opens in the same tab
Opens in a new window
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?