How to Use Microformats

How to Use Microformats thumbnail
The microformats.org website has a complete reference to microformats.

Microformats are standardized snippets of HTML that can be inserted in any blog or web page. These bits of HTML code are recognized by people, organizations, calendars, social networks and other tools and provide information in a standard format. This article will explore how to use microformats.

Things You'll Need

  • A blog or website
  • A browser
  • A text editor or HTML editor to create or copy the HTML
Show More

Instructions

    • 1

      There are several recognized microformats. They include:
      *hCard, similar to a business card on the web for people, companies, organizations and places
      *hCalendar, a calendaring and events format
      *hReview, for formatting reviews of products, services or businesses
      *Rel-Tag, adds rel="tag" to a hyperlink and creates a "tag" for the link, such as the tags used for Technorati

      There are a number of other microformats as well.

    • 2

      Each microformat has a specific set of HTML elements combined with standard CSS class and ID names that create the recognizable format for the information. When information is diplayed in this form on a blog or web page, anything that recongnizes the format can make use of it. For example, hCards can be downloaded from the web into an address book or a phone contact list. Suppose you searched on Yahoo! local for the closest place to get pizza. If the pizza business had an hCard on the web, you could quickly access their information and save it in your phone for current and possible future ordering.

    • 3

      The easiest way to get started with microformats is to use the generators at microformats.org (see link in Resouces). Click on the Code tab to reach a generator.

    • 4
      Microformats.org provides wizards to create microformats.

      The hCard generator shown in the image is an example of how to create the HTML. On the left is a form. As you fill in the form, the HTML is immediately placed in the microformat template on the right. When finished, you simply copy the HTML on the right and paste it in your blog or web page.

    • 5

      The microformats can be customized. Using the hCard as an example again, you might not want your phone number or photo included in the card. Simply leave that out when you create the hCard.

    • 6

      The parts of the HTML that you should not remove are the CSS hooks such as class="fn n." These are the parts of the code that make the format recognizable. You can write your own CSS rules for these classes when you use them on your blog or web site, thereby customizing the appearance of the information for your personal presentation.

Related Searches:

Resources

Comments

You May Also Like

  • How to Use Meebo

    Learn how to use "Meebo" the Instant Messenger all in one communication site. From setting up, to setting preferences, adding buddies and...

  • How to Use the Calendar in Outlook 2002

    Microsoft releases new editions of its Office suite relatively often, and 2002 is just one of many versions of Office. Outlook 2002...

  • How to Create a Calendar With HTML

    It is possible to create a calendar with some knowledge of HTML. You may need a calendar for your Web site or...

  • How to Sync Outlook Calendars to the Web

    Publishing your Microsoft Outlook calendar on the Internet allows you to post multiple calendars (for example, your personal and professional calendars) in...

  • Meaning of Brackets in CSS

    CSS stands for "cascading style sheets." CSS gives a greater degree of artistic and design control to Web developers and designers by...

  • How to Make Your Own Pokemon Card Generator

    Pokémon is a popular Japanese cartoon, known for its trading card game with collectible cards. They feature numerous characters from the television...

  • How to Create Major and Minor Chords in Any Key

    Chords are an integral part of music. This article explains a simple method that easily allows you to create major and minor...

  • How to Convert a GSM to an MM

    The raw material making up a sheet of paper varies somewhat between brands and types of paper, but a person can obtain...

  • How to Use an iTunes Gift Card

    There's nothing like the gift of music. An iTunes gift card is very easy to redeem for your favorite music. Follow these...

  • How to Use HTML Codes

    HTML, or Hyper Text Markup Language, is the backbone of pages that are viewed in any web browser. The language is made...

Related Ads

Featured