Learn HTML & CSS

If you are a beginner first and foremost we have to learn HTML and CSS. This is a must step and cannot be skipped as HTML and CSS have no alternative. And we can’t develop a website without HTML and CSS.

So let’s start with the first step.

first, we need <!doctype html> which declares the DOCTYPE for HTML5 and happily is not case-sensitive.

Now we can open <html> and <body> tag. So it will look something like this:

<!doctype html>
<html>
<body>
</body>
</html>

It is still empty. So let’s add up a title (which will be shown in the browsers tag) and some body text.

<!doctype html>
<html>
<title>YOUR PAGE TITLE GOES HERE</title>
<body>
BODY TEXT COMES HERE.
</body>
</html>

Copy & paste the code into a text editor and save it as “index.html”.

Go to the directory where you saved the file and open it in a browser. In Brackets you can do it by simply clicking the Live Preview (thunderbolt) icon in the top-right corner.