Css question, why does iframe support body?

as shown in the figure:

the code is as follows:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        html,body{
            width:100%;
            height:100%;
        }
        *{margin:0;padding:0;}
    </style>
</head>
<body>
<iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="100%" height="100%" allowtransparency="true"></iframe>
</body>
</html>
Css
Mar.16,2021

setting iframe to display:block or iframe to vertical-align:bottom; can solve this problem. I don't know exactly why, ha

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b383e0-2c0ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b383e0-2c0ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?