0
How to add a target attribute on css and html
3 Answers
+ 4
use the css attribute selector
a[target="_blankâ]{
color: brown;
}
+ 2
Ist of all css have no attributes,
target attribute in HTML is used to manipulate the way a link will open
To add target in your html code simply write
<a href="www.sololearn.com" target="_blank" >Sololearn</a>
You can select all element to style using css as Farry told
0
Tnx