Make Money Online BUILDING WEBSITES Build a Website Using HTML and CSS – Project #1 – Hindi / Urdu Tutorial

Build a Website Using HTML and CSS – Project #1 – Hindi / Urdu Tutorial

Build a Website Using HTML and CSS – Project #1 – Hindi / Urdu Tutorial post thumbnail image


In this project-based tutorial, we will show you how to build a website using HTML and CSS.

We will start by showing you how to create a simple HTML document. We will then show you how to style your website using CSS.

We will finish by showing you how to add some basic interactivity to your website.

Creating an HTML Document

The first step is to create an HTML document. This is a simple text document that contains the code for your website.

To create an HTML document, open a text editor and save the file as “index.html”.

The contents of an HTML document are enclosed in tags. The most basic tag is the “html” tag, which tells the browser that the document is an HTML document.

The “head” tag contains information about the document, such as the title. The “body” tag contains the actual content of the document.

Here is an example of a basic HTML document:

My First Website

Hello world!

Save the file and open it in a web browser. You should see the text “Hello world!” displayed in the browser window.

styling your website with css

Now that you have created a basic HTML document, let’s start styling it with CSS.

CSS is a style sheet language that allows you to style your HTML document.

To add CSS to your document, you need to include a link to the CSS file in the “head” tag.

Here is an example of a basic HTML document with CSS:

My First Website

Hello world!

Save the file and open it in a web browser. You should see the text “Hello world!” displayed in the browser window.

Now let’s add some basic styles to the document.

In the “style.css” file, add the following code:

body {

font-family: “Helvetica Neue”, Arial

Related Post