+ 3
How can i assign a particular color to a specific h1 element that the color doesn't apply to other h1's
6 ответов
+ 3
it will be wrong to use mor that one h1 because the search engine automatically use your h1 for search results, but how ever with CSS you can use it this way
h1.example {
you will have to specify the h1 element by naming it by the example .
but I recommended you use
h1{
background -color= "sky blue"
then use h2 for the next heading and then use text transformation to increase the font as big as the h1 element . this way h1 will only have the desired color
+ 8
Assign an id to the h1. Remember id's are unique, so when doing your css you can refer to the h1 by its id
+ 3
I think
This is best possible solution of your question.
By this you can select any specific h1 of HTML document
<style>
h1:nth-child(4) {
color: blue;
}
</style>
Note: Internet Explorer 8 and earlier versions do not support the :nth-child() selector.
+ 2
do you know much about database table @ osasuna
+ 2
do you know much about database table @ anyone
+ 1
not really