Tuesday, March 3, 2009
SAMP tag
For many browsers, the display font appearance for the code, kbd, samp, and tt tags is the same.
The separate closing tag is mandatory.
Attributes and Events
class dir id lang onclick ondblclick onkeydown onkeypress onkeyup onmousedown onmousemove onmouseout onmouseover onmouseup style title
TT tag
Usually, the display font appearance for the code, kbd, samp, and tt tags is the same. The listing tag has been deprecated.
The closing tag is mandatory.
Core attributes:
class dir id lang onclick ondblclick onkeydown onkeypress onkeyup onmousedown onmousemove onmouseout onmouseover onmouseup style title
PLAINTEXT tag
Example code:
An example of how the
XMP tag
The XMP Tag ID's aren't listed because in most cases they are identical to the Tag Name.
All XMP information is stored as character strings. The Writable column specifies the information format: string is an unformatted string, integer is a string of digits (possibly beginning with a '+' or '-'), real is a floating point number, rational is entered as a floating point number but stored as two integer strings separated by a '/' character, date is a date/time string entered in the format "YYYY:MM:DD HH:MM:SS[.SS][+/-HH:MM]", boolean is either "True" or "False", and lang-alt is a list of string alternatives in different languages.
Individual languages for lang-alt tags are accessed by suffixing the tag name with a '-', followed by an RFC 3066 language code (ie. "XMP:Title-fr", or "Rights-en-US"). A lang-alt tag with no language code accesses the "x-default" language, but causes other languages for this tag to be deleted when writing. The "x-default" language code may be specified when writing to preserve other existing languages (ie. "XMP-dc:Description-x-default"), but note that other languages are still deleted if the "x-default" language is deleted. When reading, "x-default" is not specified.
The XMP tags are organized according to schema Namespace in the following tables. Note that a few of the longer namespace prefixes given below have been shortened for convenience (since the family 1 group names are derived from these by adding a leading "XMP-"). In cases where a tag name exists in more than one namespace, less common namespaces are avoided when writing. However, any namespace may be written by specifying a family 1 group name for the tag, ie) XMP-exif:Contrast or XMP-crs:Contrast.
ExifTool will extract XMP information even if it is not listed in these tables. For example, the pdfx namespace doesn't have a predefined set of tag names because it is used to store application-defined PDF information, but this information is extracted by ExifTool.
ADDRESS tag
Table of contents
* Description
* Attributes
* Events
* Examples
Description
The HTML address tag is commonly used to provide contact information at the bottom or beginning of a document or a form. It could be used, for example, to provide information about the enterprise behind the website, the author of a specific article or the author of the website itself. Note that browsers may change the aspect of the text between these tags (e.g., italic font).
Attributes
id (name)
The "id" attribute assigns an identifier to the associated element. This identifier must be unique in the document and can be used to refer to that element.
Example:
Code begin
This is the first paragraph named as paragraph1. To dynamically change its properties use this identifier.
Code endclass (cdata)
The "class" attribute assigns a class name (or a list of class names separated by spaces) to the container element. It's used with style sheets and tells the browser the class to which the element is associated with. A class gives visual attributes to elements.
Example:
Code begin
This article is based on the book "Wind in the trees" by Jhon L. Brooks
This article is based on the book "Wind in the trees" by Jhon L. Brooks... and is more important than the one before.
Code endstyle (style)
Defines a visual style of this element. Is a better practice to define styles attributes in external style sheets grouping them in classes. Attributes in the "style" parameter must preserve this order "name : value" and be separated by a semi-colon.
If you're writing XHTML code it's recommended not to use this attribute and try style sheet classes (with the "class" attribute).
Example:
Code begin
This is a paragraph with a defined style
And this is another text without style.
Code endtitle (text)
Indicates a title for the element. Used to give a short description about the element that is usually shown as a "tool tip" when the user put the mouse pointer over the element.
Example:
Code View
HTML code HTML code
lang (langcode)
Specifies the language of an element's content. The default value in "unknown".
When writing XHTML code the syntax "xml:lang" represents a preferred alternative in XHTML 1.0 and a replacement in XHTML 1.1 (e.g., xml:lang="en").
Example:
Code begin
This is a paragraph in english.
Este es un párrafo en español.
Code enddir
Specifies the text direction of the element's contents and attribute values, as well as tables directionality. It has two possible values that are case insensitive:
* RTL: Right to left.
* LTR: Left to right.
Example:
Code begin
...a Hebrew quotation...Code endEvents
* onclick
* ondblclick
* onmousedown
* onmouseup
* onmouseover
* onmousemove
* onmouseout
* onkeypress
* onkeydown
* onkeyup
See complete list and information about events in HTML
Events in HTML
As well as attributes, events can be defined in HTML tags. Events, instead of giving values to the elements like the attributes, trigger actions when they occurs. These actions are defined by client-side scripts that are programs written to perform some action in a specific language (e.g., JavaScript, VBScript, etc.). There are different events that occurs in different instances according to browsers or users actions.
List of events
Below is al list of all events available for the HTML 4.01 Standard.
* onload: The onload event occurs when the user agent finishes loading a window or all frames within a frameset.
* onunload: The onunload event occurs when the user agent removes a document from a window or frame.
* onclick: The onclick event is triggered when the mouse button is clicked over the element.
* ondblclick: The ondblclick event occurs when the pointing device button is double clicked over an element.
* onmousedown: The onmousedown event is triggered when the mouse button is pressed over the element.
* onmouseup: The onmouseup event occurs when the pointing device button is released over an element.
* onmouseover: The onmouseover event is triggered when the mouse is moved onto the element.
* onmousemove: The onmousemove event occurs when the pointing device is moved while it is over an element.
* onmouseout: The onmouseout event is triggered when the mouse is moved away from the element.
* onfocus: The onfocus event occurs when an element receives focus either by the pointing device or by tabbing navigation.
* onblur: The onblur event is triggered when an element loses focus either by the pointing device or by tabbing navigation.
* onkeypress: The onkeypress event occurs when a key is pressed and released over an element.
* onkeydown: The onkeydown event is triggered when a key is pressed down over the element.
* onkeyup: The onkeyup event occurs when a key is released over an element.
* onsubmit: The onsubmit event is triggered when a form is submitted.
* onreset: The onreset event occurs when a form is reset.
* onselect: The onselect event is triggered when a user selects some text in a text field.
* onchange: The onchange event occurs when a control loses the input focus and its value has been modified since gaining focus.
BLOCKQUOTE tag
tag and ends with the HTMLtag. The HTML blockquote element is used to format a block of text as a long quote which is indented more than the surrounding text on the left and the right.
HTML Blockquote Element Attributes
HTML "blockquote" element attributes include:
* cite="uri" - Specifies the URI of the source of the quote.
* class - The class attribute is used in conjunction with style sheets to associate an element with a class. The class attribute can set a class for specific element types or it can be independent of element types and work for all elements. The class attribute will provide the settings for specific style formatting. CSS properties are shown at the CSS Properties page.
* ID - The ID attribute is used to apply style settings to specific individual HTML elements.
* style - The style attribute is used to apply style settings for the specific element the style attribute is included with. An example is"
- This sets the style or color of the text. This statement starts a paragraph with color, green:
. The STYLE attribute is common to most HTML elements (See the CSS Properties page).
* title - Used to give specific elements a title which may appear as a tooltip in some browsers when the mouse is held at or near the element.
HTML Blockquote Element Contents
The HTML blockquote element may contain other block elements such as headers, paragraphs, preformat blocks and tables. HTML block elements are listed at the HTML Block Elements. The HTML "blockquote" element may also contain the "script" element.
HTML Blockquote Element Inside
The HTML blockquote element can be contained inside the elements "applet", "blockquote", "body", "button", "center", "del", "dd", "div", "fieldset", "form", "iframe", "ins", "li", "map", "noframes", "noscript", "object", "td", and "th". The HTML "blockquote" element should not be contained inside a paragraph element.
HTML Blockquote Element Use Example
This is the HTML code:
The preamble of the Constitution says:
We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.
This is how it looks:
The preamble of the Constitution says:
We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.
CITE tag
It is recommended that you use the blockquote tag for long citations and the cite tag for short citations.
The closing tag is mandatory.
Core Attributes
class dir id lang onclick ondblclick onkeydown onkeypress onkeyup onmousedown onmousemove onmouseout onmouseover onmouseup style title