What’s The Buzz

Random posts on what’s happening in the world of Linux and Open Source Technology

Linux Goodies

Linux tips and tricks picked up on the job as a Linux Systems Engineer.

Apple Goodies

All things wonderful about Apple Computers and Devices

Microsoft Goodies

Microsoft System Engineering tips and tricks as told by a Linux Systems Engineer

XKCD

Get your daily dose of the XKCD cartoon

Home » Linux Goodies

The First Thing To Know About The Basics Of HTML

Submitted by on March 26, 2010 – 4:24 pmNo Comment

HTML does not have to be difficult to learn. Its fundamentals are quite simple. It is when HTML is used with other languages such as javascript, php, asp, vbscript, etc. that HTML looks intimidating to the untrained eye. I will share with you the way I first learned HTML. This is the no-frills way.

The first thing to note is that HTML is a markup language. Basically, a markup language is not a full on programming language. HTML does not have the logic structure that a regular programming language has. For instance, HTML does not do what-ifs type of logic. You will not find any if-statements, for-loop, while-loops, select statements, etc. There is no flow control built into HTML. If you do not know what flow control is, that is quite alright. It is not necessary to know it in order to know HTML.

Being a markup language, all it does is define sections of content so that it is presented properly on a web browser. HTML has these main tags that are required in every HTML document. We are going to use lowercase because that is the most accepted standard. Although, HTML can be written with upper case tags, as well.

html>

head>title>This is where the title goes/title>/head>

body>

This is where you place your main content

/body>

/html>

That is it! Just remember those four tags — html, head, title, body. Remember the general rule: every tag needs a closing tag. Closing tags are prefixed with a forward slash — /title>/head>/body>/html>.

If you want to practice recognizing those basic HTML tags, do the following…

  • open a web browser
  • go to any website
  • view the website’s HTML code by clicking on the “View” menu and then choosing “Page Source”

Depending on your browser, the exact wording to navigate to the source code section might be a little different. The directions in #3 use a Firefox browser. Your Internet Explorer, Safari, Netscape, Opera, etc. might use slightly different wording. Just look for something that seems like it will show you the code for the webpage you are viewing.

You are now on your way to understanding HTML. In future articles, I will show you how to format your content.

Julie Chang in an avid affiliate marketer, specializing in niche markets. Download the FREE report on the Science of Getting Rich Online.

Author: Julie Chang
Article Source: EzineArticles.com
Provided by: Smart cooker

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*