This exercise uses the `_blank` value to open pages in new tabs. Does the `target` attribute have other values?


#1

Question

This exercise uses the _blank value to open pages in new tabs. Does the target attribute have other values?

Answer

Yes, there are 4 different values the target attribute can have: _self, _blank, _parent, or _top. These values specify a browsing context or the environment in which the browser will display a document. To learn about each of these values, check out Mozilla docs!


FAQ: Learn HTML Elements - Common HTML Elements - Opening Links in a New Window
#2

doesnt it also include grandparents?