Html 4.0 element, Computer Engineering

Assignment Help:

<LABEL>

<LABEL>, an HTML 4.0 element supported by Netscape6 and MSIE, defines a set of text which is associated with a specific form element. For illustration, code below indicates that phrase "send more information" is associated with "moreinfo" checkbox as checkbox is within the <LABEL> element:

<HTML>

<BODY>

<LABEL FOR="moreinfo">

Send more information

<INPUT NAME="moreinfo" TYPE=CHECKBOX ID="moreinfo">

</LABEL>

</HTML>

FOR attribute is required in above illustration. Value of FOR must be the same as value of ID in the form field that label applies to.

You can also associate a <LABEL> with a field which is not within its contents using the FOR attribute.

Attribute for <SELECT>

TABINDEX = integer

TABINDEX is supported by Netscape 6 and MSIE 4.x higher.

Usually, when user tabs from field to field in a form (in a browser which allows tabbing, not all browsers do) tab order is the order in which fields appear in HTML code.

Although, sometimes you want tab order to flow a little differently. In that scenario, you can number the fields using TABINDEX. Tabs then flow in order from one with the lowest TABINDEX to highest.

Code below explains this:

<HTML>

<BODY>

<TABLE BORDER CELLPADDING=3 CELLSPACING=5

BGCOLOR="#FFFFCC">

<TR>

<TD>name: <INPUT NAME="realname" TABINDEX=1></TD>

<TD ROWSPAN=3>comments<BR>

<TEXTAREA COLS=25 ROWS=5

TABINDEX=4></TEXTAREA></TD></TR>

<TR> <TD>email: <INPUT NAME="email" TABINDEX=2></TD></TR>

<TR> <TD>department: <SELECT NAME="dep" TABINDEX=3>

<OPTION VALUE="">...

<OPTION VALUE="mkt">Marketing

<OPTION VALUE="fin">Finance

<OPTION VALUE="dev">Development

<OPTION VALUE="prd">Production</SELECT></TD></TR>

</TABLE>

</HTML>

874_HTML 4.0 element.png

TABINDEX can be used with <A>, <INPUT>, <TEXTAREA>, and <BUTTON


Related Discussions:- Html 4.0 element

TITLE: Signals for digital communications, DETERMINE ANALYTICALY IF THE SIG...

DETERMINE ANALYTICALY IF THE SIGNAL IS PERIODIC OR NOT - X[n] = 4Cos(Pi n)

What is library, What is library? A library is a collection of classes ...

What is library? A library is a collection of classes that are useful in most of the contexts. Classes must have accurate and thorough explanations to help users.

Multiprogramming or multitasking, Multiprogramming or multitasking? An...

Multiprogramming or multitasking? Ans: The OS manages the concurrent execution of many application programs to make best possible use of computer resources. This pattern of si

What is strobe, What is Strobe. Asynchronous data are transfer among tw...

What is Strobe. Asynchronous data are transfer among two independent unit needs that control signals to be transmitted among the communicating units to indicate the time at whi

Write heterogeneous functions, Write "heterogeneous" functions If a pro...

Write "heterogeneous" functions If a program uses simulated, dynamically allocated multidimensional arrays, it becomes possible to write "heterogeneous" functions which don't h

What do you meant by erp, Question 1: What do you meant by ERP? What ar...

Question 1: What do you meant by ERP? What are the benefits of ERP? Definition of ERP Question 2: Describe briefly the advantages of the ERP. Explanation of six advanta

Which is valid syntax of the fork and join primitive, Which is valid syntax...

Which is valid syntax of the Fork and Join Primitive? Ans. A valid syntax of the Fork and Join Primitive is as given below: Fork Join

Static and dynamic hazard, what inputcombinations may those hazard take pla...

what inputcombinations may those hazard take place and how can they be eliminated? F1= AB'' + A''C + BC''D'' F2= AB + A''C''D + AB''D

Online movie booking system using data structures, I want to know...if ther...

I want to know...if there is a program available in C code using data structure for online movie booking system

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd