0% found this document useful (0 votes)
6 views4 pages

INDEX arpit

The document is an index of HTML and JavaScript programming exercises for a BCA14 class. It includes tasks such as creating HTML elements, styling with CSS, building forms, and writing JavaScript functions. Each task is numbered and accompanied by page numbers for reference.

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 DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

INDEX arpit

The document is an index of HTML and JavaScript programming exercises for a BCA14 class. It includes tasks such as creating HTML elements, styling with CSS, building forms, and writing JavaScript functions. Each task is numbered and accompanied by page numbers for reference.

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 DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

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 Write an HTML program to demonstrate how to use the 2
image and anchor (link) tags.
03 Write an HTML program to create an unordered list with 3
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 11-12


at least 4 different types of input fields, along with radio
buttons, checkboxes, a dropdown menu, and submit
and reset buttons.
08 Write an HTML program to create a box and use 13
internal CSS to set its height, width, border, and
background color.
09 Build a contact form with the following fields: 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 20—21


the 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, 24


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

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


from 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 28


numbers 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 confirm 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.

23 Create an HTML page with multiple <img> tag. Use 36-37


Javascript to:Select the img tags using
getElementByClassName and change the image.

You might also like