Thursday, June 14, 2007

Text(HTML ELEMENT)

* p : Element, P. Purpose, paragraph. Description, This element encloses text in a
paragraph. Start tag, Required

...



* h1, h2, h3, h4, h5, and h6 HTML Tag: h1, h2, h3, h4, h5, and h6. Heading 1 to Heading 6 (1 being the highest level, 6 being the lowest)

* strong :abc the strong element is one of a large group of elements
that the HTML for recommendation calls phrase element such elements assign structural
meaning to designated portion of the document. Astrong element is one that contains text that indicates a stronger emphases than the em element. whereas an em element is rypically rendered as italic text, a strong element is generally rendered as boldface text. Override the default with a style sheet as you see fit.

Saturday, June 9, 2007

HTML STRUCTURE

Structure
1.) HTML : For Transitional Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
For strict DTD
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"]

2.) HEAD : header of an HTML document where information about the document is placed.
must use the title element within the head element and meta, style,
script, base and link can also be used.
[HEAD]
[TITLE]Introduction to HTML[/TITLE]
[link rel="stylesheet"href="css.css" type="text/css" /]
[script]
]/script]
[/HEAD]
i am using <>=[]

Transitional DTD

Transitional DTD allows some older elements and attributes that have been deprecated

"http://www.w3.org/TR/html4/loose.dtd">
Also if frames are used, to get valid results from the SGML validator, the frameset doctype is needed, like this:
"http://www.w3.org/TR/html4/frameset.dtd">

Document Type Declaration

Document Type Declaration
A Document Type Declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document

HTML 4.01 DTDs

HTML 4.01 Strict does not allow presentational markup with the argument that Cascading Style Sheets should be used for that instead

strict doctype looks:
"http://www.w3.org/TR/html4/strict.dtd">

HTML 4.01 Strict

HTML 4.01 Strict DTD includes all elements and attributes that have not been deprecated or do not appear in frameset documents
"http://www.w3.org/TR/html4/strict.dtd">
HTML 4.01 Transitional DTD includes everything in the strict DTD plus deprecated elements and attributes

HTML 4.01 Frameset DTD includes everything in the transitional DTD plus frames
"http://www.w3.org/TR/html4/frameset.dtd">

Basic HTML

The most basic, common language on the World Wide Web is HTML. hypertexts is the method by which you move around on the web — by clicking on special text. The HTML language was created in 1989 by Tim Berners-Lee for use on his newly created World Wide Web.It is based on SGML (Standard Generalized Mark-up Language)
structure of an HTML document
simple HTML document: (< >=[]this sign value only for HTML tag)

"http://www.w3.org/TR/html4/strict.dtd">
[HTML]
[HEAD]
[TITLE]My basic HTML [/TITLE]
[/HEAD]
[BODY]
[P]HTML WORLD!
[/BODY]
[/HTML]