Unit-2 MBIT-New VVnagar Subject: web Programming
Computer Engineering Subject code: 3160704
Assignment-2
Introduction to HTML
1. What is HTML form? Design a simple HTML form for registration of a student.
2. What the difference is between get & post method? Give the case where we can use this
method.
3. Explain ordered and unordered list with example
4. What do you mean by Metatag? Explain its use with example
5. Write the HTML snippet to show each letter of a word with new color, giving a rainbow
effect
6. Explain the following with example
(i) Unordered lists
(ii) Ordered lists
(iii) Nested lists
(iv) Definition lists
7. What is Metadata? Where it is included in HTML and XHTML? 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 MM-DD-YYYY and DD-MM-
YYYY
8. Explain the concept of irregularly shaped tables. Write the HTML snippet to get the
following output and properly defined headers.
9. What is the meaning of the following?
<meta name=”robots” content=”noindex,nofollow”/>
<meta http-equiv=”pragma”, content=”no-cache”/>
9. Which HTML tags should be used to get following output?
10. How an inline frame be embedded on a page with graphics and text?
Prof. Ankita Chauhan
MBIT
Unit-3 MBIT-New VVnagar Subject: web technology
Computer Engineering Subject code: 2160708
11. Write a form to collect details of a user such as name, address, radio button to
choose subject of book he wants to buy, Dropdown to choose favorite author,
comments for the last book he read. What is the use of <fieldset>?
12. Show the use of the HTML table tag to design the tables with different requirement with
example
13. Differentiate between HTML and XHTML. Write XHTML to generate table having
following structure:
14. Explain the following HTML tags.
a. <dl></dl>
b. <input type=”file”/>
15. What are non-Semantic Elements? Explain <div>, <span> with example.
HTML5
1. Discuss features of Html5.
2. Explain semantic Elements of Html5 with example
(<article>,<aside>,<details>,<figcaption>,<figure>,<footer>,<header>,<main>,<nav>,<s
ection>,<summary>,<time>).
3. Explain New attributes of form elements like number, date, time, calendar, datetime, url,
week, email, search, and range etc. with example.
4. Explain graphic elements <svg> and <canvas> with example.
5. Explain multimedia elements <audio> and <video> with example.
Prof. Ankita Chauhan
MBIT