HTML_Tags

include component="page" page="menu-html" editable="1" toc =Tags= Tags are the commands used to control the appearance of your webpage. A TAG is always enclosed in angle brackets code < > code

There are four tags that you always use to start building a new webpage: code format="html4strict html4strict"   Title Text Goes Here 
 * A BASIC EMPTY WEBPAGE**

 Body Text Goes Here   code

Notice that all of these particular tags come in pairs


 * ~ Opening Tag ||~ Closing Tag || Function ||
 *  ||  || Declares your document as HTML code ||
 *  ||  || Creates the "Head" area of your webpage - it won't be seen in the main browser window, but it can affect how your webpage works, and how search engines like Google will catalogue it ||
 *  ||  || Creates the text in the "Title Bar" area of your Browser window ||
 *  ||  || Defines the "BODY" area where the content of your webpage will go. ||

Think of the PAIRS of tags as "bookends" that modify everything you put in between them.

Copy and paste the "basic empty webpage" tags into your notepad document. Type the following text into the BODY AREA of your webpage: || HELLO WORLD! This is my first webpage! How does it look so far? || Save your document (index.htm) and refresh it in the browser. Does it appear the way you expected? <span style="color: rgb(0, 92, 255);">
 * <span style="color: rgb(0, 92, 255);">**DO THIS:**

FORMATTING TAGS
Linebreaks and extra spaces are actually IGNORED by web browsers You can "program in" linebreaks with the BREAK TAG code <BR> code Note, this is a tag that acts ALONE - it doesn't have to be "closed" There is a similar tag

STYLE TAGS
Try these other tags to control the appearance of text in your webpage

code format="html4strict html4strict" <B>BOLD</B> <U>UNDERLINE</U> <i>ITALICIZE</I> code
 * BOLD** __UNDERLINE__ and //ITALICIZE// can be made with their respective tags:

HEADLINES:
code format="text text" <H1>Largest Headline</H1>

code

FONT:
code format="text text" <FONT SIZE=4 COLOR="#FF6600">Yellowish Text</FONT> code FONT allows you to control the appearance of your text such as Size and Colour, if you add the appropriate "Attributes": The MAXIMUM font size is 7, the minimum is 1 Colours are based on a 6 character hexidecimel code that represent the values of RED GREEN and BLUE (#RRGGBB)
 * SIZE
 * COLOR

CENTER:
code format="text text" <CENTER> My Wicked Headline <CENTER> code CENTER will (horizontally) align anything it encloses to the center of your webpage.