New Server= New Sale!

Thursday, February 25, 2010 Posted by Jamie Johnson

New Server = New Sale! To celebrate the launch of our newest quad core Server we created some of the best deals we have ever offered and made them available to you for the next 2 months.

hostgladiator.com is proud to present our complete line of shared and reseller hosting solutions.  Your first payment 50% off with the promo code BLOG on any billing cycle!

Use coupon code: BLOG during the checkout process to get your first payment 50% off!

This offer is valid for a limited time so order now!

If you have any questions please feel free to contact us anytime at: sales@HostGladiator.com

Happy Birthday Marines!!

Tuesday, November 10, 2009 Posted by Jamie Johnson

usmcDuring the American Revolution, many important political discussions took place in the inns and taverns of Philadelphia, including the founding of the Marine Corps.

A committee of the Continental Congress met at Tun Tavern to draft a resolution calling for two battalions of Marines able to fight for independence at sea and on shore.

The resolution was approved on November 10, 1775, officially forming the Continental Marines.

As the first order of business, Samuel Nicholas became Commandant of the newly formed Marines. Tun Tavern’s owner and popular patriot, Robert Mullan, became his first captain and recruiter. They began gathering support and were ready for action by early 1776.

Each year, the Marine Corps marks November 10th with a celebration of the brave spirit which compelled these men and thousands since to defend our country as United States Marines.

Happy Birthday My Fellow Marines!!

Semper Fi

SGT/USMC 1996-2003

HTML Headings

Tuesday, November 10, 2009 Posted by Jamie Johnson

HTML Headings

You created headings in HTML by “tagging” certain chunks of text with heading tags. The format for an HTML heading tag is:


     <hN>Text to Appear in Heading</hN>

where N is a number from 1 to 6 identifying the heading size.

Here are some examples of different heading sizes:

sample web page

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6

Heading levels range from level 1 (Most Important) to level 6 (Least Important). Like an outline, your heading levels should have logical, consistent order and be parallel.

Placing HTML Headings in Your Document

  1. Re-open your workspace (if not already opened).
  2. Go to the text editor window.
  3. Open the HTML text file you created in lesson 2,
    “volc.html”.
  4. First, we will use the tag to display the title as the
    biggest header, <H1>. Enter the following above the existing body text and after the </head><body> tags:

    
              <h1>Volcano Web</h1>
    
  5. Below the text already entered, create other headings for future sections of your Volcano Web page.

    Enter the following headings inside the body of your web page (Note that some are H3 and others are H2 tags):

    
              <h2>Introduction</h2>
    
              <h2>Volcano Terminology</h2>
    
              <h2>Volcanic Places in the USA</h2>
    
              <h3>Mount St Helens</h3>
    
              <h3>Long Valley</h3>
    
              <h2>Volcanic Places on Mars</h2>
    
              <h2>Research Project</h2>
    
              <h3>References</h3>
    
  6. Save changes in your text editor.
  7. Return to your web browser, Open and Reload the HTML file.
  8. Note that on the computer you are using now, you can use the
    settings in your web browser to define the fonts and/or size of
    the headings. For example, on one computer you could have
    a browser display h1 tags as Times font and 36 point;
    h2 tags as Helvetica font and 24 point, etc.
    HTML codes designate only that the headers are of a
    certain type (h1 to h6); how it is displayed is controlled by the
    user of the web browser.


Check Your Work

If some of your headings do not appear correct, be sure to check that the starting tag and ending tags have the same heading level.

As an optional exercise, take a look at what happens when you make a typographical error. Open your HTML document in the text editor and delete the slash (/) in the <h1> tag, after the header Volcano Web:

 <h1>Volcano Web<h1>
[missing "/" ------------^^^]

Save the changes and reload into your web browser. Without the correct ending of the h1 tag, your web browser interprets all of the succeeding text as part of that header! After trying this you should go back to your document and re-insert the slash in the correct spot.

Review Topics

  1. What are the different levels of headings in HTML?
  2. What are the tags associated with these different levels?
  3. What steps did you use in placing headings in your HTML document?
  4. What happens if you forget a slash at the end of a header tag?

Independent Practice

Add at least three headers of different levels to your own HTML document.


Coming Next….

Breaking up text into paragraphs.

Geocities web hosting closes it’s doors

Friday, October 30, 2009 Posted by Jamie Johnson

For those that haven’t already heard geocities free web hosting has officially shut down. HostGladiator will be offering those geocities customers a month of free hosting, so if you previously had a geocities hosting account contact us for your free month.

Creating Your First HTML Document

Wednesday, October 28, 2009 Posted by Jamie Johnson

What are HTML tags?

When a web browser displays a page such as the one you are reading now, it reads from a plain text file, and looks for special codes or “tags” that are marked by the < and > signs. The general format for a HTML tag is:

<tag_name>string of text</tag_name>

As an example, the title for this section uses a header tag:

<h3>What are HTML tags?</h3>

This tag tells a web browser to display the text What are HTML tags? in the style of header level 3 (We’ll learn more about these tags later). HTML tags may tell a web browser to bold the text, italicize it, make it into a header, or make it be a hypertext link to another web page. It is important to note that the ending tag,

</tag_name>

contains the “/” slash character. This “/” slash tells a web browser to stop tagging the text. Many HTML tags are paired this way. If you forget the slash, a web browser will continue the tag for the rest of the text in your document, producing undesirable results (as an experiment you may want to try this later).

NOTE: A web browser does not care if you use upper or lower case. For example, <h3>…</h3> is no different from <H3>…</H3>

Unlike computer programming, if you make a typographical error in HTML you will not get a “bomb” or “crash” the system; your web page will simply look, well… wrong. It is quick and easy to go inside the HTML and make the changes.

Your browser has a small but open vocabulary! An interesting aspect of HTML is that if the browser does not know what to do with a given tag, it will ignore it! For example, in this document you are viewing, the header tag for this section really looks like this:

<wiggle><h3>What are HTML tags?</h3></wiggle>

but since your browser probably does not support a <wiggle> tag (I made it up, perhaps in the future it could cause the text to wave across the screen?), it proceeds with what it knows how to do. If I were programming a new web browser, I might decide to add the functionality for the <wiggle> tag into my software.
Opening Up Your Workspace

To complete the lessons in this tutorial, you should create a second web window (this allows you to keep this window with the lesson instructions and one window as your “workspace”), plus open your text editor application in a third window.

NOTE: This is a good place to remind you that we will provide directions that are somewhat general as the menu names and file names can differ depending on which web browser you are using. If our instructions say, “Select Open Location… from the File Menu” and your web browser does not have that exact choice, try to find the closest equivalent option in your own web browser.

In some web browsers (notable Internet Explorer), a new browser window opens with either a copy of the page you are viewing or your home page. Just ignore that for now, we will load new content in it below.

So you will want to be pretty comfortable jumping between different applications and windows on your computer. Another option is to print out the lesson instructions (but we really do not want to promote that kind of excessive tree carnage).

Here are the steps for setting up your “workspace”:

1. From the File menu of your web browser, select New Window or New Web Browser (The exact name of the menu command can be different depending on what browser you are using). A second web window should appear. Think of the first window as your “textbook” and the second clone window as your “workspace” for completing the HTML lessons.

NOTE: The only reason to have two windows here is so that you can read the instructions for the lessons and also view your working document. It is not mandatory to have two windows open; it just makes your work easier. You could also bookmark this web page or jump back here via your Go or History menu.

2. Next, you need to jump out of the web browser, go to your desktop and open your text editor program.

NOTE: You will need to move back and forth between the different windows to complete these lessons. This can be a challenge depending on the size of your monitor. You may choose to resize the three windows so that they all fit on your screen or layer your windows so you can click on any of them to bring it to the front.

If you are using a word processor program to create your HTML, be sure to save in plain text (or ASCII) format.

If you are just starting out, we most STRONGLY recommend that you use the simplest text editor available — TextEdit for the Mac OSX (but you need to know how to save files as Plain Text– as an alternative, Mac users can download the free and wonderfully simple Plain Old HTML Editor) or the Windows NotePad. Why not use those nifty HTML editors? It is sound instructional design that you first learn the concepts and THEN look for shortcuts or helpers that make the work less tedious.

Also, it will help you if you first create a new directory/folder on your computer that will be your work area. You can call it workarea or myspace or whatever you like; just make sure that you keep all of the files you create in this one area. It will make your life simpler… well, at least while working on this tutorial!
Creating Your HTML Document

An HTML document contains two distinct parts, the head and the body. The head contains information about the document that is not displayed on the screen. The body then contains everything else that is displayed as part of the web page.

The basic structure then of any HTML page is:

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 3.2//EN”>
<html>
<head>
<!– header info used to contain extra information about
this document, not displayed on the page –>
</head>

<body>

<!– all the HTML for display –>
:      :
:      :
:      :
</body>
</html>

The very first line:

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 3.2//EN”>

is not technically required, but is a code that tells the browser what version of HTML the current page is written for. For more information, see the W3C Reference Specification.

Enclose all HTML content within <html>…</html> tags. Inside is first your <head>…</head> and then the <body>…</body> sections.

Also note the comment tags enclosed by <!– blah blah blah –>. The text between the tags is NOT displayed in the web page but is for information that might be of use to you or anyone else who might look at the HTML code behind the web page. When your web pages get complicated (like you will see when we get into tables, frames, and other fun stuff about 20 lessons from now!), the comments will be very helpful when you need to update a page you may have created long ago.

Here are the steps for creating your first HTML file. Are you ready?

1. If it is not open already, launch your text editor program.
2. Go to the text editor window.
3. Enter the following text (you do not have to press RETURN at the end of each line; the web browser will word wrap all text):

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 3.2//EN”>
<html>
<head>
<title>Volcano Web</title>
</head>
<!– written for the Writing HTML Tutorial
by Lorrie Lava, February 31, 1999       –>
<body>
In this lesson you will use the Internet to research
information on volcanoes and then write a report on
your results.
</body>
</html>

NOTE: Look where the <title>…</title> tag is located. It is in the <head>…</head> portion and thus will not be visible on the screen. What does it do? The <title> tag is used to uniquely identify each document and is also displayed in the title bar of the browser window.

In lesson 3 you will learn how to add a string of text for a title that will appear directly on your web page.

Also note that we have inserted a comment tag that lists the name of the author and the date the document was created. You could write anything in between the comment tags but it is only visible when you look at the source HTML for a web page.

4. Save the document as a file called “volc.html” and keep it in the “work area” folder/directory you set up for this tutorial. Also, if you are using a word processor program to create your HTML, be sure to save in plain text (or ASCII) format.

NOTE: For Windows 3.1 users, you must save all of your HTML files with names that end in .HTM, so in this case your file should be VOLC.HTM. Do not worry! Your web browser is smart enough to know that a file that has a name that ends in .HTM is an HTML file.

You can create files with names like VOLC.HTML if you use Windows95 or a later Windows operating system.

By using this file name extension, a web browser will know to read these text files as HTML and properly display the web page.

Displaying Your Document in a Web Browser

1. Return to the web browser window you are using for your “work space”. (If you do not have a second browser window open yet, select New Window or New Browser from the File window.)
2. Select Open File… from the File menu. (Note: For users of Internet Explorer, click the Browse button to select your file)
3. Use the dialog box to find and open the file you created, “volc.html”
4. You should now see in the title bar of the workspace window the text “Volcano Web” and in the web page below, the one sentence of <body> text you wrote, “In this lesson…”

Check Your Work

Compare your document with a sample of how this document should appear. After viewing the sample, use the back button on your web browser to return to this page.

If your document was different from the sample, review the text you entered in your text editor.

A common mistake we hear is, “I cannot see the title!” You shouldn’t! The text within the <title>…</title> tag is NOT displayed on the web page; you should see it in the title bar of the web browser window.

The most common mistake that beginners make here is that they try using a word processing program to type HTML and then are unable to open it in their browser, or if it does, the page is full of odd garbage characters. When you are starting out, we urge you to use the most basic text editor. Look for shortcuts later!

If you are looking for some free/cheap alternative text editors, see our short list of recommended HTML Editors,
Review Topics

1. What are HTML tags?
2. Where is the text of the title tag displayed?
3. What steps are involved in creating a simple HTML document?
4. How do you create a comment tag?
5. How can you display your HTML document in a web browser?

Independent Practice

Think of a topic for your own web page. Now create your own HTML text file that includes a <title> tag and a few introductory sentences. Save the HTML file and reload it in your web browser. You might want to create a different folder/directory for this file so you do not get it mixed up with all of the volcano pages you will create for this tutorial.

Keep this file handy as you will add to it in later lessons.

HTML

Sunday, October 18, 2009 Posted by Jamie Johnson

HTML, or HyperText Markup Language, is how a web browser displays its multimedia documents. The documents themselves are plain text files (ASCII) with special “tags” or codes that a browser knows how to interpret and display on your screen.

About those standards

No kidding — the World Wide Web is exciting. It is everywhere. It has exploded beyond everybody’s expectations.

Keep in mind that the thing that makes the Web (and the Internet in general) work are agreed-upon rules (“standards”) that allow users of almost any kind of computer to be able to communicate and share information.

Where does HTML fit into this?

What we cover in this tutorial is aimed toward producing documents that comply with current HTML standards.

By using “standard” HTML, your work is going to be most widely “shareable” in the fast changing future of the ‘net. The early set of standards, known as HTML 2.0, are supported by nearly all web browsers in use right now.

Things got somewhat more complicated with the features included in HTML 3.2 since Netscape and Microsoft have introduced many features that go beyond standard HTML, and were at first supported by certain web browsers. The web really took off in popularity during the time of the 3.2 standard. By its original design, HTML was not designed as a formatting tool, yet people have found ways (some might say “tricks”) to attempt to use HTML for precise web page formatting.

The current set of proposed standards is HTML 4.0 which contain more features for HTML and some attempts to reduce the complexities of different web browsers. This version is starting to move towards a more “logical” method of formatting web pages, via “Style Sheets” which allow the precise formatting web designers wish for, and in a way that separates format from content, making it easy to update an entire web site. However, it will take some time before this functionality is common and there are still bothersome differences between different web browser software (some “standards”, yes?) These “standards” turn out to be recommendations as no one has the authority to enforce them! (Note, as of 2006, web standards have made much more progress, see the Web Standards Project for more information).

What does this mean? For accessibility on the widest range of possible web browsers and versions out there, stick with the most basic set of HTML code. Of course, this may limit what you’d like to put in a web page! If you include HTML that may look snazzy only in Netscape but not Internet Explorer, you may turn people away from your site. Not only that, viewers of your web pages may not only be using different browsers, but their monitor size and fonts may not be the same as on the system you designed the pages.

After all, you are probably not going to spend all of this time designing web pages that are for your viewing only! The idea is to make something that the world can view. So the first section of lessons will take you through the most widely accepted features of HTML. From there, you can make the decision to use more of the “deluxe” features.