The iframe srcdoc Attribute
I was working on a web page generation program recently and was looking for a way to present different versions of the same page with slight differences in the markup and styles. Although using the iframe element came to mind I wasn't keen on rendering out lots of different versions of the page and then referencing them individually in each iframe.
Getting Started With PhoneGap And Android
Using The view-source Protocol
If you are running FireFox (or Chrome) then there is a handy little short cut you can use to view the source of a page you are looking at. If you add the text view-source on any web address then you will see the equivalent of viewing the source of a page (perhaps by pressing Ctrl+u).
HTML And XHTML Doctypes
In order to validate any page of HTML or XHTML you will need a doctype. This is a string of text that sits at the top of the document and tells the browser exactly what markup standard has been used to create the page.
Convert HTML To ASCII With PHP
The reverse of turning ASCII text into HTML is to convert HTML into ASCII. And to this end here is a little function that does this.
Add new comment