Project File on

HYPERTEXT MARKUP LANGUAGE
<html>

HTML
HTML stands for HyperText Markup Language. It was first used by IBM in the early 1980¶s. Initially, it was known as GML (General Markup Language). HTML is a complete code that allows the user to create web pages. It includes text and graphics. You can add links to your web pages. Hyper links are the highlighted text or images that connect to other pages on the web.

Advantages of HTML
y Easy to understand and can be modified. y Graphics, videos and sound can also be used and imported to give attractive look to the web pages. y Links can also be added to help readers to browse through information of their interest. y You can create and publish web pages to share information with people

Parts of HTML document:
y y Head Section: The head section contains the Title that identifies the first part of your HTML coded documents. Body Section: The body section is where you do most of the works that includes text, graphics and other HTML elements that provide control and formatting of a page like: fonts, paragraphs, lists and other elements.

Tags:
HTML is a tag based language. Tag is an element, which instructs the web browser, what to show and how to show. We can use various attributes in the tags that contain additional information like formatting effects, alignment, colors etc. Each tag giving a specific instruction is enclosed in <> angle brackets. The HTML document starts with <html> tag.The <title. Tag has to be placed in the <head>tag.The<body> tag has various other tags and attributes.The opening tag has to be ended. But, there are some other tags that do not require closing of tag. The tags are not case sensitive.

Use of <marquee>, <body> along with its attributes, <font>, <img> Coding:

Result:

Lists:
Bullets are the most effective way of presenting the information in a precise manner. HTML supports various elements to create list for displaying items in a specific order. A list can be defined in different styles. You can add a number or bullet before each item to make them more organized using bullets. The items are displayed with <li> tag before it. The types of list that HTML provides are: y y y y y Unordered List Ordered List Definition List Directory List Menu List

Ordered List:
It is used to display the list of items in a specific order. By default, numbers are displayed in web browser when ordered list is used but the style can be changed using the µType¶ attribute. To specify the given list item, µValue¶ attribute is used. Ordered list automatically starts with the number 1 but you can also start a list with a different number. To specify the starting point of the number scheme, µStart´ attribute is used. This tag starts and ends with <ol> and </ol> tags respectively. Type attribute has following values: Number Style A a I i 1 Result A, B, C a, b, c I, II, III i, ii, iii 1, 2, 3 Description Upper Case letters Lower Case letters Upper Case Roman letters Lower case Roman letters Sequence of numbers

Unordered List:
The unordered list is used when the list of items are not to be displayed in any particular order. The browser will display the bullets before the list of items. The list begins and ends with <ul> and </ul> tags respectively. It has only one attribute µType¶. It has following attributes; 
Square Disc

specifies a solid square bullet.

specifies a solid round bullet. specifies a hollow round bullet. 

Circle

Nesting of List:
A list can be created within a list. It is called nesting of list. This means that one set of elements can be embedded within another set of elements.

Example:
Coding:

Result:

Sign up to vote on this title
UsefulNot useful