How to Make an HTML Website From Scratch
How to Make an HTML Website From Scratch
STOP! Even though you can cause your site on your computer for free, you can't launch your site until you have a website name and hosting.
Yes, there are places to get free websites but you don't own them plus they are harder to acquire ranked in Google.
Never, ever make mistake of creating a free website like I did in years past. It was certainly one of my biggest regrets.
OK, enough about me. Let's get lets start on the tutorial...
All You Need is a Computer and Notepad
If you produce a static HTML website, that you do not actually need any software. You can make site right from your computer totally free using Notepad or TextEdit (Mac).
WAIT! If you're not considering manual creation, skip here to understand more about WordPress and other website creation options. Or if you wish to take course on manual creation, click here.
Creating a Basic HTML Web Page
Open your text editor and insert the next code. Just copy and paste the details below in your empty file.Now Save As and make certain you select All Files under "Save as Type" and save the file with the .HTML extension so it looks like index.html. This is likely to be your homepage.
Now open this file with any browser and you should go to a clean white page which says This will be the body of your web site.
Believe it you aren't, which is all you need to build a basic website. Now, obviously it's likely to be incredibly plain and unattractive, however you get the idea.
Notice the line that reads "Search Engine Title Goes Here." That may be the title that the search engine displays when your web site is listed and ranked in Google, Bing, etc.
This is where you want to insert the words that you are attempting to target and acquire ranked for. Be sure to check the link above for help on google search optimization.
Adding CSS
Now to jazz up your page, you'll desire to use CSS. This stands for Cascading Stylesheets and a very good way to ensure that you use consistent styles throughout your site.It also makes it simple to update your fonts, colors, etc. across your entire pages immediately.
Don't worry. I know it sounds complicated but I'm going to give you the code and you should see how easy it is to tweak it.
To build your stylesheet, just open another blank text file and name it style.css. Be sure to save it in the same location (folder) on your hard drive as your homepage file.
Now give a line prior to </head> in your HTML page that reads...
<link rel="stylesheet" type="text/css" href="style.css">
So the code for your index.html page will look this way...
This tells the browser to ascertain the stylesheet when loading the website.
Creating a 2 Column Web Page
Now, let's produce a 2 column page using CSS. Below will be the code you'll paste into your style.css file.Notice you'll find 5 sections to your internet site...
1) Container
2) Header
3) Sidebar (left column)
4) Content
5) Footer
Most in the sections are most likely self explanatory. The Container is the area that holds your internet site.
If you desire the entire width of your internet site to be 1000, you'd change the 900px to 1000px. Just remember to affect the size in the rest from the variables so everything aligns.
And the stylesheet defines the width along with other variables for each and every section. If you wish to change the background color with the body, you would change #ffffff to another color.
Take some time to tweak the stylesheet how you need it.
So you can now add the following code for your filename.html (homepage) and replace <p>This may be the body of your respective homepage</p> with this...
So here is your complete homepage code...
This tells the browser you just read the style from the style.css file. So each section of your website will make use of the styles provided with your stylesheet.
Now when you open your homepage, you ought to see something such as this...

You can adjust the section widths, heights, colors, etc. in your stylesheet to get the look you desire.
Adding Font Styles
If you don't add any font styles or sizes, the browser will just display the person's default fonts on the computer (usually Times New Roman).However, with CSS it is possible to tell the browser what font style and size you need for each section of your web site.
So if you would like the paragraph text in your content area to get 14px and make use of the Arial font then you'll add these code for your stylesheet immediately after the #content section.
#content p font-family: Arial; font-size: 14px
So your #content area should look like this now...
Now anytime you add paragraph text (be sure you surround your posts with <p> and </p>), it will take on the design you identified with your stylesheet.
Changing The Link Colors
By default, links are blue, nevertheless, you can continue with the same format above and change the color to whatever you wish.So if you want your links to show up red with your content area, you would add this in your style.css file...
#content a color: red; or you can use the hex value and declare it like this...
#content a color: #ff0000;
The a represents the url color. Now when you give a link to this content area using this code...
<a href="http://www.website.com">This can be a link</a>, the hyperlink will be red.
Rinse and Repeat
So if you are know a bit about creating styles on your stylesheet, you can apply this tutorial to any section of your internet site.That means if you need to change the font color and size of one's header, navigation, footer, etc. just continue with the example I used for this article section.
Check out some more html templates it is possible to download.
Want a More Advanced Course?
This page covered the fundamentals, but if you desire to really step-up your web design skills, consider choosing a course. This is certainly one of the most widely used web development courses online. You can sign up here.How to Publish Your Site to The Internet
Once your web site has been created, you will need a web host to write it to Internet for the world to see.In order to achieve that you must register your own domain and select a service provider.
Then you'll be able to FTP (upload) your pages up to your web site. However, if you are using WordPress (below) power running out do any of the because it has its own publishing platform integrated.
Other Creation Options
If you are not into manual website creation, you'll find other ways that will not need you to tweak so much code or manually upload pages.1) Artisteer is a design tool that will help you build a website by using a very user-friendly interface. You simply tweak the pre-loaded templates and no coding should be used.
This is obviously for people who don't choose to learn much about HTML and choose to spend time working in a more visual mode.
Here's videos on Artisteer here...
2) Dreamweaver is an additional option, of course this software is heightened and assumes you wish to learn HTML and CSS. I used Dreamweaver to make this site.
3) WordPress is often a dynamic platform for creating blogs or websites with comments as well as other functionality.
It incorporates templates so that you do not have to you could make your own, along with the plugins will assist you to do so a number of things without difficulty.
Learn more about WordPress here.
A Note About Multi-Column Websites
Years ago, 3 column websites were all the trend because they gave the web site owner more property for advertising plus much more.However, times have changed with all the trend soon on your way simplistic designs.
Learn the reasons you may need to limit the volume of columns in your internet site's design.
Learn web development in just about six weeks!
If you liked this, please share. Thanks!
























