// References / HTML Button Tag

Posted The: 01/09/2008 - AT: 7:32

The button Element in HTML is used to create a push putton, this can either be used to submit a form, or used togetter with javascript to complete a custom task.

Attributes

Standard Attributes

Attribute:Value:Description:DTD:
AttrsOther AttributesCommon, I18n, EventSTF
DisabledDisabledDisables the ElementSTF
nameCharacter DataSTF
valueCharacter DataSTF
typebutton|submit|resetfor use as form buttonSTF
tabindexNUMBERposition in tabbing orderSTF
accesskey{CHARACTER}position in tabbing orderSTF
onfocusScriptThe element got the focusSTF
onblurScriptThe element lost the focusSTF

DTD. Defines which document type the attribute is allowed. S=Strict, T=Transitional, F=Frameset.

Example

<p><button>Push Me!</button></p>

You can also use images inside the button element.

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:04:04

6 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.144690990448 seconds

Welcome Guest