HTML DOM Fieldset Object

Fieldset Object The Fieldset object represents an HTML <fieldset> element. Access a Fieldset Object You can access a <fieldset> element by using getElementById(): Example var x = document.getElementById(“myFieldset”); Try it Yourself » Tip: You can also access a Fieldset object by searching through the elements collection of a form. Create a Fieldset Object You can create a <fieldset> element […]

DOM HTMLCollection

An HTMLCollection object is an array-like list of HTML elements. Methods like the getElementsByTagName() returns an HTMLCollection. Properties and Methods The following properties and methods can be used on a HTMLCollection object: Property / Method Description item() Returns the element at the specified index in an HTMLCollection length Returns the number of elements in an […]

HTML5 Geolocation

Locate the User’s Position The HTML Geolocation API is used to get the geographical position of a user. Since this can compromise privacy, the position is not available unless the user approves it. Note: Geolocation is most accurate for devices with GPS, like iPhone. Browser Support The numbers in the table specify the first browser version […]

HTML <picture> Tag

Example How to use the <picture> tag: <picture> <source media=”(min-width: 650px)” srcset=”img_pink_flowers.jpg”> <source media=”(min-width: 465px)” srcset=”img_white_flower.jpg”> <img src=”img_orange_flowers.jpg” alt=”Flowers” style=”width:auto;”> </picture> Try it Yourself » Definition and Usage The <picture> tag gives web developers more flexibility in specifying image resources. The most common use of the <picture> element will be for art direction in responsive designs. Instead of having one image that […]

HTML <object> Attributes

HTML <object> align Attribute A right-aligned <object>: <object width=”200″ height=”200″ data=”helloworld.swf” align=”right”></object> Try it Yourself » Definition and Usage The align attribute specifies the alignment of an <object> element according to the surrounding element. The <object> element is an inline element (it does not insert a new line on a page), meaning that text and other elements can wrap around it. […]

HTML <head> Tag

Example An HTML document, with a <title> tag inside the head section: <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head><body> The content of the document…… </body> </html> Try it Yourself » More “Try it Yourself” examples below. Definition and Usage The <head> element is a container for all the head elements. The <head> element can […]

HTML <script> Tag

Example Write “Hello JavaScript!” with JavaScript: <script> document.getElementById(“demo”).innerHTML = “Hello JavaScript!”; </script> Try it Yourself » Definition and Usage The <script> tag is used to define a client-side script (JavaScript). The <script> element either contains scripting statements, or it points to an external script file through the src attribute. Common uses for JavaScript are image manipulation, form […]

HTML <figure> Tag

Example Use a <figure> element to mark up a photo in a document: <figure> <img src=”img_pulpit.jpg” alt=”The Pulpit Rock” width=”304″ height=”228″> </figure> Try it Yourself » Definition and Usage The <figure> tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. While the content of the <figure> element is related to the main flow, its position is independent […]

HTML <th> nowrap Attribute

Example A header cell with a nowrap attribute: <table> <tr> <th>Month</th> <th nowrap>My Savings for a new car</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$80</td> </tr> </table> Try it Yourself » Definition and Usage The nowrap attribute is a boolean attribute. When present, it specifies that the content inside a header cell should not wrap. […]

HTML DOM DT Object

DT Object The DT object represents an HTML <dt> element. Access a DT Object You can access a <dt> element by using getElementById(): Example var x = document.getElementById(“myDT”); Try it Yourself » Create a DT Object You can create a <dt> element by using the document.createElement() method: Example var x = document.createElement(“DT”); Try it Yourself » Standard […]

HTML <object> Tag

Example How to use the <object> element to embed a Flash file: <object width=”400″ height=”400″ data=”DW.swf”></object> Try it Yourself » Definition and Usage The <object> tag defines an embedded object within an HTML document. Use this element to embed multimedia (like audio, video, Java applets, ActiveX, PDF, and Flash) in your web pages. You can also use the […]

SPSS SELECT IF – Simple Tutorial

In SPSS, SELECT IF deletes cases (rows of data) that don’t satisfy some condition(s). Like so, SELECT IF basically means “don’t delete if …” A minimal example isSELECT IF(GENDER = 1). SPSS SELECT IF – Some Examples Say we collected data on our employees and the resulting data file is employees.sav. Our client is only interested in female […]

How to Get (Partial) Eta Squared from SPSS?

In ANOVA, we always report the F-value, degrees of freedom (df) and p for each effect -possibly just one for one-way ANOVA. P (“Sig.” in SPSS) tells us the likelihood of some effect being zero in our population. However, it doesn’t tell us how strong some effect is if it is not zero; we can’t conclude that p = 0.05 indicates a […]

SPSS SPLIT FILE – A Quick Tutorial

SPLIT FILE is a command for having separate output for subsets of cases. It does not literally split your file into smaller files. Subsets are defined by the values on one or more split variables. After running SPLIT FILE, output is reported for each split group separately until you run SPLIT FILE OFF.Example of output […]

SPSS Data Editor Window

SPSS Data Editor window is SPSS’ main window. This is the only window that’s always open whenever we run SPSS. It’s recognized by a red icon  in its left top corner. The Data Editor has two tabs in the left bottom corner: we can click Data View for inspecting our data values. Alternatively, Variable View shows information regarding the meaning […]

Data Recovery – BurnAware

Available in Premium and Professional editions. This tool allows to browse and extract files from different type of discs. To extract a file, proceed as follows: 1. Click on the Data Recovery icon in the Main Window. The project layout will be displayed in separate window. 2. Select an available session from the left side […]

Erase Disc – BurnAware

Disc with the RW or RE specification can be erased, as long as your recorder supports this feature. Two erase methods are available for this purpose: Quick erasing does not remove the data physically from the disc, but instead only makes it inaccessible by erasing the references to existing content. The data can be restored. Complete erasing […]

Copy to ISO – BurnAware

An ISO image is an archive file of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system. To create exact copy of the disc on the hard drive, proceed as follows: 1. Click on the Copy to ISO icon in the Main […]

Unpack ISO – BurnAware

This tool allows to browse and extract files from ISO images. To extract a file, proceed as follows: 1. Click on the Unpack ISO icon in the Main Window. The project layout will be displayed in separate window. 2. Click on the Open button select ISO image. 3. Select files you want to extract. 4. […]