HTML 4.0

·

HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.01 Reference, HTML 4.01 Reference, HTML 4.01 Reference, HTML 4.01 Reference



HTML 3.2 Was Very Wrong!

The original HTML was never intended to contain tags for formatting a document. HTML tags were intended to define the content of a document, like this:
<p>This is a paragraph.</p>
<h1>This is a heading</h1>
When tags like <font> and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers!
Development and maintaining of web sites where fonts and color information were added to every single HTML element, became a long and expensive process.

What is so Great About HTML 4.0?

In HTML 4.0 all formatting can be removed from the HTML document, and stored in a style sheet.
Because HTML 4.0 separates the layout from the document structure, we have what we always needed: Total control of layout, without messing up the document content.

What You Should do About it

  • Do NOT use presentation attributes inside your HTML elements
  • Start using styles! Please read our CSS tutorial to learn about style sheets
  • Do NOT use deprecated tags. Visit our HTML 4.01 Reference to see which tags and attributes that are deprecated
  • Validate your HTML pages

Validate Your HTML Files

To validate an HTML document, a doctype declaration must be added.
The doctype declaration is not an HTML tag; it is an instruction to the web browser about what version of the markup language the page is written in.
The doctype declaration refers to a Document Type Definition (DTD). The DTD specifies the rules for the markup language, so that the browsers can render the content correctly.
The doctype declaration should be the very first thing in an HTML document, before the <html> tag.

HTML 4.01 Strict

This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

HTML 4.01 Transitional

This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www...org/TR/html4/loose.dtd">

HTML 4.01 Frameset

This DTD is equal to HTML 4.01 Transitional, but allows the use of frameset content:
<!DOCTYPE HTML PUBLIC "-//C//DTD HTML 4.01 Frameset//EN"
"http://www......org/TR/html4/frameset.dtd">


HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.0, HTML 4.01 Reference, HTML 4.01 Reference, HTML 4.01 Reference, HTML 4.01 Reference

Attributes HTML Basic Structure HTML Page Basic Table Tags Basic Text - Font Tags Binary Color Names HTML Color Values HTML Colors HTML Control Characters Conversion Table - Decimal Creating an HTML Page Elements HTML Entities HTML FONT COLOR in HTML FONT FACES in HTML FONT HEADERS in HTML FONT HIDING TEXT/TAGS in HTML FONT LOGICAL STYLES in HTML FONT PHYSICAL STYLES in HTML FONT SIZES in HTML Forms HTML Frames HTML Getting Started HTML head HTML Headings HTML Hexadecimal Horizontal Rule Examples HTML - Bold HTML - Code HTML - Div Element(s) HTML - Font and Basefont HTML - Italic HTML - Layout HTML - Strikethrough HTML -Getting Started HTML / XHTML Standard Event Attributes HTML 4.0 HTML Background HTML Basic HTML Basic - 4 Examples HTML codes HTML Codes - Characters and symbols HTML coding html color codes HTML Elements HTML Fonts HTML Tutorial List Item HTML Codes Form Input HTML Document Javascript Codes Color Code Organizing HTML HTML format HTML Introduction HTML Line Breaks HTML Marquees HTML Ordered HTML Preformatting HTML Reference HTML Style HTML Summary HTML syntax HTML Table Tags Examples II HTML Tag HTML Tags Chart HTML Tags You Really Should Know html tutorial HTML Tutorials HTML Unordered HTML URL Encode HTML URLs HTML valid HTML Webserver Image BORDERS in HTML Image FIXED BACKGROUND in HTML Image HEIGHT WIDTH in HTML Image HSPACE in HTML Image LINKED in HTML Image Map in HTML Images HTML Links HTML Lists HTML Marquee Basic Marquee Code Marquee Codes marquee right now Marquee Status Bar Marquee Tag Examples Marquee tag in html Marquee Tag of HTML marquee tag scrolling text Marquee Title Meta HTML Octal Paragraphs HTML Quick List HTML Scripts HTML Sound Tag Special Characters Struts HTML Tags Styles HTML Tables HTML Text Formatting HTML

What is HTML

free counters