Name of Student: Ashish Vishal SAPID:1000009234: Assignment
Name of Student: Ashish Vishal SAPID:1000009234: Assignment
Assignment ID Submission
(as per the Deadline
policy Assignment Submission Assessment Group/ Date of (Date and
guidelines) Title Mode Method Individual Weightage Release time)
A1_CS345_Eve Assignment- Explanation
n2020 1 Online +Code Individual 5 10-2-2020 17-02-2020
Assignment must be submitted by the Due Date and Time as mentioned above.
Assignment submitted after Due Date and Time and before the next 48 hours
will be marked late and will attract a penalty of X marks (out of the overall Y
marks, and it will be evaluated out of Y-X marks only). Assignment will not be
considered for evaluation subsequently (after 48 hours past due date and time),
and a score of zero will be awarded.
Plagiarism is not allowed by the University for any Academic Document to be
submitted by the students for any assessment. In order to avoid plagiarism
ensure you always follow good academic practice. This include self- plagiarism
i.e. submitting a peace of your own work which has provisionally been presented
for examination.
Submitted assignment must have your Full Name and SAP ID in the space
provided above this page in the Header.
1. Design your Resume in HTML as per the template attached. The HTML page must
conform to the layout given in template and substitute the values in the field marked
with <field_name> or XXXX or *****. Write the HTML code as part of the answer of this
question and attach you resume (in HTML page) with this assignment.
Ans:-
<style>
div{
background-color:silver;
}
strong{
font-size:larger;
}
</style>
Name of Student: Ashish Vishal SAPID:1000009234
b) Write a single style rule that applies both the background and text declarations
to both p and em elements.
<style>
p,em{
font-size:larger;
background-color:silver;
}
</style>
c) Write a single style rule that applied the background declaration to HTML
elements having a value of Nevada for their id attributes as well as to elements
belonging to shiny class.
<style>
#Nevada.shiny{
background-color:silver;
font-size:larger;
}
</style>
d) Write a style rule that applies the text declaration to span elements that belong
to the bigger class.
<style>
span.bigger{
font-size:larger;
}
</style>
e) Write a style rule that applies the text declaration to span elements that are
descendants of other span elements.
<style>
span span{
font-size:larger;
}
Name of Student: Ashish Vishal SAPID:1000009234
</style>
f) Write a style rule that applies the background declaration when cursor hovers
over a hyperlink.
<style>
a:hover{
background-color:silver;
}
</style>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body>
<form>
<label for='first'>First : </label>
<input type="text" name="" id='first' value="" placeholder=""><input id='1' type="checkbox"
name="" value="" placeholder=""><br>
<label for='second'>Second : </label>
<input type="text" name="" id='second' value="" placeholder=""><input id='2' type="checkbox"
name="" value="" placeholder=""><br>
<label for='third'>third : </label>
<input type="text" name="" id='third' value="" placeholder=""><input id='3' type="checkbox"
name="" value="" placeholder=""><br>
<hr>
<label for=''>Subtotal : $</label>
<input type='text' id='sbt' name="">
<hr>
<label for=''>Tax 7% : $</label>
<input type='text' id='tax' name="">
<label for=''>Total : $</label>
Name of Student: Ashish Vishal SAPID: 1000009234