Web_dev
RELATIONSHIPS, HTML AND CSS
ASPECTS COVERED
• Relationships and how things work.
• HTML
• CSS
Relationships:
Database stores data dynamically
Sever side language(PHP), renders
operations and displays data from DB
HTML and CSS provides the user with
the display and user interphase (UI)
HTML
HTML stands for Hyper Text
Markup Language
HTML provides structure to
the webpage content
HTML enables the use of
images, videos and audio
HTML provides the header
and footer of a webpage
HTML Code
• <!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Heading of webpage between this tag</h1>
<p>Write paragraph between this tag.</p>
</body>
</html>
CSS CSS stands for
Cascading Style Sheets
CSS focuses on how the
webpage is presented
aesthetically
CSS focuses mainly on
webpage design
CSS Code
body {
background-color: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
HTML and CSS combined
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
References:
https://www.google.com/search?q=CSS&rlz=1C1SQJL_enZA900ZA902&sxsrf=ALe
Kk032KAbPYbGS30_PwMSp7U95VHM4OA:1624382076264&source=lnms&tbm=i
sch&sa=X&ved=2ahUKEwjt6onl3qvxAhWq3OAKHbYjBKoQ_AUoAXoECAIQAw&bi
w=1396&bih=604#imgrc=GfppzQratKPPTM
https://www.google.com/search?q=html+icons&rlz=1C1SQJL_enZA900ZA902&sxs
rf=ALeKk02ovS6BqFFAXOAPfZ5-
PVd1qTWNtQ:1624381401207&source=lnms&tbm=isch&sa=X&ved=2ahUKEwjlvZ
ej3KvxAhXFAWMBHcL-
B48Q_AUoAXoECAEQAw&biw=1396&bih=604#imgrc=NL4gNQ65sZqqqM
https://www.w3schools.com/css/css_howto.asp
https://www.w3schools.com/css/css_howto.asp
https://www.w3schools.com/html/html_intro.asp
ADD A SLIDE TITLE - 4
ADD A SLIDE TITLE - 5

Web dev