Assignment 2
Assignment 2
Assignment 2
5. What is CSS? What is the importance of CSS? List out the different ways to write CSS.
6. What do you mean by meta tags? Show how can following be achieved with the help of
metadata?
a) Stop the page from being listed
b) Set an expiration date
c) Stop the browser from caching a page
7. List and explain various list tags in HTML with examples
8. Write HTML and CSS code for the following:
(i) Set color of visited link to "green".
(ii) Set background color of paragraph to “yellow”
(iii) Set list style for unordered lists to "square".
(iv) Set "calendar.jpeg" as the repeated background image of the page.
9. Explain frames with example in HTML.
11. Explain following HTML tags with example (i) <select> (ii) <pre>
12. XHTML is stricter language than HTML. Justify.
13. Write an HTML snippet with CSS for following effects
1. link: after visited red color and before visited blue color
2. table with odd rows blue and even rows green color.
16. What is Metadata? Explain with example how Metadata is included in a document? Also
show how can following be achieved with the help of Metadata?
(i) Stop the page from being listed.
(ii) Set an expiration date
(iii) Stop the browser from caching a page.
(iv) Give a context for date so that it can take format DD-MM-YYYY