According to my current understanding of how https works, it seems to me that it shouldn't, because the client only has the public key which is meant for encrypting and not for decrypting, but when I checked it by sniffing the traffic of a website like Youtube (https) using wireshark, the package from the server to the client(my computer) also appeared as TLS, and therefore nothing from the HTML/JS/etc could be seen. Only encrypted hex.
So that's my first question. My second question is - if the answer to the first question is no, and I also want have the data that the client receives from the server to be encrypted in any way so that if someone stands in between, they couldn't observe the HTML that the client receives, would that be possible in anyway? A scenario would be that I have a secured page that shows the client passwords.
Clarifications on these matters will be very much appreciated.