1. Computing & Technology

Discuss in my forum

<command />

By , About.com Guide

command Description:

The command tag defines a command button like a radio button, checkbox, or a submit button. This tag provides a hook for the interface to connect to the command and share aspects of its features.

The command tag is new in HTML 5.

DTD: HTML5: <!doctype html>

command Web Browser Support:

None as of August 2010.

command Attributes:

Global attributes, event attributes and:

  • checked
  • disabled
  • hidden
  • default
  • icon
  • label
  • radiogroup
  • type

command End Tag:

Forbidden

command Contents:

Nothing. The command tag is a void element.

Tags valid as content: None

command Usage:

Tags valid as container: Metadata elements, Phrasing elements

command Special Notes:

None

More command Information:

©2012 About.com. All rights reserved.

A part of The New York Times Company.