But think of the aesthetics!
The battleship was clearly vulnerable to airpower in WWII. Much less so in WW1.
It’s an exaggeration saying that they were outdated in WW1, as they basically acted as a deterrent, but it was at enormous expense and they don’t do much. Too big, too slow, too expensive. The argument was playing out even prior to WW1.
https://en.wikipedia.org/wiki/Battleship
Aircraft carriers took over, as you say.
Also there were several battlecruiser/cruiser vs battlecruiser/cruiser actions.
Jutland was influential, but mainly just resulted in big ships doing nothing.
That is sort of the role nuclear weapons have too I guess?
That would be a battlecruiser, and they don't seem to have been regarded as a success.
Even the name is flawed.