Sometimes many internet users/surfers(not have knowledge in html/css programming at all) needs to view source of html page, but fails to find specific part of the page. Also, not only general surfers, some beginners of html/css programmers also fall in such situation. Its a very very geeky stuff and for such reasons somebody may not find exact talk about this on internet very quickly. I am sharing this only for those to provide a quick help.
TO see such a situation try right click of mouse and select 'view page source' option, you will get all the source code of the html file. Then try find some text from my recent post/related post widget, you won't find anything there on the source view.
Why source doesn't exist?
Because source is the only html text portion that browser get while requesting the url. However there may a lot of elements that exist on a page even after a while of page load. Those aren't viewable by this technique.
Then How to see those dynamic html portion?
Simple solution is, first select the texts of the portion by mouse and then right click, you will see options 'view selected source' besides the usual option(I am talking about firefox browser). click that, then you will be able to see that portion's html source.
Another way, best for html/css designers, get firebug add-on. After successfull install and restarting Firefox browser, just click anywhere in the porton of which you want to see view source, right click, click option 'inspect element'(new exclusive option by firebug), you will be able to see html/dom elements, css styles that were applied, all there in a window at the bottom of the page. Luckily, firebug has also ie versions(start from ie7) to get it working on internet explorer.
Thus your problem of viewing source of html page comes to an end:)
Subscribe to:
Post Comments (Atom)










0 comments:
Post a Comment