You are on page 1of 11

School of Computer Science and

Engineering
CSE3002-Internet and Web Programming
Fall 2022-23
Slot: - L19 + L20

Lab Assignment 1
HTML Basics

Submitted By:
BIJAN SHRESTHA
B.Tech Computer Science and Engineering
Reg No. : 20BCE2904

SUBMITTED TO:
PROF. Dr. Rajkumar R
Asst. Prof. Grade 2
School of Computer Science and Engineering
VIT University
Vellore-14, INDIA

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


ACTIVITY 1 INTRODUCTION TO HTML
AIM: To learn basics of HTML
1. Write HTML code to develop a web page having the background in red and title
“my first page” in another color.
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


2. Create HTML document giving details of your name, age, telephone, address, and
pin code and email id aligned in proper order.
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


3. Write HTML code to design a page containing text in a paragraph give suitable
heading style.
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


4. Create simple page introducing yourself how old are you, what you do, your likes
and dislike, Modify it to include numbered list of likes and dislikes
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


5. Create another page about your favorite hobby and link it to your main page
Code:

Output:
Main page

Link page:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


6. Create a page, center something and insert quotes
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


7. Insert an image in a web page
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


8. Create a table, use heading and at least one use of rowspan/colspan
Code:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


Output:

9. Color a text in the page. Add a link to another site.


Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904


10. In the page use various font styles
Code:

Output:

Bijan Shrestha CSE3002-IWP Lab Reg no. 20BCE2904

You might also like