WEB Developer's Glossary



Alphabetical Jump into Glossary

Symbols  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z            Back to Parent         Site Conventions         Topic Indices



M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M

• Margin Properties: CSS Property

• margin-top, margin-right, margin-bottom, margin-left:
The margin properties specify the width of the margin area. The values of the margin width properties belong to the <margin-width> CSS property value group. Vertical margins can collapse, however, horizontal margins never collapse. The box margin area is transparent revealing the background of the generating element.
margin-top, margin-right, margin-bottom, margin-left:
Value: <margin-width> | inherit
Initial: 0
Applies to: all elements except elements with table display types other than table-caption, table and inline-table
Inherited: no
Percentages: refer to width of containing block
Media: visual
Computed Value: the percentage as specified or the absolute length
Style Group: box
Deprecated: no
Example: body {
   margin-top: 6cm;
   margin-right: 6cm;
   margin-bottom: 6cm;
   margin-left: 6cm;
}


• Margin Shorthand Property: CSS Property
The margin shorthand property sets the margin for all four sides (margin-top, margin-right, margin-bottom, margin-left). Otherwise, the shorthand property behaves like the individual properties. The property definition is also like the individual properties with this one exception:
Value: <margin-width>{1,4} | inherit
Example:   h4 { margin: 4cm; } /*applies width to all edges*/


• Math Object: JavaScript Built-in Object
The Math object is one of two JS built-in objects. Built-in objects are present at the start of the execution of an ECMAScript program. There properties are static and have global scope. The Math object defines properties that refer to mathematical constants and functions. The Math object is not a class. However, we access the Math properties much like a class; that is, through the "Math" name with the dot operator. We do not access Math properties through an object since the Math object has no constructor as with native classes.

• Media Group: CSS Media
The CSS 2.1 specification uses the media group designator (rather than the media type) in all of it's property definitions. The terms media type and media group are not synonymous but they are related. One or more of the 10 options (see list below) will be provided in the property definition.
  • Continuous: The document is experienced using a movable window/portal on the content with the Media type.
  • Paged: The document is experienced a page at a time with the Media type.
  • Visual: A document's content is experienced primarily using the eyes with the Media type.
  • Audio: A document's content is experienced primarily using the ears with the Media type.
  • Tactile: A document's content is experienced primarily using the sense of touch with the Media type.
  • Grid: Content is laid out using a character grid with the Media type.
  • Bitmap: Content is rendered as a bitmap with the Media type.
  • Interactive: Media types which allow interactivity with the user.
  • Static: Media types which do not allow interactivity with the user.
  • all: Applies to all Media types.


• Media Type: CSS Media
User agents are informed of media information for source documents via a media type specification. Documents of various media types will require unique styling. With HTML documents, the media type is established with the "media" attribute that accompanies the "link" and/or the "style" tags. The terms media type and media group are not synonymous but they are related. Here is a list of all media types found in the CSS 2.1 specification

  • all: Suitable for all devices.
  • braille: Intended for braille tactile feedback devices.
  • embossed: Intended for paged braille printers.
  • handheld: Intended for handheld devices (typically small screen, limited bandwidth).
  • print: Intended for paged material and for documents viewed on screen in print preview mode. Please consult the section on paged media for information about formatting issues that are specific to paged media.
  • projection: Intended for projected presentations, for example projectors. Please consult the section on paged media for information about formatting issues that are specific to paged media.
  • screen: Intended primarily for color computer screens. Web browsers running on computer monitors are screen medium user agents.
  • speech: Intended for speech synthesizers. Note: CSS2 had a similar media type called 'aural' for this purpose.
  • tty: Intended for media using a fixed-pitch character grid (such as teletypes, terminals, or portable devices with limited display capabilities). Authors should not use pixel units with the "tty" media type.
  • tv: Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available).

Most of the above media types are not yet supported by current web browsers. The widely supported media type are: all, print and screen.

• Members: JavaScript OOD
A class can have two general types of members. Data members of JavaScript classes and objects are generally called properties. Method members of JavaScript classes and objects are generally called methods even though these methods use the function statement declaration.

• Meta Characters JavaScript RegExp
In addition to literal characters, regular expressions are comprised of meta characters. A meta character is one or more characters that perform a function. In JavaScript regular expressions, meta characters can indicate repetition instructions, character classes, anchors, boundaries, groupings, references, alternation, and multiline operations.

• Method: JavaScript Object
A method is a function that is invoked through either an object or a class. The method performs a task or action relative to the requirements and needs of the object. The terms "method" and "function" are nearly synonymous. Structured programming languages normally use the term function. Whereas, object oriented languages may use the term method. A JS method is created by assigning a function to a variable. Depending on how this assignment occurs will govern the type of method. A JS method may be defined and accessed as follows:
  • class method: a class method is created and initialized by setting a class property to a function value (a property of the constructor). These methods are associated to the class (not an instance) and are invoked through the class.
  • instance method: a instance method is created and initialized by setting a property in the prototype object to a function value. All objects created by the class constructor will inherit the instance method. Objects have shared access to the instance method.


• Method Overload: JavaScript OOD
Method overloading is not supported in JavaScript. If you define two methods with the same name in the same scope, the last method defined becomes the useable method.

• Method Override: JavaScript OOD
Method overriding will occur within JavaScript Native classes and custom user classes. For example, the toString() method of the Object super class is overridden by the toString() method of the Array subclass. Also, an object instance may contain a method with the same signature as a method of its class type, thereby allowing the class method to be overridden.

• Military Time: JavaScript Date & Time
Military time is a method of representing a time of day by designating the hour of the day with a range of 0 through 23. Military time eliminates the need for the AM/PM designator.

• Modulus Operator: JavaScript Operator
The modulus operator ( symbol: % ) will return the remainder when its first operand is divided by its second operand. Results are unpredictable when one or both operands are non-numeric. Special rules apply to NaN numbers and Infinity numbers.
The attributes of this operator are:

• Multidimensional Array JavaScript Array
The multidimensional array is an array within another array. Since a JS array element can contain any of the JS data types, it is possible to declare an array as the data value in an element of the container array. When an arrays element's value represents another array, we have a two dimensional array. Conceptually, the two dimensional array resembles a table with rows and columns. The outer array represents the table rows and the inner array represents the columns. An array element's value is accessed using the array index with the bracket operator. The two dimensional array would require two sets of bracketed indexes to access any of the data values. The first set of brackets would represent the outer array and the second set would represent the inner array.

• Multiline Flag JavaScript RegExp
The optional multiline flag is one of three flags (or modifiers) provided with JavaScript regular expressions. The multiline flag forces the regular expression processor to match regular expression patterns to the target string that is comprised of more than one line. This flag is commonly used with multiline anchors.

• Multiplication Operator: JavaScript Operator
The multiplication operator ( symbol: * ) will multiply two numbers. Results are unpredictable when one or both operands are non-numeric. Special rules apply to NaN numbers and Infinity numbers.
The attributes of this operator are:

• Multiplicative Operator Group: JavaScript Operator
The multiplicative operator group is an ECMAScript term that includes operators: Division, Multiplication and Modulus.

• Mutator Method: JavaScript OOD
A mutator method will alter data. JavaScript methods that must alter data (other than instance properties) should be placed outside of the prototype object. An object instance may contain mutator methods. They would operate only on the data unique to the instance.















Top            

Rx4AJAX        About Us | CSS Index | JS Index | HTML Index | Contact Us | Privacy Policy | Built By PPThompson: 2008