How do I check the HTML code of other webpages?

Discussion in 'HTML & Website Design' started by alaykum, Nov 26, 2008.

  1. #1
    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?
     
    alaykum, Nov 26, 2008 IP
  2. bigmac_lfc

    bigmac_lfc Peon

    Messages:
    131
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just click on vew in the top menu of your browser and click on view source
     
    bigmac_lfc, Nov 26, 2008 IP
  3. wptheme

    wptheme Well-Known Member

    Messages:
    4,051
    Likes Received:
    346
    Best Answers:
    0
    Trophy Points:
    180
    #3
    Press right at your mouse and view page source. Or save the website to your computer and open with notepad/
     
    wptheme, Nov 26, 2008 IP
  4. alaykum

    alaykum Guest

    Messages:
    28
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok, it worked, Thanks! This should have probably been obvious, sorry! XD
     
    alaykum, Nov 26, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #5
    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").
     
    Dan Schulz, Nov 26, 2008 IP
  6. a3d

    a3d Well-Known Member

    Messages:
    409
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #6
    if the file is encrypt, you can disable the javascript, ctrl+A and right click for the source code :D
     
    a3d, Nov 26, 2008 IP
  7. elias_sorensen

    elias_sorensen Well-Known Member

    Messages:
    852
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #7
    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. :)
     
    elias_sorensen, Nov 26, 2008 IP
  8. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #8
    In ie > view menu bar > source code
    Or right click on the webpage > view source.
     
    Jalpari, Nov 26, 2008 IP
  9. 2advance

    2advance Well-Known Member

    Messages:
    2,614
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    140
    #9
    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.
     
    2advance, Nov 27, 2008 IP
  10. elias_sorensen

    elias_sorensen Well-Known Member

    Messages:
    852
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #10
    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).
     
    elias_sorensen, Nov 27, 2008 IP
  11. designervalley

    designervalley Peon

    Messages:
    237
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    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. :)
     
    designervalley, Nov 28, 2008 IP
  12. WebCatch

    WebCatch Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    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.
     
    WebCatch, Nov 28, 2008 IP
  13. coloriteman

    coloriteman Peon

    Messages:
    669
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Firefox : right click and view page source .
    Internet explorer:fro menu >View>source
     
    coloriteman, Nov 28, 2008 IP