IT430 Assignment No. 2 solution

No Comments


Assignment No. 02
Semester: Spring 2011
IT430 E-Commerce
Total Marks: 10 Due Date: 26/04/2011 Instructions Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied.


Question# 1 (5)
Draw a table having 1 row and 3 columns. Put the following text in to each cell. “I am ‘your name (bc0000000)’ and studying in Virtual University of Pakistan. Virtual University is Pakistan's first University based completely on modern Information and Communication Technologies. The aim of Virtual University is to provide extremely affordable world class education to aspiring students all over the country.” Style the text of each cell using style sheet properties. First cell’s text should be justified. Second cell’s text should be aligned right. Third cell’s text should be centered.


Question# 2 (5)
Write the html code to show the text contained in boxes as shown below using Style Sheet Properties. The boxes are 200px wide. The second box has a height of 100px; padding from left is 10px, padding from right is 50px. The space between the two boxes is 10px. Note: Submit “.doc” file only. Copy your HTML codes of Question 1 and Question 2 in a single word file (You do not need to submit different html files). 


Send email at it430@vu.edu.pk]it430@vu.edu.pk for any assignment related query. Your work must be original. No marks will be given in case of cheating or copying from the internet or from any other student.


Deadline:
Your assignment must be uploaded/submitted on or before 26th April 2011.


Solution:


Question No. 1
<html>
<body>
<table>
<tr>
<TD WIDTH="33%" STYLE="text-align: justify">
“I am ‘your name (bc0000000)’ and studying in Virtual University of Pakistan. Virtual
University is Pakistan's first University based completely on modern Information and
Communication Technologies. The aim of Virtual University is to provide extremely affordable
world class education to aspiring students all over the country.”
</TD>
<TD WIDTH="33%" STYLE="text-align: right">
“I am ‘your name (bc0000000)’ and studying in Virtual University of Pakistan. Virtual
University is Pakistan's first University based completely on modern Information and
Communication Technologies. The aim of Virtual University is to provide extremely affordable
world class education to aspiring students all over the country.”
</TD>
align: center">
“I am ‘your name (bc0000000)’ and studying in Virtual University of Pakistan. Virtual University is Pakistan's first University based completely on modern Information and Communication Technologies. The aim of Virtual University is to provide extremely affordable world class education to aspiring students all over the country.”
</TD>
</TR>
</TABLE>
</Body>
</HTML>

:::::::::::::::::::
Question No.2
<HTML>
<STYLE>
<!--
P {border: thin solid; margin-bottom: 10px}
-->
</STYLE>
<BODY>
<P STYLE="width: 200px">VU ID: MCXXXXXXXX
<P STYLE="height: 100px"; STYLE="width: 200px"; STYLE="padding-left: 10px ";
STYLE="padding-right: 50px ">
Your name
</BODY>
</HTML>

:::::::::::::::::::::::::::::::

QUESTION nO.1


<html>
<body>
<table>
<TR><TD width="33% STYLE="text-align: left">
“I am ‘STUDENT NAME (101010101)’ and studying in Virtual University of Pakistan. Virtual
University is Pakistan's first University based completely on modern Information and
Communication Technologies. The aim of Virtual University is to provide extremely affordable world class education to aspiring students all over the country.”</TD><TD width="33%" STYLE="text-align: right">
“I am ‘STUDENT NAME (101010101)’ and studying in Virtual University of Pakistan. Virtual University is Pakistan's first University based completely on modern Information and Communication Technologies. The aim of Virtual University is to provide extremely affordable world class education to aspiring students all over the country.”</TD><TD width="33%" STYLE="text-align: center">
“I am ‘STUDENT NAME (101010101)’ and studying in Virtual University of Pakistan. Virtual University is Pakistan's first University based completely on modern Information and Communication Technologies. The aim of Virtual University is to provide extremely affordable world class education to aspiring students all over the country.”</TD>
</TR></TABLE>
</Body>
</HTML>

QUESTION nO.2

<HTML>
<BODY>
<P STYLE="width: 200px">VU ID: MC100200300
<P STYLE="height: 100px"; STYLE="width: 200px"; STYLE="padding-left: 10px ";STYLE="padding-right: 50px ">
‘STUDENT NAME'
</BODY>
</HTML>
::::::::::::::::::::::::::::

Question 01
<html>
<head>
<title>IT-430 Assignment 02</title>
</head>
<body>
<table border="1">
<tr>
<td align="justify">I am VUsolutions (bc0101011)’ and studying in Virtual University of Pakistan.</td>
<td align="right">Virtual University is Pakistan's first University based completely on modern Information and Communication Technologies.</td>
<td align="center">The aim of Virtual University is to provide extremely affordable world class education to aspiring students all over the country.</td>
</tr>
</table>
</body>
</html>

Question 02

<html>
<head>
<title>IT-430 Assignment 02</title>
<style type="text/css">
tbl.st td {
padding-right:50px; 
padding-left:10px;
}
</style>
</head>
<body>
<table border="1" width="200px" cellspacing="10px" class="st">
<tr>
<td>VU ID: BC001010110</td>
</tr>
<tr>
<td height="100px"> VUsolutions </td>
</tr>
</table>
</body>
</html>
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment