This is a very perfunctory look at the website code HTML, for those who never did any kind of Computer Studies at school and have never had the need or opportunity to look 'under the skirt' of your average website. There's nothing that an experienced webmaster will find here that's not very basic, but for those who have just begun to discover the 'website' and especially those venturing into... maybe starting one of their own, here's a basic understanding to pique the interest and possibly kick-start the learning process.
If you don't even know what I'm talking about when I say HTML, as a means to follow what we're talking about as we go, then just go to this page - Home Based Business & Affiliate Center and click on the 'View' option at the top of your browser and select 'Source' or 'Page Source' (depending on your browser type) from the drop-down menu. You will be confronted by a Notepad document with silly looking symbols, letters and numbers on it. Well, that is HTML code. It's the coded 'blueprint' for the web PAGE (not the whole website) that you're looking at. Keep the Notepad document open to refer to as we discuss each part.
P.S. I have had to add some spaces into the example codes that wouldn't normally be there, otherwise the example codes would actually 'work' and influence the way the article looked in those article websites that accept their article submissions with html code ability. But you'll get the idea...
HTML is nothing more than a set of instructions for your browser program (or any program used to read web pages) to interpret and present the web page in a visual form for you to see. It's made up of individual symbols, with each either have a meaning in itself or sometimes a set of them (often many characters long) representing a simple instruction to place any part of the web page, say... an image in a certain spot or to perform a function.
Firstly, at the top, you'll see the < html> tag, which is identifying the language being used. Then you see a tag. That's comparable to the 'header' on a letter, where your company name, address and phone number would go. It's there for the Search Engines, like Google and Yahoo etc, so they can, at a glance, see what the web page is and what it's about. Under the < head> tag there are < meta> tags, each of which contains information about different aspects of the web page like, the title, a short description, the program used to create it, copyright information, keywords that relate to the subject matter on the web page and other instructions that are meant solely for the Search Engine robots (spiders, crawlers - they have different names) when they visit.
The < head> section is then closed off with a < /head>. That's an important part of the html code. Every tag that contains an instruction needs to be 'finished' by using the same tag with a '/' in front. This is telling the program that this particular instruction type is finished. It's like saying 'over' at the end of a radio transmission.
There are too many different types of instructional tags to cover in a simple article, but covering a few of the most common ones will give you the basic idea. Next is the < body> tag. This is the start of the part of the web page that will be visible in the browser. In the case of my webpage example, the tag is long because it contains some specific instructions, which apply to the entire web page. They concern the background of the page (in this case an image is being used for a background that forms the vertical stripes), the colour of the page text and the different colours of any 'hyperlinks' on the page (before during and after they are being clicked by someone).
Obviously, it would be a huge task to systematically explain each entry as I have done up to now, but suffice to say, there are various kinds of tags containing coded instructions that tell the browser (or whatever program is used to produce the visual representation of the HTML code) what to put in the web page, where to put it, what colour to make it etc. Just with regard to colours, all colours of the rainbow are represented by a six digit system called the 'hexadecimal' system, which we don't need to get into except to say that each code that looks like '#A1B2C3' represents a particular colour.
The more oft used coded instructions found on a web page are:
< font> - A font tag is the instruction to the browser concerning what type, size and colour the text in between these tags is to be. When anything about the font changes, you will see the new tag containing the new instruction, which may simply be a colour change. For example:
< font face ="Arial" color="#FFFFFF size=" 4">.
This represents text written in Arial font, coloured white (#FFFFFF), size 4 (which is 14pt text).
< b>, < i>, < u> - Text can also have other tags within the < font> tag, which denote, as these do respectively, bold type, italic type and underlined type. When the bold, italic or underlined type is discontinued, there needs to be a corresponding < /b> or < /i> etc, to instruct the program to go back to the standard type.
< p> - is a paragraph break. It can also contain extra information like where to align the entry (left, right, center or justify). For example: < p align=" left">
< br> - is a single line break. It doesn't carry any extra instructions.
< table> - A table is simply a box. It can be any size, in any position and have borders or not, which are coloured or plain, dotted or solid etc. It can have a specific background colour, which is different from the main page background. It can contain different numbers of rows or columns or just be a single open box. If the table is divided into rows or columns, the different sections within the table are called 'cells' which can all have the border, size and background options as the table.
< tr> - Defines a row within a table. It is always contained between a < table> and < /table> tag.
< td> - Defines the attributes of any given cell within a table. Again, it can only be between a < table> and < /table> tag. For instance: a 'cell' or < td> tag might look like this:
< td width="100%" height="64" bgcolor="#FFFFFF" style="border: 1 solid #BF0000; padding: 2" >
In this particular code the width indicates 100% (of the table in which it is contained), the height is represented as 64 pixels - both percentages or exact pixel measurements can be chosen. The background colour is, as you can see, #FFFFFF, which is white and it has a solid border, 1 pixel thick and the border colour is #BF0000, which is a red/brown colour. You also see another attribute - padding, which in this case is '2' pixels. This is the 'buffer' zone around the inside edge of the cell so that the contents of the cell (text, image or whatever) don't sit right up against the edge of the cell border.
< a> - is an 'anchor' TAG. It is more often used to create a hyperlink to another webpage (in the same site) or another website altogether. The 'hyperlink' anchor will have the tag < a href>. Hyperlink tags will contain the location the user is to be taken. For instance, a link to my example website would look like this:
< a href="http://www.online-plus.biz" target="_blank">Whatever text is to contain the link
You will also notice a 'target' attribute, which determines whether the destination of the link opens in a 'new' browser window (in this case) or it can be designated to open in the same window.
The < a> tag can also be used to 'link' to another point on the SAME web page. In this case the tag used will still be the < a href> tag but the point to which you wish it to go to will have a < a name> tag. For example:
< a href="whatever">The text to be the link< /a> and the point in the page to which it links will have a tag < a name="whatever" >Word or image at that point linked to< /a>
< img> - Is the instruction to insert an image. Of course, the program needs to know which image to insert so, this tag will contain the location of the image (using 'src', meaning source), which will generally be within a folder on the server, which hosts the website. However, essentially, the address (URL) of ANY image on any public server can be inserted and that image will appear on the web page. It is represented like this:
< img border="0" src="images/logo1.png" width="195" height="66" >
This instruction says the image (with the file name 'logo1.png') has no border ("0"), it's source (where it's located is the 'images' folder within this website). It also has the measurements of the image in pixels. If an image from another website needed to be inserted, the full URL of the image would appear. For instance, if this image was located on another website server, instead of the 'src' being just 'images/logo1.png' (which is a local website address), it would need to be 'http://www.other-website .com/images/logo1.png', so the program would know exactly where to go to retrieve the image.
That's about all that can be covered in a short (or not so short article) however, I hope that to those who have either never seen HTML code or those who have considered it some mysterious secret technical jargon, will now see it as more friendly and understandable.
In my earlier days I found such websites as W3Schools as an invaluable source in the process of understanding what all the 'gobbledygook' meant. There is also a full list of all the different HTML tags and their meanings. I'm sure my over 35's peers (and possibly even younger ones) will too.
The 2005 Edition of Steve Brennan's popular ebook title 'The Affiliate Guide Book' is available now. He also operates a number of Affiliate wesbites which include The Diet & Weight Loss Place
![]() |
|
![]() |
|
![]() |
|
![]() |
Here is a quick list of components that make a... Read More
Have you ever thought about the real stories behind all... Read More
Remember the day that you got your new computer (or... Read More
The solution lies in creating a 'Database driven website', through... Read More
Even if you're not an accomplished webmaster you can still... Read More
One of the simplest things you can do to give... Read More
(1) Create a Direct Response Website, with the minimum number... Read More
A "template" is simply a design format which you can... Read More
Novice and professional designers alike ? you may probably be... Read More
A well designed web site is great to have, but... Read More
Do you know why the majority of people use the... Read More
Every action has a beginning phase where you launch your... Read More
What do the key words represent?Key words - these are... Read More
There is nothing wrong with making your own website if... Read More
Usability isn't only for Web design. It's also applicable in... Read More
When your web site sells more than a dozen items,... Read More
If you've just finished building your new website (or revamping... Read More
As of September, Smartads went through what so many have... Read More
Are you a student of graphic design? If you have... Read More
Everyday we hear that another company goes out of business.When... Read More
Many times I've seen a web site undergo a revision... Read More
While few companies can boast as we do that our... Read More
There are many different website design companies, offering different facilities... Read More
If you have a business, big or small you may... Read More
Designing your own successful web page can seem difficult and... Read More
Back to basics. Forget funky design, good copywriting is the... Read More
Traffic to a site can be a blessing or a... Read More
Whether you're hiring a designer who has created 10 sites... Read More
We've all seen and read product testimonials. They're a very... Read More
No matter what product or service you're promoting, unless you... Read More
Every day internet marketers are inundated with the latest fad... Read More
It seems that almost every Tom Dick and Harry do... Read More
This is the second part of a two-part article about... Read More
The Questions You Should Be Asking ? The Answers You... Read More
ASP.NET is a new programming framework from Microsoft for developing... Read More
Have you ever thought about the real stories behind all... Read More
No question about it, web design is an art. Finding... Read More
When building your website you might not have a large... Read More
What are websites? Are they sales tools for vendors and... Read More
I've written about META tags in the past, and I... Read More
So your web site's online and you've got high rankings... Read More
Websites that have multiple pages usually have a Frequently Asked... Read More
When creating an e-cover the what's the first thought that... Read More
Are you looking to create the perfect website? A complete... Read More
When it comes to marketing your website, you should really... Read More
Want to know what the worst thing to say on... Read More
1. Don't load your web site with a lot of... Read More
It's a fact, Page Not Found, known as a 404... Read More
We can't emphasize enough the importance of including keyword-rich content... Read More
If you are going to be placing ads on your... Read More
The "Wow" factor that accompanied the introduction of streaming media... Read More
1. Who needs an artists website?Not everyone! If you are... Read More
The problem with designing your site as a graphic, is... Read More
Are you building a direct sales or mlm business online?... Read More
Now that you have decided that it is time to... Read More
One of the most frequent questions I get asked about... Read More
You may not bother with html validation or writing simple... Read More
New Web sites are springing up online by the millions.... Read More
In my last article entitled, Maximizing The True Value Of... Read More
1. Size does not equate to competencePeople sometimes assume a... Read More
You've designed your logo, and you're ready to print your... Read More
The internet is filled with sites and they are good... Read More
Do you remember playing with the jack-in-the-box toy as a... Read More
Let's look at what your user wants to see at... Read More
Back to basics. Forget funky design, good copywriting is the... Read More
Drop Capitals are frequently used in many newspapers, books and... Read More
Web Design |