Description
Please follow the instructions carefully.
Assignment 2
Deadline: Day 14/4/2025 @ 23:59
[Total Mark for this Assignment is 8]
Student Details:
Name: ###
ID: ###
CRN: ###
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Restricted – مقيد
Question One
Pg. 01
Learning
Outcome(s):
Identify most
HTML tags and
CSS properties
and use a text
editor to construct
the basic HTML
and CSS
structure for
a webpage.
Restricted – مقيد
Question One
2 Marks
What does XHTML stand for? Mention at least THREE rules that XHTML enforces
which make it stricter than standard HTML.
Question Two
Pg. 02
Learning
Outcome(s):
Question Two
3 Marks
Write CSS rules that demonstrates how to use the box model to control the layout of a
Identify most
web element. Include examples of setting margins, borders, padding, and width.
HTML tags and
Important notes:
1. You should copy and paste the “HTML script” to answer this question. DON’T
take screenshots for your HTML script. It must be an editable script.
2. Take a screenshot of your output web page and paste it as a part of your
answer.
CSS properties
and use a text
editor to construct
the basic HTML
and CSS
structure for
a webpage.
Restricted – مقيد
Question Three
Pg. 03
Learning
Outcome(s):
Identify most
Question Three
3 Marks
Create an HTML file for the given web page, apply the appropriate CSS styles using
the opacity property.
HTML tags and
CSS properties
and use a text
editor to construct
the basic HTML
and CSS
structure for
a webpage.
Important notes:
1. You should copy and paste the “HTML script” to answer this question. DON’T
take screenshots for your HTML script. It must be an editable script.
2. Take a screenshot of your output web page and paste it as a part of your
answer.
Restricted – مقيد
Pg. 04
Restricted – مقيد
Question Three
Purchase answer to see full
attachment