STRUCTURE OF HTML DOCUMENT:
EXTENSION OF HTML DOCUMENTS:
HTML Files are indentified by names such as abc.html where .html extension indicates an HTML document. Four letter extensions are common. Generally the extension is truncated(reduced) to three letters that is becomes .htmlor .htm.
VIEWING A HTML PROGRAM:
HTML document are structured into two parts:
- HEAD
- BODY
- HEAD: Head contain information about the document that is not displayed with the document such as TITLE.
- BODY: contains the text of the body that is material to be displayed with the document.
<HTML> <HEAD> <TITLE> ------------- -------------- </TITLE> </HEAD> <BODY> ----------------- ----------------- ---------------- </BODY> </HTML> |
NOTE: Elements allowed inside the HEAD such as TITLE, are not allowed inside the BODY, and vice versa.
EXTENSION OF HTML DOCUMENTS:
Extension: is the part after the dot in the filename.
HTML Files are indentified by names such as abc.html where .html extension indicates an HTML document. Four letter extensions are common. Generally the extension is truncated(reduced) to three letters that is becomes .htmlor .htm.
CREATING A HTML PROGRAM:
To creat an HTML document follow these steps:
- Open
Notepad by clicking on Start>Programs>Accessories>Notepad. - The Notepad Window will appear. Type the HTML code in the Notepad.
- Click on File>Save menu option. The save as dialog box will appear. Select the folder to save the file.Give the name in the file name text box with extensions .html or .htm.
- Click on the Save button.
VIEWING A HTML PROGRAM:
To view an HTML File, we need only the web browser . To veiw the web page follow these steps:
- Click on Start>Programs menu and choose Internet Explorer option. The Internet
Explorer Window will appear. - Click on File>open menu option. The open dialog box will appear. Click on Browse button and diaglog box will appear.
- Choose the path where you have stored the HTML document and after selecting your file. Click on Open button and Click Ok on Open dialog box.
Your web page will be displayed on theWeb Browser .
HTML Stands for Hypertext Markup Language .
Tags to describe Web Pages.
- Hypertext: Text used to link a Web Page.
- Markup: It means highlighting text either by underlining or displaying it in different colors or both.
- Language: It refers to the way of communication between webpages , which has its own syntax and rules.
- HTML is a Markup Language.
- Markup Language is a set of markup Tags.
- Markup Tags also called HTML Tags.
- HTML is not a Programming Language.
- Markup Language designed for the presentation of text.
- HTML is about Displaying Data.
- HTML is not a Case Sensitive Language means uppercase and lowercase letters both have same meaning.
- HTML tags are predefine.
HTML Documents known as Web Pages. HTML Documents consist of
- Simple text (Plain Text) and
- Markup Tags ( also known as HTML Tags).
HTML FILE:
- WWW(World Wide Web) is Noting but a Vast Collection of HTML
Files . - HTML Files simply Text Files (including HTML Tags) that can be easily read and understood by Human eyes.
Web Browsers interpret HTML Files in order to Display Web Pages. This is the main Function of WebBrowser .- Whenever you use a Browser to veiw Page on World Wide Web, the Browser had converted that Web Page from an HTML File.
VERSIONS:
- The First Version was HTML 2.0 . It includes elements like Bold, italics etc. It did not support
Tables or ALIGN attributes.
- HTML3 was developed in 1995.
- HTML 3.2 was next Offical Version support for TABLES, IMAGES , HEADING and other elements that is ALIGN attributes etc. Missing some of the Netscape/Microsoft extensions such as FRAMES , ENBED , APPLET.
- HTML4.1 is Current Official Standard Version. It supports some extra Features that is Cascaded Style sheets(CSS) ,extra TABLES, FORM and Javascript.
CHARACTERSTICS:
- It is easy to understand and can be easily modified.
- It provides a flexible way to design the webpage alon with the text.
- HTML documents can be displayed on any platform such as UNIX etc.
- Effective Presentation can be made with all formatting effects.
- Videos,Graphics,Sound can also be used to give attractive look to the Web Pages.
Comments
Post a Comment