Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Assignment 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Assignment

1. Write a difference between HTML and XHTML.


2. Write a HTML snippet to show each letter of a word RAINBOW with new color, giving
a rainbow effect.
3. What is HTML form tag? Discuss the different form attributes and design a simple form
to register student including name, roll no., semester, email, mobile number, gender,
hobbies, and feedback, and also create two buttons submit and reset.
4. What is HTML table? Explain table element tr, td, th, rowspan and colspan. Write HTML
code to print following time table

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.

Web Programming (3160713) HARDIK PATEL


Assignment
10. Create HTML Page for following features:

1.Create an unordered list

2.Create an ordered list

3.Use various bullet styles

4.Created nested lists

5.Use the font tag in conjunction with lists

6.Create definition lists

7.Use graphics as bullets

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.

3. Text color-green, Text case-uppercase

14. Compare and contrast between HTML and XML


15. Write HTML code to display following irregular table.

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

Web Programming (3160713) HARDIK PATEL

You might also like