CBH
CBH
CBH
Q#1. The output of the following HTML is given without applying CSS. 1 x 5 = 5 marks
Highlight the changes in the output given below after apply the CSS.
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
h1 {
text-decoration: underline;
}
div + p{
text-decoration: underline;
}
div p{
text-decoration: underline;
}
.description{
border: solid black;
}
</style>
</head>
<body>
<h1>CS463</h1>
<div>
<p class="description">Web Engineering</p>
</div>
<p>FCSE</p>
<p class="description">GIKI</p>
</body>
</html>
Q#2 What is the main difference between GET and POST requests? 2 marks
GET POST
Request a document from the server Send some information from the client to the
server
Assuming security certificate/protocol is not used on the website. Identify following for the above
mentioned URL:
a. Path: about.php
b. Host: www.cs463.com
c. Protocol: http
d. Port: 80
Frontend Backend
HTML PHP,
CSS MySQL,
JavaScript Apache,
Response
Q#5 How would you write following code to make it more appropriate in HTML5? 2 marks
HTML4 HTML5