how to search for page source code ?

Discussion in 'HTML & Website Design' started by hasanbasri, Oct 8, 2009.

  1. #1
    how to search for page source code ? are you understand what did I mean ..
    the regular way to search in the web is searching for texts appear in page .
    but what if I want to search on specific source code the pages written with ?
    by other words :
    I'm searching for this text "test1 test2 text3"
    no problem with that , but I want to find pages written as follow in thier html source code
    "<p><a href="http://*">text1</a>text2 <strong>text3</strong></p>"
     
    hasanbasri, Oct 8, 2009 IP
  2. dannyvalentino

    dannyvalentino Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could always right-click on the page, view page source, copy and paste into a text editor like word and then use the find function. Is this what you mean?
     
    dannyvalentino, Oct 8, 2009 IP
  3. sarsh11

    sarsh11 Active Member

    Messages:
    959
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Well as far as I know you can just right click>View Page Source> The Press CTRL+F and enter what you want to search and it'll search it. It works in Firefox, I dont know about other browsers.
     
    sarsh11, Oct 8, 2009 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Or just right click and then Ctrl (Cmd on a Mac) F to find what you need.
     
    Dan Schulz, Oct 8, 2009 IP
  5. webmaster24

    webmaster24 Greenhorn

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Right click on browser and choose source, to find something CTRL+F...
     
    webmaster24, Oct 8, 2009 IP
  6. tag44

    tag44 Peon

    Messages:
    272
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Just press the button ctrl U if you are browsing your site in Mozilla firefox and if you are using internet explorer than click to the view source to look at the page source of any site page.
     
    tag44, Oct 8, 2009 IP
  7. ybbot

    ybbot Active Member

    Messages:
    139
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #7
    It is much more easier if you're using Firefox browser with Firebug plugin on it...
    you can activate the plugin and then choose inspect...so you can browse each element on the page while the firebug display the source code...
    and not only the HTML code..it also will display the attached CSS ...

    hope this help you...

    and you can download the firebug here...

    http://getfirebug.com/
    Code (markup):
    PS. you can use it to view the page source code with javascript right click protection :D so i think its a handy tool web developer must have
     
    ybbot, Oct 8, 2009 IP
  8. RobertK

    RobertK Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    firebug is awesome - you can actually preview changes to the css and code - I use it all the time. So So good saves you editing your files and reuploading all the time. All it is a little bug icon in the corner. Make sure you get firefox first though eh?
     
    RobertK, Oct 9, 2009 IP
  9. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Or use Opera's Dragonfly.
     
    Dan Schulz, Oct 9, 2009 IP
  10. mydreams.success@gmail.co

    mydreams.success@gmail.co Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Their is no direct option for this. either use firebug or check for view source
     
  11. Hire Me

    Hire Me Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    right click and view page sourse
     
    Hire Me, Oct 10, 2009 IP
  12. forextrendalerts

    forextrendalerts Guest

    Messages:
    132
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Listing of open source search engine projects (generally free). ... Describes the history and features of eight open-source search engines, freeWAIS-sf (aging code and hard to install, but good for searching ...
     
    forextrendalerts, Oct 13, 2009 IP
  13. Ckabayan

    Ckabayan Peon

    Messages:
    167
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    simple right click on page and choose view page source
     
    Ckabayan, Oct 14, 2009 IP
  14. thebillkidy

    thebillkidy Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    normally i think you got the answer yourself because everyone knows this
     
    thebillkidy, Oct 14, 2009 IP
  15. windy

    windy Active Member

    Messages:
    1,093
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #15
    right click to view the source code, and search in the source code file
     
    windy, Oct 16, 2009 IP
  16. SeoStuff

    SeoStuff Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I belive question is for searching web for source code not for page.i.e Is there any way we can seach specific code on web. In google we give keywords not the code. I also would be intrested in knowing if there is any way to do so.
     
    SeoStuff, Oct 16, 2009 IP
  17. hasanbasri

    hasanbasri Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    thank you everybody but not that what I ment ..I know how to view page source code there are 100 ways,,
    yes yes that is what I did mean >> searching the web for a specific code ..
    we are normally using google by writing keywords in search input field , but I want a way to write html code in search input field ...


    thank you every body
     
    hasanbasri, Nov 28, 2009 IP