Is there a limit for heading elements

i want to ask that in HTML coding is there a limit for heading elements lie and so on because codeacadeny tells about only till


please help iam new and just started few days ago but want to achieve much more
waiting for a co operative response from you
iam currently studying A levels 2nd year and have a great passion for coding
it is my first time i ever coded on a computer