Tag Archives: Web-API

The HTML ButtonElement.accessKey property is used to returns a DOMString which is a single character representing the accessKey the given button. Syntax: ButtonElement.accessKey Return Value:… Read More
The HTML BodyElement.background property is used to returns a DOMString that represents the description of the location of the background image resource. Syntax: BodyElement.background Return… Read More
The HTML BodyElement.bgColor property is used to returns a DOMString that represents the background color for the document. Syntax: BodyElement.bgColor Return Value: This property returns… Read More
The HTML BodyElement.text property is used to returns a DOMString that represents the color of text Syntax: BodyElement.text Return Value: This property returns a DOMString… Read More
The Web API URL.username property returns a USVString containing the username specified before the domain name of the URL Syntax: var str = URL.username Return… Read More
The Web API URL.pathname property is used to get USVString containing an initial “/” followed by the path of the URL. Syntax: var str =… Read More
The Web API URL.port property is used to get USVString containing the port number of the URL. Syntax: var str = URL.port Return Value: This… Read More
The Web API URL.protocol property is used to get USVString containing the protocol scheme of the URL.  Syntax: var str = URL.protocol Return Value: This… Read More
The Web API URL.search property is used to get USVString which is a search string or a query string. This string contains a “?” followed… Read More
The Web API URL.origin property returns a USVString containing the origin of the URL. Syntax: var str = URL.origin Return Value: This property returns a… Read More
Building a Chrome extension requires you to have a knowledge of HTML, CSS, JavaScript, and Bootstrap. In this article, we will be making an extension… Read More
The decode() method in TextDecoder API is used to takes a stream of bytes as input and emits a stream of code points. The TextEncoder… Read More
The encodeInto() method in TextEncoder API is used to take stream of points and emits the stream of UTF-8 bytes. All instances of TextEncoder only… Read More
Web Audio APIs help to make the audio of a website application sound correct. Sounds make the site more fun and attractive. Using Audio APIs,… Read More
API stands for Application Programming Interface. API is actually some kind of interface which is having a set of functions. These set of functions will… Read More