Professional Documents
Culture Documents
2021
Introduction web design
3
Introduction web design
Overview
• HTML stands for Hyper Text
Markup Language, which is the
most widely used language on
Web to develop web
pages. HTML was created by
Berners-Lee in late 1991 but
"HTML 2.0" was the first
standard HTML specification
which was published in 1995.
4
Introduction web design
5
Introduction web design
Overview
• CSS is used to control the style
of a web document in a simple
and easy way.
• CSS is the acronym
for "Cascading Style Sheet".
6
Introduction web design
<!DOCTYPE html>
<html>
<head>
<title>Inline CSS</title>
</head>
<body>
<p style = "color:#009900; font-size:50px;
font-style:italic; text-align:center;">
GeeksForGeeks
</p>
Introduction web design
8
</body>
</html>
This can be used when a single HTML document must be styled uniquely.
The CSS rule set should be within the HTML file in the head section
<!DOCTYPE html>
<html>
<head>
<title>Internal CSS</title>
<style>
.main { <body>
text-align:center; <div class = "main">
} <div class
.GFG { ="GFG">GeeksForGeeks</div>
color:#009900;
font-size:50px; <div class ="geeks">
font-weight:bold; A computer science portal for
} geeks
.geeks { </div>
Introduction web design font-style:bold; </div> 9
font-size:20px; </body>
} </html>
</style>
</head>
External CSS property written in a separate file with .CSS extension and
should be linked to the HTML document using link tag.
12
Introduction web design
• URL
Uniform Resource Locator
• Represents the address of a resource
on the Internet.
14
HTML is the foundation of webpages, is used for webpage
15
development by structuring websites and web apps.
16
17