problem1. Name two image formats used on web and describe when it is most suitable to use each format.
problem2. Describe what you understand by the following as used in the CSS:
(i) Contextual Selector and Group Selector
(ii) Relative and Absolute positioning
describe your answer using extract codes.
problem3. An HTML file “autodetection.html” uses an external Cascading Style Sheet file name “layout.css”. Users are viewing Web page making use of different browsers. The version for those browsers may also vary. Give the suitable Browser Sniffer codes which enable you to use the file “layout.css” only if the browser is Internet Explorer 6 or above.
problem4. Describe briefly the two ways used to create image maps.
(i) The sentence should be in lower case
(ii) Provide a message if the TextArea is empty
(iii) Provide a message if the sentence contains the letter „s?
(iv) Provide a message if the 6th character is not letter „w?
(v) Provide a message if the sentence contains less than 15 characters
(vi) Provide a congratulatory message if all of the above conditions are satisfied.
(vii) The program should respond when the control is taken away from the TextArea element.