This page will allow you to test a browser's/navigator's compliance with the various levels of HTML text markup tags.
Well-designed Web client software will not "break" when it encounters an unknown tag, it will just ignore it.
These tags are the basis of any HTML page. They are all from the HTML 2.0 specification.
This tag indicates that the document is in HTML format: <HTML></HTML> The title is usually displayed in the border or frame of the client: <TITLE></TITLE> The header is where information about the document is placed: <HEAD></HEAD> The body contains all the other markup tags: <BODY></BODY>
There are two styles of tags that allow the web author some control over how a document is rendered, "physical" and "logical".
Logical tags are closer to HTML's roots in SGML in that they only describe content.
Physical tags, on the other hand, tell the browser/navigator how to render the tagged item. Debates rage over which is canon.
In the HTML 2.0 specification, the debate has been muted by designating the physical tags as "typographical" and the logical tags as "idiomatic".
<B></B>italic
<I></I>teletype
<TT></TT>
Multiple tags would be cumulatively interpreted. For example, the following would be bold and italic.
The entire ISO-8859 character set should be supported as should other entities.
<CITE></CITE>
Code
<CODE></CODE>Emphasis
<EM></EM>Keyboard Input
<KBD></KBD>Sample Output
<SAMP></SAMP>Strong
<STRONG></STRONG>Variable
<VAR></VAR>
All the tag examples on this page are <PRE> tagged. The preformat tag also supports a WIDTH attribute. The WIDTH attribute specifies the maximum number of characters for a line and allows the browser to select a suitable font and indentation for display of text within the tag. If your browser supports the WIDTH attribute of the PRE tag, the block of numbers headed by "width=25" may look different than the block of numbers headed by "no width specified".
Width=25 1111111111222222 1234567890123456789012345
No width specified 1111111111222222 1234567890123456789012345
This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph. This is another paragraph.
The line break tag, <BR>, has the effect of a carriage return/line feed. Example:
A line of text.
Another line of text.
The horizontal rule <HR> tag runs a line across the page.
The <BLOCKQUOTE> tag is used for a quotation.
This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote. This is a block quote.
HTML supports several types of lists. From HTML 2.0, we have Unordered Lists <UL>, Ordered Lists <OL>, the MENU and the DIRectory.
These are rendered as follows:
These lists may also be nested.
Definition Lists are also supported. The Term (<DT>) is usually assigned to a virtual column on the left side of the window. The COMPACT attribute is also supported.