You are on page 1of 30

CA-II LAB ASSIGNMENT-2

Q1. Write a HTML code to print the following lines in same format. In Mathematics, a quadratic equation is polynomial equation of second degree. The general form is a +bx+c=0 where a=0 (if a=0 ,the equation becomes linear equation) CHEMICAL EQUATION 4h3po3 = 3h3po4 + ph3 pnew = pold + x2 - yacos(x)

STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.1

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.2

CA-II LAB ASSIGNMENT-2

Q2.Create a web page:Fruits and Vegetables A. Vegetables Onion Potato

B. Fruits Mango Grapes

Magazines and Newspaper o Newspaper 5. TOI 6. HT 7. Navbharat Times o Magazines (i) The Week (ii) India Today

STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

Prepared By: Kunal Singhal

2.3

CA-II LAB ASSIGNMENT-2

OUTPUT:

Prepared By: Kunal Singhal

2.4

CA-II LAB ASSIGNMENT-2

Q3.Create a HTML document containing 3 images differently aligned with some horizontal and vertical space between them and links these images to different web pages. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.5

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.6

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.7

CA-II LAB ASSIGNMENT-2

Q4.Create a HTML file for displaying marquee tag with alternate scroll as well as slide behaviour use as many attributes as possible. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.8

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.9

CA-II LAB ASSIGNMENT-2

Q5. Create a web page describing location of your college. Use <block quote> to display address, for sub headings <pre> tag and use <em> tag wherever you are using numbers. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.10

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.11

CA-II LAB ASSIGNMENT-2

Q6. Write a HTML code to create a Telephone Directory using Directory list, use at least two explicit and implicit tags. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.12

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.13

CA-II LAB ASSIGNMENT-2

Q7. Write a HTML code to display the options under File and Edit Menu using Menu List. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.14

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.15

CA-II LAB ASSIGNMENT-2

Q8. Write a code for displaying any four definitions related to computers using Definition List (For e.g. Computer, Input Device Output Device, CPU etc). STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.16

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.17

CA-II LAB ASSIGNMENT-2

Q9. Develop an HTML document which displays your name as heading and displays the name of any four of your friends in a list. Each friend name should be a hyperlink. When you click a friends name, it must go to the location in same HTML document where that friends information is written. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.18

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.19

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.20

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.21

CA-II LAB ASSIGNMENT-2

Q10. Create a table containing Roll. No, Name and Marks in 4 different subjects for 10 students. Include border, Cell spacing and Width attribute in table. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.22

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.23

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.24

CA-II LAB ASSIGNMENT-2

Q11. Create a table of your educational background as follows: Class/Degree Board/University School/College Percentage

Include cell Padding, Rules, background Image and alignment attributes. Use Base font Tag to set Font Size and Style. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.25

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.26

CA-II LAB ASSIGNMENT-2

Q12. Display table with the given format with row span & col span. Insert an image in this cell using Img tag Semester
st

Subject Principles of Management Business Mathematics Computer Fundamentals Business Organization DBMS QT&OR Management Accounting Computer Application-I Organizational Behaviour

I Sem IInd Sem IIIrd Sem

BBA

STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.27

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.28

CA-II LAB ASSIGNMENT-2

Q13. Display the following Table. Admission 2010- 2011 Course Girls Boys BCA 38 80 BBA 80 156 BBA-CAM 37 43 Color of Heading Row should be Purple, Course Field: Yellow, Girls: pink, Boys: sky blue. STEPS: Open the notepad. Create a web page using the given tags as shown in the screen shots. Save the web page with the suitable name with extension as .html. Then run the program.

OUTPUT:

Prepared By: Kunal Singhal

2.29

CA-II LAB ASSIGNMENT-2

Prepared By: Kunal Singhal

2.30

You might also like