0
how to maintain single css file for 3 pages
like i want to make change in h1 style in page1 change bt when i set style for h1 in css file it changes for all pages
4 Respostas
0
No you don't have to.
Unless you want to have different style for each of the h1 tag.
If you want to have same style for other two headers just type h1{
Style you want
}
0
You add class for the tag you want to a different style like <h1 class="head1">
In CSS add a code
h1.head1{
Style you want comes here
}
You can change the name 'head1' as you like.
You should link the CSS file with all three pages also.
0
thanks brother...
0
then for every h1 tag i have to create class?