Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.08 KB

creating_your_first_webpage.md

File metadata and controls

38 lines (27 loc) · 1.08 KB

What are HTML & CSS?

HTML (HyperText Markup Language) is the most basic building block of the Web. It describes and defines the content of a webpage along with the basic layout of the webpage.

Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in HTML or XML (including XML dialects such as SVG or XHTML). CSS describes how elements should be rendered on screen, on paper, in speech, or on other media.

Source: (https://developer.mozilla.org/en-US/docs/Web/Guide/)

Familiarizing yourself with the terms

HTML Elements

CSS Syntax

CSS Selectors

Try it yourself

  1. Create an index.html on your computer.
  2. Open the file using any text editor that is installed on your computer.
  3. Copy and paste this code in index.html
<!DOCTYPE html>
<html>
<head>
	<title>Page Title</title>
</head>
<body>
	<h1>My First Heading</h1>
	<p>My first paragraph.</p>
</body>
</html>
  1. Open the index.html using your web browser.

Congratulations on your first Web Page! :)