Sunday 19 January 2014

Html coding lesson #1

Most people know that basically all websites use html coding which is why it is so important to learn,  throughout these lessons i will show you he basics of html coding until you have enough knowledge to make a basic website.

The first thing you need to know is every html need to begin with this tag <html> and end with this </html> and inbetween some tags is where all of your coding goes. The next thing you need to know is how to make you sites title which will appear on the top bar when someone is in your site and what it will be called if someone searches your site and sees it on a search engine, to do this type he following except replace title here with your websites title.

<head>
<title>
title here
</title>
</head>

Now you need to make the body of your site which is everything that will appear on your websites page, this will all go between these 2 tags starting with <body> and ending with </body>
Also if you want a certain color for your background to be in the first body tag edit in this except change blue to any background color you want

<body bgcolor="blue">

Now in your site you will need a heading to do a heading type the following except change any heading here to your sites heading.

<h1>any heading here<h1>

Also note that this heading will appear on the left site of your webpage if you want it centred or to the right type the following but change the centre part to any position you want it to be in (this applies to all headings, subtitles, paragraphs ect.)

<h1 align="centre"> heading here<h1>

Now also in the body you may want to include paragraphs and subtitles to do these type <p>paragraph here<p>
For a paragraph and
<h2>subtitle here<h2>
For a subtitle.

This is the end of the first lesson check out the second html lesson.

No comments:

Post a Comment