Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,326 Categories: 12

Total Tutorial Views: 41,383,250

Basic HTML programming

Tutorial Name: Basic HTML programming  

Category: PC Tutorials

Submitted By: 5FDP_Jekyll

Date Added:

Comments: 4

Views: 1,996

Related Forum: PC Building Forum

Share:

Requirements for programming HTML:
1: Time and patience
2: A text editing program such as Notepad, Notepad++ or Dreamweaver.

First and foremost to understand what HTML is you must first know what HTML stands for. HTML is the abbreviataion of Hypetext Markup Language, It is one of the two must needed languages for programming a website from scratch, the other being CSS or Casscading Style Sheet.

So to begin, the starting layout for an HTML file is this:
<html>
   <head>
      <title></title>
   </head>
   <body>
   </body>
</html>


Now you should also declare what kind of HTML you will be using. More info about this can be found [ Register or Signin to view external links. ]

A few more of the tags that will be used in HTML are; <p>, <div>, <table>, <ol>, <ul>, and <li>. Please note that almost all of the tags in HTML must be closed by the following tag(s) </(tag)> however some like the image tag which is <img> may be closed by adding in an "/" at the end.


Another tag which is very important to know is the <a> tag. This is what allows you to link to pages on your site or to another website. An example of this using TheTechGame's home button is the following:
<a href="/">Home</a>


Now you may be asking what does the href="/" for? The answer is that, it is used for telling the site where to go so since it is going to the root directory it will take you to the site's homepage on a website however on a computer it will take you to your C: Drive or which ever drive you are currently using.

Now to add in an image you would use a code like this:
<img src="(Image Location).(Image Extension)"/>


The src part in the above code stands for Source, this is used to tell the website where your image is located.

On a final note I would like to wish you luck in programming and a few places which have helped me to learn all that i know about HTML and CSS coding.


Ratings

Current rating: 5.26 by 19 users
Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"Basic HTML programming" :: Login/Create an Account :: 4 comments

If you would like to post a comment please signin to your account or register for an account.

XGKModzSiiNPosted:

This is a very good tutorial! Though, it might seem a little bit confusing for some people though :/

IntPosted:

Great tutorial mate; I already know HTML and CSS but still good job

ResortPosted:

Great tutorial, But it still seems a bit complicating

CraigPosted:

Great tutorial man, i will refer back to this in future. Thanks for the tut.