In some cases, the Bootstrap class h-100 is applied to the <html> element, and in some cases to the <body> element, and sometimes to both. For example, in the code Sticky footer with fixed navbar, https://getbootstrap.com/docs/4.5/examples/sticky-footer-navbar/, the class h-100 is applied to both the <html> and <body> element, for short
<!doctype html>
<html lang="en" class="h-100">
<head>
...
</head>
<body class="d-flex flex-column h-100">
...
</body>
</html>
Are there any logic behind this, any rules to follow, when to address the <html> element, and when to address the <body> element?