0

How to add a target attribute on css and html

3rd Jun 2019, 1:07 PM
Haile
3 odpowiedzi
+ 4
use the css attribute selector a[target="_blank”]{ color: brown; }
3rd Jun 2019, 1:16 PM
Farry
Farry - avatar
+ 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
3rd Jun 2019, 1:30 PM
Bug Slayer
0
Tnx
6th Jun 2019, 1:16 PM
Haile