I wanted to find the origin page of a CSS file that somebody once included in a project I'm working on. Unfortunately, the guy that included it didn't write where from it came and has only a vague memory that 'somebody' sent the source file to him.
I wanted to search the web for pages with this css rule #loginNemId .inner { ... }
but nothing showed up on a google search for #loginNemId. Same reult when searching for id="loginNemId" as part of the page's source code. For completeness sake, I also searched for an included background image "bgLoginNemId.png", but that was also unsuccessful.
I really would like to know:
To view only the source code, press Ctrl + U on your computer's keyboard. Right-click a blank part of the web page and select View source from the pop-up menu that appears.
View Source Code in Chrome Navigate to the web page you would like to examine. Right-click the page and look at the menu that appears. From that menu, click View page source. The source code for that page will now appear as a new tab in the browser.
Chrome: Navigate to “View,” click on “Developer,” and then “View Source.” You also can right-click and select “View Page Source.” The keyboard shortcut is Option+Command+U.
To view the HTML of your webpage (also known as the "source code"), first open your web browser. Then, visit the premium content page where you'd like to show surveys. on the browser toolbar. Select More tools, then View Source.
To sum up the other answers, it seems there is currently no way to search for text in HTML source code.
There is one exception ot this rule: if the code you search for is open-source and indexed by Google Code Search.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With