How can I remove the taskbar in Minecraft?

Au
1

When I play Minecraft, the taskbar can still be seen below and covers my entire inventory. Even if I press F11, the game is larger, but the taskbar is still visible.

De

Take a look in the settings under graphics settings and try to change the scaling of the game to 1080x720