This is probably a very basic question but I'm completely new to web development. For practice purposes I want to view the HTML code of various websites that I frequently visit and enjoy and play around with their codes in my text editor. How do I do that? Is this even possible?
Press right at your mouse and view page source. Or save the website to your computer and open with notepad/
If you're using Firefox, you can use the Web Developer and Firebug extensions as well. Opera also has Dragonfly built right into the browser; it's accessible via the Tools menu (next to "Help").
You should use the Firebug extension for Firefox, that let's you edit code, and see the results in real-time. In IE8, you can use the developer tools function (it's a built-in function), just press F12.
If you are using Mozilla firefox, right click the mouse and select "view page source". If you are using IE, then right click on the browser and select the "view source" option.
However, if he wants to "play around" with the code, he might want to be using Firebug (FF) or Developer tools (built-in in IE8).
well budy there are many tools and many ways so for simply check the html code just right click on the page and select view source.
Highly recommend firebug in firefox as mentioned by others, you can also get a html tidy download to view the source with any errors on the page and suggestions of how to fix them.