Help us stay free, Link back to us! General Information - Bookmark this page

HTML Explained: Part 2

Get started creating web pages using text files and HTML code! This article is a continuation of HTML Explained: Part 1, which gives a general overview of HTML. Here, we're going to get into the nitty gritty of the code itself. Once you see how simple it really is, you should RUN, not walk to the nearest bookstore and grab your own copy of a handy HTML manual. All right, let's begin.

In viewing the source of web pages, you may have noticed a lot of these things: < >. They're called HTML tags, and they're what the computer uses to interpret the HTML code.

NOTE: in this article I had to add spaces to all of my HTML tags so that I could display them without actually having them work. There are two HTML tricks to actually "shutting off" HTML tags, but neither of them function properly in this submission box.

The HTML tags shown here will display like so: < FAKE TAG > but in reality you're supposed to type them like so:

A friend of mine describes HTML tags as "on/off switches." An easy example which you may be well-familiar with, is the Bold command. To "turn on" Bold, type < B > (but with no spaces). All of the text that comes after the Bold tag, will then be Bolded. To "turn off" the bold characteristic, type < /B >. Any text that comes after the "bold off" tag will unbolded.

It's worth mentioning that in all cases, all text that falls between an "on" or "off" HTML tag will take on the characteristic of that tag descriptor. How much text can you put in between two HTML tags? As much or as little as you want. That means, you can use just a couple of HTML tags to design paragraphs and paragraphs of text.

What are some other HTML tags that web designers frequently use?

< I > and < /I > (for italics) < U > and < /U > (for underline) < BR > (to create a single line break).

In most but not all cases, if you activate an HTML tag by enclosing it in these: < >s, you must also deactivate it at some point, as in < I > and < /I > for italics shown above. An exception to this rule is < P >, or paragraph separator tags, and < BR > or line breaks.

Specifying Multiple Text Characteristics Within a Single HTML Tag

HTML tags work in different ways, depending on the aspect of the design they're controlling. As I mentioned above, you can control all elements of web design via HTML code-page separation, text formatting, image placement, design layout, and hyperlink insertion. For this reason, one HTML tag can include multiple variables. This sounds a lot trickier than it is.

For example, a tag with multiple variables enclosed all in one of these: < >, can be used to format text. An equals (=) sign is used to specify multiple characteristics within a single HTML tag. To tag a section of text for font specs, begin with:

< FONT FACE=

Using no spaces after the equals (=) sign, type your font name in quotes, as so: "arial". You can also specify the size and color here. In the same tag that says to close. Your font tag will now look like this:

< FONT FACE="arial" SIZE="2" > (but with no end spaces).

If you wanted to, you could also include a color for the text within that tag. The color is entered in the same way as the font face and size, and is named within its own set of quotation marks either in a basic name such as "black" or "red", or a 6-digit numerical code that begins with a number sign.

So, an HTML tag that designates a paragraph typed in Arial font at the 2nd smallest size of type, in the color black, would look like this:

< FONT FACE="arial SIZE="2" COLOR="black" >

All of the type that came after this HTML tag would take on the characteristics above. Once you wanted to "shut off" the font characteristics of that blurb of text, you would type the tag < /FONT >.

Using HTML Tags to Add Images to Your Web Page

Now suppose you wanted to add an image to your webpage. And let's assume the image was already located in the folder of your website where images are stored. In order to make the image appear in your NEW web page, you need:

1. the complete web address of your website (such as http://www.wordfeeder.com),

2. the folder (or subdirectory) on your server where images are kept, and

3. the file name of the image (ends in .jpg).

The HTML code used to "pick up" an image from a source is IMG SRC. As always, it belongs inside those handy bracket-things. So your tag would begin:

< IMG SRC=

Without typing any spaces before or after the = (equals) sign, you'd then paste the URL of where the image is located (as explained in examples 1, 2 and 3 above), and follow with the filename and .jpg ending. I'll illustrate this with an example from my own web collection of images:

< IMG SRC="http://www.wordfeeder.com/sitebuildercontent/sitebuilderpictures/wordfeederlogox.jpg" >

By typing that HTML tag with the specific web address and folder information/filename within quotation marks, the computer knows the origin of the image, and will then "hyperlink it" into your web page.

If you're ever unsure of the filepath of an image you need, go to the webpage where it's located and then right-click the image. Under "properties", you'll find the complete URL path that must be typed in between the two quotation marks that fall inside your Image Source tag.

Note: you do not need to "shut off" an image tag.

You can also include multiple variables within a single image tag. For example, if you wanted to left-align the above image, you'd edit the above tag to look like this:

< IMG SRC="http://www.wordfeeder.com/sitebuildercontent/sitebuilderpictures/wordfeederlogox.jpg" ALIGN=left >

Hyperlink Tags for Email and Website Addresses

Ever wonder how webmasters create live links? A live link might say something like, "Click here for more info!" and then when you click there, you're suddenly transported to a new web page. A live link is simply type covering a website address. Check it out:

< A HREF="http://wordfeeder.com" >Visit Wordfeeder for more info!< /A >

That's HTML code for "hyperlinked text". It looks weird, but think about it this way. The first part in that's enclosed in these: < >, is what turns on the "make the following words into a link that leads to the address I am typing here" function. The end tag, < /A > is what "shuts off" the "hypertext linking" feature and will then let you resume typing in normal, unlinked text.

As you can see, by typing a few simple HTML tags, you can create some pretty amazing things. This article is just the tip of the iceberg. I hope that the explanations and examples shown have at least provided a basic understanding of HTML for you. A great way to learn is by "studying" other people's web page code from the View>Source window. You practice by copying their HTML code into your own fake pages, and filling in the "meat" between their "on" and "off" tags with text and images that suit your own purposes. But be careful. If you paste HTML incorrectly, you can totally wreck and corrupt your document.

For folks who want to get into serious design, I highly recommend that you buy a comprehensive HTML guide. Once you get the hang of HTML, there's no telling what you can create!

Copyright 2005 Dina Giolitto. All rights reserved.

Dina Giolitto is a New-Jersey based Copywriting Consultant with nine years' industry experience. Her current focus is web content and web marketing for a multitude of products and services although the bulk of her experience lies in retail for big-name companies like Toys"R"Us. Visit http://www.wordfeeder.com for rates and samples.

In The News:


Washington Post

Stocks end lower on personal income data
Los Angeles Times, CA - 2 hours ago
Dell shares fell $3.48, or 14%, to $21.73 on its earnings report late Thursday and cautious comments about spending in the tech sector. ...
Slower spending hurts Dell, tech firms Chicago Tribune
Market was Down on Consumer Spending and Personal Incomes Data Zacks.com
Stocks & Bonds Shares Fall on Slow Consumer Spending New York Times
AHN - Kansas City Starall 933 news articles

Money managers expect muted year-end tech rally
guardian.co.uk, UK - 15 hours ago
2 maker of personal computers, sounded a warning bell on Thursday when it reported a sharper-than-expected drop in quarterly profit and said cutbacks in US ...

Stocks end lower on personal income data
The Associated Press - 10 hours ago
Investors worried about the tech sector after Dell's report late Thursday and its cautious comments about spending in the sector. The stock fell $3.48, ...

Reuters

US STOCKS-Wall St tumbles as Dell warns on tech spending
Reuters - 12 hours ago
A government report showed US personal income fell unexpectedly in July while spending slowed as the effects of a government stimulus package wore off. ...
US STOCKS-Dell warning on spending, oil weigh on Wall St guardian.co.uk
US STOCKS-Wall St tumbles as Dell warns on tech spending Reuters
US STOCKS-Disappointing Dell earnings, oil weigh on Wall St Reuters
all 1,567 news articles

Issue of technology in presidential campaign debated
MiamiHerald.com, FL - 11 hours ago
Even though McCain may not be wired on a personal level, his campaign surely has a strong online presense. On Thursday, the first ad that popped up when you ...

Stocks Shaken While Oil Stirs
Forbes, NY - 13 hours ago
Tech stocks were the biggest drag on the market, as investors punished most of the sector's biggest names. Dell (nasdaq: DELL - news - people ) was the ...
Street Slips At Week's End Forbes
Street Softens As Gustav Pumps Oil Forbes
Street Slumps Into Holiday Forbes
Forbesall 5 news articles

Tech Test Drive: Deca Sports (Wii)
San Jose Mercury News,  USA - 10 hours ago
The bad: The game doesn't use personal Mii's, instead only letting you choose from preloaded teams and players. Games are over simplified for easy play. ...

Stocks fall on personal income data, Dell report
The Associated Press - 14 hours ago
Ahead of next week's figures concerns arose Friday about the tech sector after Dell's report. The company fell $3.22, or 13 percent, to $21.99 after the ...

Slumping tech shares pace pre-holiday pullback
SmallCapInvestor - 12 hours ago
Small-caps stocks drifted lower Friday, weighed down by losses in the tech sector and by troubling economic data on the personal income report. ...

Texas Tech Hurricane Research Team Heads Towards Gustav
KCBD-TV, TX - 8 hours ago
"Most other storms you go to some other location, and it's nothing personal, but it is a little bit, Katrina was a little different because its places that ...
personal tech - Google News

4 Computer Money-saving Tips

Tip #1 -- Rebates: A rebate is not always a bargain. Computers with rebates are often close to being discontinued. You may pick up a good deal or purchase technology that's about to... Read More

Buying a Personal Computer (PC)

For many people the computer industry is a seeming unsolvable jungle filled with mysterious words. Here is a guide to help you understand the personal computer and to give you the information needed... Read More

JVCs First Three-Layer Combo-Disc Blu-Ray / DVD

JVC developed and used a high-performance reflective film to produce this revolutionary three layer structure. The outer Blu-ray layer can be read by the blue light laser but it is transparent for the... Read More

Ergonomics and Healthy Computing - Positioning Your Body For Maximum Comfort At Your Computer

Do you remember the old saw about how computers would change our lives for the better? We'd have more time to ourselves and lead healthier, happier lives. The truth is computers do make... Read More

Things You Can Do To Speed Up Your Computer

Upgrading your processor will always speed up your computer, but sometimes this will not be the best thing to do. The first thing you need to do is find out where the bottle... Read More

The Many Benefits of Owning a DVR

Has This Ever Happened To You? OK.. it's Friday night, the kids are asleep, and a movie you've been waiting for is on Pay-Per-View for the first time. You buy the movie, grab... Read More

Keeping Passwords Secure

As the web has evolved, so have the methods of collecting personal information. A large number of websites require visitors to register to gain access or participate. While the need for registration is... Read More

More Cool Web Tricks

If you ask most people what frustrates them most about the Internet, many of them will tell you "It's the little things!"It seems like all the great tricks and tips that make people... Read More

Does Microsoft Show Hackers How To Attack?

After another security hole recently surfaced in Microsoft's Windows operating system, the software giant released a patch this past Friday to plug the possibly devastating "back door" which allows hackers to potentially seize... Read More

How Does My PC Get Hot

There are many sources of heat that can raise the temperature in your PC. No, I'm not talking about the Tabasco sauce you dripped over your keyboard when you ate that bowl of... Read More

Microsoft Great Plains Dexterity Customizations

Microsoft Business Solutions is on the way to popularize it's ERP systems implementation. Right now such products as Microsoft CRM and Small Business Manager (cheap version of Microsoft Great Plains, based on the... Read More

Put Order and Information into File Names

Unless you place your faith in internal search engine software or document databases to track your work, consider a relatively low-tech enhancement to your work methods. I promise it will pay big dividends.Consider... Read More

Learn the Lost Art of Touch Typing

Computers have replaced typewriters, but two-finger, hunt-and-peck typing can never replace the touch typing of a trained professional.A recent report by Robert Johnson in the Boston Globe highlights the decline of typing skills.... Read More

Keeping the Windows Registry Operational

The registry is where the computer stores information about the configuration of the system and the programs installed so that the operating system can use them.Regularly maintaining the registry is a basic requirement.... Read More

Are You Well Protected?

Winter?the official start of the cold and flu season. Though, technically speaking, things got started a little early. Close to a million computers, mostly home PC users, have been infected.For many of us... Read More

Buying a Home Theater Receiver

Buying a receiver is one of the most important decisions you're going to have to make when building your home theater. The receiver has a number of functions including; connecting and switching audio... Read More

How To Recognize The Telltale Signs Of Spyware

Spyware is the software that collects information about your online activities and preferences. The information is then sent to another computer with the intention of selling it to online advertisers.Spyware and adware can... Read More

How To Speed Up Your Aging PC And Make It Healthier Too

With a little tweaking and with proper tools, you can get a faster, healthier PC, virtually immune to spyware infections and browser hijackers. How is this possible? Find out about the latest tools... Read More

Compile .BAT Files into Native Windows Applications (.EXE)

Since the DOS days, batch files have been one of the most convenient and immediate ways to accomplish certain tasks. Even today it's possible to find some remarkably sophisticated utilities written as command-line... Read More

An All Too Familar Pain

Lost & Found for the 21st CenturyIn today's hectic world more and more people are turning to those handy gadgets and mobile products that can be taken with them anywhere they go. The... Read More

Be Your Own IT Department

If you use a computer, you need to know more than just how to use your email and surf the web. You need to know that you are protected. If there isn't someone... Read More

Connect Your IPAQ to Linux

Choose Not To ConformPalm pilots and pdas are constantly growing in the ways that people use them in their everyday lives. Having a pocket pc is becoming the standard rather than the exception.... Read More

EDTV vs HDTV

Confused by EDTV vs HDTV? We don't blame you. The number of acronyms floating about with regard to digital TV is frightening. What's even more worrying is that very often they are used... Read More

Improve PC Performance - 6 Tips You Must Know

Are you frustrated with your PC?Is it feeling sluggish or crawling at a snail's pace?Are programs running slower than they used to?Are you just plain fed up with frequent slowdowns, freezes or crashes?Then... Read More

What Are You Looking For In A Cheap MP3 Player?

Are you stymied by the vast offerings in cheap mp3 players? Don't know which features best suit your needs? Here are some suggestions based upon product reviews by mp3 player owners.The first thing... Read More

MCSE 70-290 Certification Primer

Microsoft Certifications are one of the most widely acclaimed, pursued, and achieved technical certifications in the IT industry. The demand for Microsoft Certified Professionals in the job market is increasing every year.Microsoft offers... Read More

Make Windows XP Run Faster!

A friend told me: "My computer startup seems to be taking a long time. And when the hard disk finally stops churning, everything just seems slower than when it was new. Can you... Read More

Basic Diagnosis Guidelines for Your PC

Simone is exasperated. She has to work on her university assignment but her PC is not working properly. For example: She would like to open a single Internet Explorer window but a whole... Read More

iPod users get the picture

iPod users start to get the picture and it's turning out to be colorful fun!!The latest generation of hi tech gadget users are watching the different media they use start to converge as... Read More

GOOGLE AD