0% found this document useful (0 votes)
6 views

HTML and Css

Uploaded by

raviraje104
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

HTML and Css

Uploaded by

raviraje104
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

What is HTML ?

HTML (Hypertext Markup Language) is the standard language


for creating web pages. It defines the structure and content of
web documents using tags and attributes to format text,
embed images, create links, and build interactive elements,
facilitating communication between web browsers and
servers.

 History :
HTML was invented by Tim Berners-Lee who was
founded in 1990, a physicist at the CERN research
institute in Switzerland. When working with HTML, we
just use a simple code structure that contains tags and
attributes to build the structure of a webpage, and it is
displayed as such by the browser.
What is CSS ?
CSS (Cascading Style Sheets) is a language designed to
simplify the process of making web pages presentable. It
allows you to apply styles to HTML documents, describing
how a webpage should look by prescribing colors, fonts,
spacing, and positioning. CSS provides developers and
designers with powerful control over the presentation of
HTML elements.
 History :
CSS was developed by the World Wide Web Consortium
(W3C), with significant contributions from Håkon Wium
Lie and Bert Bos. Håkon Wium Lie first proposed the
concept of CSS in 1994 as a way to solve the problems of
document presentation on the web being controlled
solely by HTML.
HTML Basic Tags -
Using CSS -

• Inline - by using the style attribute inside HTML elements

• Internal - by using a <style> element in the <head> section

• External - by using a <link> element to link to an external


CSS file.

The most common way to add CSS, is to keep the styles in external
CSS files. However, in this tutorial we will use inline and internal
styles, because this is easier to demonstrate, and easier for you to
try it yourself.
HTML Structure -
<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>


<p>My first paragraph.</p>

</body>
</html>

Output :
CSS Structure -

You might also like