Mahesh Babu

Wednesday, 5 December 2012

Nested List

Defination List:
The Definition List tags are quite common since most browsers display them consistently. The list is enclosed within the Definition List tags: <DL></DL>, while the list itself employs the empty tags: Definition Term <DT> and Definition <DD>.



OUTPUT

Unordered Lists

Unordered Lists, or <ul>..</ul> tags, are ones that appear as a list of items with "bullets", "markers" and "circle" in the front.
An unordered list can use more than one bullet style. This is useful for grouping related items in the list.



OUTPUT

Ordered Lists

There are three types of Common List Tags
Ordered Lists:
<OL></OL> and <LI>
Unordered Lists:
<UL></UL> and <LI>
Definition Lists:
<DL></DL> and <DT>,<DD>

Ordered Lists:
Ordered Lists are numbered lists. When creating an ordered list, there are two main tags you must use. The <OL> tag marks the beginning of the ordered list and the <LI> tag marks the beginning of each item in the list.
While there is no limit to the amount of text an item an item in an ordered list can contain, try to limit each item to one or two lines of text. This will help improve the readability of your list.
By default, a number (1,2,3...) appears beside each item in an ordered list. The TYPE attribute lest you change the number style of your list.

OUTPUT

Test Attributes

BOLD:
Putting large blocks of text in boldface makes the text hard to read.
ITALIC:
The I tag should only be used if text is in italics by convention.
STRIKE:
If you absolutely require strike through text, you will have to use an image.
TT-Teletype Font
Text Inside TT is not preformatted text like PRE; spaces are collapsed and newlines ignored.
U-Underline
Most graphical browsers do not support underlined text, since it makes it harder to distinguish text from hyperlinks.


OUTPUT

Tuesday, 4 December 2012

Basic HTML Tags


The most important tags in HTML are tags that define headings, paragraphs and line breaks.

Headings:

There are six heading levels you can use <h1> to <h6> tags. <h1> defines the largest heading. <h6> defines the smalles heading.

Paragraphs:
Web browsers usually ignore returns you type in the your text editor or word processor. Paragraphs are defined with the <p> tag.
When you display you Web page in a Web browser, a blank line will appear between each paragraph you defined using the <p>tag. This can help improve the layout and readability of your Web page by breaking up large sections of text.
<p>This is a first paragraph</p>
<p>This is a second paragraph</p>
Line Breaks:
The <br> tag is used to break a line, but don't want to start a new paragraph. The <br> tag forces a line break wherever it is placed.
<p>This <br> is first para<br> graph with line breaks</p>



OUTPUT

An Introduction to HTML

Hyper Text Markup Language (HTML) is a computer language used to create web pages. Web pages are HTML documents that consist of text and HTML tags. HTML documents have the .html or .htm extension (example: filename.html). A Web browser interprets the tags in a HTML document and displays the document as a Web page.

     You do not have to create different HTML documents for different types of computers. Any computer that has a Web browser installed can display Web pages, including computers running a Unix, Windows or Macintosh operating system.

<html> <head> <title>Simple HTML Document. Only the browser sees this title </TITLE> </HEAD> <body> <h1> Sample Heading -- You and I see this heading</H1> <p>This is a sample text representing a paragraph. It will ignore spaces and keep on being one paragraph <p>This is another paragraph </BODY> </HTML>




UPLOAD