Writing & Testing HTML
I frequently have to test or write small bits of code and the only way to preview the code I've written is to write the HTML in an editor such as Notepad, save it as a HTML file, open it in Opera, then switch between Notepad and Opera, reloading the page after every change. Once I'm happy with the code I've written I don't need this file anymore. All the steps involved in this process seems like wasted effort. With Opera 9.0 you can create an editable page temporarily with out having to save and open a file or refreshing the page to view recent changes.
This method assumes that Opera is set to use built in viewer as the source viewer. To confirm, click Tools then Preferences (Alt + P) then from under the Advanced tab select Programs. Make sure Opera is the value in the Source viewer field, then click Ok.
Open Opera and open a new blank page. In the address field, enter about:blank. This is your new blank HTML page. On the menu bar, go to View and select Source (Ctrl + F3) to view the source of the blank page which already contains HTML, HEAD and BODY tags. Now type your HTML code. When you want to see what it looks like click the Save button (Ctrl + S) and switch to the previosly blank page (Ctrl + Tab) or resize each page so you can see both pages at once.

Filed In:
Comments
5. THE dude says…
Stop double posting BITCH
Posted on Sat 22 Sep, 2007
Rules: Paragraphs and linebreaks are automatically created (two or more linebreaks create a paragraph). Linebreaks between code tags remain linebreaks. Block tags cannot be enclosed by inline tags. Red attributes are required and green is optional.
Use "<" and ">" for "<" and ">". Enclosing PHP code in <code> tags will highlight the code (i.e. <code><?php echo 'hello world'; ?></code>).
List of valid tags:
<blockquote title="" cite=""></blockquote><cite cite="" title=""></cite><a href="" title=""></a><strong title=""></strong><em title=""></em><code title=""></code><abbr title=""></abbr><acronym title=""></acronym><ol title=""></ol><ul title=""></ul><li title=""></li>

1. rebecca louise dezfo says…
open the blank page to write.
Posted on Sun 19 Aug, 2007