DEV Community

Cover image for How to make a website
Steffan Jensen
Steffan Jensen

Posted on • Edited on • Originally published at linkedin.com

How to make a website

First you gonna need a text editor, if you use windows, you can use notepad or if you wanna go pro search for sublime text, in Linux go with vim or another editor, and mac... figure it out yourself

Now you have the text editor open, you should start typing.

<html>
<title>
My websites title
</title>
<body>
<h1>This is my website headline</h1>
Welcome to my website
<img src="https://markmanson.net/wp-content/uploads/2010/09/stones.jpg">
</body>
</html>

Example: https://jsfiddle.net/58ngefro/1/

Now click Save and save the file as mywebsite.html, now open the mywebsite.html file with your mouse in your directory.

Always when you create statements you should remember to use the <> and close it again with </> this is a way for the code to know the difference between when to open and close new statements.

Now we have a basic website. If you learn these 3 commands which is ,

and . You will be able to understand every HTML line in the matter of a few seconds.

Now we have the basic we should be moving on to add different stuff to your new website, like images and different text.

<html>
<title>
My websites title
</title>
<body>
<h1>This is my website headline</h1>
Welcome to my website
<img src="https://markmanson.net/wp-content/uploads/2010/09/stones.jpg">
</body>
</html>

Example: https://jsfiddle.net/xo981m4s/

Save the file and open it.

Now you have created your first website with both a title,headline,text and image. There are thousands of more commands you can use in HTML. But with this tutorial we just covered the basic.

My Instagram Scraper Website:
https://instascraper.github.io

Download My Instagram Bot:
https://github.com/instagrambot/Instagram-scraper-with-autopost

Follow me:
https://www.linkedin.com/in/steffan-jensen/
https://github.com/reliefs/
https://dev.to/reliefs/
https://fiverrdiscountcode.com

Top comments (2)

Collapse
 
somedood profile image
Basti Ortiz

I would love to just point out that web pages and web sites are not the same thing. Making a web site requires more than just writing a web page.

What has been created in this article is a web page. A web site can be thought of as the entire structure, so to speak. This includes making web pages, registering domains, managing databases, and maintaining servers.

Collapse
 
reliefs profile image
Steffan Jensen