Thursday, March 26, 2009

Are you a new startup company or have you thought of starting a new home business ?


What you need to kick start your business is a Search Engine Optimized professionally designed website.

Experienced web solution provider re-launched with a brand new look and international affiliations. By understanding local as well as international online marketing, search engine optimization and e-business trends we will help your businesses be more profitable by harnessing the power of the internet.

Thursday, March 12, 2009

HTML base Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML base tag is used to specify a base URI, or URL, for relative links. For example, you can set the base URL once at the top of your page, then all subsequent relative links will use that URL as a starting point.

Example


Learn about JavaScript Arrays


The link above will actually resolve to http://www.quackit.com/javascript/javascript_arrays.cfm regardless of the URL of the current page. This is because the base URL (http://www.quackit.com/javascript/) is prepended to the (relative) URL indicated in the link (javascript_arrays.cfm)

Attributes:
Attributes specific to this tag:
AttributeDescription
hrefSpecifies the URI/URL to use.
Other Attributes:
AttributeDescription
targetTarget frame/window
Try it yourself!

Also see the HTML 5 version of HTML tags

HTML b Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML b tag is used for specifying bold text.

Also see the tag, tag and the tag

.

The HTML 5 version of this tag has slightly different semantics.

Example The HTML b tag specifies bold text.
Attributes:
Attributes specific to this tag:
None
Other Attributes:
AttributeDescription
dirSpecifies the direction of the text
classDocument wide identifier.
idDocument wide identifier
langLanguage code
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

Also see the HTML 5 version of HTML tags

HTML area Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML area tag is used for defining an area in an image map.

This tag is used in conjunction with the tag and tag to create an image map.

Example
Mueller Hut, Mount Cook, and I



Mueller Hut

See below to see a working example.

Attributes:
Attributes specific to this tag:
AttributeDescription
shapeDefines a shape for the clickable area. Possible values:
  • default
  • rect
  • circle
  • poly
coordsSpecifies the coordinates of the clickable area. Coordinates are specified as follows:
  • rect: left, top, right, bottom
  • circle: center-x, center-y, radius
  • poly: x1, y1, x2, y2, ...
nohrefSpecifies that the area has no link.
Other Attributes:
AttributeDescription
nameAssigns a name to the element.
usemapAssociates an element with an image map. For example, you associate the image with an image map by using this attribute.
classDocument wide identifier.
idDocument wide identifier
dirSpecifies the direction of the text
langLanguage code
styleInline style (CSS).
titleSpecifies a title to associate with the element.
altAlternate text. This specifies text to be used in case the browser/user agent can't render the image.
hrefSpecifies the URL of a page or the name of the anchor that the link goes to.
targetSpecifies the target frame to load the page into.
tabindexHelps determine the tabbing order (when the user 'tabs' through the elements on the page).
accesskeyAccess keys (or shortcut keys)
onfocusIntrinsic event (see event handlers)
onblurIntrinsic event (see event handlers)
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

Also see the HTML 5 version of HTML tags

HTML applet Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML applet tag is used for embedding a Java applet within an HTML document.

The applet tag is deprecated in HTML 4.01 and is not supported in XHTML (strict DTD) or HTML 5. Use the HTML object tag instead.

Example

Java applet of a woofer dog.

Attributes:
Attributes specific to this tag:
AttributeDescription
codebaseSpecifies the URI of the applet.
codeSpecifies the name or path of the class file.
nameGives the instance a name so that it can be referenced by other objects.
archiveComma separated list of archives containing class files to be preloaded.
objectSpecifies the resource that contains a serialized representation of the applet's state.
widthWidth to display the applet.
heightHeight to display the applet.
Other Attributes:
AttributeDescription
classDocument wide identifier.
idDocument wide identifier
styleInline style (CSS).
titleSpecifies a title to associate with the element.
altAlternative text. This will display if the applet can't be loaded.
alignVisual alignment (i.e. bottom, middle, top, left, right). Deprecated.
hspaceAmount of white space to be inserted to the left and right of the object. Deprecated.
vspaceAmount of white space to be inserted above and below the object. Deprecated.

Also see the HTML 5 version of HTML tags

HTML address Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML address tag is used for indicating an address, usually related to authorship of the current document.

Example

W3C Australian Office

CSIRO ICT

Building 108, North Road, Australian National University Campus

Acton, Canberra

ACT 2601, Australia


Attributes:
Attributes specific to this tag:
None
Other Attributes:
AttributeDescription
dirSpecifies the direction of the text
classDocument wide identifier.
idDocument wide identifier
langLanguage code
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

Also see the HTML 5 version of HTML tags

HTML acronym Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML acronym tag is used for indicating an acronym.

This element is not included in HTML 5 because it has created lots of confusion. Use the tag instead.

Example CAT
Attributes:
Attributes specific to this tag:
None
Other Attributes:
AttributeDescription
dirSpecifies the direction of the text
classDocument wide identifier.
idDocument wide identifier
langLanguage code
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

Also see the HTML 5 version of HTML tags

HTML abbr Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML abbr tag is used for indicating an abbreviation.

Also see the HTML 5 version of this element.

Example HTML
Attributes:
Attributes specific to this tag:
None
Other Attributes:
AttributeDescription
dirSpecifies the direction of the text
classDocument wide identifier.
idDocument wide identifier
langLanguage code
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

Also see the HTML 5 version of HTML tags

HTML a Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML a tag is used for creating a hyperlink to either another document, or somewhere within the current document.

You can use the a tag to link text or images. To link an image, simply nest your img tag inside the a tag.

Example Killer Ab Workout
Attributes:
Attributes specific to this tag:
AttributeDescription
nameMarks an area of the page that a link jumps to.
hrefSpecifies the URL of a page or the name of the anchor that the link goes to.
hreflangLanguage code of the destination URL
typeThe type of content at the link destination
relDescribes the relationship between the current document and the destination URI.
  • alternate
  • appendix
  • bookmark
  • chapter
  • contents
  • copyright
  • glossary
  • help
  • home
  • index
  • next
  • prev
  • section
  • start
  • stylesheet
  • subsection
revDescribes a reverse between the destination URI and the current document. Possible values:
  • alternate
  • appendix
  • bookmark
  • chapter
  • contents
  • copyright
  • glossary
  • help
  • home
  • index
  • next
  • prev
  • section
  • start
  • stylesheet
  • subsection
charsetDefines the character encoding of the linked document.
Other Attributes:
AttributeDescription
shapeImage map shape
coordsImage map coordinates
targetSpecifies the target frame to load the page into. Possible values:
  • _blank
  • _self
  • _top
  • _parent
accesskeyAccess keys (or shortcut keys)
dirSpecifies the direction of the text
classDocument wide identifier.
idDocument wide identifier
langLanguage code
tabindexHelps determine the tabbing order (when the user 'tabs' through the elements on the page).
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onfocusIntrinsic event (see event handlers)
onblurIntrinsic event (see event handlers)
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

HTML doctype

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML !doctype tag is used for specifying which version of HTML the document is using. This is referred to as the document type declaration (DTD).

The HTML document type declaration starts off with , followed information on the HTML specification that the document conforms to.

HTML 4.01 has 3 possible doctypes: HTML 4 Strict, HTML 4 Transitional, and HTML 4 Frameset. Every HTML document you create should have one of these three DTDs. The DTD you use will depend on how strict you want your HTML to be and whether you are using frames or not.

HTML 4 Strict

This document type includes all HTML elements except those that have been deprecated, and those that appear in frameset documents.

HTML 4 Transitional

This document type includes all HTML elements including those that have been deprecated.

HTML 4 Frameset

This document type includes all HTML elements in the transitional DTD as well as those in framed document.

Also see the HTML 5 version of HTML tags




HTML Comments Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML 'comments' tag is used for creating comments within your HTML code.

Comments aren't displayed in the browser - they are simply there for the programmer's benefit. Comments can assist you, the HTML programmer, because you can write notes to yourself that explain what the code does. This is especially useful when you have a lot of code.

HTML comments are often used in conjunction with JavaScript. Programmers surround their JavaScript code with HTML comments. The HTML comments tell browsers that don't support JavaScript (or with JavaScript disabled) to ignore the code in between. This prevents the code from being displayed to your users.

You can see an example here.

Example
Attributes: None.
Try it yourself!

HTML div Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML div tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS. For example, you could have your navigation section wrapped in one div and your main content section in another div.

The difference between the div tag and the span tag is that the div tag is used with block-level elements whilst the span tag is used with inline elements.

HTML 5 has introduced a number of new tags that will replace traditional usage of the div tag. Examples include article, aside, nav, header, footer, and section.

Example

Navigation section




Content section



Attributes:
Attributes specific to this tag:
None
Other Attributes:
AttributeDescription
dirSpecifies the direction of the text
classDocument wide identifier.
idDocument wide identifier
langLanguage code
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
alignSpecifies alignment (left, right, center, justify).
onclickIntrinsic event (see event handlers)
ondbclickIntrinsic event (see event handlers)
onmousedownIntrinsic event (see event handlers)
onmouseupIntrinsic event (see event handlers)
onmouseoverIntrinsic event (see event handlers)
onmousemoveIntrinsic event (see event handlers)
onmouseoutIntrinsic event (see event handlers)
onkeypressIntrinsic event (see event handlers)
onkeydownIntrinsic event (see event handlers)
onkeyupIntrinsic event (see event handlers)
Try it yourself!

HTML Borders

The best way to create HTML borders is to actually use CSS (Cascading Style Sheets). Using CSS, you can create a border around any HTML element.

There are a range of CSS properties that you can use to define borders but the shorthand border property is the most concise way.

Below are some examples of what you can do with HTML, borders, and CSS.

Solid Border

This code results in:

HTML borders are best created with CSS.

Dotted Border

This code results in:

HTML border code - or should that read CSS border code?

Dashed Border

This code results in:

HTML border code - or should that read CSS border code?

Outset Border

This code results in:

HTML border code - or should that read CSS border code?

Inset Border

This code results in:

HTML border code - or should that read CSS border code?

Grooved Border

This code results in:

HTML border code - or should that read CSS border code?

Double Border

This code results in:

HTML border code - or should that read CSS border code?

Ridged Border

This code results in:

HTML border code - or should that read CSS border code?

Mixed Border

You can combine different border types and styles for each side of the HTML element.

This code results in:

Create borders for any HTML element.

DIV graphic borders

This is a very simple and clean method for making a graphic border in an HTML block element. There is no clutter of table cells and as few div blocks as necessary (just 3). The border can be changed, removed and the box resized by only changing the style sheet. In implementing this method there are 2 requirements to be met:

  • The width is of fixed size (it doesn't widen with the content)
  • The height is variable (it will grow with more content)
  • A header block, body block and a footer block are stacked
  • Each box gets a background image.
  • The 3 background images involved must also be 300px wide.
  • The header and footer should have fixed heights matching their background image sizes
  • The footer and header block widths must be same as their background images (300px).
  • Set the body left/right padding large enough such that the text does not overlap the color region of the left right borders in the background image (10px)
  • Set the body width to the width of the header minus the width of the left+right padding (=280px)

So after all those rules you get a bordered box with an adjustable height and fixed width.
Note that the background image of the body must merge cleanly with the bottom and top of the header and footer respectively. So really, you should aim for a body background image of a height of only 1px.

This method also permits heavy use of imagination to spice things up but again only requiring changes to the style sheet ... a speech balloon arrow can be added to the footer ... gradient added to the body ... thick CSS borders added for emphasis ... puffy clouds surrounding the whole block. Varying background-repeat (and other attributes) for the body block can give you very powerful affects when well planned.

HTML Code:



So after all those rules you get a bordered box with an adjustable height and fixed width.


Note that the background image of the body must merge cleanly with the bottom and top of the header and footer respectively. So really, you should aim for a body background image of a height of only 1px.



CSS Code:

div.cheader {
width: 300px;
background-image: url(images/box-top-300.png);
height: 17px;
}

div.cbody {
width: 280px;
padding-left: 10px;
padding-right: 10px;
background-image: url(images/box-bkgrd-300.png);
}

div.cfooter {
width: 300px;
background-image: url(images/box-bottom-300.png);
height: 20px;
}

HTML Color Picker

Use this color picker to easily choose hexadecimal and RGB color values for your HTML. To choose a color:

  1. Click anywhere in the large square to select a color
  2. You can adjust the hue using the slider at the right
  3. Your selected color appears in the various fields. The hexadecimal value is in bold (This is the value you need if you're using one of our HTML code generators).


R H
G S
B V

#

Choosing Multiple Colors (optional)
Choose/compare up to 3 colors. Click in a field below, then select a color from the color picker... Try it!

Color 1: # ____
Color 2: # ____
Color 3: # ____