Q1

Explain the Unix commands to

  1. create a folder named public_html
  2. change to folder public_html
  3. view all the files in the folder
  4. set the folder accessable on the web?
  5. made a file index.html accessable on the web?
  6. delete a file?

Q2

Make the following table with summary "This table gives some statistics." using an HTML tag.

A test table with merged cells

Average Red
eyes
heightweight
Males1.90.00340%
Females1.70.00243%

Q3

Make the following frameset using an HTML tag with the following conditions:

[Frame]

Q4

Make the following text display in the body of an HTML page:

<p>M&m’s are my "favorite" candy snack.</p>

Q5

Explain why the followings are not W3 standand

  1. <P>Hello</P>
  2. <a href=index.html>index.html</a>

Q6

Say you wanted to add a little style to your web page, namely:

Q7

Alternatively, say you wanted you page to use the Cascading Style Sheet "myCss.css" in order to add the previous style to multiple web pages. What is the HTML tag that must be in the head tag of any page that uses that style?

Q8

Create a HTML snippet creating the following ordered list:

Things that I like most

Q9

Write a javascript to print out the squares of 1 to 1000.

Q10

Write a javascript. When you change the color(yellow, red, green) of the menu, then background color of the paragraph will be changed to the color you chose.

Change my background color!

Q11

Enter 2 numbers, after your press the order button. The two numbers will be rearranged in ascending order. i.e. If the second number is smaller than the first number, the two numbers will be swapped.