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/)
- Create an index.html on your computer.
- Open the file using any text editor that is installed on your computer.
- 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>
- Open the index.html using your web browser.
Congratulations on your first Web Page! :)