Practical Examination

Practical Question Set -1

Question 1: Write an HTML code to create a webpage that divides the browser window into two vertical sections.

The left section should be divided into two equal parts with the color purple. The text "NIELIT" should be displayed in this section in the center. The right section should be divided into two equal parts with the color green. The text "Practical Examination" should be displayed in this section and should blink.

 Question: 2 -Write HTML code to showcase the following uses of the `` (anchor) tag:

  1. Create a link that opens in a new tab or window.
  2. Create a link that opens in the current tab or window.
  3. Link to an image using a hyperlink.
  4. Use an image as a clickable link to display another image.

 Question 3 - Write an HTML code that creates a table with 9 columns and "n" rows based on user input. The "n" represents the number of students, and the 9 columns should contain the following attributes for each student:

  1. Sr. No
  2. Student Name
  3. Roll No
  4. Date of Birth (DOB)
  5. Address
  6. Father's Name
  7. Mother's Name
  8. Class
  9. Courses Enrolled

The number of students ("n") should be entered through a prompt box. The table should be created automatically based on this input.