Advanced HTML
Tables
Frames
Passwords
HTML Colours
Animated Buttons
Buying Webspace
Search Engines
Making Money
.htaccess Files
PHP Tips
JavaScript
Java Menu
favicon.ico
HTML Converter
HTML Books
Basic Tags
FAQ
Contact Us

HTML  Tags

Introduction

This site may be called the Advanced HTML site, but I have decided to include a small page with examples of simple HTML tags. The tags are grouped into related sections.

Alligning Text

<P ALIGN="left">Text to the left</P>
<P ALIGN="center">Text in the middle</P>
<CENTER>Text in the middle 2</CENTER>
<P ALIGN="right">Text to the right</P>

Text to the left

Text in the middle

Text in the middle 2

Text to the right

 

Images

<IMG SRC="bee.gif" ALT="Bee" WIDTH="173" HEIGHT="107">
Here is a bumble bee inserted with above code.

Bee

 

Headings

<H1>Big H1 Heading</H1>
<H2>Big H2 Heading</H2>
<H3>Medium H3 Heading</H3>
The above code produces the below results.

Big H1 Heading

Big H2 Heading

Medium H3 Heading

 

Line Breaks

Here is a paragraph
<P>
And another one

Here is a line of<BR>
text with a break in the middle
Here is a paragraph

And another one

Here is a line of
text with a break in the middle

 

Horizontal Rules

<HR>

<HR WIDTH="60%">

<HR NOSHADE>

You can produce a variety of horizontal rules very easily.

 

Links

Link to my <A HREF="index.html">HTML Site</A> main page.
Link to my HTML Site main page.

You may want to set a target for your links to set which window the links open in.

Target Example What it does
_top <A HREF="index.html" TARGET="_top">HTML Site</A> The window fills the current browser. Gets rid of any frames.
_blank <A HREF="index.html" TARGET="_blank">HTML Site</A> Opens the page in a new browser.
_parent <A HREF="index.html" TARGET="_parent">HTML Site</A> Opens the page in the parent frame.
_self <A HREF="index.html" TARGET="_self">HTML Site</A> Opens the page in the parent frame.


  The  
Advanced  HTML
Site
Home
Copyright © 1997 - 2008
Hosted by 1&1