23CSS2-FULL SATCK DEVELOPMENT-I
LAB INTERNAL EXAMINATION
23CSS2-FULL SATCK DEVELOPMENT-I
1.i)Write a program to apply different types (or levels of styles or style specification formats)
- inline, internal, external styles to HTML elements. (identify selector, property and value).
ii)Write a JavaScript program to embed internal and external JavaScript in a web page.
iii) Design an HTML page with a text box and four buttons named Factorial. When a button is
pressed an the function should be called to display the Factorial of that number.
2.i)Write an HTML program to embed audio and video into an HTML web page.
ii)Write a JavaScript program to explain the different ways of displaying output.
iii) Design an HTML page with a text box and four buttons named Fibonacci. When a button is
pressed the function should be called to display the Fibonacci series up to that number
3.i)Write an HTML program to explain the working of frames, such that the page is to be divided into
3 parts in either direction. (Note: first frame image, second frame paragraph, third frame
hyperlink. And also make sure of using the “no frame” attribute, such that frames are fixed.
ii)Write a JavaScript program to explain the different ways of taking input.
iii) Design an HTML page with a text box and four buttons named Prime numbers. When a button is
pressed the function should be called to display Prime numbers up to that number
4.i)Write an HTML program to explain the working of forms by designing a registration form.
(Note: Include text field, password field, number field, date of birth field, checkboxes, radio
buttons, list boxes using <select>&<option> tags, <text area> and two buttons, i.e., submit and
reset. Use tables to provide a better view.
ii)Create a webpage which uses a prompt dialogue box to ask a voter for their name and age. Display
the information in table format, along with whether the voter can vote or not
iii) Design an HTML page with a text box and four buttons named palindrome. When a button is
pressed the function should be called to display whether it is a palindrome or not
5.i)Write an HTML program to explain the working of tables by preparing a timetable. (Note: Use
<caption> tag to set the caption to the table & also use cell spacing, cell padding, border,
rowspan, colspan, etc.).
ii)Write a JavaScript program using math object properties and methods.
iii) Design an appropriate function that should be called to display
i. Factorial of that number
ii. Fibonacci series up to that number
iii. Prime numbers up to that number
iv. palindrome or not
6.i)Write an HTML program to explain the working of tables. (use tags: <table>, <tr>, <th>,
<td> and attributes: border, rowspan, colspan)
ii)Write a JavaScript program using date object properties and methods.
iii)Write a program to display the denomination of the amount deposited in the bank in terms of
100’s, 50’s, 20’s, 10’s, 5’s, 2’s & 1’s. (Eg: If the deposited amount is Rs. 163, the output should be 1-
100’s, 1-50’s, 1- 10’s, 1-2’s & 1-1’s)
7.i)Write an HTML program, in such a way that, rather than placing large images on a page, the
preferred technique is to use thumbnails by setting the height and width parameters to something
like 100*100 pixels. Each thumbnail image is also a link to a full-sized version of the image.
Create an image gallery using this technique
ii)Write a JavaScript program which asks the user to enter three integers, obtains the numbers from the
user and outputs HTML text that displays the larger number, followed by the words
“LARGER NUMBER” in an information message dialogue. If the numbers are equal, output HTML
text as “EQUAL NUMBERS”.
iii)Write a JavaScript program using string object to check the given string is palindrom or not.
8.i)Create an HTML document that has your image and your friend’s image with a specific height
and width. Also, when clicking on the images, it should navigate to their respective profiles.
ii)Write a JavaScript program to display weekdays using switch case.
iii)Write an HTML program to demonstrate the various ways you can use the CSS properties.
9.i)Write an HTML program to explain the working of hyperlinks using the <a> tag and href, target
Attributes.
ii)Write a JavaScript program to print 1 to 10 numbers using for, while and do-while loops.
iii)Write a program to validate the following fields in a registration page
i. Name (start with alphabet and followed by alphanumeric, and the length should not be less than 6 characters)
ii. Mobile (only numbers and length 10 digits)
iii. E-mail (should contain format like xxxxxxx@xxxxxx.xxx )
10. i)Write an HTML program to explain the working of lists. It should have an ordered list, an
unordered list, nested lists and an ordered list in an unordered list and definition lists.
ii)Develop a program to determine whether a given number is an ‘ARMSTRONG NUMBER’ or
not.
iii)Write a program using array object properties and methods.
Comments
Post a Comment