Html Basic Structure

HTML (Hypert Text Markup Language) is a programming language used in web page creation. In use most of the HTML code must be located between the tag container. Which begins with <tagname> and end with </tagname> (there is "/" sign).
 
A web page has a minimum of four to make a tag, namely:
  • <HTML> As an early sign of an HTML document.
  • <HEAD> For information on the page header. Inside this tag we can put the tags TITLE, BASE, ISINDEX, LINK, SCRIPT, STYLE & META.
  • <TITLE> As the title or the title page. Sentences are located inside these tags will appear at the top of your browser (on the title bar).

Example:
<TITLE> Top HTML</TITLE>
  • <BODY> Inside this tag can be placed various attributes such as page background color, text color, link color, visited link color, active link and others.

Attributes:
BGCOLOR, BACKGROUND, TEXT, LINK, VLINK, ALINK, LEFTMARGIN & TOPMARGIN.
Example:
<body bgcolor="#000000" background="images/image1.gif" text="#FFFFFF" link="#FF0000" vlink="FFFF00" alink="#0000FF">

A simple example of an HTML document:

<HTML>
<HEAD>
<TITLE> Home Page
</ TITLE>
</ HEAD>
<body bgcolor="#FFFFFF" background="images1.gif" text="#FF0000">
Place text, images, and your link here

</ BODY>
</ HTML>

0 comments:

Post a Comment