Professional Documents
Culture Documents
SUBMITTED TO:
MAM SHAFIA
SUBMITTED BY:
AYESHA FAYYAZ
ROLLNO:
18216
REGISTRATION NO:
2018-GCWUF-3865
COURSE TITLE:
WEB DESIGN AND DEVELOPMENT
COURSE CODE:
CSC-406
CLASS:
BS(COMPUTER SCIENCE)
SEMESTER:
4TH MORNING
ASSIGNMENT
Question 1:
Question 2:Design a web page html and CSS that define five classes
of paragraph with different background ,color, margins,padding
and border style.
<html>
<head>
<title>
</title>
<style>
.text1
{
color:blue;
font-weight:bold;
border-style:double;
}
#text1
{
color:blue;
margin-left:1cm;
padding-right:30px;
border-style:double;
background-image:url("1.jpg");
}
.text2
{
color:yellow;
font-weight:bold;
border-style:dashed;
}
#text2
{color:yellow;
margin-left:1cm;
padding-right:30px;
border-style:dashed;
background-image:url("2.jpg");
}
.text3
{
color:orange;
font-weight:bold;
border-style:solid;
}
#text3
{
color:orange;
margin-left:1cm;
padding-bottom:30px;
border-style:solid;
background-image:url("3.jpg");
}
.text4
{
color:red;
border-style:dashed;
}
#text4
{
color:red;
margin-left:1cm;
padding-bottom:30px;
border-style:dashed;
background-image:url("4.jpg");
}
.text5
{
color:green;
font-weight:bold;
border-style:double;
}
#text5
{
color:green;
margin-left:1cm;
padding-bottom:30px;
border-style:double;
background-image:url("5.jpg");
}
</style>
</head>
<body>
<h1 class="text1">Life</h1>
<p id="text1">Life is something that has a beginning and an end.
It’s time is limited. The memories that we hold on to are exclusive to those moments that we feel
have the most significance and value.
Everything else we forget due to redundancy and meaninglessness. Therefore, it is your choice of
whether you fill it with excitement, new things,
and positivity or just experience life everyday through dullness like it’s deja vu . Everyone has to
let go of their lives at some
point and disconnect from this world through their final breath. In those moments, the valuable
and important moments are what will relay and relapse back to you.
And that relapse will be short, perhaps just a couple hours, is what will define your life and what
you’ve lived for.
</p>
<h1 class="text2">Morning walk</h1>
<p id="text2">
Regular morning walk keeps one fit.
It helps form a sound health. Science says that morning walk controls blood pressure,
lessens stress and strain and energizes one to work zealously.Now-a-days we are to live a very
fast life.
We are to work round the clock. We hardly have time to care for our health. If the habit of
morning walk is formed right from our early days,
we can be sure of a sound body and a sound mind.Besides the health benefits, it is an extremely
delightful experience to take a walk early in the morning.
</p>
<h1 class="text3">Education</h1>
<p id="text3">
Education is an essential part of life and it covers a very broad area of knowledge. We can also
call
education as a process of gaining knowledge. The only difference between apes and humans was,
they were not educated and we are educated and well mannered.
Education not only develops our academic performance but is also helpful in other curricular
activities.
We learn to read, write, speak, learn various skills, practice other activities; all are various types
of education.
</p>
<h1 class="text4">Social media</h1>
<p id="text4">
Social media is one of the most general ways of communication and it is growing very quickly.
It changes and affects each person in a different way, or ways. Some people argue that social
media has a
bad influence on children and young adults, and that it depressingly affects their brains,
character, or personalities.
Most people see that the social media has a more positive effect on them than a negative one.
Social media has helped many people around the world to connect,
or re-connect, with each other, easily. Social media is essentially the new way of keeping in
touch with everything and everyone,
and of even strengthening bonds between each other
</p>
<h1 class="text5">Fashion</h1>
<p id="text5">
Fashion can be defined as generally dressing sense which is prevailing in their culture.
Fashion is different from gender to gender. Fashion is a general aspect to culture. Fashion is like
as clothes, shoes and assories etc.
Fashion is indispensible for our society because fashion can be good sort for introduces our
traditions in the rest of the world.
It’s show country’s culture to other person how their peoples dress our self.
Fashion is better now a day because every culture has a lot of varieties in their fashions.
People mostly join fashion industry as a profession. Fashion industry is increase our scope and
people attract their innovations in fashion style and they also
adopt it very efficiently. Fashion makes us decent.
</p>
</body>
</html>
Question 3:
1. Should follow a set of standards for designing websites?
Web design principles and best practices are "Traditional Internet conventions." They 're
a set of rules web designers follow, recognizing they comply with the needs of travelers.
They 're transparency and usability guidelines.
Social media ions in the footer: In the footer, 72 percent of the websites contain
icons for social media websites. This makes these almost a standard design
element. As in the footer, clicking on any of these icons takes the visitor to the
social media site. For this reason, this element of design can cost you traffic ,
increase bounce rates and hurt results.
Web threats:
Different web threats are as follow.
Denial of service(DoS): Denial of service attacks have become more
sophisticated as the world wide web is becoming more complex. A DoS attack's
primary objective is to overwhelm the capacity of the web server where your
website is hosted. Essentially, hackers will continually flood your web traffic to
end up shutting down your network simply because of overloading.This occurs
when malware exploits multiple systems and they work together to target a
network.
SQL injection: In terms of aim, SQL injections vary from DDoS. Although
DDoS attempts to interrupt a website's regular operation, SQL Injections are
malicious programs designed to penetrate a database for the purpose of obtaining
confidential information.SQL Injections searches for defective code or improperly
crafted ways that could provide the hacker with a way to access scripting from
your database. Upon access by the hacker, a hacker can "inject" their own code
into the database , allowing them to manipulate and steal the stored sensitive data.
Here are some measures you can take against SQL Injection to protect your
sensitive information.
Cross site scripting: XSS represents one of the web's most insidious attacks.
XSS is a malicious code which is inserted into a website's client side. One may
get infected simply by visiting a website or by using a web app. Much like SQL
Injections, hackers search for some form of input flaw in a website so they can
insert their own code.
Web designer:
A web designer would be responsible for the car's aesthetic design (seat comfort,
dashboard layout, etc.) and the convenience of driving and riding in the car.
Developers use coding languages to create the core structure of a website, while
designers are more visually imaginative and centered on the user. Developers use
their knowledge on programming to breathe life into the creative vision of the
designer. Think of developers as construction workers, and web designers as
architects-skill sets that are both important but different.