All posts tagged ‘wiki’

File Under: HTML

Document Type Declaration

Every web page must declare a document type, or “DOCTYPE”. This line of code begins an HTML document and tells a validator what version of HTML or XHTML to use when checking the syntax and structure of the document for errors.

Doctype declarations, known as DTDs, go at the very beginning of your document, above the <head> tags.

Here are some of the most common DTDs.

Continue Reading “Document Type Declaration” »

File Under: Frameworks, Programming

Integrate Web APIs into Your Django Site

Welcome back! If you’ve been following along our entire series of tutorials on building sites with Django, you’ll (by now) have built a blog website with date-based archives and some nice extras such as tagging and Markdown support.

Along the way, we also ported our app over to the new Newforms Admin version of Django so that we’ll be all ready to go when Django hits version 1.0. If you haven’t done that yet, be sure to do it before we continue.

Continue Reading “Integrate Web APIs into Your Django Site” »
File Under: JavaScript

JavaScript Event – Cut

This code was written based on a template by John Resig. The original can be found at John Resig’s addEvent function website.

The code, and the template, are referred to in Webmonkey’s JavaScript Events reference page. In this example, the onCut event fires whenever a form field’s contents are cut with the user’s local cut function (ctrl-x, edit menu, or contextual menu). The event can also be attached to the window object to catch cutting anywhere on the page.

Continue Reading “JavaScript Event – Cut” »
File Under: Glossary


Caching (pronounced CASH-ing) is a technique computers use to save memory by storing frequently accessed files.

Web browsers have caches that keep recently downloaded web pages handy. Browser caches are typically kept on your local drive, and you can usually adjust the amount of memory or disk space allotted for the cache. The benefit of web caches is that you can access a cached page much more quickly than if you downloaded it from a distant server.

File Under: Glossary


To fill an image means to paint the inside of it with a selected color or pattern.

The fill can be used to create shading and other simple effects. In HTML, a popular technique is to fill tables with colors, especially in long lists of information. For example, if you are making a web page showing the 50 top-grossing movies of the year, it will be easier to read if you fill the rows of the table and alternate the background colors.