Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
31 views

Lab 1

The document discusses HTML tags and concepts like tables, forms, and frames. It provides exercises to create basic HTML pages with: 1. A name, department, and roll number displayed across three lines. 2. A table displaying theory subjects and course codes. 3. A frame displaying the output of question 1 above the output of question 2. 4. A form with inputs for name, email, gender, and submit/reset buttons. It also asks about the purpose of input type attributes and HTTP post methods, and adding targets to links.

Uploaded by

pallavagt2232
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Lab 1

The document discusses HTML tags and concepts like tables, forms, and frames. It provides exercises to create basic HTML pages with: 1. A name, department, and roll number displayed across three lines. 2. A table displaying theory subjects and course codes. 3. A frame displaying the output of question 1 above the output of question 2. 4. A form with inputs for name, email, gender, and submit/reset buttons. It also asks about the purpose of input type attributes and HTTP post methods, and adding targets to links.

Uploaded by

pallavagt2232
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Creation of Content using HTML (basic tags, table, form, frame,

link to other Image)

Section-A

1. Write a Short Note on HTML.


2. Search over learning resources (e.g internet) to find what is markup language.
3.Search for some basic HTML tags over the internet and jot 10 of them and describe their functionality in
one or two lines.(If you don't have internet connection skip this question)
4. What is hypertext?

Section-B

1.Create an HTML page which will display your name, department and roll number in three different lines
in an web page.
(hint: </br> creates a new line.)
2.Create an HTML page which contains a table. The number of rows will be equal to the number of theory
subjects you have in this
semester and number of columns will be two.In the first columns, display the name of theory papers and
in the corresponding second columns
display the respective course code.
3. Create an HTML page which will display the page of question-1 in a frame above the contents of
question 2.
(hint: <iframe src="" >)
4.Write down the following HTML code in notepad and save it as 4.html with file type 'all files'.

<html>
<head>
<title>my first form</title>
</head>
<body>
<FORM action="tgt.php" method="post">
<P> First name: <INPUT type="text" name="firstname"><BR>
Last name: <INPUT type="text" name="lastname"><BR>
email: <INPUT type="text" name="email"><BR>
<INPUT type="radio" name="gender" value="Male"> Male<BR>
<INPUT type="radio" name="gender" value="Female"> Female<BR>
<INPUT type="submit" value="Send">
<INPUT type="reset"> </P>
</FORM> </body> </html>

a)what is the function of 'type' attribute in <input> tag?


b)What the 'post' method does?

5)Display an image in an html page and hyper link it to your college website?
<a href="http://www.iiitkolkata.com/"><img src =""#" width="" height=""></a>
a)what happens if you put target="_blank" in <a> tag?
(hint:<a href="http://www.iiitkolkata.com/" target="_blank">)

You might also like