Write an Inline CSS code to change the color as blue and size as 20px of username and password given in question no 2.

Words: 193
Pages: 1
Subject: Computer Science

Q1. Define the following. (1 Mark)

  1. a) HTTP
  2. b) TCP/IP
  3. c) DNS
  4. d) HTML

Q2. Write the HTML code to generate the following output. (1 Mark)

 

Q3. Write the HTML code to generate the following output. (1 Mark)

Q4. Write an Inline CSS code to change the color as blue and size as 20px of username and password

given in question no 2. (1 Mark)

Q5. Write an Internal CSS code to change the color and size of <p> tag (paragraph) as blue and 20px

respectively. (1 Mark)

Q6. Create a PHP file to read the data from the HTML form mentioned in question no. 2 and display

the username and password values on the new webpage. (1 Mark)

Q7. Write the following code. (2 Mark)

I). Write HTML code to create the following webpage.

II). Write a PHP script to read the data from the following HTML form and calculate total quantity.

III). If the total quantity is zero, then show a message that “You did not order anything. Total Quantity can’t be zero”.

IV). If total quantity is not zero, then display all three values and total quantity on the new webpage.