HTML URL APIs

GPTKB entity

Statements (30)
Predicate Object
gptkbp:instanceOf gptkb:REST_API
gptkbp:canBe gptkb:JavaScript
gptkb:Service_Workers
gptkb:Web_Workers
gptkbp:category gptkb:REST_API
Web development
gptkbp:definedIn gptkb:WHATWG
gptkbp:example let params = new URLSearchParams('foo=bar&baz=qux');
let url = new URL('https://example.com?foo=bar');
https://www.w3.org/2000/01/rdf-schema#label HTML URL APIs
gptkbp:includes gptkb:URLSearchParams_interface
URL interface
gptkbp:introducedIn 2014
gptkbp:partOf gptkb:HTML_Living_Standard
gptkbp:relatedTo Fetch API
Anchor element
Location interface
gptkbp:replacedBy legacy URL parsing methods in browsers
gptkbp:specifies https://url.spec.whatwg.org/
gptkbp:standardizedBy gptkb:WHATWG
gptkbp:supportedBy modern browsers
gptkbp:URL_interface exposes properties like href, protocol, host, pathname, search, hash
provides methods to parse and construct URLs
gptkbp:URLSearchParams_interface exposes methods like append, delete, get, set, has
provides methods to work with query strings
gptkbp:usedFor manipulating URLs
parsing URLs
serializing URLs
gptkbp:bfsParent gptkb:standard
gptkbp:bfsLayer 4