Are honors classes the same as regular classes if you retook one of them because you failed?

If i failed CC Algebra 2 my 10th grade year and retook the class my junior year as H CC Algebra 2, is that considered the same class and as a class that i retook and fixed? I understand the F will still show, but if they see H CC Algebra 2 on my transcript for my 11th grade year, will they count that as a fixed grade?