The code for a basic console: (note - you can highlight the code and press ctrl+c to copy it)
 
<script language="JavaScript">
window.open("nameofpopup.html", "window_name", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=300, height=300, top=100, left=100");
</script>

Breaking down the various parts of the code:
 
The first part, "nameofpopup.html", is where you define the URL of the file that will appear in the popup window. You can enter the full URL of the filename here if you like. For example, this element can look like this: "http://www.whateverdomain.com/nameofpopup.html".

The second part "window_name", names the window. This is important only if you plan on popping multiple windows. By using different names here, you keep all of your pop-ups from popping in the same new window by using different names for each one popped.

The 3rd part "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=300, height=300, top=100, left=100" defines various attributes of your console window.

toolbar includes or omits a toolbar in the new window.
location includes or omits a location bar in the new window.
directories includes or omits directories. Directories refer to different items in different browsers. For example, with Internet Explorer, enabling directories keeps the Links tab open, in Netscape, enabling directories keeps the Personal Toolbar open. Enter Yes to include directories. Enter No to omit them.
status includes or omits the status bar at the bottom of the new window.
menubar includes or omits a menu bar in the new window. The menubar is where pop-up menus such as File and Edit are located.
scrollbars allows or disallows scrollbars in the new window.
resizable permits or prevents resizing the new window.
width defines the width of the new window in pixels.
height defines the height of the new window in pixels.
top defines the physical location of the new window on the surfers monitor from the top. The top of their viewable screen area would be 0.
left defines the physical location of the new window on the surfers monitor from the left. The farthest left of their viewable screen area would be 0.

Where to place the code:
 
You can place this piece of script anywhere between your <head> </head> tags or anywhere between your <body> </body> tags. Either location will work fine.

A working demonstration of a basic console:
 
Example of a basic console.

Homepage | Blur Consoles | Exit Consoles | Full Screen Exit Consoles | Sleeper Consoles | Invoked Click Consoles