Instant resources

Learining HTML tags - exercise 1

Learning HTML tages - exercise 2

Constructing a web page - exercise 1

Constructing a web page - exersize 2

Creating links with HTML tags - exercise 1

Creating lists with HTML tags - exercise 1

Other JPROF exercises





Purchase this book from Amazon for $16.


Purchase this book from Amazon for $10.



Home > Online journalism > HTML tags


HTML tags

Even if you never come close to programming a web site (and that's a big IF), you need to know would basic HTML tags. HTML stands for hypertext mark-up language, and that is the basic language that tells a web browser (Internet Explorer, Safari, Firefox, etc.) what to do with a web site or web page.

The basic tags are relatively easy to learn and to use.

Almost all actions that HTML tags provoke come in two parts: a beginning tag and an ending tab. For instance, if you want to boldface words, you would put a beginning tag <b> before the words and an ending tag </b> after the words. Thus, this sentence:

Abraham Lincoln delivered the <b>Gettysburg Address</b> on Nov. 19, 1863.

would appear like this on a web site:

Abraham Lincoln delivered the Gettysburg Address on Nov. 19, 1863.

So here are the tags you should know:

These are the basic tags, but they are by no means all of them. Your instructor may have additional tags that he or she will want you to learn.

Nesting

Nesting tags -- putting them in the proper sequence -- is important when two tags are applied to something. For instance, in the following sentence:

Harper Lee is the author of To Kill a Mockingbird.

you may want to make the title of the book both bold and italic. With the appropriate tags, the sentence would look like this:

Harper Lee is the author of <b><i>To Kill a Mockingbird.</i></b>

It does not matter which beginning tag comes first. The important thing is that the ending are in reverse order from the beginning tags.

Here's another example. In the following sentence:

You can find much about journalism at the JPROF web site.

you may want to make "JPROF" a link and you may also want to boldface the type. The tags for this would look like this:

You can find much about journalism at the <a href="http://www.jprof.com><b>JPROF</b></a> web site.

and the sentence will look like this:

You can find much about journalism at the JPROF web site.

Notice again that the sequence of the ending tags is the reverse of the sequence of the beginning tags. With the beginning tags, the link tag comes before the bold tag. This is called nesting. If you are going to apply two or more tags to an object, the order of the ending tags should be the reverse of the order of the beginning tags.


About JPROF.com | Who is JPROF? | Contact us
All of the words and images on this site are copyrighted and may not be used without the permission.
Copyright © Jim Stovall 2009
FreeFind.com provides search technology for this website.