
The HT M L code consists of three lines of code. Line 1: open angle bracket label close angle bracket Rate this photo colon open angle bracket b r forward slash close angle bracket. Line 2: open angle bracket input type equals open double quotes number close double quotes min equals open double quotes 1 close double quotes max equals open double quotes 5 close double quotes name equals open double quotes rate close double quotes forward slash. Textbox 1 labeled Rate this photo colon is placed at the left of line 1 and 2. The textbox consists of an upward arrow and a downward arrow at the right edge and contains the value 2. Line 3: open angle bracket input type equals open double quotes range close double quotes min equals open double quotes 0 close double quotes max equals open double quotes 10 close double quotes step equals open double quotes 1 close double quotes name equals open double quotes happiness close double quotes forward slash. Grumpy is written at the top of line 3 and Ecstatic is written below line 3. A range slider is placed at the left of line 3. The left end of the range slider is labeled Grumpy and the right end is labeled Ecstatic. Textbox 2 labeled Rate this photo colon and textbox 3 labeled Grumpy at the left and Ecstatic at the right is placed one below the other below the range slider. Textbox 2 and 3 are collectively labeled Controls as they appear in browser that doesn’t support these input types.
Back