Tuesday 1 April 2014

*LEARN ALL ABOUT ATTRIBUTE====

Attribute are special features given to a tag. An attribute specifies whether the META tag contains descriptive information about the page (NAME) or HTTP header information.

==In HTML (Hypertext Markup Language) , an attribute is a characteristic of a page element, such as a font. An HTML user can set font attributes, such as size and color, to different values. In some programming languages, such as PowerBuilder Power Script, an attribute is a property of an object or may be considered a container for the property of the object. For example, color might be an attribute of a text object, containing the value of "red."
In a database management system (DBMS), an attribute may describe a component of the database, such as a table or a field, or may be used itself as another term for a field.
In the DOS operating system, file properties, such as "read-only" or "visible," are called attributes.
==
The class Attribute:
The class attribute is used to associate an element with a style sheet, and specifies the class of element. You learn more about the use of the class attribute when you will learn Cascading Style Sheet (CSS). So for now you can avoid it.
The value of the attribute may also be a space-separated list of class names.
 For example:
class="classNameA classNameB classNameC"



Program 1.
Perform the following step:

    *Open any text editor like Notepad, Word (dos), etc. to write HTML code.
    * Open the file menu to create a new document Select File> New and type the following code.

    <html>
    <head>
    <title> a web page </title>
    </head>
    <body>
        dddd
    </body>
    </html>
   
    * Click on the File menu and save the file with the name exercise 01.html.
    *Open your web browser and navigate on to the file title execrise 01.html for viewing the output.
In HTML, an attribute is a characteristic of a page element, such as a font. An HTML user can set font attributes such as size and color to different value. in some
Programming language, such as PowerBuilder and Power Script. An attribute is property of an object or may be considered as a container for the property of an object.

For example, color might be an attribute of a text object, containing the value of "red". An attribute is a keyword separated by space within the brackets, such as <HR WIDTH="300">.
Here width=300 is the attribute font the tag. This will specify the width for the HR tag. There are different attributes like height, width etc.

* URL stand for=== Uniform Resource Locator.
*HTML is a Scripting Language




*What is ACRONYM?
This tag is used to display acronyms. This element is new in HTML 4.0 and has only been implemented by internet Explorer.
Example:
<head>
<head>
    <title>using acronym</title>
    </head>
    <body>
    <acronym title="justeffects.com"> just </acronym>
    </body>
    </html>


LEARN ALL ABOUT Tags?

Tag is a fundamental component of the structure of a text document. Some examples of tags are heads, tables, paragraphs and list. There is a starting and a closing tag. To
Make a closing tag just add a "/" to the starting tag. Most, but not all tags have a closing tag. Thinking to the browser, or better yet giving it instruction. What you have
Just told the browser (more or less) is that this is the start of a HTML document (<HTML>) and this is the end of a HTML document (</Html>).

What is HTML Tag?
The HTML tag tells your browser that the file contains HTML coded information. The file extension .html also indicates that this is
 An HTML document and must be used accordingly.

Tag is:  <HTML>........ . .</html>


What is HEAD Tag?
The head tag identifies the first part of your HTML-coded document that contains the title. The title is shown as part of your browser's window.

The Tag is:
<HEAD>......</HEAD>.

What is TITLE Tag?
The title tag contains your document title and identifies it’s contain in a global context. The title is typically display in the title bar of the browser window, and not inside
The window itself. The title is also one that is display on someone's hot list or bookmark list. This is precisely why you should choose something descriptive, unique and
Relatively short. A title is also used to identify your pages for search engines. Generally, you should keep your limited to a maximum of 64 characters.

The TAG is : < TITLE >.......   . </TITLE>

ABOUT BODY TAG?
The second and largest part of your HTML document is the body, which contains the content of your document (displayed within the text area of your browser window).


* ALL ABOUT META TAG====
META tags are HEAD element that record all information about the page with encoding, character , author, copyright and keywords. META tags can also be used to give information
To the server such as the expiration date, refresh interval and PICS rating for the page. PICS is platform for internet content Selection, provides a method for assigning
Rating (like movie rating) to Web pages.

very common use for the <META> tag is to include keyword that search engine will store to help people find your page. For example, if you want to connect the keywords
Vacation, Sun and Austria, to your Web page. You would do that with a name value pair by setting the NAME attribute to keyword and the contain attribute to vacation, sun, Austria like this:

<META NMAE ="Keyword" CONTENT="vacation, MON, Austria">

You can also specify the language for the tag, such as the following U.S English, British English and French version:
<META NAME ="keyword" LANG="en-us" CONTENT="holyday, MON, Austria">

<META NAME ="keyword" LANG="fr" CONTENT="vacation, India, MALESIYA">

Here's a popular way to use the HTTP header, called client pull. In this case, you can instruct a browser to keep refreshing your page every few second by creating an HTTP
Refresh header with the HTTP-EQUIV attribute. In the following code, i instruct the web browser to refresh the page every five second:
Example:
<META HTTP-EQUIV="REFRESH" CONTENT="10">

Another popular use for <META> is to override the browser's caching system by using  the  expires value to give a time when the page expires. Browser must not cache the requested
Page beyond the date given. Here is an example:
<META HTTP-EQUIV="EXPIRES" CONTENT="DATE">

In this case, event can be Page-Enter, Page-Exit, Site-Enter or Site-Exit second is the transition time is seconds and transition is an integer from 0 to 23 that represent a transition effect.

You can also use REPLY-To to give an email address that user can reply to if they want to get in touch with you HERE is an example:
<META HTTP-EEQUIT="REPLY-TO" CONTENT="effectsjust@gmail.com'>

The <META> element should be used to include information about the page's author’s, a description of the page, and copy right notice. Here's how that might look:

<HTML>
    <HEAD>
        <META NAME="AUTHOR" CONTENT="JUSTEFFETS">
        <META NAME="DESCRIPTION" CONTENT="THIS IS WEB DESIGN WEBSITE">
        <META NAME="COPYRIGHT" CONTENT="Copyright 2014 by all right">

        <TITLE>A SAMPLE TEST PAGE</TITLE>
    </HEAD>

    <BODY>
        THIS IS MY WEBSITE PAGE.
    </BODY>
</HTML>

***************************************************************************************************************************************