SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: source code

  1. #1
    SitePoint Member Lisa|x|John's Avatar
    Join Date
    Aug 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    source code

    how i will see the source code of my page . i made the html doc in the notepad saved in the .html form after opening the page with either browser there isno option for source code

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    In most browsers, in the menu at the top left, you can click View > Source or similar. If that doesn't help, google " how to view source in [insert your browser here]?"

    Most desktop browsers also have developer tools. Right click anywhere on the page and choose Inspect Element and you'll see everything under the hooligan, including the HTML and CSS.

  3. #3
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,033
    Mentioned
    103 Post(s)
    Tagged
    0 Thread(s)
    In FireFox I just use Ctrl+U to display the page source. Other browsers should have a key combination to display the source code
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    Yeah, I was going to mention keystrokes, but decided to keep it simple. But that's how I normally do it too, though each browser seems to have its own keys. On Firefox Mac it's Command + u, but for Chrome Mac it's Command + Option + u.

  5. #5
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,837
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    I wonder why those two browsers use a different key combination on Mac when they both use the same key combination on Windows?
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,214
    Mentioned
    457 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by felgall View Post
    I wonder why those two browsers use a different key combination on Mac when they both use the same key combination on Windows?
    Yes, it seems crazy not to have consistency like that. When I switched from Firefox to Chrome, it took me quite a while to get used to the change, and was quite annoying, as I use this all through the day, but the Firefox keystroke was pretty engrained for me.

  7. #7
    SitePoint Enthusiast stelleninfotech's Avatar
    Join Date
    Apr 2013
    Location
    India
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can easily see the coding of the page. Just right click on the icon where you saved your coding and select open with notepad to see the coding. In this way you can see as well as edit your code.
    or when you open your page on browser just press ctrl+u to see the coding. but you cannot edit it.

  8. #8
    SitePoint Member Lisa|x|John's Avatar
    Join Date
    Aug 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for all i get many way to see page code Thanks Again


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •