← BYTES
HTML·Starter·Ref: 2.1.8

Which attribute specifies where a hyperlink's content should be opened (e.g., a new browser tab)?

Have a question about this video? Mention reference 2.1.8 when you contact us.

a.rel
b.href
c.target
d.type
The target attribute on an <a> tag controls where the linked document opens -- target="_blank" opens it in a new tab/window, while the default (no target, or target="_self") opens it in the current one.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES218#HTML