You are on page 1of 3

Riphah International University,

Faisalabad
Web Programming Quiz-01 (10 Marks)
Name:

Reg #:

Q.1) Fill in the blanks (2.5 Marks)


1. HTML page is interpreted by the Browser____________
2. HTML describes the Structure__________ of a page
3. We are learning following version of HTML _HTML 5.0________
4. TCP/IP abstract _4_____ layer model
5. WWW is only _Subset/Part_____ of _Internet_________
Q.2) What are the five early features of web that are still the core features
of modern web (2.5 Marks)

A URL to uniquely identify a resource on the WWW.


The HTTP protocol to describe how requests and responses operate.
A software program (later called web server software) that can respond to HTTP requests.
HTML to publish documents.
A program (later called a browser) to make HTTP requests from URLs and that can display the
HTML it receives.

Instructor: Uzair Saeed

Riphah International University,


Faisalabad

Q.3) Write the HTML code for the following list (2 Marks)

Server Side
1. PHP
2. MySQL

Client Side
1. HTML
2. JavaScript

jQuery

3. CSS
<ul>
<li> Server Side</li>
<ol>
<li> PHP</li>
<li>MySQL</li>
</ol>
<li> Client Sider<./li>
<ol>
<li> HTML</li>
<li>JavaScript </li>
<ul>
<li>jQuery </li>
</ul>
<li>CSS </li>
</ol>
</ul>

Q.4) Consider following folder/file structure (3 Marks)


C:\myfiles\projects\website1\index.html
C:\myfiles\projects\website1\contact.html
C:\myfiles\projects\website1\services\service-a.html
C:\myfiles\projects\website1\images\photo.jpg
C:\myfiles\projects\website1\products\category-a\product-aa.html

Answer the following question


a) Write down the tag with relative path when you want to create a link to
contact.html in index.html
<a href=contact.html>Contact</a>
b) Write down the tag with relative path when you want to load photo.jpg in
service-a.html
Instructor: Uzair Saeed

Riphah International University,


Faisalabad

<img src=..\images\photo.jpg />


c) Write down the tag with relative path when you want to create a link to
product-aa.html in service.html
<a href=..\products\category-a\product-aa.html>Product</a>

Instructor: Uzair Saeed

You might also like