Skip to content

Category Archives: HTML

The Navigator geolocation property is used to return a geolocation object by the browser which can be used to locate a user’s position. It is a… Read More
The cookieEnabled property is used to return a Boolean value which specifies whether the browser has cookies enabled or not. It returns true if cookies… Read More
The querySelectorAll() method in HTML is used to return a collection of an element’s child elements that match a specified CSS selector(s), as a static… Read More
The querySelector() method in HTML is used to return the first element that matches a specified CSS selector(s) in the document.Note: The querySelector() method only… Read More
The DOM name Property is used to return the name of the attribute. It is used for read-only.Syntax:   attribute.name Return Value:This property returns a string… Read More
The Screen height property is used for returning the total height of a user’s screen. It returns the total height of the screen in pixels.Syntax:  … Read More
The onmouseout event attribute works when the mouse pointer moves out of the specified element. Syntax:Attention reader! Don’t stop learning now. Get hold of all… Read More
Example: This example shows the simple onClick event where the button is clicked to display the date & time in HTML.Attention reader! Don’t stop learning… Read More
The <li> tag in HTML is used to define the list item in an HTML document. It is used within an Ordered List <ol> or… Read More
The <button> tag in HTML is used to define the clickable button. <button> tag is used to submit the content. The images and text content… Read More
Example: In this example <p> is a starting tag, </p> is an ending tag and it contains some content between them. The combination of starting… Read More
The <address> tag in HTML indicates the contact information of a person or an organization. If <address> tag is used inside the <body> tag then… Read More
The Screen availWidth property is used for returning the width of the user’s screen, in pixels. The value returned by the Screen availWidth property is… Read More
The Screen colorDepth property is used to return the bit depth of the color palette for displaying images, in bits per pixel.The possible values are… Read More
The Screen availHeight property is used for returning the height of the user’s screen, in pixels. The value returned by the Screen availHeight property is… Read More