+ 1

How can one add a selector for <h1>

css

18th Apr 2018, 10:54 AM
Noeline Ako
Noeline Ako - avatar
3 Réponses
+ 7
You could use to select all h1 tags: h1 { css code } Or you can give it an id, for instance id=“thisH1” And reference it using #thisH1 { css code }
18th Apr 2018, 11:07 AM
Ariela
Ariela - avatar
+ 5
You can also use class selector. <h1 class="a"></h1> .a{ color:#FFF000}
18th Apr 2018, 1:25 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 1
ok thanks to u all am grateful
20th Apr 2018, 8:00 PM
Noeline Ako
Noeline Ako - avatar