1. Home
  2. Computing & Technology
  3. Web Design / HTML

boolean

By , About.com Guide

Definition: A boolean attribute in XHTML is an attribute that is either on or off. If the attribute is present, it takes effect, otherwise it does not. In valid XHTML, all attributes must have a value, so boolean attributes are written boolean="boolean". For example <option value="test" selected="selected">test</option>
Pronunciation: bu lee an - (adjective)
Examples:
In the option tag, selected is a boolean attribute:
<option value="test" selected="selected">test</option>
Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. XHTML Glossary
  7. boolean>

©2010 About.com, a part of The New York Times Company.

All rights reserved.