Inspect your favourite website and change something on the page which is displayed.
This can be done by right clicking on any webpage and then clicking on Inspect.
Go to your favourite website and try to view the page source and write the exact lines of code. Does it clone the website? Why?
No, it will not clone the website entirely. It only shows (and allows you to copy) the basic HTML, CSS, and JavaScript that run on the frontend and are sent by the server to your browser. The backend code, databases, and server logic remain hidden.
Write any HTML code inside a text file. Does it work if you write it using notepad?
Yes, you can write HTML code in a simple text editor like Notepad. If you save the file with the extension .html (for example, index.html) and then open it in a web browser, the browser will correctly interpret and display the HTML code.