Disabled Attribute Example – HTML Syntax – Disabled HTML Example





Disabled Attribute Example – HTML Syntax – Disabled HTML Example

Purpose: – Illustrates the for the .

You can download an excellent free html editor at nvu. This HTML editor will allow you to easily experiment with these examples. You can view an 8-minute video tutorial that I did at NVU HTML Editor

Function: disabled="true" or disabled="false" Specifies whether an element is enabled or disabled.

View Example In Browser

 HTML |  copy code |? 
< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>Disabled Attribute Example</title>
</head>
<body>
<form>
  <input value="Enabled Button" type="button"/><input disabled="true" value="Disabled Button" type="button"/>
</form>
</body>
</html>
 
 

Related posts:

  1. disabled JavaScript (JS): HTML DOM Objects – Button Object – disabled JavaScript (JS) disabled JavaScript (JS): HTML DOM Objects - Button Object -...
  2. Face Attribute Example – HTML Syntax – Face Attribute Example Face Attribute - HTML Syntax - Example...
  3. Scroll Attribute Example – HTML Syntax – Scroll Attribute Example Scroll Attribute Example - HTML Syntax - Scroll Attribute Example...
  4. Color Attribute Example – HTML Syntax – Color HTML Example Color Attribute Example - HTML Syntax - Color HTML Example...
  5. Bordercolor Attribute Example – HTML Syntax – Bordercolor HTML Example Bordercolor Attribute Example - HTML Syntax - Bordercolor HTML Example...

Related posts brought to you by Yet Another Related Posts Plugin.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

This blog uses the cross-linker plugin developed by Web-Developers.Net