HTML.and.XHTML.The.Complete.Reference.4th.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

HTML.and.XHTML.The.Complete.Reference.4th.Edition [Electronic resources] - نسخه متنی

Thomas Powell

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید








Miscellaneous Form Field Attributes


The HTML 4 specification added two other attributes to certain form controls: disabled and readonly. When the disabled attribute is present in a form control element, it turns off the field. Disabled elements will not be submitted, nor may they receive any focus from the keyboard or mouse. The browser might also gray out the disabled form. The point of the disabled attribute might not be obvious, but imagine being able to disable the form submission button until the appropriate fields have been filled in. Of course, the capability to dynamically turn the disabled attribute for a form control on or off requires scripting support that not all browsers have.

When the readonly attribute is present in a form control element, it prevents the control's value from being changed. A form control set to readonly can be selected by the user but cannot be changed. Selection might even include the form control in the tabbing order. Unlike disabled controls, the values of read-only controls are submitted with the form. You can think of a read-only form control as a visible form of<input type="hidden">. According to the HTML specification, the readonly attribute is defined for the <input type="text">, <input type="password">, and <textarea> tags, but in practice many browsers support the other fields such as pull-downs, radios, and check boxes. Like a disabled form control, read-only controls can be changed only through the use of a script.







































Table 12-2: vCard Attribute Values


vCard.Cellular


vCard.Company


vCard.Department


vCard.DisplayName


vCard.Email


vCard.FirstName


vCard.Gender


vCard.Home.City


vCard.Home.Country


vCard.Home.Fax


vCard.Home.Phone


vCard.Home.State


vCard.Home.StreetAddress


vCard.Home.Zipcode


vCard.Homepage


vCard.JobTitle


vCard.LastName


vCard.MiddleName


vCard.Notes


vCard.Office


vCard.Pager


vCard.Business.City


vCard.Business.Country


vCard.Business.Fax


vCard.Business.Phone


vCard.Business.State


vCard.Business.StreetAddress


vCard.Business.URL


vCard.Business.Zipcode



/ 252