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

Describe the forms tag, Now let's get a grip on how to add interactivity to...

Now let's get a grip on how to add interactivity to your web documents by way of the tag. With this tag you can add to your web pages a guestbook, surveys, order forms, ge

Find how many bits of adc are required to get an resolution, Find how many ...

Find how many bits of ADC are required to get an resolution of 0.5 mV if the maximum full scale voltage is 10 V Ans. Given Resolution=.5mV Full scale output=+10v %resolut

Determine the primary memory of the server, Determine the primary memory of...

Determine the primary memory of the server The keys used for accessing the server are held at a secret location in the primary memory of the server. This area or location is hi

What is memory interleaving, Q. What is Memory Interleaving? In this sc...

Q. What is Memory Interleaving? In this scheme main memory is splitted in 'n' equal-size modules and CPU has separate Memory Base register and Memory Address Register for every

Counter, mod12 counter connection diagram

mod12 counter connection diagram

Syntax errors and logical errors, Syntax errors and logical errors: Syn...

Syntax errors and logical errors: Syntax errors also called as compilation errors are caused by violation of the grammar rules of the language. The compiler detects, isolate th

Analysts in various functional areas, Q. Analysts in various functional are...

Q. Analysts in various functional areas? Today systems analyst's job presents a exciting and fascinating challenge. It provides high management visibility and opportunities for

What do you mean by daisy chain, Q. What do you mean by Daisy chain? Th...

Q. What do you mean by Daisy chain? This scheme provides a hardware poll. With this scheme, an interrupt acknowledge line is chain by different interrupt devices. All I/O inter

Explain the significance ipv6 over ipv4, Explain the significance IPV6 over...

Explain the significance IPV6 over IPV4. The maximum size of an Ipv6 datagram is 65575 bytes, with the 0 bytes Ipv6 header. Ipv6 also describe a minimum reassembly buffer size:

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