Browse Definitions:
Reference

HTML, XHTML and XML Cheat Sheets

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

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchCompliance

  • smart contract

    A smart contract, also known as a cryptocontract, is a computer program that directly controls the transfer of digital currencies...

  • risk map (risk heat map)

    A risk map, also known as a risk heat map, is a data visualization tool for communicating specific risks an organization faces. A...

  • internal audit (IA)

    An internal audit (IA) is an organizational initiative to monitor and analyze its own business operations in order to determine ...

SearchSecurity

SearchHealthIT

SearchDisasterRecovery

  • incident management plan (IMP)

    An incident management plan (IMP), sometimes called an incident response plan or emergency management plan, is a document that ...

  • crisis communication

    Crisis communication is a method of corresponding with people and organizations during a disruptive event to provide them with ...

  • Zerto

    Zerto is a storage software vendor that specializes in enterprise-class business continuity and disaster recovery in virtual and ...

SearchStorage

  • SSD write cycle

    An SSD write cycle is the process of programming data to a NAND flash memory chip in a solid-state storage device.

  • data storage

    Data storage is the collective methods and technologies that capture and retain digital information on electromagnetic, optical ...

  • hard disk

    A hard disk is part of a unit -- often called a disk drive, hard drive or hard disk drive -- that stores and provides relatively ...

SearchSolidStateStorage

  • hybrid hard disk drive (HDD)

    A hybrid hard disk drive is an electromechanical spinning hard disk that contains some amount of NAND Flash memory.

Close