
The first block consists of six lines of code C S S attribute selectors followed by its equivalent H T M L code. Line 1: input open square bracket type equals open double quotes text close double quotes close square bracket open curly brace at indentation level 0. Line 2: height colon 40 p x at indentation level 1. Line 3: border hyphen style colon none semicolon at indentation level 1. Line 4: border hyphen bottom colon 2 p x solid blue semicolon at indentation level 1. Line 5: background hyphen color colon beige semicolon at indentation level 1. Line 6: close curly brace at indentation level 0. The output shows a form with three textboxes, two radio buttons, and two checkboxes. Two textboxes are placed one below the other at the left of the form. The two radio buttons are placed side-by-side at the right of the first textbox with the first radio button selected. The two checkboxes are placed side-by-side at the right of the radio buttons with the first checkbox selected. The third textbox contains six hidden characters and is placed at the right of the checkboxes. The first textboxes are colored in beige with a solid blue line at the bottom. The equivalent H T M L code for the first two textboxes is as follows. Line 1: open angle bracket input type equals open double quotes text close double quotes forward slash close angle bracket. Line 2: open angle bracket input type equals open double quotes text close double quotes forward slash close angle bracket. The equivalent H T M L code for the radio buttons is as follows. Line 1: open angle bracket input type equals open double quotes radio close double quotes close angle bracket. Line 2: open angle bracket input type equals open double quotes radio close double quotes close angle bracket. The equivalent H T M L code for the checkboxes is as follows. Line 1: open angle bracket input type equals open double quotes checkbox close double quotes close angle bracket. Line 2: open angle bracket input type equals open double quotes checkbox close double quotes close angle bracket. The equivalent H T M L code for the third textbox is as follows. Line 1: open angle bracket input type equals open double quotes password close double quotes close angle bracket.
Back