CSS Element working without ID and Class

CSS Element working without ID and Class
0

#1

image
h4 tag is without “# ID” and “. class” then why it is working and there is no h4 tag element in my code.


#2

I don’t understand what you are talking about? What is the problem exactly? What do you mean by it’s working?


#3

I mean class and id of css work when i call this in tag like <h4 class="any" id=" " > while h4 on top neither class nor id and its properties are applying in my tag maybe its because of inheritance.


#4

You’re literally saying “apply these styles to h4 elements” so naturally the styles apply to the h4 element.