HTML and Css
HTML and Css
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 -
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>
</body>
</html>
Output :
CSS Structure -