Home » Questions » Computers [ Ask a new question ]

Is it possible to view HTML source auto-formatted in Firefox

Is it possible to view HTML source auto-formatted in Firefox

I am writing a Web site in PHP, and the HTML it renders is not well formatted and hard to read in Firefox (most of it is on a single line).

Asked by: Guest | Views: 244
Total answers/comments: 3
Guest [Entry]

"View Source Chart 2.7
[UPDATE]: original link was broken, here is the website: http://viewsourcechart.com/
Right click -> View source chart
This is what I get for the Google home page HTML source:
Before:

After:"
Guest [Entry]

"I normally use Firebug for debugging html output.

This allows me to se the html as it's rendered by the browser, together with the well-formatted source in Firebug. I can also inspect elements in the displayed html and see where they come from in the originating html source."
Guest [Entry]

"Web developer plugin:

The Web Developer extension adds various web developer tools to a
browser. The extension is available for Chrome and Firefox, and will
run on any platform that these browsers support including Windows, OS
X and Linux"