Reference

HTML, XHTML and XML Cheat Sheets

Part of the Programming glossary:

We've gathered resources from around the Web to help you with website coding. You'll find cheat sheets that show you common (and less common) tags and special characters, as well as how to do anything in HTML, XHTML and XML -- among other resources. Do you have a favorite web site coding cheat sheet? Let us know!

Need more information before you get started? See our definitions for HTML, XHTML and XML.

  • 216 Web browser-safe colors -- Elizabeth Castro, author of "HTML for the World Wide Web: Visual QuickStart Guide, Fifth Edition with XHTML and CSS" created this colorful page with 216 Web-safe browser colors.

  • ASCII Codes -- ASCIITable.com provides the ASCII character table and descriptions of the first 32 non-printing characters.

  • Character Entity References in HTML 4 and XHTML 1.0 -- Elizabeth Castro offers a set of tables containing the 252 allowed entities in HTML 4 and XHTML 1.0, as described in section 24 of the official HTML 4 specifications. She's also, helpfully, categorized them.

  • Creating Links -- This page offers examples of how to link to an object at different directory levels.

  • Doctype Declarations (DTDs) (1) -- When authoring documents in HTML or XHTML, it is important to add a Doctype declaration. The doctype declaration must be exact (both in spelling and in case) to have the desired effect, which makes it sometimes difficult. To ease the work, here is a list of recommended doctype declarations that you can use in your Web documents. (From the W3C website)

  • Doctype Declarations (DTDs) (2) -- XML.su offers a pageful of DTDs (DocType declarations).

  • HTML (1) -- This HTML guide provides essential HTML tags, backgrounds and colors, text formatting and much more.

  • HTML (2) -- This HTML cheat sheet lists commonly used tags and their uses.

  • HTML (4) -- This Webmonkey HTML reference includes basic tags, formatting, tables, frames and forms.

  • HTML Entities -- Elizabeth Castro maintains this cheat sheet listing allowable character entity references in HTML 4 and XHTML 1.0.

  • HTML & XHTML Tag Quick Reference (PDF) -- In this cheat sheet, you'll find commonly used tags and information about the proper use of XHTML.

  • HTML Character Entities -- Here you'll find a list of the assigned character codes in HTML, with an example of how they are displayed, and a description.

  • HTML Special Character Reference -- This HTML 4 character reference table explains how to enter special characters that can't be entered through a single key by using the associated numeric character reference code or the character entity reference code.

  • HTML Special Entity Codes -- This Web page contains lists of common special entity codes needed in HTML to generate special characters such as ñ, ¢, ÷. Full instructions are in the "Using the Codes" section followed by lists organized by character type.

  • HTML/XHTML Character References -- This page offers a big table with code for rendering special characters including non-English letters, mathematical symbols and more.

  • Server Side Includes (SSIs) (PDF) -- Explain That! provides a guide to SSIs, which are directives placed in an HTML document for processing before a document is served to a viewer.

  • Special ASCII HTML Character Codes -- This list includes HTML for many ASCII symbols used on Web pages. The first section includes the first 255 character codes and their related HTML codes. Then, at the bottom you'll find some other symbols and the HTML codes to create them.

  • Special ASCII characters and how to type them -- This table denotes symbols that aren't found on keyboards but are available by by activating the keyboard NUM LOCK function, pressing the ALT key, and entering certain numbers in the numeric keypad.

  • W3C DOM -- W3C provides W3C DOM (Document Object Model) interfaces, all in one page.

  • XHTML Character Entity Reference -- This page contains the 252 allowed entities in HTML 4 and XHTML 1.0, as outlined in section 24 of the official W3C HTML 4 specifications. It also includes an explanation of how to use the reference.

We've got lots more! Check out the full collection of  Our Favorite Cheat Sheets for fast help on a wide range of IT subjects, including related subjects like programming, blogging, browser shortcuts, and search engine optimization.

This was last updated in February 2010
Posted by: Margaret Rouse

Related Terms

Definitions

  • Easter Egg

    - An Easter Egg is an unexpected surprise -- an undocumented procedure or unauthorized feature that's playful in nature or gives credit to the software developer or chip designer. (WhatIs.com)

  • NetBeans

    - NetBeans is a Java-based integrated development environment (IDE). The term also refers to the IDE’s underlying application platform framework.  (SearchSOA.com)

  • scraper site

    - A scraper site is a website that features content stolen from other sites and presented as original. Scraper sites copy valuable content from legitimate websites and republish it on their own sites. (WhatIs.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question About HTML, XHTML and XML Cheat SheetsPowered by ITKnowledgeExchange.com

Get answers from your peers on your most technical challenges

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.