accessKey tags property: A, APPLET, BODY, BUTTON, EMBED, FIELDSET, INPUT, LABEL, LEGEND, MARQUEE, OBJECT, SELECT, TEXTAREA. , specifies a shortcut key: digit (0-9) or Latin letter (az). Similar to clicking on a tag. accesKey=
action property of the tag FORM , specifies a file or script on the server, if not specified, the address of the source document is used.
activeElement property of the DOCUMENT object. Returns a link to the active element (tag: INPUT, TEXTAREA, BODY). document.activeElement EXAMPLE: show the html-code of the currently active element:EXAMPLE: set a link to an active element and show its html-code:
align 1.tags property: APPLET, COL, COLGROUP, DIV, FIELDSET, H1-H6, HR, P, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR. Sets the alignment of the internal content ( text and / or tags). align= 2. property of the tag CAPTION . Sets the alignment of the internal content (text, tags) of the table heading. align=
default
1.1
align=center
1.1
align=right
1.1
align=left
1.1
align=top
1.1
align=bottom
1.1
3.Property of the LEGEND tag. Sets the way to align the internal content of the signature (text, tags) in the frame, horizontally. align =
4.Property of tags: EMBED, IFRAME, IMG, OBJECT . Specifies the horizontal and vertical alignment of an object with respect to text and / or surrounding objects. align =
As an example, aligning a picture relative to text and a button:
By inheritance align = baseline
By horizontals align = left
By horizontal align = right
By vertical align = asbottom
By vertical align = bottom
By vertical align = middle
By vertical align = asmiddle
By vertical align = top
By vertical align = texttop
alinkColor 1. property of the tag BODY , sets the color of active links on the page. alink= 2. property of the DOCUMENT object, sets, returns the color of active links on the page. window.document.alinkColor=red
alt tag property: AREA, IMG, EMBED , for IMG, if SRC is not set, this is the text inside the frame and the tooltip.
altKey object property EVENT , returns true if the ALT key was pressed when the event was raised, or false if it was not pressed. window.event.altKey
appCodeName property of the Navigator object, returns the name of the browser program. navigator.appCodeName
appName property of the Navigator object, returns the name of the browser. navigator.appName
appVersion property of the Navigator object, returns the browser version. navigator.appeVersion
balance property of the BGSOUND tag. Sets, returns the ratio of the volume of the left and right channels for background music.
behavior property of the tag MARQUEE , specifies how the text scrolls in this object. The default value for the SCROLL. property is behavior =
bgcolor property: 1. tags: BODY, MARQUEE, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR . Sets the background color of an object. bgcolor = 2. of the DOCUMENT object, sets, returns the background color of the page. window.document.bgColor="green"
bgproperties This is a property of the BODY tag. The background-attachment property applies. background-Attachment:
body property of the DOCUMENT object. Returns a read-only reference to the BODY object (BODY tag). window.document.body
border tags property: FRAMESET, IFRAME, IMG, TABLE, Sets, returns the width of the frame in pixels.
bordercolor tags property: FRAME, FRAMESET, IFRAME, TABLE, TD, TH, TR. Sets the color of all lines of the object frame. Bordercolor =
borderColorDark tag property: TABLE, TD, TH, TR , sets the color for the right and bottom line of the object border for a 3-dimensional frame. borderColorDark =
Table
1
2
1.1
1.2
borderColorLight tag property: TABLE, TD, TH, TR , sets the color for the left and top lines of the object border for a 3-dimensional frame. borderColorLight =
Table
1
2
1.1
1.2
bottomMargin property of the BODY tag, sets or returns the bottom padding for the entire page, overrides the default padding.
bufferDepth property of the SCREEN object, returns the buffer usage for storing the "second screen". window.screen.bufferDepth
button object property EVENT , returns the number of the mouse button that triggered the event. window.event.button
cancelBubble object property EVENT , specifies the completion of the event at the object event, which is processed by the script in which this property is set. Events of objects that are a container for the object in which the property is set do not occur. the property is set only in scripts to true. window.event.cancelBubble=true
cellPadding property of the TABLE tag, sets the distance between the border of the table cell and its content.
Table
1
2
1.1
1.2
2.1
2.2
Table
1
2
1.1
1.2
cellSpacing property of the tag TABLE , sets the distance between cells in the table.
Table
1
2
1.1
1.2
2.1
2.2
Table
1
2
1.1
1.2
charset property of the tag META , returns or sets the character set of the document.
checked tag property INPUT (type = radio, checkbox) . Sets or gets the selection state for switches.
The selection is set from the script: object.checked = true The script is clearing the selection: object.checked = false
classid OBJECT tag property: 1. sets the object class identifier in the tag:
2. returns the object class identifier in the script: object.classid
className property of many tags , specifies the class to associate with the style sheet (STYLE tag).
1. setting a property in the tag 2. setting property from script object.lassName = "class_name"
clear: clear:
client reference to the NAVIGATOR object. window.client
clientHeight property of tags: BODY, FIELDSET, TABLE, CAPTION, DIV, LEGEND, MARQUEE, TD, TEXTAREA , returns the height of the object, excluding decoration (padding, scroll bars, etc.). object.clientHeight
clientWidth tag property: BODY, FIELDSET, TABLE, CAPTION, DIV, LEGEND, MARQUEE, TD, TEXTAREA , returns the height of the object excluding decoration. object.clientWidth
clientX object property EVENT , returns the X coordinate of the object excluding decoration. window.event.clientX
clientY object property EVENT , returns the Y coordinate of the object excluding decoration. window.event.clientY
closed property of the WINDOW object, returns true if the window is closed. window_object.closed
code tags property: APPLET, EMDED, OBJECT , for APPLET sets the name of the file containing the compiled JAVA class.
codeBase tag property: APPLET, EMBED, OBJECT , sets the url of the object implementation in the code.
codeType property of the OBJECT tag, sets the type of code for an external object.
color tag property: BASEFONT, FONT, HR , sets and returns the color of text or line color =
colorDepth property of the SCREEN object, specifies the number of bits per pixel for the user's device or video buffer. window.screen.colorDepth
cols 1. tag property TABLE , sets the number of columns in the table.
2. property of the tag TEXTAREA , sets, returns the width of the object in characters regardless of the size of characters. Valid if STYLE: width, height attributes are missing.
3. property of the FRAMESET tag. Specifies the number and width of inner frames and / or framesets in a frameset.
Values entered: 20, 25%, *. The number of values specifies the number of frames, or framesets, within a frameset tag. The values themselves define the width of these frames and / or framesets.
colSpan tag property: TD, TH , sets the number of columns in the table that this cell should contain.
Table
colspan = 2
2
11
22
1.1
1.2
Table
1
2
colspan = 2
1.2
2.1
2.2
compact property of the DL tag. Specifies the compaction of the list by removing spaces.
1. setting the compaction in the tag
2. undo delete Remove COMPACT from the tag. 3. setting compaction from script dl.compact_object = true 4. canceling compaction from script dl.compact_object = false
complete indicates when the page content has loaded.
content property of the tag META , sets and returns data named in the NAME attribute of the same tag.
cookieEnabled property of the object NAVIGATOR , returns true if there is a possibility of using cookies in the browser. window.navigator.cookieEnabled
coords property of the AREA tag, specifies in pixels the relative coordinates that, together with the SHAPE attribute, define the shape of the active area of the client's map.
An example of using the coords property in the context of the required environment (see the full example below):
cssText property of the tag STYLE , sets the text value of the TYPE attribute.
ctrlKey Object property EVENT , returns true if the "Ctrl" key was pressed when the event occurred. window.event.ctrlkey
data property of the tag OBJECT , sets the url for linking to the data used by the object.
dataFld tags property: DIV, IFRAME, IMG, LABEL, MARQUEE, OBJECT, SELECT, SPAN, INPUT, PARAM, TABLE, TEXTAREA . Specifies the column or field name of the source data for an object associated with this object.
dataFormatAs tag property: MARQUEE, DIV, LABEL, INPUT, PARAM, SPAN . Specifies the format of the data. dataFormatAs =
dataPageSize property of the tag TABLE , sets the maximum number of records displayed simultaneously on the page.
dataSrc tag property: A, APPLET, BUTTON, DIV, FRAME, IFRAME, IMG, INPUT, LABEL, IFRAME, IMG, MARQUEE, OBJECT, SELECT, SPAN, TABLE, TEXTAREA, PARAM . Sets data source of an object in the form of its identifier for data binding.
defaultChecked Property of the INPUT tag (type = checkbox, radio). Returns true if the object is selected by default (the CHECKED property is included in the tag). object_INPUT.defaultChecked
defaultSelected property of the tag OPTION . Returns true if the object is selected by default (the SELECTED property is introduced in the tag). option_option.defaultSelected
defaultStatus object property WINDOW , sets, returns the default message text in the browser status bar. window.defaultStatus="hi !"
defaultValue tag property INPUT (type = file, password, text) . Returns the default text in the input field (value of the VALUE property). object_INPUT.defaultValue
description property of the MIMETYPE object (an element of the MIMETYPES collection of the NAVIGATOR object). Returns the default text in the status bar, at the bottom of the browser window. window.navigator.mimetypes(number).description
dialogArguments property of a WINDOW object opened as a dialog box, returns the arguments passing through that dialog box as an array. window.dialogArguments
dialogHeight a property of a WINDOW object opened as a dialog box sets or returns the height of that dialog box. window.dialogHeight For setting the value of this property when a window is opened, see the showModalDialod section of the Methods section.
dialogLeft a property of a WINDOW object opened as a dialog box sets or returns the X coordinate of that dialog box. window.dialogLeft For setting the value of this property when a window is opened, see the showModalDialod section of the Methods section.
dialogTop a property of a WINDOW object opened as a dialog box sets or returns the Y coordinate of that dialog box. window.dialogTop For setting the value of this property when a window is opened, see the showModalDialod section of the Methods section.
dialogWidth a property of a WINDOW object opened as a dialog box sets or returns the width of that dialog box. window.dialogWidth For setting the value of this property when a window is opened, see the showModalDialod section of the Methods section.
direction property of the tag MARQUEE , sets the direction of movement of the text. direction =
disabled 1.Tags property: BUTTON, INPUT, LINK, OBJECT, SELECT, STYLE, TEXTAREA . Specifies whether the object is unavailable (by the presence of the word DISABLED in the tag) or available (by the absence of the word DISABLED in the tag). Returns true if the object is not available and false if available.
Inaccessibility is set from the script: object.disabled = true Inaccessibility is reset from the script: object.disabled = false
2. property of the STYLESHEET object. Specifies whether the object is unavailable (by the presence of the word DISABLED in the corresponding STYLE tag) or available (by the absence of the word DISABLED in the tag). Returns true if the corresponding STYLE object is not available and false if available. document.stylesheets (number) .disabled Inaccessibility is set from the script: document.stylesheets (number) .disabled = true Inaccessibility is reset from the script: document.stylesheets (number) .disabled = false
document property of the WINDOW object and many tags . Returns a read-only reference to the document. child of the window object window.document document.document
domain property of the DOCUMENT object. Sets or returns the domain of a document to protect or identify. window.document.domain
duration property of the FILTER object (an element of the collection of the FILTERS tag), sets the duration of the process of changing the state of a dynamic filter in milliseconds. Many tags can have a collection of filters.
1. task from scripts: object.filters (filter_number) .duration = 1 2. setting in the tag (in the STYLE attribute, in the FILTER property):
For more details with examples, see the FILTER property.
dynsrc property of the tag IMG , sets the address of the video clip data.
enabledPlugin property of the MIMETYPE object (an element of the MIMETYPES collection of the NAVIGATOR object), returns a reference to an embedded object that can handle this object. window.navigator.mimetypes (number) .enabledPlugin
encoding tag property FORM:
1. sets the type of encoding in the script to apply to the content of the form at startup: enctype = "" 2. returns encoding type in scripts: form_enctype_object
event
property of tags having events Specifies:
name of the event handler program. event_name = "function name"
contains the script handler code event_name = "script code" To view and insert event_name, click the EVENTS list.
property of the WINDOW object. Returns a reference to the global EVENT object. window.event
face the tag property BASEFONT, FONT . Specifies the font type.
face=
fgcolor property of the DOCUMENT object. Sets, returns the color of the page text. window.event.fgcolor = "red" To define the color number, click the color setting window on the taskbar.
form tag property: BUTTON, INPUT, SELECT, TEXTAREA. form= By default, the tag belongs to the form inside which is.
frame property of the tag TABLE . Specifies the appearance of the table border. frame=
frame=below
1
2
1.1
1.2
frame=box
1
2
1.1
1.2
frame=insides
1
2
1.1
1.2
frame=lhs
1
2
1.1
1.2
frame=vdides
1
2
1.1
1.2
frame=rhs
1
2
1.1
1.2
frame=void
1
2
1.1
1.2
frame=above
1
2
1.1
1.2
frameBorder tags property: FRAME, FRAMESET, IFRAME . Specifies the appearance of the frame border. frameBorder =
frameSpacing tag property FRAMESET, IFRAME . Specifies a number in pixels between frames in a set.
fromElement property of the EVENT object. Returns a reference to the object from which the mouse cursor left. the property is available only in scripts event handlers: onmouseover, onmouseout. window.event.fromElement
hash property of the LOCATION object, tags: A, AREA , returns the string that follows the # character in url. window.location.hash object.hash
height tags property: EMBED, IFRAME, IMG, MARQUEE, OBJECT, TABLE, TD , sets, returns the height of the object in pixels.
hidden property of the tag EMBED . Sets the invisibility of an object.
Attribute is set from script: object_embed.hidden = true The attribute is cleared from the script: object_embed.hidden = false
history property of the WINDOW object, returns a reference to the child HISTORY object. window.history
host property of the LOCATION object, tags: A, AREA , returns the host.port part of the address. location.host object.host
hostname object property LOCATION tags: A, AREA , returns the hostname in the address. location.hostname object.hostname
href property: 1. object LOCATION , returns the full url as a string. location.href 2. of a STYLESHEET object, returns the full url of the LINK tag that imported the stylesheet into the corresponding STYLE tag. See section "STYLE ~ Importing Stylesheet". window.document.stylesheets (number) .href where "number" is a sequential number from 0 of the STYLE tag on the page. 3. tags: A, AREA, LINK , sets and returns url as a string
hspace tag property: EMBED, IFRAME, IMG, MARQUEE . Specifies the horizontal spacing or padding between adjacent objects in pixels.
htmlFor 1.tag property SCRIPT:
specifies in the tag the object for which the event handler is created. for = object_id
sets (modifies) in the script the object for which the event handler is created. htmlFor = "object_id"
2. property of the tag LABEL , sets, returns the name (value of the NAME attribute) of the INPUT tag, which the LABEL tag (label or heading) is intended for.
htmlText object property TEXTRANGE , returns the contents of the object in the form of text and html-code. textrange.htmlText object
httpEquiv tag property META : 1. Sets the tag to describe the content of the object.
2. Sets (modifies) a description of the content of an object in scripts. meta_object.httpEquiv = ""
id 1. property of many tags ... Specifies the identifier for the tag. If there are multiple tags with the same identifier, and using the identifier as a reference to an object with that identifier, an error occurs. The identifier must start with the characters: AZ, or: az, and can consist of the following characters: (A-Za-z), digits (0-9), minus ("-"), underscore ("_"), colon ( ":"), dot (".").
2. property of the STYLESHEET object, returns the id of the corresponding STYLE tag. window.document.stylesheets (number) .href where "number" is a sequential number from 0 of the STYLE tag on the page.
ideterminate property of the INPUT tag, specifies the style for form elements such as checkboxes and radio buttons when they are in an undefined state.
index specifies the ordinal number of the element in the list.
innerHtml property of many tags , sets or returns the internal html-code of the whole object. object.innerHtml
innerText property of many tags , sets or returns only the text within the object. object.innerText IE only
isMap property of the tag IMG , sets the picture as a map.
Attribute is set from script: object_img.isMap = true The attribute is cleared from the script: img.isMap_object = false
isTextEdit property of many tags , returns true for objects that can be used to create a TEXTRANGE object. object.isTextEdit
keyCode object property EVENT , returns or changes the ascii code of the key pressed. window.event.keyCode For example, to cancel entering the code of a pressed keyboard key: window.event.keycode = ""
lang property of many tags , specifies the ISO language description for the object.
language property of many tags , specifies the programming language of the event handler in the object itself or the language of the SCRIPT tag, by default JAVASCRIPT. It is recommended to explicitly set the programming language. language=
lastModified property of the DOCUMENT object. Returns the date the page was last modified. window.document.lastModified
leftMargin property of the tag BODY . Sets or returns the left padding, in pixels, for the page, overrides the default padding.
length
property of all collections , returns the number of items in the collection. collection.length
eg the total number of tags on the current page: window.document.all.length. To view the collections and their associations, click the "collections" list.
property of the SELECT tag, returns the number of internal OPTION tags (the number of list items). object_select.length
linkColor property: 1. object DOCUMENT . Sets, returns the color of unvisited hyperlinks on a page. window.document.linkColor = "red" 2. BODY tag. Sets, returns the color of unvisited hyperlinks on a page linkColor =
location object property WINDOW , returns the full url of the document. window.location
loop tags property: BGSOUND, MARQUEE, IMG . Specifies the number of times audio or video clips play or text passes.
lowsrc property of the IMG tag. Sets the url of a low-resolution image.
map sets an object-based image map
marginHeight tags property: FRAME, IFRAME . Sets the top and bottom margins for a page, or block of text.
marginWidth tags property: FRAME, IFRAME . Sets the left and right margins for a page or block of text.
maxLength tag property INPUT (type = password, text) . Sets or returns the maximum number of characters to enter into an object.
method property of the FORM tag. Specifies the method for sending data to the server from a get or post form. method = The "GET" method forces the browser to encode the information as a URL and send it to the server in that form. On the server, this value is assigned to a specific environment variable. This method limits the amount of data transferred (no more than a few hundred bytes). The "POST" method forces data to be transferred using standard I / O procedures. This method is preferred over the "GET" method.
methods property of the A tag. Specifies information about the functions performed by the object.
mineTypes object property NAVIGATOR , returns a reference to the mimetypes collection, in IE returns an empty collection (window.navigator.mimetypes.legth = 0). window.navigator.mimeTypes.length
multiple property of the tag SELECT . Specifies the ability to select multiple items in a list. This property is effective if the value of the SIZE property is greater than one. . The property is set from the script: object_select.multiple = true The property is reset from the script: object_select.multiple = false
name 1.Tags property: A, APPLET, BUTTON, EMBED, FORM, FRAME, IFRAME, INPUT, IMG, MAP, OBJECT, PARAM, SELECT, META, TEXTAREA: 1-1. Sets the tag name to the tag:
1-2. Returns tag name in scripts: object.name 2. property of the MIMETYPE object (an element of the MIMETYPES collection of the NAVIGATOR object), specifies the name of the element, bookmark or applet. window.navigator.mimetypes (number) .name = "name" 3. property of the WINDOW object, sets the title of the window title. window.name 4. property of the WINDOW object. Returns a read-only reference to a NAVIGATOR object. window.navigator
navigator browser link Window.navigator
noHref the property of the AREA tag, specifies the lack of response to a mouse click on an object.
noResize tags property: FRAME, IFRAME . Specifies that the user cannot resize the frame. noResize =
noShade property of the HR tag. Specifies no 3D shadow for a horizontal line.
The property is set from the script: object_hr.noShade = true The property is reset from the script: object_hr.noShade = false
noWrap tag property: TD, TH . Specifies that text cannot be automatically wrapped based on size.
The property is set from the script: td_object, th.noWrap = true The property is reset from the script: td_object, th.noWrap = false
offScreenBuffering property of the WINDOW object. Sets and returns the use of the video buffer for the document. The default is "auto". window.offScreenBuffering
offsetHeight the property of many tags , used only in scripts. Returns the full height of the element's content, in pixels, including what is not visible and can be viewed by scrolling. object.offsetHeight
offsetLeft the property of many tags , used only in scripts. Returns the X coordinate of the left border of the element's content, in pixels, including what is not visible and can be viewed by scrolling. object.offsetLeft
offsetParent the property of many tags . Returns a reference to the object's container, defining its relative X Y coordinates. object.offsetParent
offsetTop the property of many tags , used only in scripts. Returns the relative Y coordinate of the top border of the inner object, in pixels, relative to the containing object. object.offsetTop
offsetWidth the property of many tags , used only in scripts. Returns the full width of the object, including what is not visible and can be viewed by scrolling. object.offstWidth
offsetX property of the EVENT object. Returns the X coordinate of the mouse cursor, in pixels, relative to its containing element, when an event occurs. window.event.offsetX
offsetY property of the EVENT object. Returns the Y coordinate of the mouse cursor, in pixels, relative to its containing element, when an event occurs. window.event.offsetY
opener property of the WINDOW object. Returns a link to the window that opened the current window. window.opener
outerHTML the property of many tags . Sets or returns the text and HTML code of a tag (object), including the opening and closing tags in the HTML source. object.outerHTML
outerText the property of many tags . Sets or returns only the text of an element including the opening and closing tags in HTML source. object.outerText
owningElement property of the collection object STYLESHEETS . Returns the imported stylesheet and references the current one, usually in a LINK tag. window.document.stylesheets (number) .owningElement
palette tag propertyEMBED.Specifies the palette for an embedded object.
parent Property of the WINDOW tag. Returns a reference to the parent window or frame. window.parent
parentElement property of many tags , used only in scripts. Returns a reference to the parent object, the parent returns zero. object.parentElement
parentStyleSheet property of the STYLESHEET object (member of the STYLESHEETS collection). Returns the parent style sheet, or zero for independent. window.document.stylesheets (number) .parentStyleSheet
parentTextEdit property of many tags , used only in scripts. Returns a reference to the closest parent element that can be used to construct a TEXTRANGE. object.parentTextEdit
parentWindow property of the DOCUMENT object. Returns a link to the parent window of the document. window.document.parentWindow
pathname property of the LOCATION object, tags: A, AREA . Returns the name of a file or object after the third / in url. window.location.pathname object.pathname
plugins property of the DOCUMENT object. Returns the collection of connected elements available in the browser, in IE returns an empty collection (window.document.plugins.length is always 0). window.document.plugins.length
pluginspage property of the tag EMBED . Specifies a connected object to use as an embedded object.
port property of the LOCATION object, tags: A, AREA . Returns the port number in url. window.location.port object.port
protocol property of the LOCATION object, tags: A, AREA . Returns the protocol portion of the url string, up to colon. window.location.protocol object.protocol
readOnly tags property: TEXTAREA, INPUT (type = button, checkbox, file, hidden, password, text) . Specifies a prohibition on changing the content of the object.
1. to set the ban in the tag
2. to clear the ban in the tag, delete the word READONLY. 3. to set from script object.readOnly = true 4. to cancel the ban from the script object.readOnly = false
readyState Property:
of the DOCUMENT object. Returns the current state of the loaded object. window.document.readyState
tags: IMG, LINK, OBJECT, SCRIPT, STYLE . Returns the current state of the loaded object. readyState object
recordNumber tags property: INPUT (type = button, checkbox, file, image, radio, reset, submit, text), FIELDSET, LEGEND, SELECT . Returns the ordinal number of a record in a data-bound table,
recordNumber returns the sequence number of the entry in the data-bound table bject.recordNumber
recordset property of objects: RSD, STD . Returns a recordset if the object is a data source.
Create STD object. Sets are created using objects: RDS (Remote Date Service) or STD (Simple Tabular Data) For example, create STD: & lt; object id = base width = 100 height = 51 classid = "CLSID: 333C7BC4-460F-11D0-BC04-0080C7055A83" > <! Field separator comma: > < param name = "fileDelim" value = "," > <! Data source text file Exampl.txt: > < param name = "DataURL" value = "Exampl.txt" > <! The first line contains the field names: > < param name = "UseHeader" value = true > < / object > Where is the table-view database this, Exampl.txt text file with the following content:
Binding of recordset data to tags: INPUT, SELECT, TEXTAREA, MARQUEE, DIV, SPAN is performed by setting properties: DATASRC = "#STD_object_id" (OBJECT tag) and DATAFLD = "field_name". In this case, these tags receive the data of the record to which the pointer is set. After the tags are loaded, the pointer is set to the first record. For example: < input type = text datasrc = "#base" datafld = "Name" >
Recordset properties:
base.recordset.bof returns true if the pointer is on the first record
base.recordset.eof returns true if the pointer is on the last record
Recordset methods:
base.recordset.movePrevious move the pointer to the previous record;
base.recordset.moveNext move the pointer to the next record;
base.recordset.moveFirst move the pointer to the first record;
base.recordset.moveLast move pointer to last record.
referrer property of the DOCUMENT object. Returns the url of the page that called the current one. window.document.referrer
rel tags property: A, LINK . Specifies a description of the content of the document referenced by the HREF tag, relative to the current document. rel =
returnValue property of the EVENT object. Sets browser reaction to event by default:
disable reaction window.event.returnValue = false
reaction allow window.event.returnValue = true
rev property of the tag A . Specifies a description of the content of the current document in relation to the document referenced in the HREF link of the A. tag rev =
rightMargin property of the tag BODY . Sets or returns the right padding for the entire page in pixels, overrides the default padding.
rows 1. property of the tag TEXTAREA . Sets, returns the number of lines in the text area. Valid if STYLE: width, height attributes are missing.
2. property of the FRAMESET tag. Specifies the number and height of inner frames and / or framesets in a frameset.
Values: 20, 25%, *. The number of values specifies the number of frames, or framesets, within a frameset tag. The values themselves set the height of these frames and / or framesets.
rowSpan tag property: TD, TH . Sets the number of table rows in which the cell should fit.
Table
rowspan = 2
2
11
22
1.1
1.2
Table
1
2
rowspan=2
1.2
2.1
2.2
rules property of the tag TABLE . Sets the appearance of dividing lines in the table. rules=
rules=all
1
2
1.1
1.2
rules=cols
1
2
1.1
1.2
rules=groups
1
2
1.1
1.2
rules=none
1
2
1.1
1.2
rules=rows
1
2
1.1
1.2
screen property of the WINDOW object. Returns a read-only reference to the SCREEN object. window.screen
screenX property of the EVENT object. Returns the horizontal coordinate of the mouse cursor, relative to the screen, when an event occurs. window.event.screenX
screenY property of the EVENT object. Returns the vertical coordinate of the mouse cursor, relative to the screen, when an event occurs. window.event.screenY
scroll property of the tag BODY . Sets or cancels scroll bars. scroll =
scrollAmount property of the MARQUEE tag. Specifies the number of pixels the MARQUEE object crawls in each loop.
scrollDelay property of the MARQUEE tag. Specifies the time, in milliseconds, between text cycles in a MARQUEE object.
scrollHeight tags property: BODY, DIV, FIELDSET, IMG, LEGEND, MARQUEE, SPAN, TABLE, TEXTAREA . Returns the full height of the object in pixels, which is not visible due to scrolling (tags: BODY, TEXTAREA ), or the full height, which has increased due to internal objects (other tags). scrollHeight object
scrollLeft tag property: BODY, DIV, FIELDSET, IMG, LEGEND, MARQUEE, SPAN, TABLE, TEXTAREA . Returns the scrolled horizontal distance in pixels (tags: BODY, TEXTAREA), or increase the width, at the expense of internal objects (other tags). scrollLeft object
scrollTop tag property: BODY, DIV, FIELDSET, IMG, LEGEND, MARQUEE, SPAN, TABLE, TEXTAREA . Returns the scrolled vertical distance in pixels (tags: BODY, TEXTAREA), or height increase, at the expense of internal objects (other tags). scrollTop object
scrollWidth tag property: BODY, DIV, FIELDSET, IMG, LEGEND, MARQUEE, SPAN, TABLE, TEXTAREA . Returns the full width of the object in pixels, which is not visible due to scrolling (tags: BODY, TEXTAREA ), or the full width, which is increased by internal objects (other tags). object.scrollWidth
search
property of the LOCATION object. Returns the content of the query string or form data after the? in url. window.location.search
selected property of the tag OPTION . Sets one or more selected items in the list or deselects. 1. highlighting in the OPTION tag
2. to cancel in the OPTION tag delete the word SELECTED 3. to extract from script option_object.selected = true 4. to cancel selection from script object_option.selected = false
selectedIndex property of the tag SELECT . Returns an integer number of the selected item in the list. select_select.selectedIndex
selection object property DOCUMENT , used only in scripts. Returns a reference to the child SELECTION object. This object defines the properties and methods of the current selection on the page. window.document.selection For example, return the type of the user-selected area:
self object property WINDOW , used only in scripts. Returns a link to the current window for working with its properties, methods, events and collections. self For example, display the name of the current window:
shape property of the AREA tag. Sets the appearance of the area on the map. shape =
shiftKey property of the EVENT object. Returns true when the "shift" key is pressed, at the moment of occurrence of this or that event. window.event.shiftKey
size property of the following tags: 1. BASEFONT, FONT a positive or negative number determines the change in the font size relative to the current size; 2. HR positive number & gt; 0 line width in pixels; 3. INPUT positive number & gt; 0 the number of characters to enter; 4. SELECT number = 0.1 specifies single-line select list, number & gt; 0 multi-line select list number of visible lines equal to "number". A multi-select list can only be multi-line.
sourceIndex returns the ordinal number of the element in the source data or in the collection all
span tags property: COLGROUP, COL: 1. Specifies the number of columns in the script code to which the properties specified by the COLGROUP or COL tag belong.
2. Returns the value of the number of columns in scripts: object.span
Table
1
2
#
1.1
1.2
001
2.1
2.2
002
Table
1
2
#
1.1
1.2
001
2.1
2.2
002
src tags property: APPLET, BGSOUND, EMBED, FRAME, IFRAME, IMG, INPUT (type = IMAGE), SCRIPT . Specifies an external source data file for an object.
srcElement property of the EVENT object. Returns a reference to the object from which the event started. window.event.srcElement
srcFilter property of the EVENT object. Returns a link to the filter that generated the onfilterchange event only in the script of the ONFILTERCHANGE event handler. window.event.srcFilter
start tags property: 1. IMG sets the moment from which the video clip starts.
Failed to apply. 2. sets or returns the starting number in the list.
status
property of the WINDOW object. Specifies the text to be shown in the status bar of the window. window.status = "message"
property of the FILTER object (an element of the FILTRS collection). Returns a number specifying the current state of the dynamic filter transition. object.filters (filter_number) .status EXAMPLE show the filter state of the devfil object, in the methods window:
style the property of many tags . The following items are for your reference. When you insert properties and their values into tags or scripts, the html-code attributes of the STYLE property are automatically inserted.
In tags, sets the values of the properties of the STYLE: object
suffixes MIMETYPES collection of the NAVIGATOR object). Returns a list of file extensions used with this object. window.navigator.mimetypes (number).suffixes
tabIndex tag property: FIELDSET, INPUT, LEGEND, OBJECT, SELECT, TEXTAREA . Specifies the order in which the focus moves from object to object on the page when Tab is pressed.
tagName property of many tags , used only in scripts. Returns the tag name as a string in capital letters. object.tagName
target property of tags: A, AREA, BASE . Specifies the location of the new window to open for a window or frame. target =
text 1. property of the BODY tag. Sets the color of the page text. text = 2. tag property: OPTION, TEXTRANGE, SCRIPT, TITLE , used only in scripts. Sets, returns the text located inside the object. object.text = "" 3. property of the TEXTRANGE object. Sets, returns the text within a TEXTRANGE. object_textrange.text
textDecorationBlink property of many tags , sets the blinking of the text, does not work in IE.
title property: 1. many tags , specifies the help text for the dropdown.
2. object DOCUMENT , sets the name of the page when loading, returns the name of the page. Analogue of the text inside the TITLE. tag window.document.title = "my page"
toElement property of the EVENT object. Returns a reference to an object when the mouse hovers over this object. the property is available only in scripts event handlers: onmouseover, onmouseout. window.event.toElement
topMargin property of the tag BODY . Sets or returns, in pixels, the top padding for the entire page, overrides the default padding.
trueSpeed property of the MARQUEE tag. Sets the scrolling speed of the text in the MARQUEE object compared to IE3.
The property is set from the script: object_marquee.trueSpeed = true The property is reset from the script: marquee_trueSpeed_object = false
type Tag properties: 0. BUTTON , returns the string "button"; 1. TEXTAREA , returns the string "textarea"; 2. LINK, OBJECT , specifies the link content type, common types are shown in the menu. type = 3. OL, LI, UL defines the type of list item numbering. type = 4. INPUT , specifies the type of controls: type = 5. SELECT , returns "select-one" if the MULTIPLE attribute is not set, and "select-multiple" if it is set. object_select.type 6. property of the EVENT object. Returns the name of the event that occurred, without the "on" prefix. window.event.type 7. property of the SELECTION object. Returns the type of the selected area: "element", "text", "table", "none". window.document.selection.type 8. property of the STYLESHEET object, returns the value of the TYPE attribute of the corresponding STYLE tag. Usually this value is "text/css" window.document.stylesheets (number) .type where "number" is a sequential number from 0 of the STYLE tag on the page. 9. property of the SCREEN object. Sets or returns the interval between client screen updates. window.screen.updateInterval 10. property of the DOCUMENT object. Returns the address of the document as a string. window.document.url 11. property of the tag META . Specifies the address to go to another document (redirect).
12. property of the tag A . Sets the ur-name of the searched document.
updateInterval Sets or returns the interval between client screen updates.
useMap property of the IMG tag. Sets the painting as a map and links by name with the MAP tag.
userAgent property of the NAVIGATOR object. Returns the header sent to the server when exchanging data via the HTTP protocol. window.navigator.userAgent
url in the tag META link url.
urn UR - name of the searched document
vAlign tag property: TD, TR, COL, COLGROUP, TBODY, TFOOT, TH, THEAD, CAPTION, LEGEND . Specifies which top or bottom border should be aligned to objects and text that are inside tags. 1. for tags: TD, TR : vAlign =
Alignment of inner text using the example of the TD tag
Aligning inner text using the TH tag as an example
vAlign = baseline
vAlign = bottom
vAlign = middle
vAlign = top
1.1
1.2
3. for tag CAPTION vAlign =
vAlign = top
1
2
1.1
1.2
vAlign = bottom
1
2
1.1
1.2
value 1. property of the INPUT tag: 1-1. sets or returns the button label for type: reset, button, submit 1-2. sets or returns a value for type: radio, checkbox 1-3. sets the text in the input field before input and returns the entered text value, for type: password, text
2. tag property: 2-1. LI , sets or returns the numeric value stored in the tag.
2-2. OPTION, PARAM , sets or returns the value stored in the tag.
3. SELECT tag property. Returns the VALUE property of the first selected inner OPTION tag. select_value_object 4. tag property TEXTAREA. In scripts, sets, returns text. textarea_object.value = ""
vlinkColor property: 1. object DOCUMENT . Sets and returns the color of visited links on a page. window.document.vlinkColor = "red" 2. BODY tag. Sets, returns the color of visited hyperlinks on a page vlink =
volume property of the BGSOUND tag. Sets, returns the current volume of the background sound.
vspace tags property: APPLET, EMBED, IFRAME, IMG, MARQUEE . Sets the vertical padding between adjacent objects in pixels.
width 1. object property SCREEN. Returns the width of the user's screen in pixels. window.screen.width 2. tag property: EMBED, HR, IFRAME, IMG, MARQUEE, OBJECT, TABLE, TD. Sets, returns the width of an object in pixels.
3. object property WINDOW. Returns a reference to the window object, analogous to self. window.window
wrap property of the tag TEXTAREA . Specifies the order in which the text of the TEXTAREA tag wrap to the next line. wrap =
x property of the EVENT object. Returns the X coordinate of the mouse cursor relative to the parent object or window. window.event.x
y property of the EVENT object. Returns the Y coordinate of the mouse cursor relative to the parent object or window. window.event.y