Basic Form Layouts - NLL440-NLL444

The rule above applies to three different selectors: select, textarea, and input[type="text"].

The third selector, input[type="text"[ is known as the attribute selector

Note the author applies the style only to label.required rather than to label. Labels for required fields are displayed in boldface.

I start the script here


It is obvious from the display below that styles did not turn out as the book shows. I shall experiment a bit in 042AStyles_for_Form_TS.html only for a short while. Many readers indicated mamy errors in this book; so spending too much time on this matter is not worthwhile.

Registration Form

This is how the output from the code should look like according to NLL445

I could not find the cause for the discrepancy for the two outputs. I spent a long time checking the script, and experimenting. No success!

In addition,

Registation Form

Please fill out the form below to register for our site. Fields with bold labels are required.


vertical space