0% found this document useful (0 votes)
10 views6 pages

Arproj PG

The document is an index of programming assignments for a student named Arpit Rai in BCA14, detailing various HTML and JavaScript tasks. It includes tasks such as creating forms, styling elements with CSS, and writing scripts for user interaction. Each task is listed with a corresponding page number and remarks section.

Uploaded by

arpitraibe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views6 pages

Arproj PG

The document is an index of programming assignments for a student named Arpit Rai in BCA14, detailing various HTML and JavaScript tasks. It includes tasks such as creating forms, styling elements with CSS, and writing scripts for user interaction. Each task is listed with a corresponding page number and remarks section.

Uploaded by

arpitraibe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

INDEX

NAME : Arpit Rai CLASS : BCA14 ROLL NO : 1240211064


S.NO. TITLE PAGE NO. REMARKS

01 1
Write an HTML program to demonstrate the use of
heading and paragraph tags.
02 2
Write an HTML program to demonstrate how to use the
image and anchor (link) tags.
03 3
Write an HTML program to create an unordered list with
5 different links.
04 Write an HTML program to create a table with at least 5 4-5
columns, entering at least 5 pieces of data in each
column.
05 Write an HTML program to demonstrate the use of 6-8
colspan and rowspan in a table.
06 Write an HTML program to show the use of <sub>, <sup>, 9-10
<b>,<i>,and <u> tags.

07 Write an HTML program to create a form that includes at 11-12


least 4 different types of input ields, along with radio
buttons, checkboxes, a dropdown menu, and submit and
reset buttons.
08 Write an HTML program to create a box and use internal 13
CSS to set its height, width, border, and background color.

09 Build a contact form with the following ields: 14-15


Name (text input), Email (email input), Subject
(dropdown with at least three options), Message
(textarea), A submit button.

10 Style a button using CSS: 16-17


Make it green with rounded corners, change its color to
blue when hovered over.

11 Create a <div> with the following properties: 18


Width: 300px, Height: 200px, Background color:
lightgray
12 Style a paragraph to have a font size of 18px, italicized 19
text, and a line height of 1.5.

13 Style hyperlinks to change color on hover and remove the 20—21


underline.

14 Use HTML to create a webpage divided into two frames: 22-23


A left frame (30% of the width) that contains a list of
links.
A right frame (70% of the width) that displays the
content of the selected link.

15 Write a script to declare variables for a user's name, age, 24


and city. Print these details in a structured sentence in
the console.

16 Write a JavaScript program that takes two numbers from 25-26


the user (using prompt) and performs addition,
subtraction, multiplication, and division. Display the
results using alert.
17 Write a program to check whether a number (input via 27
prompt) is odd or even using the modulus operator.
Display the result in the console.

18 Write a program using a for loop to print prime numbers 28


from 2 to n in the console.
19 Write a function greetUser() that takes a user's name as 29
an argument and displays a greeting like "Hello,
[Name]!". Call the function with a name input via
prompt.

20 Write a program that uses the following dialog boxes: 30-32


I. An alert box to display a welcome
message.

II. A con irm box asking if the user wants


to continue.

III. A prompt box to take the user's favorite


color, and then display it in the console.

21 Write a JavaScript program to concatenate two strings: 33


"Hello" and a user's name (input via prompt). Display on
the screen.
22 Create an HTML page with a <div> tag. Use JavaScript 34-35
to:Select the div using getElementById and change the
border and background-color.
INDEX
NAME : Arpit Rai CLASS : BCA14 ROLL NO : 1240211064
S.NO. TITLE PAGE NO. REMARKS

01 1
Write an HTML program to demonstrate the use of
heading and paragraph tags.
02 2
Write an HTML program to demonstrate how to use the
image and anchor (link) tags.
03 3
Write an HTML program to create an unordered list with
5 different links.
04 Write an HTML program to create a table with at least 5 4-5
columns, entering at least 5 pieces of data in each
column.
05 Write an HTML program to demonstrate the use of 6-8
colspan and rowspan in a table.
06 Write an HTML program to show the use of <sub>, <sup>, 9-10
<b>,<i>,and <u> tags.

07 Write an HTML program to create a form that includes at 11-12


least 4 different types of input ields, along with radio
buttons, checkboxes, a dropdown menu, and submit and
reset buttons.
08 Write an HTML program to create a box and use internal 13
CSS to set its height, width, border, and background color.

09 Build a contact form with the following ields: 14-15


Name (text input), Email (email input), Subject
(dropdown with at least three options), Message
(textarea), A submit button.

10 Style a button using CSS: 16-17


Make it green with rounded corners, change its color to
blue when hovered over.

11 Create a <div> with the following properties: 18


Width: 300px, Height: 200px, Background color:
lightgray
12 Style a paragraph to have a font size of 18px, italicized 19
text, and a line height of 1.5.

13 Style hyperlinks to change color on hover and remove the 20—21


underline.

14 Use HTML to create a webpage divided into two frames: 22-23


A left frame (30% of the width) that contains a list of
links.
A right frame (70% of the width) that displays the
content of the selected link.

15 Write a script to declare variables for a user's name, age, 24


and city. Print these details in a structured sentence in
the console.

16 Write a JavaScript program that takes two numbers from 25-26


the user (using prompt) and performs addition,
subtraction, multiplication, and division. Display the
results using alert.
17 Write a program to check whether a number (input via 27
prompt) is odd or even using the modulus operator.
Display the result in the console.

18 Write a program using a for loop to print prime numbers 28


from 2 to n in the console.
19 Write a function greetUser() that takes a user's name as 29
an argument and displays a greeting like "Hello,
[Name]!". Call the function with a name input via
prompt.

20 Write a program that uses the following dialog boxes: 30-32


I. An alert box to display a welcome
message.

II. A con irm box asking if the user wants


to continue.

III. A prompt box to take the user's favorite


color, and then display it in the console.

21 Write a JavaScript program to concatenate two strings: 33


"Hello" and a user's name (input via prompt). Display on
the screen.
22 Create an HTML page with a <div> tag. Use JavaScript 34-35
to:Select the div using getElementById and change the
border and background-color.

You might also like