{"url": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/", "titulek": "How AI Influences What You See on Facebook and Instagram", "h1": "", "popis": "We’re making it easier to control what you see on Facebook and Instagram, and sharing more info on how our AI systems rank content.", "klicova_slova": "", "kanonicka": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/", "jazyk": "en-US", "robots_meta": "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1", "og": {"og:locale": "en_US", "og:type": "article", "og:title": "How AI Influences What You See on Facebook and Instagram", "og:description": "We’re making it easier to control what you see on Facebook and Instagram, and sharing more info on how our AI systems rank content.", "og:url": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/", "og:site_name": "Meta Newsroom", "og:image": "https://about.fb.com/wp-content/uploads/2023/06/Content-Recommendations-Policy-Updates-NC_Header.jpg?w=1200", "og:image:width": "1024", "og:image:height": "576", "og:image:type": "image/jpeg"}, "jsonld": [{"@context": "https://schema.org", "@graph": [{"@type": "NewsArticle", "@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#article", "isPartOf": {"@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/"}, "author": "Nick Clegg, President, Global Affairs", "headline": "How AI Influences What You See on Facebook and Instagram", "datePublished": "2023-06-29T10:00:20+00:00", "dateModified": "2023-06-29T15:36:46+00:00", "mainEntityOfPage": {"@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/"}, "wordCount": 1470, "publisher": {"@id": "https://about.fb.com/#organization"}, "image": {"@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#primaryimage"}, "thumbnailUrl": "https://about.fb.com/wp-content/uploads/2023/06/Content-Recommendations-Policy-Updates-NC_Header.jpg?w=1200", "keywords": ["AI", "Controls"], "articleSection": ["Facebook", "Instagram", "Meta", "Recent News", "Sidebar - Featured"], "inLanguage": "en-US", "articleBody": "Billions of people use Facebook and Instagram every day to share the ups and downs of life, to connect with people who share their interests, and to discover content they enjoy. To make everyone’s experience on our apps unique and personalized to them, we use AI systems to decide what content appears, informed by the choices they make.\r\n\r\nI wrote previously about the relationship between you and the algorithms Meta uses to shape what you see on Facebook and Instagram, and to challenge the myth that algorithms leave people powerless over the content they see. In that piece, I wrote that we needed to be more frank about how this relationship works and to give you more control over what you see. \r\n\r\nToday, we’re building on that commitment by being more transparent around several of the AI systems that incorporate your feedback to rank content across Facebook and Instagram. These systems make it more likely that the posts you see are relevant and interesting to you. We’re also making it clearer how you can better control what you see on our apps, as well as testing new controls and making others more accessible. And we’re giving more detailed information for experts so they can better understand and analyze our systems. \r\n\r\nThis is part of a wider ethos of openness, transparency and accountability. With rapid advances taking place with powerful technologies like generative AI, it’s understandable that people are both excited by the possibilities and concerned about the risks. We believe that the best way to respond to those concerns is with openness. Generally speaking, we believe that as these technologies are developed, companies should be more open about how their systems work and collaborate openly across industry, government and civil society to help ensure they are developed responsibly. That starts with giving you more insight into, and control over, the content you see. \r\nHow AI Predictions Influence Recommendations\r\nOur AI systems predict how valuable a piece of content might be to you, so we can show it to you sooner. For example, sharing a post is often an indicator that you found that post to be interesting, so predicting that you will share a post is one factor our systems take into account. As you might imagine, no single prediction is a perfect gauge of whether a post is valuable to you. So we use a wide variety of predictions in combination to get as close as possible to the right content, including some based on behavior and some based on user feedback received through surveys.\r\n\r\nWe want to be more open about how this works. A model of transparency Meta has been developing and advocating for some time is the publication of system cards, which give people insight into how our systems work in a way that is accessible for those who don’t have deep technical knowledge. Today, we are releasing 22 system cards for Facebook and Instagram. They give information about how our AI systems rank content, some of the predictions each system makes to determine what content might be most relevant to you, as well as the controls you can use to help customize your experience. They cover Feed, Stories, Reels and other surfaces where people go to find content from the accounts or people they follow. The system cards also cover AI systems that recommend “unconnected” content from people, groups, or accounts they don’t follow. You can find a more detailed explanation of the AI behind content recommendations here.\r\n\r\nTo give a further level of detail beyond what’s published in the system cards, we’re sharing the types of inputs – known as signals – as well as the predictive models these signals inform that help determine what content you will find most relevant from your network on Facebook. The categories of signals we’re releasing represent the vast majority of signals currently used in Facebook Feed ranking for this content. You can find these signals and predictions in the Transparency Center, along with how frequently they tend to be used in the overall ranking process. \r\n\r\nWe also use signals to help identify harmful content, which we remove as we become aware of it, as well as to help reduce the distribution of other types of problematic or low-quality content in line with our Content Distribution Guidelines. We’re including some examples of the signals we use to do this. But there’s a limit to what we can disclose safely. While we want to be transparent about how we try to keep bad content away from people’s Feeds, we also need to be careful not to disclose signals which might make it easier for people to circumvent our defenses.\r\n\r\nOf course, not everyone will find information just because we publish it on our website. That’s why we make it possible to see details directly in our apps about why our systems predicted content would be relevant to you, and the types of activity and inputs that may have led to that prediction. We’re expanding our “Why Am I Seeing This?” feature in Instagram Reels tab and Explore, and Facebook Reels in the coming weeks, after previously launching it for some Feed content and all ads on both Facebook and Instagram. You’ll be able to click on an individual reel to see more information about how your previous activity may have informed the machine learning models that shape and deliver the reels you see.\r\n\r\n\r\nExpanding Tools to Personalize Your Experience\r\nBy using the tools available, you have the ability to shape your experiences on our apps so you see more of the content you want to see, and less of the content you don’t. To make this easier, we’ve created centralized places on Facebook and Instagram where you can customize controls that influence the content you see on each app. You can visit your Feed Preferences on Facebook and the Suggested Content Control Center on Instagram through the three-dot menu on relevant posts, as well as through Settings.\r\n\r\nOn Instagram, we’re testing a new feature that makes it possible for you to indicate that you’re “Interested” in a recommended reel in the Reels tab, so we can show you more of what you like. The “Not Interested” feature has been available since 2021. You can learn more about influencing what you see across Instagram here.\r\n\r\n\r\n\r\nSo you can customize your experience and the content you see, we also have a “Show more, Show less” feature on Facebook, which is available on all posts in Feed, Video, and Reels via the three-dot-menu. We’re working on ways to make the feature even more prominent. And if you don’t want an algorithmically-ranked Feed – or just want to see what your Feed would look like without it – you can  use the Feeds tab on Facebook or select Following on Instagram to switch to a chronological Feed. You can also add people to your Favorites list on both Facebook and Instagram so you can always see content from your favorite accounts.\r\nProviding Better Tools for Researchers\r\nWe also believe an open approach to research and innovation – especially when it comes to transformative AI technologies – is better than leaving the know-how in the hands of a small number of big tech companies. That’s why we’ve released over 1,000 AI models, libraries and data sets for researchers over the last decade so they can benefit from our computing power and pursue research openly and safely. It is our ambition to continue to be transparent as we make more AI models openly available in future. \r\n\r\nIn the next few weeks, we will start rolling out a new suite of tools for researchers: Meta Content Library and API. The Library includes data from public posts, pages, groups, and events on Facebook. For Instagram, it will include public posts and data from creator and business accounts. Data from the Library can be searched, explored, and filtered on a graphical user interface or through a programmatic API. Researchers from qualified academic and research institutions pursuing scientific or public interest research topics will be able to apply for access to these tools through partners with deep expertise in secure data sharing for research, starting with the University of Michigan’s Inter-university Consortium for Political and Social Research. These tools will provide the most comprehensive access to publicly-available content across Facebook and Instagram of any research tool we have built to date and also help us meet new data-sharing and transparency compliance obligations.\r\n\r\nWe hope by introducing these products to researchers early in the development process, we can receive constructive feedback to ensure we’re building the best possible tools to meet their needs.", "description": "We’re making it easier to control what you see on Facebook and Instagram, and sharing more info on how our AI systems rank content.", "isAccessibleForFree": true}, {"@type": "WebPage", "@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/", "url": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/", "name": "How AI Influences What You See on Facebook and Instagram", "isPartOf": {"@id": "https://about.fb.com/#website"}, "primaryImageOfPage": {"@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#primaryimage"}, "image": {"@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#primaryimage"}, "thumbnailUrl": "https://about.fb.com/wp-content/uploads/2023/06/Content-Recommendations-Policy-Updates-NC_Header.jpg?fit=1920%2C1080", "datePublished": "2023-06-29T10:00:20+00:00", "dateModified": "2023-06-29T15:36:46+00:00", "description": "We’re making it easier to control what you see on Facebook and Instagram, and sharing more info on how our AI systems rank content.", "breadcrumb": {"@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#breadcrumb"}, "inLanguage": "en-US", "potentialAction": [{"@type": "ReadAction", "target": ["https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/"]}], "author": "Meta Newsroom"}, {"@type": "ImageObject", "inLanguage": "en-US", "@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#primaryimage", "url": "https://about.fb.com/wp-content/uploads/2023/06/Content-Recommendations-Policy-Updates-NC_Header.jpg?fit=1920%2C1080", "contentUrl": "https://about.fb.com/wp-content/uploads/2023/06/Content-Recommendations-Policy-Updates-NC_Header.jpg?fit=1920%2C1080", "width": 1920, "height": 1080, "caption": "Photo of a man and a woman looking a phone"}, {"@type": "BreadcrumbList", "@id": "https://about.fb.com/news/2023/06/how-ai-ranks-content-on-facebook-and-instagram/#breadcrumb", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://about.fb.com/"}, {"@type": "ListItem", "position": 2, "name": "Newsroom", "item": "https://about.fb.com/news/"}, {"@type": "ListItem", "position": 3, "name": "How AI Influences What You See on Facebook and Instagram"}]}, {"@type": "WebSite", "@id": "https://about.fb.com/#website", "url": "https://about.fb.com/news/", "name": "Meta Newsroom", "description": "", "publisher": {"@id": "https://about.fb.com/#organization"}, "potentialAction": [{"@type": "SearchAction", "target": {"@type": "EntryPoint", "urlTemplate": "https://about.fb.com/?s={search_term_string}"}, "query-input": {"@type": "PropertyValueSpecification", "valueRequired": true, "valueName": "search_term_string"}}], "inLanguage": "en-US", "alternateName": ["Meta Newsroom", "Meta"]}, {"@type": "Organization", "@id": "https://about.fb.com/#organization", "name": "Meta", "url": "https://about.fb.com/", "logo": {"@type": "ImageObject", "inLanguage": "en-US", "@id": "https://about.fb.com/#/schema/logo/image/", "url": "https://about.fb.com/wp-content/uploads/2023/09/Meta-logo-PNG-1.png?fit=2048%2C883", "contentUrl": "https://about.fb.com/wp-content/uploads/2023/09/Meta-logo-PNG-1.png?fit=2048%2C883", "width": 2048, "height": 883, "caption": "Meta"}, "image": {"@id": "https://about.fb.com/#/schema/logo/image/"}}]}], "drobecky": ["Home", "Newsroom", "How AI Influences What You See on Facebook and Instagram"], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 72, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:44", "sha256": "8d010c339eaf43ac9ad3250ad82470c1631c15e3ffc6526bd69dc6c4ca365cfc", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://about.meta.com/", "https://www.meta.com/ai-glasses/", "https://www.meta.com/quest/", "https://www.meta.com/about/", "https://www.meta.com/help/", "https://www.meta.com/ai-glasses/meta-glasses/", "https://www.meta.com/ai-glasses/ray-ban-meta/", "https://www.meta.com/ai-glasses/oakley-meta/", "https://www.meta.com/ai-glasses/meta-ray-ban-display/", "https://www.meta.com/ai-glasses/compare/", "https://www.meta.com/ai-glasses/shop-all/", "https://www.meta.com/refurbished/ai-glasses/", "https://www.meta.com/ai-glasses/prescription/", "https://www.meta.com/ai-glasses/meta-glasses/adventurer/", "https://www.meta.com/ai-glasses/meta-glasses/starfire-kylie-edition/", "https://www.meta.com/ai-glasses/ray-ban-meta-wayfarer-gen-2/", "https://www.meta.com/quest/quest-3s/", "https://www.meta.com/quest/quest-3/", "https://www.meta.com/quest/compare/", "https://www.meta.com/quest/accessories/", "https://www.meta.com/quest/play-now-pay-later/", "https://www.meta.com/warranty-plus/meta-quest/", "https://www.meta.com/quest/gift-cards/", "https://www.meta.com/work", "https://www.meta.com/work/quest", "https://www.meta.com/work/workrooms", "https://www.meta.com/work/workplace", "https://about.meta.com/technologies/", "https://www.meta.com/facebook-app/", "https://www.meta.com/messenger/", "https://www.meta.com/instagram/", "https://www.meta.com/whatsapp/", "https://www.meta.com/experiences/worlds/2532035600194083/", "https://www.threads.com/", "https://ai.meta.com/meta-ai/", "https://ai.meta.com/ai-studio/", "https://www.llama.com/", "https://www.meta.com/meta-pay/", "https://www.meta.com/meta-verified/", "https://www.facebook.com/business/", "https://creators.facebook.com/", "https://developers.meta.com/", "https://forwork.meta.com/meta-for-education/", "https://research.facebook.com/", "https://www.facebook.com/creators/", "https://developers.facebook.com/", "https://www.metacareers.com/", "https://investor.fb.com/home/default.aspx", "https://www.facebook.com/formedia", "https://engineering.fb.com/", "https://www.facebook.com/gpa/", "https://socialimpact.facebook.com/", "https://education.facebook.com/", "https://www.meta.com/order/find/", "https://www.meta.com/help/quest/", "https://www.meta.com/help/ai-glasses/", "https://www.meta.com/help/portal/", "https://www.meta.com/help/accounts-center/", "https://www.meta.com/help/meta-pay/", "https://www.meta.com/help/policies/1138173423768570/", "https://www.meta.com/help/connected-experiences/", "https://www.meta.com/help/quest/landing/horizon/", "https://www.facebook.com/help", "https://www.facebook.com/help/messenger-app/", "https://help.instagram.com/", "https://faq.whatsapp.com/", "https://www.facebook.com/help/work"]} {"url": "https://ads.tiktok.com/help/article/tiktok-ad-specifications", "titulek": "Centrum zdrojĹŻ pro firmy", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "OmlouvĂĄme se! HledanĂ˝ člĂĄnek jiĹž neexistuje nebo se jej nepodařilo načíst.", "znaku_textu": 82, "slov": 11, "odkazu": 11, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:47", "sha256": "3e7672fd89284f592c801860a4181175ef975cf375f69761dade871aa1ee4622", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://seller-us.tiktok.com/university/home?identity=1&refer=help_center&role=seller", "https://support.tiktok.com/en/?refer=help_center", "https://www.tiktokacademy.com/student/catalog", "https://www.tiktok.com/legal/partner-privacy-policy"]} {"url": "https://amplitude.com/blog/data-taxonomy-playbook", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-US", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:50", "sha256": "830e3d1cf73821b8ed02e5aa03f6bb003f905b31cee226ba53ebbd6d0193ca14", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://amplitude.com/docs/data/data-planning-playbook", "titulek": "Plan your taxonomy | Amplitude Docs", "h1": "Plan your taxonomy", "popis": "Build a taxonomy in three steps: define your business objectives, break down key metrics, then optimize the resulting events and properties.", "klicova_slova": "", "kanonicka": "https://amplitude.com/docs/data/data-planning-playbook", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Plan your taxonomy", "og:description": "Build a taxonomy in three steps: define your business objectives, break down key metrics, then optimize the resulting events and properties.", "og:url": "https://amplitude.com/docs/data/data-planning-playbook", "og:image": "https://amplitude.com/docs/api/og?locale=en&slug=data%2Fdata-planning-playbook&title=Plan+your+taxonomy", "og:image:width": "1200", "og:image:height": "630"}, "jsonld": [[{"@context": "https://schema.org", "@type": "TechArticle", "headline": "Plan your taxonomy", "url": "https://amplitude.com/docs/data/data-planning-playbook", "description": "Build a taxonomy in three steps: define your business objectives, break down key metrics, then optimize the resulting events and properties."}, {"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Data", "item": "https://amplitude.com/docs/data"}, {"@type": "ListItem", "position": 2, "name": "Plan your taxonomy"}]}]], "drobecky": ["Data", "Plan your taxonomy"], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 103, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:50", "sha256": "5c2f89581adecdd3fb36123a3fd0259d679d9b93d489118f859af85e86d8afc7", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://analytics.amplitude.com/share/8f32b20708e743e597b75c99b7a766d5", "https://analytics.amplitude.com/share/cbb3827995aa4d03852a3cdf9a3c46b0", "https://analytics.amplitude.com/share/5940753342e04394bd0379cdd952cc18", "https://analytics.amplitude.com/share/6f40a915c14144b8ac992a5a8d7cf7cb", "https://analytics.amplitude.com/share/0f7a78fadfc145d0b99e365eb41d9262", "https://app.amplitude.com/analytics/share/6e938acce69d459bbb81561b2f942079", "https://academy.amplitude.com/", "https://status.amplitude.com/", "https://gethelp.amplitude.com/hc/en-us?siteLocation=footer", "https://community.amplitude.com/", "https://ir.amplitude.com/", "https://www.linkedin.com/company/amplitude-analytics", "https://twitter.com/Amplitude_HQ", "https://www.g2.com/products/amplitude/reviews"]} {"url": "https://archi.gov.cz/", "titulek": "Uvítání a obsah webu [Architektura eGovernmentu ČR]", "h1": "", "popis": "", "klicova_slova": "start", "kanonicka": "https://archi.gov.cz/", "jazyk": "cs", "robots_meta": "index,follow", "og": {}, "jsonld": [], "drobecky": ["Umístění", "Home", "Historie", "Uvítání a obsah webu"], "osnova": [{"uroven": 4, "text": "Uvítání a obsah webu"}, {"uroven": 4, "text": "Národní architektonické dokumenty"}, {"uroven": 4, "text": "Klíčové oblasti architektury eGovernmentu"}, {"uroven": 4, "text": "Informace ke schvalování projektů eGovernmentu"}, {"uroven": 4, "text": "Vyhledávání a přehled stránek"}, {"uroven": 4, "text": "Dokumenty OHA, jednání pracovních skupin a výborů"}, {"uroven": 4, "text": "Přehled změn"}], "markdown": "- Share via\n- [Poslední úpravy](https://archi.gov.cz/feed.php?ns=)\n- Send via e-Mail\n- Print\n- [Permalink](https://archi.gov.cz/doku.php?id=start&rev=1781080679)\n\nPřeklady této stránky:\n\n- Česky (cs)\n- [English (en)](/en:start)\n\n#### Uvítání a obsah webu\n\nVítejte na znalostním webu odboru Hlavního architekta eGovernmentu (OHA). OHA organizačně spadá pod [Digitální a informační agenturu](https://digitalizace.gov.cz/), má nadresortní působnost a je pověřen koordinací a vedením rozvoje digitalizace veřejné správy. Tento web byl vytvořen za účelem podpory zvyšování digitálních schopností jednotlivých orgánů veřejné správy prostřednictvím vyhledávání a sdílení osvědčené praxe.\n\n**Pro lepší orientaci jsme definovali klíčové oblasti architektury eGovernmentu, díky kterým získáte základní informace a potřebné odkazy pro správné pořizování, vytváření, správu a provozování informačních systémů veřejné správy**. Najdete zde také kompletní národní architektonické dokumenty v aktuálním znění a získáte informace ke schvalování ICT projektů eGovernmentu. Velmi oceníme vaše příspěvky do diskusí, které jsou uvedeny na konci každé stránky nebo v [samostatné diskuzní sekci](/diskuze). Své náměty a připomínky nám můžete sdělit také skrze email [archi@dia.gov.cz](mailto:archi@dia.gov.cz).\n\nNež se pustíte do celé struktury Národní architektury eGovernmentu, možná vám pomohou často kladené dotazy (FAQ):\n\n- [obecné často kladené dotazy](/faq)\n- [často kladené dotazy k NIA](/znalostni_baze:faq_nia)\n- [často kladené dotazy k ZoPDS](/znalostni_baze:faq_zopds)\n- [často kladené dotazy k dlouhodobému řízení](/znalostni_baze:faq_isvs)\n\n---\n\n#### Národní architektonické dokumenty\n\nNárodní architektonické dokumenty vznikly na základě usnesení vlády ČR ze dne 3. října 2018 č. 629 k programu „Digitální Česko“ a návrhu změn Statutu Rady vlády pro informační společnost. Ministerstvo vnitra v souladu s usnesením zajistilo vydání a uveřejnění dokumentů k [Informační koncepci ČR (dále jen „IKČR“)](/ikcr) na internetových stránkách. Od 1.4.2023 převzala správu Národních architektonických dokumentů Digitální a informační agentura. Tyto dokumenty, které jsou souhrnně označovány jako navazující dokumenty [IKČR](/ikcr), tvoří:\n\n1. [Metody řízení ICT veřejné správy ČR](/metody_dokument),\n2. [Slovník pojmů eGovernmentu](/slovnik_egov),\n3. [Národní architektonický rámec](/nar_dokument),\n4. [Národní architektonický plán](/nap_dokument) a\n5. [Rozšiřující znalostní báze](/znalostni_baze).\n\nPovinnost zveřejnit tyto materiály do konce září 2019 byla splněna spuštěním této internetové stránky [https://archi.gov.cz](https://archi.gov.cz).\n\nNavazující dokumenty IKČR rozvíjí a dále rozpracovávají principy a cíle, které stanovila [IKČR](/ikcr). Ministerstvo vnitra a následně Digitální a informační agentura se rozhodla zvolit pro publikaci navazujících dokumentů IKČR formu propojených a vzájemně odkazujících internetových stránek, které společně tvoří a popisují Národní architekturu eGovernmentu. Tato forma zveřejnění je pro informace, které mají navazující dokumenty IKČR popisovat, mnohem **účelnější a efektivnější a odpovídá požadavkům moderní informační společnosti**, tím, že podporuje vyhledávání nad celou znalostní bází navazujících dokumentů IKČR, správu jednotlivých částí/stránek, historii změn, odběr změnových notifikací a další funkcionality, které klasické zveřejnění formou listinných či digitálních dokumentů neumožňuje. Pro umožnění čtení navazujících dokumentů IKČR, tzv. offline, tedy bez připojení k síti internet, je umožněna i klasická forma digitálních dokumentů, kterou si může uživatel vygenerovat dle své vůle sám na každé jednotlivé stránce.\n\nPo uskutečněném meziresortním připomínkovém řízení, se správa Národních architektonických dokumentů, a tedy celé znalostní báze řídí dle [usnesení vlády ČR ze dne ze dne 15. února 2021 č. 159](https://apps.odok.cz/attachment/-/down/RCIABYBJNFA1).\n\n**Pro více informací klikněte [zde](/uvod_dokumenty)**\n\n---\n\n#### Klíčové oblasti architektury eGovernmentu\n\nPři pořizování, vytváření, správě a provozování informačních systémů veřejné správy je nutné dodržovat právní předpisy a národní architekturu eGovernmentu. Pro lepší orientaci jsme definovali 10 oblastí s krátkým popisem, díky čemuž získáte přehled o klíčových pojmech a souvislostech.\n\n- Z pohledu motivační architektury je důležitá zejména [Potřebnost a ekonomická výhodnost informačních systémů](/uvod_klicove_oblasti#e) a [Koncepce a strategie úřadů](/uvod_klicove_oblasti#strategie).\n- Při zpracování byznys architektury nepřehlédněte [Obslužné kanály veřejné správy](/uvod_klicove_oblasti#kanaly) a [Elektronický oběh dokumentů](/uvod_klicove_oblasti#dokumenty).\n- Pro aplikační a datovou architekturu jsou zásadní zejména [Identifikace v informačních systémech](/uvod_klicove_oblasti#identifikace), [Strukturovaná data v ISVS, datové fondy a jejich sdílení](/uvod_klicove_oblasti#data), [Referenční rozhraní veřejné správy](/uvod_klicove_oblasti#rozhrani) a [Sdílené agendové a provozní informační systémy](/uvod_klicove_oblasti#ais).\n- V oblasti technologické architektury je potřeba zaměřit se zejména na [Komunikační infrastruktura veřejné správy](/uvod_klicove_oblasti#kivs) a [Cloudové služby](/uvod_klicove_oblasti#cloud).\n\n**Pro více informací klikněte [zde](/uvod_klicove_oblasti)**\n\n---\n\n#### Informace ke schvalování projektů eGovernmentu\n\nZe [zákona č. 365/2000 Sb.](https://www.zakonyprolidi.cz/cs/2000-365) a z [usnesení vlády ze dne 27. 1. 2020 č. 86](https://odok.cz/portal/zvlady/usneseni/2020/86/) ve změně dle [usnesení vlády ze dne 11. 12. 2024 č. 947](https://odok.cz/portal/zvlady/usneseni/2024/947/)1), případně projektů čerpající prostředky z evropských investičních fondů typu IROP, plynou úřadům povinnosti předkládat sekci Hlavního architekta eGovernmentu (OHA) dokumentace programů, investiční záměry, projekty určených informačních systémů a provozní dokumentace určených informačních systémů.\n\nK podání žádosti o stanovisko OHA mohou úřady využít 2 cesty:\n\n1. Informační systém dlouhodobého řízení ISVS (ISDŘ). ISDŘ slouží k informatické podpoře procesů souvisejících se žádostí o stanovisko OHA. Systém je uživatelsky komfortní a nabízí výběr z různých variant žádosti, např. pokud žadatel o stanovisko staví či upravuje portál, spisovou službu, agendový informační systém a další. Pro práci úředníků v ISDŘ je vyžadován účet v CAAIS (Centrální autentizační a autorizační systém). Portál ISDŘ a další informace jsou dostupné pod tímto odkazem: [https://isdr.gov.cz](https://isdr.gov.cz). Upozorňujeme, že systém je v tuto chvíli stále ve fázi pilotního provozu. Z tohoto důvodu OHA uvítá jakoukoliv zpětnou vazbu. Více informací se můžete dozvědět také v [následující prezentaci](/_media/dokumenty-schvalovani:isdr_isss_2026_cepr_bilek.pptx)\n2. Využít aktuálně platné formuláře a vyplněné je zaslat na datovou schránku DIA číslo **yukd8p7** k rukám OHA.\n\nPokračujte na [bližší informace ke schvalování](/uvod_schvalovani), kde se dozvíte zejména – [kdo má povinnost žádat o stanovisko OHA](/uvod_schvalovani#kdo), [co mají úřady předkládat OHA ke schválení](/uvod_schvalovani#co), [jaké formuláře mají úřady pro své projekty využít](/uvod_schvalovani#jake), [jak funguje systém ISDŘ](/uvod_schvalovani#jake), [jaké formuláře mohou úřady pro své projekty využít](/uvod_schvalovani#jake) a [jak mají úřady žádost k projektu vyplnit](/uvod_schvalovani#jak).\n\nOHA ve většině případů vydá stanovisko do 30 dnů. V případě potřeby, je možné využít předběžnou konzultaci k žádosti před jejím oficiálním podáním v ISDŘ nebo zasláním datovou schránkou.\n\nCílem schvalování ICT projektů sekcí Hlavního architekta eGovernmentu (OHA) je mj. zefektivnění vynaložených prostředků na ICT, podchycení nekoncepčních projektů a jejich změna ještě před realizační fází, podpora využívání sdílených služeb a postupné utlumování starších IS, které ve své době nebyly koordinovány a principy eGovernmentu ani nemohly dodržovat. V rámci schvalování se OHA zaměřuje zejména na klíčové oblasti architektury eGovernmentu a soulad s národními architektonickými dokumenty, což poskytuje nástroj koordinace ICT na úrovni státu.\n\n[Seznam schvalovaných projektů či záměrů](/reporty:seznam_projektu_86) je nyní omezen na záměry posuzované OHA dle usnesení vlády č. 86/2020.\n\n[Výroční zprávy z posuzování projektů](/uvod_schvalovani#vyrocky) zpracovává OHA za každý rok od roku 2016.\n\n**Pro více informací klikněte [zde](/uvod_schvalovani)**\n\n---\n\n#### Vyhledávání a přehled stránek\n\nK vyhledávání, které se liší od integrovaného vyhledávání v textu stránek a je dostupné v horní liště, můžete využít i následující 3 stránky řadící obsah webu dle rozdílných kritérií:\n\n1. [Vyhledávání skrze seznam všech stránek na webu](/vyhledavani:vyhledavani_prehled_stranek)\n2. [Vyhledávání skrze seznam všech tagů/značek](/vyhledavani:vyhledavani_tagy)\n3. [Vyhledávání skrze vybrané kategorie stránek na webu](/vyhledavani:vyhledavani_kategorie)\n\n---\n\n#### Dokumenty OHA, jednání pracovních skupin a výborů\n\nDůležité dokumenty od OHA naleznete na stránce **[Dokumenty OHA](/znalostni_baze:prezentace)**\n\n---\n\n#### Přehled změn\n\nPřehled změn (changelog) na webu naleznete na stránce **[Přehled změn](/vyhledavani:changelog)**\n\n---\n\n---\n\n---\n\n1)\n\nplné znění usnesení po jeho novelizacích je k dispozici zde [usneseni_2020_86_konsolidovane.docx](/_media/dokumenty:usneseni_2020_86_konsolidovane.docx)", "znaku_textu": 9285, "slov": 1091, "odkazu": 72, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:51", "sha256": "4bcf1f178115982220d1a13b15f9bdb00202764c0d55964d79b82c500d0373bd", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://digitalizace.gov.cz/", "https://apps.odok.cz/attachment/-/down/RCIABYBJNFA1", "https://www.zakonyprolidi.cz/cs/2000-365", "https://odok.cz/portal/zvlady/usneseni/2020/86/", "https://odok.cz/portal/zvlady/usneseni/2024/947/", "https://isdr.gov.cz/", "https://creativecommons.org/licenses/by-sa/4.0/deed.cs"]} {"url": "https://attack.mitre.org/", "titulek": "MITRE ATT&CK®", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "| [Reconnaissance](/tactics/TA0043) | [Resource Development](/tactics/TA0042) | [Initial Access](/tactics/TA0001) | [Execution](/tactics/TA0002) | [Persistence](/tactics/TA0003) | [Privilege Escalation](/tactics/TA0004) | [Stealth](/tactics/TA0005) | [Defense Impairment](/tactics/TA0112) | [Credential Access](/tactics/TA0006) | [Discovery](/tactics/TA0007) | [Lateral Movement](/tactics/TA0008) | [Collection](/tactics/TA0009) | [Command and Control](/tactics/TA0011) | [Exfiltration](/tactics/TA0010) | [Impact](/tactics/TA0040) |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| 12 techniques | 9 techniques | 11 techniques | 20 techniques | 22 techniques | 13 techniques | 30 techniques | 18 techniques | 17 techniques | 34 techniques | 9 techniques | 17 techniques | 18 techniques | 9 techniques | 15 techniques |\n| [Active Scanning (3)](/techniques/T1595) [Scanning IP Blocks](/techniques/T1595/001) [Vulnerability Scanning](/techniques/T1595/002) [Wordlist Scanning](/techniques/T1595/003) [Gather Victim Host Information (4)](/techniques/T1592) [Hardware](/techniques/T1592/001) [Software](/techniques/T1592/002) [Firmware](/techniques/T1592/003) [Client Configurations](/techniques/T1592/004) [Gather Victim Identity Information (3)](/techniques/T1589) [Credentials](/techniques/T1589/001) [Email Addresses](/techniques/T1589/002) [Employee Names](/techniques/T1589/003) [Gather Victim Network Information (6)](/techniques/T1590) [Domain Properties](/techniques/T1590/001) [DNS](/techniques/T1590/002) [Network Trust Dependencies](/techniques/T1590/003) [Network Topology](/techniques/T1590/004) [IP Addresses](/techniques/T1590/005) [Network Security Appliances](/techniques/T1590/006) [Gather Victim Org Information (4)](/techniques/T1591) [Determine Physical Locations](/techniques/T1591/001) [Business Relationships](/techniques/T1591/002) [Identify Business Tempo](/techniques/T1591/003) [Identify Roles](/techniques/T1591/004) [Phishing for Information (4)](/techniques/T1598) [Spearphishing Service](/techniques/T1598/001) [Spearphishing Attachment](/techniques/T1598/002) [Spearphishing Link](/techniques/T1598/003) [Spearphishing Voice](/techniques/T1598/004) [Query Public AI Services](/techniques/T1682) [Search Closed Sources (2)](/techniques/T1597) [Threat Intel Vendors](/techniques/T1597/001) [Purchase Technical Data](/techniques/T1597/002) [Search Open Technical Databases (5)](/techniques/T1596) [DNS/Passive DNS](/techniques/T1596/001) [WHOIS](/techniques/T1596/002) [Digital Certificates](/techniques/T1596/003) [CDNs](/techniques/T1596/004) [Scan Databases](/techniques/T1596/005) [Search Open Websites/Domains (3)](/techniques/T1593) [Social Media](/techniques/T1593/001) [Search Engines](/techniques/T1593/002) [Code Repositories](/techniques/T1593/003) [Search Threat Vendor Data](/techniques/T1681) [Search Victim-Owned Websites](/techniques/T1594) | [Acquire Access](/techniques/T1650) [Acquire Infrastructure (8)](/techniques/T1583) [Domains](/techniques/T1583/001) [DNS Server](/techniques/T1583/002) [Virtual Private Server](/techniques/T1583/003) [Server](/techniques/T1583/004) [Botnet](/techniques/T1583/005) [Web Services](/techniques/T1583/006) [Serverless](/techniques/T1583/007) [Malvertising](/techniques/T1583/008) [Compromise Accounts (3)](/techniques/T1586) [Social Media Accounts](/techniques/T1586/001) [Email Accounts](/techniques/T1586/002) [Cloud Accounts](/techniques/T1586/003) [Compromise Infrastructure (8)](/techniques/T1584) [Domains](/techniques/T1584/001) [DNS Server](/techniques/T1584/002) [Virtual Private Server](/techniques/T1584/003) [Server](/techniques/T1584/004) [Botnet](/techniques/T1584/005) [Web Services](/techniques/T1584/006) [Serverless](/techniques/T1584/007) [Network Devices](/techniques/T1584/008) [Develop Capabilities (4)](/techniques/T1587) [Malware](/techniques/T1587/001) [Code Signing Certificates](/techniques/T1587/002) [Digital Certificates](/techniques/T1587/003) [Exploits](/techniques/T1587/004) [Establish Accounts (3)](/techniques/T1585) [Social Media Accounts](/techniques/T1585/001) [Email Accounts](/techniques/T1585/002) [Cloud Accounts](/techniques/T1585/003) [Generate Content (2)](/techniques/T1683) [Written Content](/techniques/T1683/001) [Audio-Visual Content](/techniques/T1683/002) [Obtain Capabilities (7)](/techniques/T1588) [Malware](/techniques/T1588/001) [Tool](/techniques/T1588/002) [Code Signing Certificates](/techniques/T1588/003) [Digital Certificates](/techniques/T1588/004) [Exploits](/techniques/T1588/005) [Vulnerabilities](/techniques/T1588/006) [Artificial Intelligence](/techniques/T1588/007) [Stage Capabilities (6)](/techniques/T1608) [Upload Malware](/techniques/T1608/001) [Upload Tool](/techniques/T1608/002) [Install Digital Certificate](/techniques/T1608/003) [Drive-by Target](/techniques/T1608/004) [Link Target](/techniques/T1608/005) [SEO Poisoning](/techniques/T1608/006) | [Content Injection](/techniques/T1659) [Drive-by Compromise](/techniques/T1189) [Exploit Public-Facing Application](/techniques/T1190) [External Remote Services](/techniques/T1133) [Hardware Additions](/techniques/T1200) [Phishing (4)](/techniques/T1566) [Spearphishing Attachment](/techniques/T1566/001) [Spearphishing Link](/techniques/T1566/002) [Spearphishing via Service](/techniques/T1566/003) [Spearphishing Voice](/techniques/T1566/004) [Replication Through Removable Media](/techniques/T1091) [Supply Chain Compromise (3)](/techniques/T1195) [Compromise Software Dependencies and Development Tools](/techniques/T1195/001) [Compromise Software Supply Chain](/techniques/T1195/002) [Compromise Hardware Supply Chain](/techniques/T1195/003) [Trusted Relationship](/techniques/T1199) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) [Wi-Fi Networks](/techniques/T1669) | [BITS Jobs](/techniques/T1197) [Cloud Administration Command](/techniques/T1651) [Command and Scripting Interpreter (13)](/techniques/T1059) [PowerShell](/techniques/T1059/001) [AppleScript](/techniques/T1059/002) [Windows Command Shell](/techniques/T1059/003) [Unix Shell](/techniques/T1059/004) [Visual Basic](/techniques/T1059/005) [Python](/techniques/T1059/006) [JavaScript](/techniques/T1059/007) [Network Device CLI](/techniques/T1059/008) [Cloud API](/techniques/T1059/009) [AutoHotKey & AutoIT](/techniques/T1059/010) [Lua](/techniques/T1059/011) [Hypervisor CLI](/techniques/T1059/012) [Container CLI/API](/techniques/T1059/013) [Container Administration Command](/techniques/T1609) [Deploy Container](/techniques/T1610) [ESXi Administration Command](/techniques/T1675) [Exploitation for Client Execution](/techniques/T1203) [Hijack Execution Flow (12)](/techniques/T1574) [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) [Input Injection](/techniques/T1674) [Inter-Process Communication (3)](/techniques/T1559) [Component Object Model](/techniques/T1559/001) [Dynamic Data Exchange](/techniques/T1559/002) [XPC Services](/techniques/T1559/003) [Native API](/techniques/T1106) [Poisoned Pipeline Execution](/techniques/T1677) [Scheduled Task/Job (5)](/techniques/T1053) [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) [Serverless Execution](/techniques/T1648) [Shared Modules](/techniques/T1129) [Software Deployment Tools](/techniques/T1072) [System Services (3)](/techniques/T1569) [Launchctl](/techniques/T1569/001) [Service Execution](/techniques/T1569/002) [Systemctl](/techniques/T1569/003) [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) [User Execution (5)](/techniques/T1204) [Malicious Link](/techniques/T1204/001) [Malicious File](/techniques/T1204/002) [Malicious Image](/techniques/T1204/003) [Malicious Copy and Paste](/techniques/T1204/004) [Malicious Library](/techniques/T1204/005) [Windows Management Instrumentation](/techniques/T1047) | [Account Manipulation (7)](/techniques/T1098) [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) [BITS Jobs](/techniques/T1197) [Boot or Logon Autostart Execution (14)](/techniques/T1547) [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) [Boot or Logon Initialization Scripts (5)](/techniques/T1037) [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) [Cloud Application Integration](/techniques/T1671) [Compromise Host Software Binary](/techniques/T1554) [Create Account (3)](/techniques/T1136) [Local Account](/techniques/T1136/001) [Domain Account](/techniques/T1136/002) [Cloud Account](/techniques/T1136/003) [Create or Modify System Process (5)](/techniques/T1543) [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) [Event Triggered Execution (18)](/techniques/T1546) [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) [Exclusive Control](/techniques/T1668) [External Remote Services](/techniques/T1133) [Implant Internal Image](/techniques/T1525) [Modify Authentication Process (9)](/techniques/T1556) [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) [Modify Registry](/techniques/T1112) [Office Application Startup (6)](/techniques/T1137) [Office Template Macros](/techniques/T1137/001) [Office Test](/techniques/T1137/002) [Outlook Forms](/techniques/T1137/003) [Outlook Home Page](/techniques/T1137/004) [Outlook Rules](/techniques/T1137/005) [Add-ins](/techniques/T1137/006) [Power Settings](/techniques/T1653) [Pre-OS Boot (5)](/techniques/T1542) [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) [Scheduled Task/Job (5)](/techniques/T1053) [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) [Server Software Component (6)](/techniques/T1505) [SQL Stored Procedures](/techniques/T1505/001) [Transport Agent](/techniques/T1505/002) [Web Shell](/techniques/T1505/003) [IIS Components](/techniques/T1505/004) [Terminal Services DLL](/techniques/T1505/005) [vSphere Installation Bundles](/techniques/T1505/006) [Software Extensions (2)](/techniques/T1176) [Browser Extensions](/techniques/T1176/001) [IDE Extensions](/techniques/T1176/002) [Traffic Signaling (2)](/techniques/T1205) [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | [Abuse Elevation Control Mechanism (6)](/techniques/T1548) [Setuid and Setgid](/techniques/T1548/001) [Bypass User Account Control](/techniques/T1548/002) [Sudo and Sudo Caching](/techniques/T1548/003) [Elevated Execution with Prompt](/techniques/T1548/004) [Temporary Elevated Cloud Access](/techniques/T1548/005) [TCC Manipulation](/techniques/T1548/006) [Access Token Manipulation (5)](/techniques/T1134) [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) [Account Manipulation (7)](/techniques/T1098) [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) [Boot or Logon Autostart Execution (14)](/techniques/T1547) [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) [Boot or Logon Initialization Scripts (5)](/techniques/T1037) [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) [Create or Modify System Process (5)](/techniques/T1543) [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) [Domain or Tenant Policy Modification (2)](/techniques/T1484) [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) [Escape to Host](/techniques/T1611) [Event Triggered Execution (18)](/techniques/T1546) [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) [Exploitation for Privilege Escalation](/techniques/T1068) [Process Injection (12)](/techniques/T1055) [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) [Scheduled Task/Job (5)](/techniques/T1053) [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | [Access Token Manipulation (5)](/techniques/T1134) [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) [BITS Jobs](/techniques/T1197) [Build Image on Host](/techniques/T1612) [Debugger Evasion](/techniques/T1622) [Delay Execution](/techniques/T1678) [Deobfuscate/Decode Files or Information](/techniques/T1140) [Direct Volume Access](/techniques/T1006) [Execution Guardrails (2)](/techniques/T1480) [Environmental Keying](/techniques/T1480/001) [Mutual Exclusion](/techniques/T1480/002) [Exploitation for Stealth](/techniques/T1211) [Hide Artifacts (14)](/techniques/T1564) [Hidden Files and Directories](/techniques/T1564/001) [Hidden Users](/techniques/T1564/002) [Hidden Window](/techniques/T1564/003) [NTFS File Attributes](/techniques/T1564/004) [Hidden File System](/techniques/T1564/005) [Run Virtual Instance](/techniques/T1564/006) [VBA Stomping](/techniques/T1564/007) [Email Hiding Rules](/techniques/T1564/008) [Resource Forking](/techniques/T1564/009) [Process Argument Spoofing](/techniques/T1564/010) [Ignore Process Interrupts](/techniques/T1564/011) [File/Path Exclusions](/techniques/T1564/012) [Bind Mounts](/techniques/T1564/013) [Extended Attributes](/techniques/T1564/014) [Hijack Execution Flow (12)](/techniques/T1574) [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) [Indicator Removal (8)](/techniques/T1070) [Clear Command History](/techniques/T1070/003) [File Deletion](/techniques/T1070/004) [Network Share Connection Removal](/techniques/T1070/005) [Timestomp](/techniques/T1070/006) [Clear Network Connection History and Configurations](/techniques/T1070/007) [Clear Mailbox Data](/techniques/T1070/008) [Clear Persistence](/techniques/T1070/009) [Relocate Malware](/techniques/T1070/010) [Indirect Command Execution](/techniques/T1202) [Masquerading (12)](/techniques/T1036) [Invalid Code Signature](/techniques/T1036/001) [Right-to-Left Override](/techniques/T1036/002) [Rename Legitimate Utilities](/techniques/T1036/003) [Masquerade Task or Service](/techniques/T1036/004) [Match Legitimate Resource Name or Location](/techniques/T1036/005) [Space after Filename](/techniques/T1036/006) [Double File Extension](/techniques/T1036/007) [Masquerade File Type](/techniques/T1036/008) [Break Process Trees](/techniques/T1036/009) [Masquerade Account Name](/techniques/T1036/010) [Overwrite Process Arguments](/techniques/T1036/011) [Browser Fingerprint](/techniques/T1036/012) [Obfuscated Files or Information (18)](/techniques/T1027) [Binary Padding](/techniques/T1027/001) [Software Packing](/techniques/T1027/002) [Steganography](/techniques/T1027/003) [Compile After Delivery](/techniques/T1027/004) [Indicator Removal from Tools](/techniques/T1027/005) [HTML Smuggling](/techniques/T1027/006) [Dynamic API Resolution](/techniques/T1027/007) [Stripped Payloads](/techniques/T1027/008) [Embedded Payloads](/techniques/T1027/009) [Command Obfuscation](/techniques/T1027/010) [Fileless Storage](/techniques/T1027/011) [LNK Icon Smuggling](/techniques/T1027/012) [Encrypted/Encoded File](/techniques/T1027/013) [Polymorphic Code](/techniques/T1027/014) [Compression](/techniques/T1027/015) [Junk Code Insertion](/techniques/T1027/016) [SVG Smuggling](/techniques/T1027/017) [Invisible Unicode](/techniques/T1027/018) [Pre-OS Boot (5)](/techniques/T1542) [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) [Process Injection (12)](/techniques/T1055) [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) [Reflective Code Loading](/techniques/T1620) [Rootkit](/techniques/T1014) [Selective Exclusion](/techniques/T1679) [Social Engineering (2)](/techniques/T1684) [Impersonation](/techniques/T1684/001) [Email Spoofing](/techniques/T1684/002) [System Binary Proxy Execution (14)](/techniques/T1218) [Compiled HTML File](/techniques/T1218/001) [Control Panel](/techniques/T1218/002) [CMSTP](/techniques/T1218/003) [InstallUtil](/techniques/T1218/004) [Mshta](/techniques/T1218/005) [Msiexec](/techniques/T1218/007) [Odbcconf](/techniques/T1218/008) [Regsvcs/Regasm](/techniques/T1218/009) [Regsvr32](/techniques/T1218/010) [Rundll32](/techniques/T1218/011) [Verclsid](/techniques/T1218/012) [Mavinject](/techniques/T1218/013) [MMC](/techniques/T1218/014) [Electron Applications](/techniques/T1218/015) [System Script Proxy Execution (2)](/techniques/T1216) [PubPrn](/techniques/T1216/001) [SyncAppvPublishingServer](/techniques/T1216/002) [Template Injection](/techniques/T1221) [Traffic Signaling (2)](/techniques/T1205) [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) [Unused/Unsupported Cloud Regions](/techniques/T1535) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) [Virtualization/Sandbox Evasion (3)](/techniques/T1497) [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) [XSL Script Processing](/techniques/T1220) | [Disable or Modify System Firewall (3)](/techniques/T1686) [Cloud Firewall](/techniques/T1686/001) [Network Device Firewall](/techniques/T1686/002) [Windows Host Firewall](/techniques/T1686/003) [Disable or Modify Tools (6)](/techniques/T1685) [Disable or Modify Windows Event Log](/techniques/T1685/001) [Disable or Modify Cloud Log](/techniques/T1685/002) [Modify or Spoof Tool UI](/techniques/T1685/003) [Disable or Modify Linux Audit System Log](/techniques/T1685/004) [Clear Windows Event Logs](/techniques/T1685/005) [Clear Linux or Mac System Logs](/techniques/T1685/006) [Domain or Tenant Policy Modification (2)](/techniques/T1484) [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) [Downgrade Attack](/techniques/T1689) [Exploitation for Defense Impairment](/techniques/T1687) [File and Directory Permissions Modification (2)](/techniques/T1222) [Windows Permissions](/techniques/T1222/001) [Linux and Mac Permissions](/techniques/T1222/002) [Modify Authentication Process (9)](/techniques/T1556) [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) [Modify Cloud Compute Infrastructure (5)](/techniques/T1578) [Create Snapshot](/techniques/T1578/001) [Create Cloud Instance](/techniques/T1578/002) [Delete Cloud Instance](/techniques/T1578/003) [Revert Cloud Instance](/techniques/T1578/004) [Modify Cloud Compute Configurations](/techniques/T1578/005) [Modify Cloud Resource Hierarchy](/techniques/T1666) [Modify Registry](/techniques/T1112) [Modify System Image (2)](/techniques/T1601) [Patch System Image](/techniques/T1601/001) [Downgrade System Image](/techniques/T1601/002) [Network Boundary Bridging (1)](/techniques/T1599) [Network Address Translation Traversal](/techniques/T1599/001) [Plist File Modification](/techniques/T1647) [Prevent Command History Logging](/techniques/T1690) [Rogue Domain Controller](/techniques/T1207) [Safe Mode Boot](/techniques/T1688) [Subvert Trust Controls (6)](/techniques/T1553) [Gatekeeper Bypass](/techniques/T1553/001) [Code Signing](/techniques/T1553/002) [SIP and Trust Provider Hijacking](/techniques/T1553/003) [Install Root Certificate](/techniques/T1553/004) [Mark-of-the-Web Bypass](/techniques/T1553/005) [Code Signing Policy Modification](/techniques/T1553/006) [Weaken Encryption (2)](/techniques/T1600) [Reduce Key Space](/techniques/T1600/001) [Disable Crypto Hardware](/techniques/T1600/002) | [Adversary-in-the-Middle (4)](/techniques/T1557) [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) [Brute Force (4)](/techniques/T1110) [Password Guessing](/techniques/T1110/001) [Password Cracking](/techniques/T1110/002) [Password Spraying](/techniques/T1110/003) [Credential Stuffing](/techniques/T1110/004) [Credentials from Password Stores (6)](/techniques/T1555) [Keychain](/techniques/T1555/001) [Securityd Memory](/techniques/T1555/002) [Credentials from Web Browsers](/techniques/T1555/003) [Windows Credential Manager](/techniques/T1555/004) [Password Managers](/techniques/T1555/005) [Cloud Secrets Management Stores](/techniques/T1555/006) [Exploitation for Credential Access](/techniques/T1212) [Forced Authentication](/techniques/T1187) [Forge Web Credentials (2)](/techniques/T1606) [Web Cookies](/techniques/T1606/001) [SAML Tokens](/techniques/T1606/002) [Input Capture (4)](/techniques/T1056) [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) [Modify Authentication Process (9)](/techniques/T1556) [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) [Multi-Factor Authentication Interception](/techniques/T1111) [Multi-Factor Authentication Request Generation](/techniques/T1621) [Network Sniffing](/techniques/T1040) [OS Credential Dumping (8)](/techniques/T1003) [LSASS Memory](/techniques/T1003/001) [Security Account Manager](/techniques/T1003/002) [NTDS](/techniques/T1003/003) [LSA Secrets](/techniques/T1003/004) [Cached Domain Credentials](/techniques/T1003/005) [DCSync](/techniques/T1003/006) [Proc Filesystem](/techniques/T1003/007) [/etc/passwd and /etc/shadow](/techniques/T1003/008) [Steal Application Access Token](/techniques/T1528) [Steal or Forge Authentication Certificates](/techniques/T1649) [Steal or Forge Kerberos Tickets (5)](/techniques/T1558) [Golden Ticket](/techniques/T1558/001) [Silver Ticket](/techniques/T1558/002) [Kerberoasting](/techniques/T1558/003) [AS-REP Roasting](/techniques/T1558/004) [Ccache Files](/techniques/T1558/005) [Steal Web Session Cookie](/techniques/T1539) [Unsecured Credentials (8)](/techniques/T1552) [Credentials In Files](/techniques/T1552/001) [Credentials in Registry](/techniques/T1552/002) [Shell History](/techniques/T1552/003) [Private Keys](/techniques/T1552/004) [Cloud Instance Metadata API](/techniques/T1552/005) [Group Policy Preferences](/techniques/T1552/006) [Container API](/techniques/T1552/007) [Chat Messages](/techniques/T1552/008) | [Account Discovery (4)](/techniques/T1087) [Local Account](/techniques/T1087/001) [Domain Account](/techniques/T1087/002) [Email Account](/techniques/T1087/003) [Cloud Account](/techniques/T1087/004) [Application Window Discovery](/techniques/T1010) [Browser Information Discovery](/techniques/T1217) [Cloud Infrastructure Discovery](/techniques/T1580) [Cloud Service Dashboard](/techniques/T1538) [Cloud Service Discovery](/techniques/T1526) [Cloud Storage Object Discovery](/techniques/T1619) [Container and Resource Discovery](/techniques/T1613) [Debugger Evasion](/techniques/T1622) [Device Driver Discovery](/techniques/T1652) [Domain Trust Discovery](/techniques/T1482) [File and Directory Discovery](/techniques/T1083) [Group Policy Discovery](/techniques/T1615) [Local Storage Discovery](/techniques/T1680) [Log Enumeration](/techniques/T1654) [Network Service Discovery](/techniques/T1046) [Network Share Discovery](/techniques/T1135) [Network Sniffing](/techniques/T1040) [Password Policy Discovery](/techniques/T1201) [Peripheral Device Discovery](/techniques/T1120) [Permission Groups Discovery (3)](/techniques/T1069) [Local Groups](/techniques/T1069/001) [Domain Groups](/techniques/T1069/002) [Cloud Groups](/techniques/T1069/003) [Process Discovery](/techniques/T1057) [Query Registry](/techniques/T1012) [Remote System Discovery](/techniques/T1018) [Software Discovery (2)](/techniques/T1518) [Security Software Discovery](/techniques/T1518/001) [Backup Software Discovery](/techniques/T1518/002) [System Information Discovery](/techniques/T1082) [System Location Discovery (1)](/techniques/T1614) [System Language Discovery](/techniques/T1614/001) [System Network Configuration Discovery (2)](/techniques/T1016) [Internet Connection Discovery](/techniques/T1016/001) [Wi-Fi Discovery](/techniques/T1016/002) [System Network Connections Discovery](/techniques/T1049) [System Owner/User Discovery](/techniques/T1033) [System Service Discovery](/techniques/T1007) [System Time Discovery](/techniques/T1124) [Virtual Machine Discovery](/techniques/T1673) [Virtualization/Sandbox Evasion (3)](/techniques/T1497) [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) | [Exploitation of Remote Services](/techniques/T1210) [Internal Spearphishing](/techniques/T1534) [Lateral Tool Transfer](/techniques/T1570) [Remote Service Session Hijacking (2)](/techniques/T1563) [SSH Hijacking](/techniques/T1563/001) [RDP Hijacking](/techniques/T1563/002) [Remote Services (8)](/techniques/T1021) [Remote Desktop Protocol](/techniques/T1021/001) [SMB/Windows Admin Shares](/techniques/T1021/002) [Distributed Component Object Model](/techniques/T1021/003) [SSH](/techniques/T1021/004) [VNC](/techniques/T1021/005) [Windows Remote Management](/techniques/T1021/006) [Cloud Services](/techniques/T1021/007) [Direct Cloud VM Connections](/techniques/T1021/008) [Replication Through Removable Media](/techniques/T1091) [Software Deployment Tools](/techniques/T1072) [Taint Shared Content](/techniques/T1080) [Use Alternate Authentication Material (4)](/techniques/T1550) [Application Access Token](/techniques/T1550/001) [Pass the Hash](/techniques/T1550/002) [Pass the Ticket](/techniques/T1550/003) [Web Session Cookie](/techniques/T1550/004) | [Adversary-in-the-Middle (4)](/techniques/T1557) [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) [Archive Collected Data (3)](/techniques/T1560) [Archive via Utility](/techniques/T1560/001) [Archive via Library](/techniques/T1560/002) [Archive via Custom Method](/techniques/T1560/003) [Audio Capture](/techniques/T1123) [Automated Collection](/techniques/T1119) [Browser Session Hijacking](/techniques/T1185) [Clipboard Data](/techniques/T1115) [Data from Cloud Storage](/techniques/T1530) [Data from Configuration Repository (2)](/techniques/T1602) [SNMP (MIB Dump)](/techniques/T1602/001) [Network Device Configuration Dump](/techniques/T1602/002) [Data from Information Repositories (6)](/techniques/T1213) [Confluence](/techniques/T1213/001) [Sharepoint](/techniques/T1213/002) [Code Repositories](/techniques/T1213/003) [Customer Relationship Management Software](/techniques/T1213/004) [Messaging Applications](/techniques/T1213/005) [Databases](/techniques/T1213/006) [Data from Local System](/techniques/T1005) [Data from Network Shared Drive](/techniques/T1039) [Data from Removable Media](/techniques/T1025) [Data Staged (2)](/techniques/T1074) [Local Data Staging](/techniques/T1074/001) [Remote Data Staging](/techniques/T1074/002) [Email Collection (3)](/techniques/T1114) [Local Email Collection](/techniques/T1114/001) [Remote Email Collection](/techniques/T1114/002) [Email Forwarding Rule](/techniques/T1114/003) [Input Capture (4)](/techniques/T1056) [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) [Screen Capture](/techniques/T1113) [Video Capture](/techniques/T1125) | [Application Layer Protocol (5)](/techniques/T1071) [Web Protocols](/techniques/T1071/001) [File Transfer Protocols](/techniques/T1071/002) [Mail Protocols](/techniques/T1071/003) [DNS](/techniques/T1071/004) [Publish/Subscribe Protocols](/techniques/T1071/005) [Communication Through Removable Media](/techniques/T1092) [Content Injection](/techniques/T1659) [Data Encoding (2)](/techniques/T1132) [Standard Encoding](/techniques/T1132/001) [Non-Standard Encoding](/techniques/T1132/002) [Data Obfuscation (3)](/techniques/T1001) [Junk Data](/techniques/T1001/001) [Steganography](/techniques/T1001/002) [Protocol or Service Impersonation](/techniques/T1001/003) [Dynamic Resolution (3)](/techniques/T1568) [Fast Flux DNS](/techniques/T1568/001) [Domain Generation Algorithms](/techniques/T1568/002) [DNS Calculation](/techniques/T1568/003) [Encrypted Channel (2)](/techniques/T1573) [Symmetric Cryptography](/techniques/T1573/001) [Asymmetric Cryptography](/techniques/T1573/002) [Fallback Channels](/techniques/T1008) [Hide Infrastructure](/techniques/T1665) [Ingress Tool Transfer](/techniques/T1105) [Multi-Stage Channels](/techniques/T1104) [Non-Application Layer Protocol](/techniques/T1095) [Non-Standard Port](/techniques/T1571) [Protocol Tunneling](/techniques/T1572) [Proxy (4)](/techniques/T1090) [Internal Proxy](/techniques/T1090/001) [External Proxy](/techniques/T1090/002) [Multi-hop Proxy](/techniques/T1090/003) [Domain Fronting](/techniques/T1090/004) [Remote Access Tools (3)](/techniques/T1219) [IDE Tunneling](/techniques/T1219/001) [Remote Desktop Software](/techniques/T1219/002) [Remote Access Hardware](/techniques/T1219/003) [Traffic Signaling (2)](/techniques/T1205) [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) [Web Service (3)](/techniques/T1102) [Dead Drop Resolver](/techniques/T1102/001) [Bidirectional Communication](/techniques/T1102/002) [One-Way Communication](/techniques/T1102/003) | [Automated Exfiltration (1)](/techniques/T1020) [Traffic Duplication](/techniques/T1020/001) [Data Transfer Size Limits](/techniques/T1030) [Exfiltration Over Alternative Protocol (3)](/techniques/T1048) [Exfiltration Over Symmetric Encrypted Non-C2 Protocol](/techniques/T1048/001) [Exfiltration Over Asymmetric Encrypted Non-C2 Protocol](/techniques/T1048/002) [Exfiltration Over Unencrypted Non-C2 Protocol](/techniques/T1048/003) [Exfiltration Over C2 Channel](/techniques/T1041) [Exfiltration Over Other Network Medium (1)](/techniques/T1011) [Exfiltration Over Bluetooth](/techniques/T1011/001) [Exfiltration Over Physical Medium (1)](/techniques/T1052) [Exfiltration over USB](/techniques/T1052/001) [Exfiltration Over Web Service (4)](/techniques/T1567) [Exfiltration to Code Repository](/techniques/T1567/001) [Exfiltration to Cloud Storage](/techniques/T1567/002) [Exfiltration to Text Storage Sites](/techniques/T1567/003) [Exfiltration Over Webhook](/techniques/T1567/004) [Scheduled Transfer](/techniques/T1029) [Transfer Data to Cloud Account](/techniques/T1537) | [Account Access Removal](/techniques/T1531) [Data Destruction (1)](/techniques/T1485) [Lifecycle-Triggered Deletion](/techniques/T1485/001) [Data Encrypted for Impact](/techniques/T1486) [Data Manipulation (3)](/techniques/T1565) [Stored Data Manipulation](/techniques/T1565/001) [Transmitted Data Manipulation](/techniques/T1565/002) [Runtime Data Manipulation](/techniques/T1565/003) [Defacement (2)](/techniques/T1491) [Internal Defacement](/techniques/T1491/001) [External Defacement](/techniques/T1491/002) [Disk Wipe (2)](/techniques/T1561) [Disk Content Wipe](/techniques/T1561/001) [Disk Structure Wipe](/techniques/T1561/002) [Email Bombing](/techniques/T1667) [Endpoint Denial of Service (4)](/techniques/T1499) [OS Exhaustion Flood](/techniques/T1499/001) [Service Exhaustion Flood](/techniques/T1499/002) [Application Exhaustion Flood](/techniques/T1499/003) [Application or System Exploitation](/techniques/T1499/004) [Financial Theft](/techniques/T1657) [Firmware Corruption](/techniques/T1495) [Inhibit System Recovery](/techniques/T1490) [Network Denial of Service (2)](/techniques/T1498) [Direct Network Flood](/techniques/T1498/001) [Reflection Amplification](/techniques/T1498/002) [Resource Hijacking (4)](/techniques/T1496) [Compute Hijacking](/techniques/T1496/001) [Bandwidth Hijacking](/techniques/T1496/002) [SMS Pumping](/techniques/T1496/003) [Cloud Service Hijacking](/techniques/T1496/004) [Service Stop](/techniques/T1489) [System Shutdown/Reboot](/techniques/T1529) |\n| [Active Scanning (3)](/techniques/T1595) | [Scanning IP Blocks](/techniques/T1595/001) [Vulnerability Scanning](/techniques/T1595/002) [Wordlist Scanning](/techniques/T1595/003) | | | | | | | | | | | | | |\n| [Active Scanning (3)](/techniques/T1595) | | | | | | | | | | | | | | |\n| [Gather Victim Host Information (4)](/techniques/T1592) | [Hardware](/techniques/T1592/001) [Software](/techniques/T1592/002) [Firmware](/techniques/T1592/003) [Client Configurations](/techniques/T1592/004) | | | | | | | | | | | | | |\n| [Gather Victim Host Information (4)](/techniques/T1592) | | | | | | | | | | | | | | |\n| [Gather Victim Identity Information (3)](/techniques/T1589) | [Credentials](/techniques/T1589/001) [Email Addresses](/techniques/T1589/002) [Employee Names](/techniques/T1589/003) | | | | | | | | | | | | | |\n| [Gather Victim Identity Information (3)](/techniques/T1589) | | | | | | | | | | | | | | |\n| [Gather Victim Network Information (6)](/techniques/T1590) | [Domain Properties](/techniques/T1590/001) [DNS](/techniques/T1590/002) [Network Trust Dependencies](/techniques/T1590/003) [Network Topology](/techniques/T1590/004) [IP Addresses](/techniques/T1590/005) [Network Security Appliances](/techniques/T1590/006) | | | | | | | | | | | | | |\n| [Gather Victim Network Information (6)](/techniques/T1590) | | | | | | | | | | | | | | |\n| [Gather Victim Org Information (4)](/techniques/T1591) | [Determine Physical Locations](/techniques/T1591/001) [Business Relationships](/techniques/T1591/002) [Identify Business Tempo](/techniques/T1591/003) [Identify Roles](/techniques/T1591/004) | | | | | | | | | | | | | |\n| [Gather Victim Org Information (4)](/techniques/T1591) | | | | | | | | | | | | | | |\n| [Phishing for Information (4)](/techniques/T1598) | [Spearphishing Service](/techniques/T1598/001) [Spearphishing Attachment](/techniques/T1598/002) [Spearphishing Link](/techniques/T1598/003) [Spearphishing Voice](/techniques/T1598/004) | | | | | | | | | | | | | |\n| [Phishing for Information (4)](/techniques/T1598) | | | | | | | | | | | | | | |\n| [Query Public AI Services](/techniques/T1682) | | | | | | | | | | | | | | |\n| [Search Closed Sources (2)](/techniques/T1597) | [Threat Intel Vendors](/techniques/T1597/001) [Purchase Technical Data](/techniques/T1597/002) | | | | | | | | | | | | | |\n| [Search Closed Sources (2)](/techniques/T1597) | | | | | | | | | | | | | | |\n| [Search Open Technical Databases (5)](/techniques/T1596) | [DNS/Passive DNS](/techniques/T1596/001) [WHOIS](/techniques/T1596/002) [Digital Certificates](/techniques/T1596/003) [CDNs](/techniques/T1596/004) [Scan Databases](/techniques/T1596/005) | | | | | | | | | | | | | |\n| [Search Open Technical Databases (5)](/techniques/T1596) | | | | | | | | | | | | | | |\n| [Search Open Websites/Domains (3)](/techniques/T1593) | [Social Media](/techniques/T1593/001) [Search Engines](/techniques/T1593/002) [Code Repositories](/techniques/T1593/003) | | | | | | | | | | | | | |\n| [Search Open Websites/Domains (3)](/techniques/T1593) | | | | | | | | | | | | | | |\n| [Search Threat Vendor Data](/techniques/T1681) | | | | | | | | | | | | | | |\n| [Search Victim-Owned Websites](/techniques/T1594) | | | | | | | | | | | | | | |\n| [Acquire Access](/techniques/T1650) | | | | | | | | | | | | | | |\n| [Acquire Infrastructure (8)](/techniques/T1583) | [Domains](/techniques/T1583/001) [DNS Server](/techniques/T1583/002) [Virtual Private Server](/techniques/T1583/003) [Server](/techniques/T1583/004) [Botnet](/techniques/T1583/005) [Web Services](/techniques/T1583/006) [Serverless](/techniques/T1583/007) [Malvertising](/techniques/T1583/008) | | | | | | | | | | | | | |\n| [Acquire Infrastructure (8)](/techniques/T1583) | | | | | | | | | | | | | | |\n| [Compromise Accounts (3)](/techniques/T1586) | [Social Media Accounts](/techniques/T1586/001) [Email Accounts](/techniques/T1586/002) [Cloud Accounts](/techniques/T1586/003) | | | | | | | | | | | | | |\n| [Compromise Accounts (3)](/techniques/T1586) | | | | | | | | | | | | | | |\n| [Compromise Infrastructure (8)](/techniques/T1584) | [Domains](/techniques/T1584/001) [DNS Server](/techniques/T1584/002) [Virtual Private Server](/techniques/T1584/003) [Server](/techniques/T1584/004) [Botnet](/techniques/T1584/005) [Web Services](/techniques/T1584/006) [Serverless](/techniques/T1584/007) [Network Devices](/techniques/T1584/008) | | | | | | | | | | | | | |\n| [Compromise Infrastructure (8)](/techniques/T1584) | | | | | | | | | | | | | | |\n| [Develop Capabilities (4)](/techniques/T1587) | [Malware](/techniques/T1587/001) [Code Signing Certificates](/techniques/T1587/002) [Digital Certificates](/techniques/T1587/003) [Exploits](/techniques/T1587/004) | | | | | | | | | | | | | |\n| [Develop Capabilities (4)](/techniques/T1587) | | | | | | | | | | | | | | |\n| [Establish Accounts (3)](/techniques/T1585) | [Social Media Accounts](/techniques/T1585/001) [Email Accounts](/techniques/T1585/002) [Cloud Accounts](/techniques/T1585/003) | | | | | | | | | | | | | |\n| [Establish Accounts (3)](/techniques/T1585) | | | | | | | | | | | | | | |\n| [Generate Content (2)](/techniques/T1683) | [Written Content](/techniques/T1683/001) [Audio-Visual Content](/techniques/T1683/002) | | | | | | | | | | | | | |\n| [Generate Content (2)](/techniques/T1683) | | | | | | | | | | | | | | |\n| [Obtain Capabilities (7)](/techniques/T1588) | [Malware](/techniques/T1588/001) [Tool](/techniques/T1588/002) [Code Signing Certificates](/techniques/T1588/003) [Digital Certificates](/techniques/T1588/004) [Exploits](/techniques/T1588/005) [Vulnerabilities](/techniques/T1588/006) [Artificial Intelligence](/techniques/T1588/007) | | | | | | | | | | | | | |\n| [Obtain Capabilities (7)](/techniques/T1588) | | | | | | | | | | | | | | |\n| [Stage Capabilities (6)](/techniques/T1608) | [Upload Malware](/techniques/T1608/001) [Upload Tool](/techniques/T1608/002) [Install Digital Certificate](/techniques/T1608/003) [Drive-by Target](/techniques/T1608/004) [Link Target](/techniques/T1608/005) [SEO Poisoning](/techniques/T1608/006) | | | | | | | | | | | | | |\n| [Stage Capabilities (6)](/techniques/T1608) | | | | | | | | | | | | | | |\n| [Content Injection](/techniques/T1659) | | | | | | | | | | | | | | |\n| [Drive-by Compromise](/techniques/T1189) | | | | | | | | | | | | | | |\n| [Exploit Public-Facing Application](/techniques/T1190) | | | | | | | | | | | | | | |\n| [External Remote Services](/techniques/T1133) | | | | | | | | | | | | | | |\n| [Hardware Additions](/techniques/T1200) | | | | | | | | | | | | | | |\n| [Phishing (4)](/techniques/T1566) | [Spearphishing Attachment](/techniques/T1566/001) [Spearphishing Link](/techniques/T1566/002) [Spearphishing via Service](/techniques/T1566/003) [Spearphishing Voice](/techniques/T1566/004) | | | | | | | | | | | | | |\n| [Phishing (4)](/techniques/T1566) | | | | | | | | | | | | | | |\n| [Replication Through Removable Media](/techniques/T1091) | | | | | | | | | | | | | | |\n| [Supply Chain Compromise (3)](/techniques/T1195) | [Compromise Software Dependencies and Development Tools](/techniques/T1195/001) [Compromise Software Supply Chain](/techniques/T1195/002) [Compromise Hardware Supply Chain](/techniques/T1195/003) | | | | | | | | | | | | | |\n| [Supply Chain Compromise (3)](/techniques/T1195) | | | | | | | | | | | | | | |\n| [Trusted Relationship](/techniques/T1199) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Wi-Fi Networks](/techniques/T1669) | | | | | | | | | | | | | | |\n| [BITS Jobs](/techniques/T1197) | | | | | | | | | | | | | | |\n| [Cloud Administration Command](/techniques/T1651) | | | | | | | | | | | | | | |\n| [Command and Scripting Interpreter (13)](/techniques/T1059) | [PowerShell](/techniques/T1059/001) [AppleScript](/techniques/T1059/002) [Windows Command Shell](/techniques/T1059/003) [Unix Shell](/techniques/T1059/004) [Visual Basic](/techniques/T1059/005) [Python](/techniques/T1059/006) [JavaScript](/techniques/T1059/007) [Network Device CLI](/techniques/T1059/008) [Cloud API](/techniques/T1059/009) [AutoHotKey & AutoIT](/techniques/T1059/010) [Lua](/techniques/T1059/011) [Hypervisor CLI](/techniques/T1059/012) [Container CLI/API](/techniques/T1059/013) | | | | | | | | | | | | | |\n| [Command and Scripting Interpreter (13)](/techniques/T1059) | | | | | | | | | | | | | | |\n| [Container Administration Command](/techniques/T1609) | | | | | | | | | | | | | | |\n| [Deploy Container](/techniques/T1610) | | | | | | | | | | | | | | |\n| [ESXi Administration Command](/techniques/T1675) | | | | | | | | | | | | | | |\n| [Exploitation for Client Execution](/techniques/T1203) | | | | | | | | | | | | | | |\n| [Hijack Execution Flow (12)](/techniques/T1574) | [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) | | | | | | | | | | | | | |\n| [Hijack Execution Flow (12)](/techniques/T1574) | | | | | | | | | | | | | | |\n| [Input Injection](/techniques/T1674) | | | | | | | | | | | | | | |\n| [Inter-Process Communication (3)](/techniques/T1559) | [Component Object Model](/techniques/T1559/001) [Dynamic Data Exchange](/techniques/T1559/002) [XPC Services](/techniques/T1559/003) | | | | | | | | | | | | | |\n| [Inter-Process Communication (3)](/techniques/T1559) | | | | | | | | | | | | | | |\n| [Native API](/techniques/T1106) | | | | | | | | | | | | | | |\n| [Poisoned Pipeline Execution](/techniques/T1677) | | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | | | | | | | | | | | | | | |\n| [Serverless Execution](/techniques/T1648) | | | | | | | | | | | | | | |\n| [Shared Modules](/techniques/T1129) | | | | | | | | | | | | | | |\n| [Software Deployment Tools](/techniques/T1072) | | | | | | | | | | | | | | |\n| [System Services (3)](/techniques/T1569) | [Launchctl](/techniques/T1569/001) [Service Execution](/techniques/T1569/002) [Systemctl](/techniques/T1569/003) | | | | | | | | | | | | | |\n| [System Services (3)](/techniques/T1569) | | | | | | | | | | | | | | |\n| [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) | [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) | | | | | | | | | | | | | |\n| [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) | | | | | | | | | | | | | | |\n| [User Execution (5)](/techniques/T1204) | [Malicious Link](/techniques/T1204/001) [Malicious File](/techniques/T1204/002) [Malicious Image](/techniques/T1204/003) [Malicious Copy and Paste](/techniques/T1204/004) [Malicious Library](/techniques/T1204/005) | | | | | | | | | | | | | |\n| [User Execution (5)](/techniques/T1204) | | | | | | | | | | | | | | |\n| [Windows Management Instrumentation](/techniques/T1047) | | | | | | | | | | | | | | |\n| [Account Manipulation (7)](/techniques/T1098) | [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) | | | | | | | | | | | | | |\n| [Account Manipulation (7)](/techniques/T1098) | | | | | | | | | | | | | | |\n| [BITS Jobs](/techniques/T1197) | | | | | | | | | | | | | | |\n| [Boot or Logon Autostart Execution (14)](/techniques/T1547) | [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) | | | | | | | | | | | | | |\n| [Boot or Logon Autostart Execution (14)](/techniques/T1547) | | | | | | | | | | | | | | |\n| [Boot or Logon Initialization Scripts (5)](/techniques/T1037) | [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) | | | | | | | | | | | | | |\n| [Boot or Logon Initialization Scripts (5)](/techniques/T1037) | | | | | | | | | | | | | | |\n| [Cloud Application Integration](/techniques/T1671) | | | | | | | | | | | | | | |\n| [Compromise Host Software Binary](/techniques/T1554) | | | | | | | | | | | | | | |\n| [Create Account (3)](/techniques/T1136) | [Local Account](/techniques/T1136/001) [Domain Account](/techniques/T1136/002) [Cloud Account](/techniques/T1136/003) | | | | | | | | | | | | | |\n| [Create Account (3)](/techniques/T1136) | | | | | | | | | | | | | | |\n| [Create or Modify System Process (5)](/techniques/T1543) | [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) | | | | | | | | | | | | | |\n| [Create or Modify System Process (5)](/techniques/T1543) | | | | | | | | | | | | | | |\n| [Event Triggered Execution (18)](/techniques/T1546) | [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) | | | | | | | | | | | | | |\n| [Event Triggered Execution (18)](/techniques/T1546) | | | | | | | | | | | | | | |\n| [Exclusive Control](/techniques/T1668) | | | | | | | | | | | | | | |\n| [External Remote Services](/techniques/T1133) | | | | | | | | | | | | | | |\n| [Implant Internal Image](/techniques/T1525) | | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | | | | | | | | | | | | | | |\n| [Modify Registry](/techniques/T1112) | | | | | | | | | | | | | | |\n| [Office Application Startup (6)](/techniques/T1137) | [Office Template Macros](/techniques/T1137/001) [Office Test](/techniques/T1137/002) [Outlook Forms](/techniques/T1137/003) [Outlook Home Page](/techniques/T1137/004) [Outlook Rules](/techniques/T1137/005) [Add-ins](/techniques/T1137/006) | | | | | | | | | | | | | |\n| [Office Application Startup (6)](/techniques/T1137) | | | | | | | | | | | | | | |\n| [Power Settings](/techniques/T1653) | | | | | | | | | | | | | | |\n| [Pre-OS Boot (5)](/techniques/T1542) | [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) | | | | | | | | | | | | | |\n| [Pre-OS Boot (5)](/techniques/T1542) | | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | | | | | | | | | | | | | | |\n| [Server Software Component (6)](/techniques/T1505) | [SQL Stored Procedures](/techniques/T1505/001) [Transport Agent](/techniques/T1505/002) [Web Shell](/techniques/T1505/003) [IIS Components](/techniques/T1505/004) [Terminal Services DLL](/techniques/T1505/005) [vSphere Installation Bundles](/techniques/T1505/006) | | | | | | | | | | | | | |\n| [Server Software Component (6)](/techniques/T1505) | | | | | | | | | | | | | | |\n| [Software Extensions (2)](/techniques/T1176) | [Browser Extensions](/techniques/T1176/001) [IDE Extensions](/techniques/T1176/002) | | | | | | | | | | | | | |\n| [Software Extensions (2)](/techniques/T1176) | | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Abuse Elevation Control Mechanism (6)](/techniques/T1548) | [Setuid and Setgid](/techniques/T1548/001) [Bypass User Account Control](/techniques/T1548/002) [Sudo and Sudo Caching](/techniques/T1548/003) [Elevated Execution with Prompt](/techniques/T1548/004) [Temporary Elevated Cloud Access](/techniques/T1548/005) [TCC Manipulation](/techniques/T1548/006) | | | | | | | | | | | | | |\n| [Abuse Elevation Control Mechanism (6)](/techniques/T1548) | | | | | | | | | | | | | | |\n| [Access Token Manipulation (5)](/techniques/T1134) | [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) | | | | | | | | | | | | | |\n| [Access Token Manipulation (5)](/techniques/T1134) | | | | | | | | | | | | | | |\n| [Account Manipulation (7)](/techniques/T1098) | [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) | | | | | | | | | | | | | |\n| [Account Manipulation (7)](/techniques/T1098) | | | | | | | | | | | | | | |\n| [Boot or Logon Autostart Execution (14)](/techniques/T1547) | [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) | | | | | | | | | | | | | |\n| [Boot or Logon Autostart Execution (14)](/techniques/T1547) | | | | | | | | | | | | | | |\n| [Boot or Logon Initialization Scripts (5)](/techniques/T1037) | [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) | | | | | | | | | | | | | |\n| [Boot or Logon Initialization Scripts (5)](/techniques/T1037) | | | | | | | | | | | | | | |\n| [Create or Modify System Process (5)](/techniques/T1543) | [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) | | | | | | | | | | | | | |\n| [Create or Modify System Process (5)](/techniques/T1543) | | | | | | | | | | | | | | |\n| [Domain or Tenant Policy Modification (2)](/techniques/T1484) | [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) | | | | | | | | | | | | | |\n| [Domain or Tenant Policy Modification (2)](/techniques/T1484) | | | | | | | | | | | | | | |\n| [Escape to Host](/techniques/T1611) | | | | | | | | | | | | | | |\n| [Event Triggered Execution (18)](/techniques/T1546) | [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) | | | | | | | | | | | | | |\n| [Event Triggered Execution (18)](/techniques/T1546) | | | | | | | | | | | | | | |\n| [Exploitation for Privilege Escalation](/techniques/T1068) | | | | | | | | | | | | | | |\n| [Process Injection (12)](/techniques/T1055) | [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) | | | | | | | | | | | | | |\n| [Process Injection (12)](/techniques/T1055) | | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Access Token Manipulation (5)](/techniques/T1134) | [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) | | | | | | | | | | | | | |\n| [Access Token Manipulation (5)](/techniques/T1134) | | | | | | | | | | | | | | |\n| [BITS Jobs](/techniques/T1197) | | | | | | | | | | | | | | |\n| [Build Image on Host](/techniques/T1612) | | | | | | | | | | | | | | |\n| [Debugger Evasion](/techniques/T1622) | | | | | | | | | | | | | | |\n| [Delay Execution](/techniques/T1678) | | | | | | | | | | | | | | |\n| [Deobfuscate/Decode Files or Information](/techniques/T1140) | | | | | | | | | | | | | | |\n| [Direct Volume Access](/techniques/T1006) | | | | | | | | | | | | | | |\n| [Execution Guardrails (2)](/techniques/T1480) | [Environmental Keying](/techniques/T1480/001) [Mutual Exclusion](/techniques/T1480/002) | | | | | | | | | | | | | |\n| [Execution Guardrails (2)](/techniques/T1480) | | | | | | | | | | | | | | |\n| [Exploitation for Stealth](/techniques/T1211) | | | | | | | | | | | | | | |\n| [Hide Artifacts (14)](/techniques/T1564) | [Hidden Files and Directories](/techniques/T1564/001) [Hidden Users](/techniques/T1564/002) [Hidden Window](/techniques/T1564/003) [NTFS File Attributes](/techniques/T1564/004) [Hidden File System](/techniques/T1564/005) [Run Virtual Instance](/techniques/T1564/006) [VBA Stomping](/techniques/T1564/007) [Email Hiding Rules](/techniques/T1564/008) [Resource Forking](/techniques/T1564/009) [Process Argument Spoofing](/techniques/T1564/010) [Ignore Process Interrupts](/techniques/T1564/011) [File/Path Exclusions](/techniques/T1564/012) [Bind Mounts](/techniques/T1564/013) [Extended Attributes](/techniques/T1564/014) | | | | | | | | | | | | | |\n| [Hide Artifacts (14)](/techniques/T1564) | | | | | | | | | | | | | | |\n| [Hijack Execution Flow (12)](/techniques/T1574) | [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) | | | | | | | | | | | | | |\n| [Hijack Execution Flow (12)](/techniques/T1574) | | | | | | | | | | | | | | |\n| [Indicator Removal (8)](/techniques/T1070) | [Clear Command History](/techniques/T1070/003) [File Deletion](/techniques/T1070/004) [Network Share Connection Removal](/techniques/T1070/005) [Timestomp](/techniques/T1070/006) [Clear Network Connection History and Configurations](/techniques/T1070/007) [Clear Mailbox Data](/techniques/T1070/008) [Clear Persistence](/techniques/T1070/009) [Relocate Malware](/techniques/T1070/010) | | | | | | | | | | | | | |\n| [Indicator Removal (8)](/techniques/T1070) | | | | | | | | | | | | | | |\n| [Indirect Command Execution](/techniques/T1202) | | | | | | | | | | | | | | |\n| [Masquerading (12)](/techniques/T1036) | [Invalid Code Signature](/techniques/T1036/001) [Right-to-Left Override](/techniques/T1036/002) [Rename Legitimate Utilities](/techniques/T1036/003) [Masquerade Task or Service](/techniques/T1036/004) [Match Legitimate Resource Name or Location](/techniques/T1036/005) [Space after Filename](/techniques/T1036/006) [Double File Extension](/techniques/T1036/007) [Masquerade File Type](/techniques/T1036/008) [Break Process Trees](/techniques/T1036/009) [Masquerade Account Name](/techniques/T1036/010) [Overwrite Process Arguments](/techniques/T1036/011) [Browser Fingerprint](/techniques/T1036/012) | | | | | | | | | | | | | |\n| [Masquerading (12)](/techniques/T1036) | | | | | | | | | | | | | | |\n| [Obfuscated Files or Information (18)](/techniques/T1027) | [Binary Padding](/techniques/T1027/001) [Software Packing](/techniques/T1027/002) [Steganography](/techniques/T1027/003) [Compile After Delivery](/techniques/T1027/004) [Indicator Removal from Tools](/techniques/T1027/005) [HTML Smuggling](/techniques/T1027/006) [Dynamic API Resolution](/techniques/T1027/007) [Stripped Payloads](/techniques/T1027/008) [Embedded Payloads](/techniques/T1027/009) [Command Obfuscation](/techniques/T1027/010) [Fileless Storage](/techniques/T1027/011) [LNK Icon Smuggling](/techniques/T1027/012) [Encrypted/Encoded File](/techniques/T1027/013) [Polymorphic Code](/techniques/T1027/014) [Compression](/techniques/T1027/015) [Junk Code Insertion](/techniques/T1027/016) [SVG Smuggling](/techniques/T1027/017) [Invisible Unicode](/techniques/T1027/018) | | | | | | | | | | | | | |\n| [Obfuscated Files or Information (18)](/techniques/T1027) | | | | | | | | | | | | | | |\n| [Pre-OS Boot (5)](/techniques/T1542) | [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) | | | | | | | | | | | | | |\n| [Pre-OS Boot (5)](/techniques/T1542) | | | | | | | | | | | | | | |\n| [Process Injection (12)](/techniques/T1055) | [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) | | | | | | | | | | | | | |\n| [Process Injection (12)](/techniques/T1055) | | | | | | | | | | | | | | |\n| [Reflective Code Loading](/techniques/T1620) | | | | | | | | | | | | | | |\n| [Rootkit](/techniques/T1014) | | | | | | | | | | | | | | |\n| [Selective Exclusion](/techniques/T1679) | | | | | | | | | | | | | | |\n| [Social Engineering (2)](/techniques/T1684) | [Impersonation](/techniques/T1684/001) [Email Spoofing](/techniques/T1684/002) | | | | | | | | | | | | | |\n| [Social Engineering (2)](/techniques/T1684) | | | | | | | | | | | | | | |\n| [System Binary Proxy Execution (14)](/techniques/T1218) | [Compiled HTML File](/techniques/T1218/001) [Control Panel](/techniques/T1218/002) [CMSTP](/techniques/T1218/003) [InstallUtil](/techniques/T1218/004) [Mshta](/techniques/T1218/005) [Msiexec](/techniques/T1218/007) [Odbcconf](/techniques/T1218/008) [Regsvcs/Regasm](/techniques/T1218/009) [Regsvr32](/techniques/T1218/010) [Rundll32](/techniques/T1218/011) [Verclsid](/techniques/T1218/012) [Mavinject](/techniques/T1218/013) [MMC](/techniques/T1218/014) [Electron Applications](/techniques/T1218/015) | | | | | | | | | | | | | |\n| [System Binary Proxy Execution (14)](/techniques/T1218) | | | | | | | | | | | | | | |\n| [System Script Proxy Execution (2)](/techniques/T1216) | [PubPrn](/techniques/T1216/001) [SyncAppvPublishingServer](/techniques/T1216/002) | | | | | | | | | | | | | |\n| [System Script Proxy Execution (2)](/techniques/T1216) | | | | | | | | | | | | | | |\n| [Template Injection](/techniques/T1221) | | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | | | | | | | | | | | | | | |\n| [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) | [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) | | | | | | | | | | | | | |\n| [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) | | | | | | | | | | | | | | |\n| [Unused/Unsupported Cloud Regions](/techniques/T1535) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Virtualization/Sandbox Evasion (3)](/techniques/T1497) | [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) | | | | | | | | | | | | | |\n| [Virtualization/Sandbox Evasion (3)](/techniques/T1497) | | | | | | | | | | | | | | |\n| [XSL Script Processing](/techniques/T1220) | | | | | | | | | | | | | | |\n| [Disable or Modify System Firewall (3)](/techniques/T1686) | [Cloud Firewall](/techniques/T1686/001) [Network Device Firewall](/techniques/T1686/002) [Windows Host Firewall](/techniques/T1686/003) | | | | | | | | | | | | | |\n| [Disable or Modify System Firewall (3)](/techniques/T1686) | | | | | | | | | | | | | | |\n| [Disable or Modify Tools (6)](/techniques/T1685) | [Disable or Modify Windows Event Log](/techniques/T1685/001) [Disable or Modify Cloud Log](/techniques/T1685/002) [Modify or Spoof Tool UI](/techniques/T1685/003) [Disable or Modify Linux Audit System Log](/techniques/T1685/004) [Clear Windows Event Logs](/techniques/T1685/005) [Clear Linux or Mac System Logs](/techniques/T1685/006) | | | | | | | | | | | | | |\n| [Disable or Modify Tools (6)](/techniques/T1685) | | | | | | | | | | | | | | |\n| [Domain or Tenant Policy Modification (2)](/techniques/T1484) | [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) | | | | | | | | | | | | | |\n| [Domain or Tenant Policy Modification (2)](/techniques/T1484) | | | | | | | | | | | | | | |\n| [Downgrade Attack](/techniques/T1689) | | | | | | | | | | | | | | |\n| [Exploitation for Defense Impairment](/techniques/T1687) | | | | | | | | | | | | | | |\n| [File and Directory Permissions Modification (2)](/techniques/T1222) | [Windows Permissions](/techniques/T1222/001) [Linux and Mac Permissions](/techniques/T1222/002) | | | | | | | | | | | | | |\n| [File and Directory Permissions Modification (2)](/techniques/T1222) | | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | | | | | | | | | | | | | | |\n| [Modify Cloud Compute Infrastructure (5)](/techniques/T1578) | [Create Snapshot](/techniques/T1578/001) [Create Cloud Instance](/techniques/T1578/002) [Delete Cloud Instance](/techniques/T1578/003) [Revert Cloud Instance](/techniques/T1578/004) [Modify Cloud Compute Configurations](/techniques/T1578/005) | | | | | | | | | | | | | |\n| [Modify Cloud Compute Infrastructure (5)](/techniques/T1578) | | | | | | | | | | | | | | |\n| [Modify Cloud Resource Hierarchy](/techniques/T1666) | | | | | | | | | | | | | | |\n| [Modify Registry](/techniques/T1112) | | | | | | | | | | | | | | |\n| [Modify System Image (2)](/techniques/T1601) | [Patch System Image](/techniques/T1601/001) [Downgrade System Image](/techniques/T1601/002) | | | | | | | | | | | | | |\n| [Modify System Image (2)](/techniques/T1601) | | | | | | | | | | | | | | |\n| [Network Boundary Bridging (1)](/techniques/T1599) | [Network Address Translation Traversal](/techniques/T1599/001) | | | | | | | | | | | | | |\n| [Network Boundary Bridging (1)](/techniques/T1599) | | | | | | | | | | | | | | |\n| [Plist File Modification](/techniques/T1647) | | | | | | | | | | | | | | |\n| [Prevent Command History Logging](/techniques/T1690) | | | | | | | | | | | | | | |\n| [Rogue Domain Controller](/techniques/T1207) | | | | | | | | | | | | | | |\n| [Safe Mode Boot](/techniques/T1688) | | | | | | | | | | | | | | |\n| [Subvert Trust Controls (6)](/techniques/T1553) | [Gatekeeper Bypass](/techniques/T1553/001) [Code Signing](/techniques/T1553/002) [SIP and Trust Provider Hijacking](/techniques/T1553/003) [Install Root Certificate](/techniques/T1553/004) [Mark-of-the-Web Bypass](/techniques/T1553/005) [Code Signing Policy Modification](/techniques/T1553/006) | | | | | | | | | | | | | |\n| [Subvert Trust Controls (6)](/techniques/T1553) | | | | | | | | | | | | | | |\n| [Weaken Encryption (2)](/techniques/T1600) | [Reduce Key Space](/techniques/T1600/001) [Disable Crypto Hardware](/techniques/T1600/002) | | | | | | | | | | | | | |\n| [Weaken Encryption (2)](/techniques/T1600) | | | | | | | | | | | | | | |\n| [Adversary-in-the-Middle (4)](/techniques/T1557) | [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) | | | | | | | | | | | | | |\n| [Adversary-in-the-Middle (4)](/techniques/T1557) | | | | | | | | | | | | | | |\n| [Brute Force (4)](/techniques/T1110) | [Password Guessing](/techniques/T1110/001) [Password Cracking](/techniques/T1110/002) [Password Spraying](/techniques/T1110/003) [Credential Stuffing](/techniques/T1110/004) | | | | | | | | | | | | | |\n| [Brute Force (4)](/techniques/T1110) | | | | | | | | | | | | | | |\n| [Credentials from Password Stores (6)](/techniques/T1555) | [Keychain](/techniques/T1555/001) [Securityd Memory](/techniques/T1555/002) [Credentials from Web Browsers](/techniques/T1555/003) [Windows Credential Manager](/techniques/T1555/004) [Password Managers](/techniques/T1555/005) [Cloud Secrets Management Stores](/techniques/T1555/006) | | | | | | | | | | | | | |\n| [Credentials from Password Stores (6)](/techniques/T1555) | | | | | | | | | | | | | | |\n| [Exploitation for Credential Access](/techniques/T1212) | | | | | | | | | | | | | | |\n| [Forced Authentication](/techniques/T1187) | | | | | | | | | | | | | | |\n| [Forge Web Credentials (2)](/techniques/T1606) | [Web Cookies](/techniques/T1606/001) [SAML Tokens](/techniques/T1606/002) | | | | | | | | | | | | | |\n| [Forge Web Credentials (2)](/techniques/T1606) | | | | | | | | | | | | | | |\n| [Input Capture (4)](/techniques/T1056) | [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) | | | | | | | | | | | | | |\n| [Input Capture (4)](/techniques/T1056) | | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | | | | | | | | | | | | | | |\n| [Multi-Factor Authentication Interception](/techniques/T1111) | | | | | | | | | | | | | | |\n| [Multi-Factor Authentication Request Generation](/techniques/T1621) | | | | | | | | | | | | | | |\n| [Network Sniffing](/techniques/T1040) | | | | | | | | | | | | | | |\n| [OS Credential Dumping (8)](/techniques/T1003) | [LSASS Memory](/techniques/T1003/001) [Security Account Manager](/techniques/T1003/002) [NTDS](/techniques/T1003/003) [LSA Secrets](/techniques/T1003/004) [Cached Domain Credentials](/techniques/T1003/005) [DCSync](/techniques/T1003/006) [Proc Filesystem](/techniques/T1003/007) [/etc/passwd and /etc/shadow](/techniques/T1003/008) | | | | | | | | | | | | | |\n| [OS Credential Dumping (8)](/techniques/T1003) | | | | | | | | | | | | | | |\n| [Steal Application Access Token](/techniques/T1528) | | | | | | | | | | | | | | |\n| [Steal or Forge Authentication Certificates](/techniques/T1649) | | | | | | | | | | | | | | |\n| [Steal or Forge Kerberos Tickets (5)](/techniques/T1558) | [Golden Ticket](/techniques/T1558/001) [Silver Ticket](/techniques/T1558/002) [Kerberoasting](/techniques/T1558/003) [AS-REP Roasting](/techniques/T1558/004) [Ccache Files](/techniques/T1558/005) | | | | | | | | | | | | | |\n| [Steal or Forge Kerberos Tickets (5)](/techniques/T1558) | | | | | | | | | | | | | | |\n| [Steal Web Session Cookie](/techniques/T1539) | | | | | | | | | | | | | | |\n| [Unsecured Credentials (8)](/techniques/T1552) | [Credentials In Files](/techniques/T1552/001) [Credentials in Registry](/techniques/T1552/002) [Shell History](/techniques/T1552/003) [Private Keys](/techniques/T1552/004) [Cloud Instance Metadata API](/techniques/T1552/005) [Group Policy Preferences](/techniques/T1552/006) [Container API](/techniques/T1552/007) [Chat Messages](/techniques/T1552/008) | | | | | | | | | | | | | |\n| [Unsecured Credentials (8)](/techniques/T1552) | | | | | | | | | | | | | | |\n| [Account Discovery (4)](/techniques/T1087) | [Local Account](/techniques/T1087/001) [Domain Account](/techniques/T1087/002) [Email Account](/techniques/T1087/003) [Cloud Account](/techniques/T1087/004) | | | | | | | | | | | | | |\n| [Account Discovery (4)](/techniques/T1087) | | | | | | | | | | | | | | |\n| [Application Window Discovery](/techniques/T1010) | | | | | | | | | | | | | | |\n| [Browser Information Discovery](/techniques/T1217) | | | | | | | | | | | | | | |\n| [Cloud Infrastructure Discovery](/techniques/T1580) | | | | | | | | | | | | | | |\n| [Cloud Service Dashboard](/techniques/T1538) | | | | | | | | | | | | | | |\n| [Cloud Service Discovery](/techniques/T1526) | | | | | | | | | | | | | | |\n| [Cloud Storage Object Discovery](/techniques/T1619) | | | | | | | | | | | | | | |\n| [Container and Resource Discovery](/techniques/T1613) | | | | | | | | | | | | | | |\n| [Debugger Evasion](/techniques/T1622) | | | | | | | | | | | | | | |\n| [Device Driver Discovery](/techniques/T1652) | | | | | | | | | | | | | | |\n| [Domain Trust Discovery](/techniques/T1482) | | | | | | | | | | | | | | |\n| [File and Directory Discovery](/techniques/T1083) | | | | | | | | | | | | | | |\n| [Group Policy Discovery](/techniques/T1615) | | | | | | | | | | | | | | |\n| [Local Storage Discovery](/techniques/T1680) | | | | | | | | | | | | | | |\n| [Log Enumeration](/techniques/T1654) | | | | | | | | | | | | | | |\n| [Network Service Discovery](/techniques/T1046) | | | | | | | | | | | | | | |\n| [Network Share Discovery](/techniques/T1135) | | | | | | | | | | | | | | |\n| [Network Sniffing](/techniques/T1040) | | | | | | | | | | | | | | |\n| [Password Policy Discovery](/techniques/T1201) | | | | | | | | | | | | | | |\n| [Peripheral Device Discovery](/techniques/T1120) | | | | | | | | | | | | | | |\n| [Permission Groups Discovery (3)](/techniques/T1069) | [Local Groups](/techniques/T1069/001) [Domain Groups](/techniques/T1069/002) [Cloud Groups](/techniques/T1069/003) | | | | | | | | | | | | | |\n| [Permission Groups Discovery (3)](/techniques/T1069) | | | | | | | | | | | | | | |\n| [Process Discovery](/techniques/T1057) | | | | | | | | | | | | | | |\n| [Query Registry](/techniques/T1012) | | | | | | | | | | | | | | |\n| [Remote System Discovery](/techniques/T1018) | | | | | | | | | | | | | | |\n| [Software Discovery (2)](/techniques/T1518) | [Security Software Discovery](/techniques/T1518/001) [Backup Software Discovery](/techniques/T1518/002) | | | | | | | | | | | | | |\n| [Software Discovery (2)](/techniques/T1518) | | | | | | | | | | | | | | |\n| [System Information Discovery](/techniques/T1082) | | | | | | | | | | | | | | |\n| [System Location Discovery (1)](/techniques/T1614) | [System Language Discovery](/techniques/T1614/001) | | | | | | | | | | | | | |\n| [System Location Discovery (1)](/techniques/T1614) | | | | | | | | | | | | | | |\n| [System Network Configuration Discovery (2)](/techniques/T1016) | [Internet Connection Discovery](/techniques/T1016/001) [Wi-Fi Discovery](/techniques/T1016/002) | | | | | | | | | | | | | |\n| [System Network Configuration Discovery (2)](/techniques/T1016) | | | | | | | | | | | | | | |\n| [System Network Connections Discovery](/techniques/T1049) | | | | | | | | | | | | | | |\n| [System Owner/User Discovery](/techniques/T1033) | | | | | | | | | | | | | | |\n| [System Service Discovery](/techniques/T1007) | | | | | | | | | | | | | | |\n| [System Time Discovery](/techniques/T1124) | | | | | | | | | | | | | | |\n| [Virtual Machine Discovery](/techniques/T1673) | | | | | | | | | | | | | | |\n| [Virtualization/Sandbox Evasion (3)](/techniques/T1497) | [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) | | | | | | | | | | | | | |\n| [Virtualization/Sandbox Evasion (3)](/techniques/T1497) | | | | | | | | | | | | | | |\n| [Exploitation of Remote Services](/techniques/T1210) | | | | | | | | | | | | | | |\n| [Internal Spearphishing](/techniques/T1534) | | | | | | | | | | | | | | |\n| [Lateral Tool Transfer](/techniques/T1570) | | | | | | | | | | | | | | |\n| [Remote Service Session Hijacking (2)](/techniques/T1563) | [SSH Hijacking](/techniques/T1563/001) [RDP Hijacking](/techniques/T1563/002) | | | | | | | | | | | | | |\n| [Remote Service Session Hijacking (2)](/techniques/T1563) | | | | | | | | | | | | | | |\n| [Remote Services (8)](/techniques/T1021) | [Remote Desktop Protocol](/techniques/T1021/001) [SMB/Windows Admin Shares](/techniques/T1021/002) [Distributed Component Object Model](/techniques/T1021/003) [SSH](/techniques/T1021/004) [VNC](/techniques/T1021/005) [Windows Remote Management](/techniques/T1021/006) [Cloud Services](/techniques/T1021/007) [Direct Cloud VM Connections](/techniques/T1021/008) | | | | | | | | | | | | | |\n| [Remote Services (8)](/techniques/T1021) | | | | | | | | | | | | | | |\n| [Replication Through Removable Media](/techniques/T1091) | | | | | | | | | | | | | | |\n| [Software Deployment Tools](/techniques/T1072) | | | | | | | | | | | | | | |\n| [Taint Shared Content](/techniques/T1080) | | | | | | | | | | | | | | |\n| [Use Alternate Authentication Material (4)](/techniques/T1550) | [Application Access Token](/techniques/T1550/001) [Pass the Hash](/techniques/T1550/002) [Pass the Ticket](/techniques/T1550/003) [Web Session Cookie](/techniques/T1550/004) | | | | | | | | | | | | | |\n| [Use Alternate Authentication Material (4)](/techniques/T1550) | | | | | | | | | | | | | | |\n| [Adversary-in-the-Middle (4)](/techniques/T1557) | [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) | | | | | | | | | | | | | |\n| [Adversary-in-the-Middle (4)](/techniques/T1557) | | | | | | | | | | | | | | |\n| [Archive Collected Data (3)](/techniques/T1560) | [Archive via Utility](/techniques/T1560/001) [Archive via Library](/techniques/T1560/002) [Archive via Custom Method](/techniques/T1560/003) | | | | | | | | | | | | | |\n| [Archive Collected Data (3)](/techniques/T1560) | | | | | | | | | | | | | | |\n| [Audio Capture](/techniques/T1123) | | | | | | | | | | | | | | |\n| [Automated Collection](/techniques/T1119) | | | | | | | | | | | | | | |\n| [Browser Session Hijacking](/techniques/T1185) | | | | | | | | | | | | | | |\n| [Clipboard Data](/techniques/T1115) | | | | | | | | | | | | | | |\n| [Data from Cloud Storage](/techniques/T1530) | | | | | | | | | | | | | | |\n| [Data from Configuration Repository (2)](/techniques/T1602) | [SNMP (MIB Dump)](/techniques/T1602/001) [Network Device Configuration Dump](/techniques/T1602/002) | | | | | | | | | | | | | |\n| [Data from Configuration Repository (2)](/techniques/T1602) | | | | | | | | | | | | | | |\n| [Data from Information Repositories (6)](/techniques/T1213) | [Confluence](/techniques/T1213/001) [Sharepoint](/techniques/T1213/002) [Code Repositories](/techniques/T1213/003) [Customer Relationship Management Software](/techniques/T1213/004) [Messaging Applications](/techniques/T1213/005) [Databases](/techniques/T1213/006) | | | | | | | | | | | | | |\n| [Data from Information Repositories (6)](/techniques/T1213) | | | | | | | | | | | | | | |\n| [Data from Local System](/techniques/T1005) | | | | | | | | | | | | | | |\n| [Data from Network Shared Drive](/techniques/T1039) | | | | | | | | | | | | | | |\n| [Data from Removable Media](/techniques/T1025) | | | | | | | | | | | | | | |\n| [Data Staged (2)](/techniques/T1074) | [Local Data Staging](/techniques/T1074/001) [Remote Data Staging](/techniques/T1074/002) | | | | | | | | | | | | | |\n| [Data Staged (2)](/techniques/T1074) | | | | | | | | | | | | | | |\n| [Email Collection (3)](/techniques/T1114) | [Local Email Collection](/techniques/T1114/001) [Remote Email Collection](/techniques/T1114/002) [Email Forwarding Rule](/techniques/T1114/003) | | | | | | | | | | | | | |\n| [Email Collection (3)](/techniques/T1114) | | | | | | | | | | | | | | |\n| [Input Capture (4)](/techniques/T1056) | [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) | | | | | | | | | | | | | |\n| [Input Capture (4)](/techniques/T1056) | | | | | | | | | | | | | | |\n| [Screen Capture](/techniques/T1113) | | | | | | | | | | | | | | |\n| [Video Capture](/techniques/T1125) | | | | | | | | | | | | | | |\n| [Application Layer Protocol (5)](/techniques/T1071) | [Web Protocols](/techniques/T1071/001) [File Transfer Protocols](/techniques/T1071/002) [Mail Protocols](/techniques/T1071/003) [DNS](/techniques/T1071/004) [Publish/Subscribe Protocols](/techniques/T1071/005) | | | | | | | | | | | | | |\n| [Application Layer Protocol (5)](/techniques/T1071) | | | | | | | | | | | | | | |\n| [Communication Through Removable Media](/techniques/T1092) | | | | | | | | | | | | | | |\n| [Content Injection](/techniques/T1659) | | | | | | | | | | | | | | |\n| [Data Encoding (2)](/techniques/T1132) | [Standard Encoding](/techniques/T1132/001) [Non-Standard Encoding](/techniques/T1132/002) | | | | | | | | | | | | | |\n| [Data Encoding (2)](/techniques/T1132) | | | | | | | | | | | | | | |\n| [Data Obfuscation (3)](/techniques/T1001) | [Junk Data](/techniques/T1001/001) [Steganography](/techniques/T1001/002) [Protocol or Service Impersonation](/techniques/T1001/003) | | | | | | | | | | | | | |\n| [Data Obfuscation (3)](/techniques/T1001) | | | | | | | | | | | | | | |\n| [Dynamic Resolution (3)](/techniques/T1568) | [Fast Flux DNS](/techniques/T1568/001) [Domain Generation Algorithms](/techniques/T1568/002) [DNS Calculation](/techniques/T1568/003) | | | | | | | | | | | | | |\n| [Dynamic Resolution (3)](/techniques/T1568) | | | | | | | | | | | | | | |\n| [Encrypted Channel (2)](/techniques/T1573) | [Symmetric Cryptography](/techniques/T1573/001) [Asymmetric Cryptography](/techniques/T1573/002) | | | | | | | | | | | | | |\n| [Encrypted Channel (2)](/techniques/T1573) | | | | | | | | | | | | | | |\n| [Fallback Channels](/techniques/T1008) | | | | | | | | | | | | | | |\n| [Hide Infrastructure](/techniques/T1665) | | | | | | | | | | | | | | |\n| [Ingress Tool Transfer](/techniques/T1105) | | | | | | | | | | | | | | |\n| [Multi-Stage Channels](/techniques/T1104) | | | | | | | | | | | | | | |\n| [Non-Application Layer Protocol](/techniques/T1095) | | | | | | | | | | | | | | |\n| [Non-Standard Port](/techniques/T1571) | | | | | | | | | | | | | | |\n| [Protocol Tunneling](/techniques/T1572) | | | | | | | | | | | | | | |\n| [Proxy (4)](/techniques/T1090) | [Internal Proxy](/techniques/T1090/001) [External Proxy](/techniques/T1090/002) [Multi-hop Proxy](/techniques/T1090/003) [Domain Fronting](/techniques/T1090/004) | | | | | | | | | | | | | |\n| [Proxy (4)](/techniques/T1090) | | | | | | | | | | | | | | |\n| [Remote Access Tools (3)](/techniques/T1219) | [IDE Tunneling](/techniques/T1219/001) [Remote Desktop Software](/techniques/T1219/002) [Remote Access Hardware](/techniques/T1219/003) | | | | | | | | | | | | | |\n| [Remote Access Tools (3)](/techniques/T1219) | | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | | | | | | | | | | | | | | |\n| [Web Service (3)](/techniques/T1102) | [Dead Drop Resolver](/techniques/T1102/001) [Bidirectional Communication](/techniques/T1102/002) [One-Way Communication](/techniques/T1102/003) | | | | | | | | | | | | | |\n| [Web Service (3)](/techniques/T1102) | | | | | | | | | | | | | | |\n| [Automated Exfiltration (1)](/techniques/T1020) | [Traffic Duplication](/techniques/T1020/001) | | | | | | | | | | | | | |\n| [Automated Exfiltration (1)](/techniques/T1020) | | | | | | | | | | | | | | |\n| [Data Transfer Size Limits](/techniques/T1030) | | | | | | | | | | | | | | |\n| [Exfiltration Over Alternative Protocol (3)](/techniques/T1048) | [Exfiltration Over Symmetric Encrypted Non-C2 Protocol](/techniques/T1048/001) [Exfiltration Over Asymmetric Encrypted Non-C2 Protocol](/techniques/T1048/002) [Exfiltration Over Unencrypted Non-C2 Protocol](/techniques/T1048/003) | | | | | | | | | | | | | |\n| [Exfiltration Over Alternative Protocol (3)](/techniques/T1048) | | | | | | | | | | | | | | |\n| [Exfiltration Over C2 Channel](/techniques/T1041) | | | | | | | | | | | | | | |\n| [Exfiltration Over Other Network Medium (1)](/techniques/T1011) | [Exfiltration Over Bluetooth](/techniques/T1011/001) | | | | | | | | | | | | | |\n| [Exfiltration Over Other Network Medium (1)](/techniques/T1011) | | | | | | | | | | | | | | |\n| [Exfiltration Over Physical Medium (1)](/techniques/T1052) | [Exfiltration over USB](/techniques/T1052/001) | | | | | | | | | | | | | |\n| [Exfiltration Over Physical Medium (1)](/techniques/T1052) | | | | | | | | | | | | | | |\n| [Exfiltration Over Web Service (4)](/techniques/T1567) | [Exfiltration to Code Repository](/techniques/T1567/001) [Exfiltration to Cloud Storage](/techniques/T1567/002) [Exfiltration to Text Storage Sites](/techniques/T1567/003) [Exfiltration Over Webhook](/techniques/T1567/004) | | | | | | | | | | | | | |\n| [Exfiltration Over Web Service (4)](/techniques/T1567) | | | | | | | | | | | | | | |\n| [Scheduled Transfer](/techniques/T1029) | | | | | | | | | | | | | | |\n| [Transfer Data to Cloud Account](/techniques/T1537) | | | | | | | | | | | | | | |\n| [Account Access Removal](/techniques/T1531) | | | | | | | | | | | | | | |\n| [Data Destruction (1)](/techniques/T1485) | [Lifecycle-Triggered Deletion](/techniques/T1485/001) | | | | | | | | | | | | | |\n| [Data Destruction (1)](/techniques/T1485) | | | | | | | | | | | | | | |\n| [Data Encrypted for Impact](/techniques/T1486) | | | | | | | | | | | | | | |\n| [Data Manipulation (3)](/techniques/T1565) | [Stored Data Manipulation](/techniques/T1565/001) [Transmitted Data Manipulation](/techniques/T1565/002) [Runtime Data Manipulation](/techniques/T1565/003) | | | | | | | | | | | | | |\n| [Data Manipulation (3)](/techniques/T1565) | | | | | | | | | | | | | | |\n| [Defacement (2)](/techniques/T1491) | [Internal Defacement](/techniques/T1491/001) [External Defacement](/techniques/T1491/002) | | | | | | | | | | | | | |\n| [Defacement (2)](/techniques/T1491) | | | | | | | | | | | | | | |\n| [Disk Wipe (2)](/techniques/T1561) | [Disk Content Wipe](/techniques/T1561/001) [Disk Structure Wipe](/techniques/T1561/002) | | | | | | | | | | | | | |\n| [Disk Wipe (2)](/techniques/T1561) | | | | | | | | | | | | | | |\n| [Email Bombing](/techniques/T1667) | | | | | | | | | | | | | | |\n| [Endpoint Denial of Service (4)](/techniques/T1499) | [OS Exhaustion Flood](/techniques/T1499/001) [Service Exhaustion Flood](/techniques/T1499/002) [Application Exhaustion Flood](/techniques/T1499/003) [Application or System Exploitation](/techniques/T1499/004) | | | | | | | | | | | | | |\n| [Endpoint Denial of Service (4)](/techniques/T1499) | | | | | | | | | | | | | | |\n| [Financial Theft](/techniques/T1657) | | | | | | | | | | | | | | |\n| [Firmware Corruption](/techniques/T1495) | | | | | | | | | | | | | | |\n| [Inhibit System Recovery](/techniques/T1490) | | | | | | | | | | | | | | |\n| [Network Denial of Service (2)](/techniques/T1498) | [Direct Network Flood](/techniques/T1498/001) [Reflection Amplification](/techniques/T1498/002) | | | | | | | | | | | | | |\n| [Network Denial of Service (2)](/techniques/T1498) | | | | | | | | | | | | | | |\n| [Resource Hijacking (4)](/techniques/T1496) | [Compute Hijacking](/techniques/T1496/001) [Bandwidth Hijacking](/techniques/T1496/002) [SMS Pumping](/techniques/T1496/003) [Cloud Service Hijacking](/techniques/T1496/004) | | | | | | | | | | | | | |\n| [Resource Hijacking (4)](/techniques/T1496) | | | | | | | | | | | | | | |\n| [Service Stop](/techniques/T1489) | | | | | | | | | | | | | | |\n| [System Shutdown/Reboot](/techniques/T1529) | | | | | | | | | | | | | | |\n\n| [Reconnaissance](/tactics/TA0043) | [Resource Development](/tactics/TA0042) | [Initial Access](/tactics/TA0001) | [Execution](/tactics/TA0002) | [Persistence](/tactics/TA0003) | [Privilege Escalation](/tactics/TA0004) | [Stealth](/tactics/TA0005) | [Defense Impairment](/tactics/TA0112) | [Credential Access](/tactics/TA0006) | [Discovery](/tactics/TA0007) | [Lateral Movement](/tactics/TA0008) | [Collection](/tactics/TA0009) | [Command and Control](/tactics/TA0011) | [Exfiltration](/tactics/TA0010) | [Impact](/tactics/TA0040) |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| 12 techniques | 9 techniques | 11 techniques | 20 techniques | 22 techniques | 13 techniques | 30 techniques | 18 techniques | 17 techniques | 34 techniques | 9 techniques | 17 techniques | 18 techniques | 9 techniques | 15 techniques |\n| [Active Scanning (3)](/techniques/T1595) [Scanning IP Blocks](/techniques/T1595/001) [Vulnerability Scanning](/techniques/T1595/002) [Wordlist Scanning](/techniques/T1595/003) [Gather Victim Host Information (4)](/techniques/T1592) [Hardware](/techniques/T1592/001) [Software](/techniques/T1592/002) [Firmware](/techniques/T1592/003) [Client Configurations](/techniques/T1592/004) [Gather Victim Identity Information (3)](/techniques/T1589) [Credentials](/techniques/T1589/001) [Email Addresses](/techniques/T1589/002) [Employee Names](/techniques/T1589/003) [Gather Victim Network Information (6)](/techniques/T1590) [Domain Properties](/techniques/T1590/001) [DNS](/techniques/T1590/002) [Network Trust Dependencies](/techniques/T1590/003) [Network Topology](/techniques/T1590/004) [IP Addresses](/techniques/T1590/005) [Network Security Appliances](/techniques/T1590/006) [Gather Victim Org Information (4)](/techniques/T1591) [Determine Physical Locations](/techniques/T1591/001) [Business Relationships](/techniques/T1591/002) [Identify Business Tempo](/techniques/T1591/003) [Identify Roles](/techniques/T1591/004) [Phishing for Information (4)](/techniques/T1598) [Spearphishing Service](/techniques/T1598/001) [Spearphishing Attachment](/techniques/T1598/002) [Spearphishing Link](/techniques/T1598/003) [Spearphishing Voice](/techniques/T1598/004) [Query Public AI Services](/techniques/T1682) [Search Closed Sources (2)](/techniques/T1597) [Threat Intel Vendors](/techniques/T1597/001) [Purchase Technical Data](/techniques/T1597/002) [Search Open Technical Databases (5)](/techniques/T1596) [DNS/Passive DNS](/techniques/T1596/001) [WHOIS](/techniques/T1596/002) [Digital Certificates](/techniques/T1596/003) [CDNs](/techniques/T1596/004) [Scan Databases](/techniques/T1596/005) [Search Open Websites/Domains (3)](/techniques/T1593) [Social Media](/techniques/T1593/001) [Search Engines](/techniques/T1593/002) [Code Repositories](/techniques/T1593/003) [Search Threat Vendor Data](/techniques/T1681) [Search Victim-Owned Websites](/techniques/T1594) | [Acquire Access](/techniques/T1650) [Acquire Infrastructure (8)](/techniques/T1583) [Domains](/techniques/T1583/001) [DNS Server](/techniques/T1583/002) [Virtual Private Server](/techniques/T1583/003) [Server](/techniques/T1583/004) [Botnet](/techniques/T1583/005) [Web Services](/techniques/T1583/006) [Serverless](/techniques/T1583/007) [Malvertising](/techniques/T1583/008) [Compromise Accounts (3)](/techniques/T1586) [Social Media Accounts](/techniques/T1586/001) [Email Accounts](/techniques/T1586/002) [Cloud Accounts](/techniques/T1586/003) [Compromise Infrastructure (8)](/techniques/T1584) [Domains](/techniques/T1584/001) [DNS Server](/techniques/T1584/002) [Virtual Private Server](/techniques/T1584/003) [Server](/techniques/T1584/004) [Botnet](/techniques/T1584/005) [Web Services](/techniques/T1584/006) [Serverless](/techniques/T1584/007) [Network Devices](/techniques/T1584/008) [Develop Capabilities (4)](/techniques/T1587) [Malware](/techniques/T1587/001) [Code Signing Certificates](/techniques/T1587/002) [Digital Certificates](/techniques/T1587/003) [Exploits](/techniques/T1587/004) [Establish Accounts (3)](/techniques/T1585) [Social Media Accounts](/techniques/T1585/001) [Email Accounts](/techniques/T1585/002) [Cloud Accounts](/techniques/T1585/003) [Generate Content (2)](/techniques/T1683) [Written Content](/techniques/T1683/001) [Audio-Visual Content](/techniques/T1683/002) [Obtain Capabilities (7)](/techniques/T1588) [Malware](/techniques/T1588/001) [Tool](/techniques/T1588/002) [Code Signing Certificates](/techniques/T1588/003) [Digital Certificates](/techniques/T1588/004) [Exploits](/techniques/T1588/005) [Vulnerabilities](/techniques/T1588/006) [Artificial Intelligence](/techniques/T1588/007) [Stage Capabilities (6)](/techniques/T1608) [Upload Malware](/techniques/T1608/001) [Upload Tool](/techniques/T1608/002) [Install Digital Certificate](/techniques/T1608/003) [Drive-by Target](/techniques/T1608/004) [Link Target](/techniques/T1608/005) [SEO Poisoning](/techniques/T1608/006) | [Content Injection](/techniques/T1659) [Drive-by Compromise](/techniques/T1189) [Exploit Public-Facing Application](/techniques/T1190) [External Remote Services](/techniques/T1133) [Hardware Additions](/techniques/T1200) [Phishing (4)](/techniques/T1566) [Spearphishing Attachment](/techniques/T1566/001) [Spearphishing Link](/techniques/T1566/002) [Spearphishing via Service](/techniques/T1566/003) [Spearphishing Voice](/techniques/T1566/004) [Replication Through Removable Media](/techniques/T1091) [Supply Chain Compromise (3)](/techniques/T1195) [Compromise Software Dependencies and Development Tools](/techniques/T1195/001) [Compromise Software Supply Chain](/techniques/T1195/002) [Compromise Hardware Supply Chain](/techniques/T1195/003) [Trusted Relationship](/techniques/T1199) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) [Wi-Fi Networks](/techniques/T1669) | [BITS Jobs](/techniques/T1197) [Cloud Administration Command](/techniques/T1651) [Command and Scripting Interpreter (13)](/techniques/T1059) [PowerShell](/techniques/T1059/001) [AppleScript](/techniques/T1059/002) [Windows Command Shell](/techniques/T1059/003) [Unix Shell](/techniques/T1059/004) [Visual Basic](/techniques/T1059/005) [Python](/techniques/T1059/006) [JavaScript](/techniques/T1059/007) [Network Device CLI](/techniques/T1059/008) [Cloud API](/techniques/T1059/009) [AutoHotKey & AutoIT](/techniques/T1059/010) [Lua](/techniques/T1059/011) [Hypervisor CLI](/techniques/T1059/012) [Container CLI/API](/techniques/T1059/013) [Container Administration Command](/techniques/T1609) [Deploy Container](/techniques/T1610) [ESXi Administration Command](/techniques/T1675) [Exploitation for Client Execution](/techniques/T1203) [Hijack Execution Flow (12)](/techniques/T1574) [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) [Input Injection](/techniques/T1674) [Inter-Process Communication (3)](/techniques/T1559) [Component Object Model](/techniques/T1559/001) [Dynamic Data Exchange](/techniques/T1559/002) [XPC Services](/techniques/T1559/003) [Native API](/techniques/T1106) [Poisoned Pipeline Execution](/techniques/T1677) [Scheduled Task/Job (5)](/techniques/T1053) [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) [Serverless Execution](/techniques/T1648) [Shared Modules](/techniques/T1129) [Software Deployment Tools](/techniques/T1072) [System Services (3)](/techniques/T1569) [Launchctl](/techniques/T1569/001) [Service Execution](/techniques/T1569/002) [Systemctl](/techniques/T1569/003) [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) [User Execution (5)](/techniques/T1204) [Malicious Link](/techniques/T1204/001) [Malicious File](/techniques/T1204/002) [Malicious Image](/techniques/T1204/003) [Malicious Copy and Paste](/techniques/T1204/004) [Malicious Library](/techniques/T1204/005) [Windows Management Instrumentation](/techniques/T1047) | [Account Manipulation (7)](/techniques/T1098) [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) [BITS Jobs](/techniques/T1197) [Boot or Logon Autostart Execution (14)](/techniques/T1547) [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) [Boot or Logon Initialization Scripts (5)](/techniques/T1037) [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) [Cloud Application Integration](/techniques/T1671) [Compromise Host Software Binary](/techniques/T1554) [Create Account (3)](/techniques/T1136) [Local Account](/techniques/T1136/001) [Domain Account](/techniques/T1136/002) [Cloud Account](/techniques/T1136/003) [Create or Modify System Process (5)](/techniques/T1543) [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) [Event Triggered Execution (18)](/techniques/T1546) [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) [Exclusive Control](/techniques/T1668) [External Remote Services](/techniques/T1133) [Implant Internal Image](/techniques/T1525) [Modify Authentication Process (9)](/techniques/T1556) [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) [Modify Registry](/techniques/T1112) [Office Application Startup (6)](/techniques/T1137) [Office Template Macros](/techniques/T1137/001) [Office Test](/techniques/T1137/002) [Outlook Forms](/techniques/T1137/003) [Outlook Home Page](/techniques/T1137/004) [Outlook Rules](/techniques/T1137/005) [Add-ins](/techniques/T1137/006) [Power Settings](/techniques/T1653) [Pre-OS Boot (5)](/techniques/T1542) [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) [Scheduled Task/Job (5)](/techniques/T1053) [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) [Server Software Component (6)](/techniques/T1505) [SQL Stored Procedures](/techniques/T1505/001) [Transport Agent](/techniques/T1505/002) [Web Shell](/techniques/T1505/003) [IIS Components](/techniques/T1505/004) [Terminal Services DLL](/techniques/T1505/005) [vSphere Installation Bundles](/techniques/T1505/006) [Software Extensions (2)](/techniques/T1176) [Browser Extensions](/techniques/T1176/001) [IDE Extensions](/techniques/T1176/002) [Traffic Signaling (2)](/techniques/T1205) [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | [Abuse Elevation Control Mechanism (6)](/techniques/T1548) [Setuid and Setgid](/techniques/T1548/001) [Bypass User Account Control](/techniques/T1548/002) [Sudo and Sudo Caching](/techniques/T1548/003) [Elevated Execution with Prompt](/techniques/T1548/004) [Temporary Elevated Cloud Access](/techniques/T1548/005) [TCC Manipulation](/techniques/T1548/006) [Access Token Manipulation (5)](/techniques/T1134) [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) [Account Manipulation (7)](/techniques/T1098) [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) [Boot or Logon Autostart Execution (14)](/techniques/T1547) [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) [Boot or Logon Initialization Scripts (5)](/techniques/T1037) [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) [Create or Modify System Process (5)](/techniques/T1543) [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) [Domain or Tenant Policy Modification (2)](/techniques/T1484) [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) [Escape to Host](/techniques/T1611) [Event Triggered Execution (18)](/techniques/T1546) [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) [Exploitation for Privilege Escalation](/techniques/T1068) [Process Injection (12)](/techniques/T1055) [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) [Scheduled Task/Job (5)](/techniques/T1053) [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | [Access Token Manipulation (5)](/techniques/T1134) [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) [BITS Jobs](/techniques/T1197) [Build Image on Host](/techniques/T1612) [Debugger Evasion](/techniques/T1622) [Delay Execution](/techniques/T1678) [Deobfuscate/Decode Files or Information](/techniques/T1140) [Direct Volume Access](/techniques/T1006) [Execution Guardrails (2)](/techniques/T1480) [Environmental Keying](/techniques/T1480/001) [Mutual Exclusion](/techniques/T1480/002) [Exploitation for Stealth](/techniques/T1211) [Hide Artifacts (14)](/techniques/T1564) [Hidden Files and Directories](/techniques/T1564/001) [Hidden Users](/techniques/T1564/002) [Hidden Window](/techniques/T1564/003) [NTFS File Attributes](/techniques/T1564/004) [Hidden File System](/techniques/T1564/005) [Run Virtual Instance](/techniques/T1564/006) [VBA Stomping](/techniques/T1564/007) [Email Hiding Rules](/techniques/T1564/008) [Resource Forking](/techniques/T1564/009) [Process Argument Spoofing](/techniques/T1564/010) [Ignore Process Interrupts](/techniques/T1564/011) [File/Path Exclusions](/techniques/T1564/012) [Bind Mounts](/techniques/T1564/013) [Extended Attributes](/techniques/T1564/014) [Hijack Execution Flow (12)](/techniques/T1574) [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) [Indicator Removal (8)](/techniques/T1070) [Clear Command History](/techniques/T1070/003) [File Deletion](/techniques/T1070/004) [Network Share Connection Removal](/techniques/T1070/005) [Timestomp](/techniques/T1070/006) [Clear Network Connection History and Configurations](/techniques/T1070/007) [Clear Mailbox Data](/techniques/T1070/008) [Clear Persistence](/techniques/T1070/009) [Relocate Malware](/techniques/T1070/010) [Indirect Command Execution](/techniques/T1202) [Masquerading (12)](/techniques/T1036) [Invalid Code Signature](/techniques/T1036/001) [Right-to-Left Override](/techniques/T1036/002) [Rename Legitimate Utilities](/techniques/T1036/003) [Masquerade Task or Service](/techniques/T1036/004) [Match Legitimate Resource Name or Location](/techniques/T1036/005) [Space after Filename](/techniques/T1036/006) [Double File Extension](/techniques/T1036/007) [Masquerade File Type](/techniques/T1036/008) [Break Process Trees](/techniques/T1036/009) [Masquerade Account Name](/techniques/T1036/010) [Overwrite Process Arguments](/techniques/T1036/011) [Browser Fingerprint](/techniques/T1036/012) [Obfuscated Files or Information (18)](/techniques/T1027) [Binary Padding](/techniques/T1027/001) [Software Packing](/techniques/T1027/002) [Steganography](/techniques/T1027/003) [Compile After Delivery](/techniques/T1027/004) [Indicator Removal from Tools](/techniques/T1027/005) [HTML Smuggling](/techniques/T1027/006) [Dynamic API Resolution](/techniques/T1027/007) [Stripped Payloads](/techniques/T1027/008) [Embedded Payloads](/techniques/T1027/009) [Command Obfuscation](/techniques/T1027/010) [Fileless Storage](/techniques/T1027/011) [LNK Icon Smuggling](/techniques/T1027/012) [Encrypted/Encoded File](/techniques/T1027/013) [Polymorphic Code](/techniques/T1027/014) [Compression](/techniques/T1027/015) [Junk Code Insertion](/techniques/T1027/016) [SVG Smuggling](/techniques/T1027/017) [Invisible Unicode](/techniques/T1027/018) [Pre-OS Boot (5)](/techniques/T1542) [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) [Process Injection (12)](/techniques/T1055) [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) [Reflective Code Loading](/techniques/T1620) [Rootkit](/techniques/T1014) [Selective Exclusion](/techniques/T1679) [Social Engineering (2)](/techniques/T1684) [Impersonation](/techniques/T1684/001) [Email Spoofing](/techniques/T1684/002) [System Binary Proxy Execution (14)](/techniques/T1218) [Compiled HTML File](/techniques/T1218/001) [Control Panel](/techniques/T1218/002) [CMSTP](/techniques/T1218/003) [InstallUtil](/techniques/T1218/004) [Mshta](/techniques/T1218/005) [Msiexec](/techniques/T1218/007) [Odbcconf](/techniques/T1218/008) [Regsvcs/Regasm](/techniques/T1218/009) [Regsvr32](/techniques/T1218/010) [Rundll32](/techniques/T1218/011) [Verclsid](/techniques/T1218/012) [Mavinject](/techniques/T1218/013) [MMC](/techniques/T1218/014) [Electron Applications](/techniques/T1218/015) [System Script Proxy Execution (2)](/techniques/T1216) [PubPrn](/techniques/T1216/001) [SyncAppvPublishingServer](/techniques/T1216/002) [Template Injection](/techniques/T1221) [Traffic Signaling (2)](/techniques/T1205) [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) [Unused/Unsupported Cloud Regions](/techniques/T1535) [Valid Accounts (4)](/techniques/T1078) [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) [Virtualization/Sandbox Evasion (3)](/techniques/T1497) [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) [XSL Script Processing](/techniques/T1220) | [Disable or Modify System Firewall (3)](/techniques/T1686) [Cloud Firewall](/techniques/T1686/001) [Network Device Firewall](/techniques/T1686/002) [Windows Host Firewall](/techniques/T1686/003) [Disable or Modify Tools (6)](/techniques/T1685) [Disable or Modify Windows Event Log](/techniques/T1685/001) [Disable or Modify Cloud Log](/techniques/T1685/002) [Modify or Spoof Tool UI](/techniques/T1685/003) [Disable or Modify Linux Audit System Log](/techniques/T1685/004) [Clear Windows Event Logs](/techniques/T1685/005) [Clear Linux or Mac System Logs](/techniques/T1685/006) [Domain or Tenant Policy Modification (2)](/techniques/T1484) [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) [Downgrade Attack](/techniques/T1689) [Exploitation for Defense Impairment](/techniques/T1687) [File and Directory Permissions Modification (2)](/techniques/T1222) [Windows Permissions](/techniques/T1222/001) [Linux and Mac Permissions](/techniques/T1222/002) [Modify Authentication Process (9)](/techniques/T1556) [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) [Modify Cloud Compute Infrastructure (5)](/techniques/T1578) [Create Snapshot](/techniques/T1578/001) [Create Cloud Instance](/techniques/T1578/002) [Delete Cloud Instance](/techniques/T1578/003) [Revert Cloud Instance](/techniques/T1578/004) [Modify Cloud Compute Configurations](/techniques/T1578/005) [Modify Cloud Resource Hierarchy](/techniques/T1666) [Modify Registry](/techniques/T1112) [Modify System Image (2)](/techniques/T1601) [Patch System Image](/techniques/T1601/001) [Downgrade System Image](/techniques/T1601/002) [Network Boundary Bridging (1)](/techniques/T1599) [Network Address Translation Traversal](/techniques/T1599/001) [Plist File Modification](/techniques/T1647) [Prevent Command History Logging](/techniques/T1690) [Rogue Domain Controller](/techniques/T1207) [Safe Mode Boot](/techniques/T1688) [Subvert Trust Controls (6)](/techniques/T1553) [Gatekeeper Bypass](/techniques/T1553/001) [Code Signing](/techniques/T1553/002) [SIP and Trust Provider Hijacking](/techniques/T1553/003) [Install Root Certificate](/techniques/T1553/004) [Mark-of-the-Web Bypass](/techniques/T1553/005) [Code Signing Policy Modification](/techniques/T1553/006) [Weaken Encryption (2)](/techniques/T1600) [Reduce Key Space](/techniques/T1600/001) [Disable Crypto Hardware](/techniques/T1600/002) | [Adversary-in-the-Middle (4)](/techniques/T1557) [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) [Brute Force (4)](/techniques/T1110) [Password Guessing](/techniques/T1110/001) [Password Cracking](/techniques/T1110/002) [Password Spraying](/techniques/T1110/003) [Credential Stuffing](/techniques/T1110/004) [Credentials from Password Stores (6)](/techniques/T1555) [Keychain](/techniques/T1555/001) [Securityd Memory](/techniques/T1555/002) [Credentials from Web Browsers](/techniques/T1555/003) [Windows Credential Manager](/techniques/T1555/004) [Password Managers](/techniques/T1555/005) [Cloud Secrets Management Stores](/techniques/T1555/006) [Exploitation for Credential Access](/techniques/T1212) [Forced Authentication](/techniques/T1187) [Forge Web Credentials (2)](/techniques/T1606) [Web Cookies](/techniques/T1606/001) [SAML Tokens](/techniques/T1606/002) [Input Capture (4)](/techniques/T1056) [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) [Modify Authentication Process (9)](/techniques/T1556) [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) [Multi-Factor Authentication Interception](/techniques/T1111) [Multi-Factor Authentication Request Generation](/techniques/T1621) [Network Sniffing](/techniques/T1040) [OS Credential Dumping (8)](/techniques/T1003) [LSASS Memory](/techniques/T1003/001) [Security Account Manager](/techniques/T1003/002) [NTDS](/techniques/T1003/003) [LSA Secrets](/techniques/T1003/004) [Cached Domain Credentials](/techniques/T1003/005) [DCSync](/techniques/T1003/006) [Proc Filesystem](/techniques/T1003/007) [/etc/passwd and /etc/shadow](/techniques/T1003/008) [Steal Application Access Token](/techniques/T1528) [Steal or Forge Authentication Certificates](/techniques/T1649) [Steal or Forge Kerberos Tickets (5)](/techniques/T1558) [Golden Ticket](/techniques/T1558/001) [Silver Ticket](/techniques/T1558/002) [Kerberoasting](/techniques/T1558/003) [AS-REP Roasting](/techniques/T1558/004) [Ccache Files](/techniques/T1558/005) [Steal Web Session Cookie](/techniques/T1539) [Unsecured Credentials (8)](/techniques/T1552) [Credentials In Files](/techniques/T1552/001) [Credentials in Registry](/techniques/T1552/002) [Shell History](/techniques/T1552/003) [Private Keys](/techniques/T1552/004) [Cloud Instance Metadata API](/techniques/T1552/005) [Group Policy Preferences](/techniques/T1552/006) [Container API](/techniques/T1552/007) [Chat Messages](/techniques/T1552/008) | [Account Discovery (4)](/techniques/T1087) [Local Account](/techniques/T1087/001) [Domain Account](/techniques/T1087/002) [Email Account](/techniques/T1087/003) [Cloud Account](/techniques/T1087/004) [Application Window Discovery](/techniques/T1010) [Browser Information Discovery](/techniques/T1217) [Cloud Infrastructure Discovery](/techniques/T1580) [Cloud Service Dashboard](/techniques/T1538) [Cloud Service Discovery](/techniques/T1526) [Cloud Storage Object Discovery](/techniques/T1619) [Container and Resource Discovery](/techniques/T1613) [Debugger Evasion](/techniques/T1622) [Device Driver Discovery](/techniques/T1652) [Domain Trust Discovery](/techniques/T1482) [File and Directory Discovery](/techniques/T1083) [Group Policy Discovery](/techniques/T1615) [Local Storage Discovery](/techniques/T1680) [Log Enumeration](/techniques/T1654) [Network Service Discovery](/techniques/T1046) [Network Share Discovery](/techniques/T1135) [Network Sniffing](/techniques/T1040) [Password Policy Discovery](/techniques/T1201) [Peripheral Device Discovery](/techniques/T1120) [Permission Groups Discovery (3)](/techniques/T1069) [Local Groups](/techniques/T1069/001) [Domain Groups](/techniques/T1069/002) [Cloud Groups](/techniques/T1069/003) [Process Discovery](/techniques/T1057) [Query Registry](/techniques/T1012) [Remote System Discovery](/techniques/T1018) [Software Discovery (2)](/techniques/T1518) [Security Software Discovery](/techniques/T1518/001) [Backup Software Discovery](/techniques/T1518/002) [System Information Discovery](/techniques/T1082) [System Location Discovery (1)](/techniques/T1614) [System Language Discovery](/techniques/T1614/001) [System Network Configuration Discovery (2)](/techniques/T1016) [Internet Connection Discovery](/techniques/T1016/001) [Wi-Fi Discovery](/techniques/T1016/002) [System Network Connections Discovery](/techniques/T1049) [System Owner/User Discovery](/techniques/T1033) [System Service Discovery](/techniques/T1007) [System Time Discovery](/techniques/T1124) [Virtual Machine Discovery](/techniques/T1673) [Virtualization/Sandbox Evasion (3)](/techniques/T1497) [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) | [Exploitation of Remote Services](/techniques/T1210) [Internal Spearphishing](/techniques/T1534) [Lateral Tool Transfer](/techniques/T1570) [Remote Service Session Hijacking (2)](/techniques/T1563) [SSH Hijacking](/techniques/T1563/001) [RDP Hijacking](/techniques/T1563/002) [Remote Services (8)](/techniques/T1021) [Remote Desktop Protocol](/techniques/T1021/001) [SMB/Windows Admin Shares](/techniques/T1021/002) [Distributed Component Object Model](/techniques/T1021/003) [SSH](/techniques/T1021/004) [VNC](/techniques/T1021/005) [Windows Remote Management](/techniques/T1021/006) [Cloud Services](/techniques/T1021/007) [Direct Cloud VM Connections](/techniques/T1021/008) [Replication Through Removable Media](/techniques/T1091) [Software Deployment Tools](/techniques/T1072) [Taint Shared Content](/techniques/T1080) [Use Alternate Authentication Material (4)](/techniques/T1550) [Application Access Token](/techniques/T1550/001) [Pass the Hash](/techniques/T1550/002) [Pass the Ticket](/techniques/T1550/003) [Web Session Cookie](/techniques/T1550/004) | [Adversary-in-the-Middle (4)](/techniques/T1557) [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) [Archive Collected Data (3)](/techniques/T1560) [Archive via Utility](/techniques/T1560/001) [Archive via Library](/techniques/T1560/002) [Archive via Custom Method](/techniques/T1560/003) [Audio Capture](/techniques/T1123) [Automated Collection](/techniques/T1119) [Browser Session Hijacking](/techniques/T1185) [Clipboard Data](/techniques/T1115) [Data from Cloud Storage](/techniques/T1530) [Data from Configuration Repository (2)](/techniques/T1602) [SNMP (MIB Dump)](/techniques/T1602/001) [Network Device Configuration Dump](/techniques/T1602/002) [Data from Information Repositories (6)](/techniques/T1213) [Confluence](/techniques/T1213/001) [Sharepoint](/techniques/T1213/002) [Code Repositories](/techniques/T1213/003) [Customer Relationship Management Software](/techniques/T1213/004) [Messaging Applications](/techniques/T1213/005) [Databases](/techniques/T1213/006) [Data from Local System](/techniques/T1005) [Data from Network Shared Drive](/techniques/T1039) [Data from Removable Media](/techniques/T1025) [Data Staged (2)](/techniques/T1074) [Local Data Staging](/techniques/T1074/001) [Remote Data Staging](/techniques/T1074/002) [Email Collection (3)](/techniques/T1114) [Local Email Collection](/techniques/T1114/001) [Remote Email Collection](/techniques/T1114/002) [Email Forwarding Rule](/techniques/T1114/003) [Input Capture (4)](/techniques/T1056) [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) [Screen Capture](/techniques/T1113) [Video Capture](/techniques/T1125) | [Application Layer Protocol (5)](/techniques/T1071) [Web Protocols](/techniques/T1071/001) [File Transfer Protocols](/techniques/T1071/002) [Mail Protocols](/techniques/T1071/003) [DNS](/techniques/T1071/004) [Publish/Subscribe Protocols](/techniques/T1071/005) [Communication Through Removable Media](/techniques/T1092) [Content Injection](/techniques/T1659) [Data Encoding (2)](/techniques/T1132) [Standard Encoding](/techniques/T1132/001) [Non-Standard Encoding](/techniques/T1132/002) [Data Obfuscation (3)](/techniques/T1001) [Junk Data](/techniques/T1001/001) [Steganography](/techniques/T1001/002) [Protocol or Service Impersonation](/techniques/T1001/003) [Dynamic Resolution (3)](/techniques/T1568) [Fast Flux DNS](/techniques/T1568/001) [Domain Generation Algorithms](/techniques/T1568/002) [DNS Calculation](/techniques/T1568/003) [Encrypted Channel (2)](/techniques/T1573) [Symmetric Cryptography](/techniques/T1573/001) [Asymmetric Cryptography](/techniques/T1573/002) [Fallback Channels](/techniques/T1008) [Hide Infrastructure](/techniques/T1665) [Ingress Tool Transfer](/techniques/T1105) [Multi-Stage Channels](/techniques/T1104) [Non-Application Layer Protocol](/techniques/T1095) [Non-Standard Port](/techniques/T1571) [Protocol Tunneling](/techniques/T1572) [Proxy (4)](/techniques/T1090) [Internal Proxy](/techniques/T1090/001) [External Proxy](/techniques/T1090/002) [Multi-hop Proxy](/techniques/T1090/003) [Domain Fronting](/techniques/T1090/004) [Remote Access Tools (3)](/techniques/T1219) [IDE Tunneling](/techniques/T1219/001) [Remote Desktop Software](/techniques/T1219/002) [Remote Access Hardware](/techniques/T1219/003) [Traffic Signaling (2)](/techniques/T1205) [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) [Web Service (3)](/techniques/T1102) [Dead Drop Resolver](/techniques/T1102/001) [Bidirectional Communication](/techniques/T1102/002) [One-Way Communication](/techniques/T1102/003) | [Automated Exfiltration (1)](/techniques/T1020) [Traffic Duplication](/techniques/T1020/001) [Data Transfer Size Limits](/techniques/T1030) [Exfiltration Over Alternative Protocol (3)](/techniques/T1048) [Exfiltration Over Symmetric Encrypted Non-C2 Protocol](/techniques/T1048/001) [Exfiltration Over Asymmetric Encrypted Non-C2 Protocol](/techniques/T1048/002) [Exfiltration Over Unencrypted Non-C2 Protocol](/techniques/T1048/003) [Exfiltration Over C2 Channel](/techniques/T1041) [Exfiltration Over Other Network Medium (1)](/techniques/T1011) [Exfiltration Over Bluetooth](/techniques/T1011/001) [Exfiltration Over Physical Medium (1)](/techniques/T1052) [Exfiltration over USB](/techniques/T1052/001) [Exfiltration Over Web Service (4)](/techniques/T1567) [Exfiltration to Code Repository](/techniques/T1567/001) [Exfiltration to Cloud Storage](/techniques/T1567/002) [Exfiltration to Text Storage Sites](/techniques/T1567/003) [Exfiltration Over Webhook](/techniques/T1567/004) [Scheduled Transfer](/techniques/T1029) [Transfer Data to Cloud Account](/techniques/T1537) | [Account Access Removal](/techniques/T1531) [Data Destruction (1)](/techniques/T1485) [Lifecycle-Triggered Deletion](/techniques/T1485/001) [Data Encrypted for Impact](/techniques/T1486) [Data Manipulation (3)](/techniques/T1565) [Stored Data Manipulation](/techniques/T1565/001) [Transmitted Data Manipulation](/techniques/T1565/002) [Runtime Data Manipulation](/techniques/T1565/003) [Defacement (2)](/techniques/T1491) [Internal Defacement](/techniques/T1491/001) [External Defacement](/techniques/T1491/002) [Disk Wipe (2)](/techniques/T1561) [Disk Content Wipe](/techniques/T1561/001) [Disk Structure Wipe](/techniques/T1561/002) [Email Bombing](/techniques/T1667) [Endpoint Denial of Service (4)](/techniques/T1499) [OS Exhaustion Flood](/techniques/T1499/001) [Service Exhaustion Flood](/techniques/T1499/002) [Application Exhaustion Flood](/techniques/T1499/003) [Application or System Exploitation](/techniques/T1499/004) [Financial Theft](/techniques/T1657) [Firmware Corruption](/techniques/T1495) [Inhibit System Recovery](/techniques/T1490) [Network Denial of Service (2)](/techniques/T1498) [Direct Network Flood](/techniques/T1498/001) [Reflection Amplification](/techniques/T1498/002) [Resource Hijacking (4)](/techniques/T1496) [Compute Hijacking](/techniques/T1496/001) [Bandwidth Hijacking](/techniques/T1496/002) [SMS Pumping](/techniques/T1496/003) [Cloud Service Hijacking](/techniques/T1496/004) [Service Stop](/techniques/T1489) [System Shutdown/Reboot](/techniques/T1529) |\n| [Active Scanning (3)](/techniques/T1595) | | | | | | | | | | | | | | |\n| [Scanning IP Blocks](/techniques/T1595/001) [Vulnerability Scanning](/techniques/T1595/002) [Wordlist Scanning](/techniques/T1595/003) | | | | | | | | | | | | | | |\n| [Gather Victim Host Information (4)](/techniques/T1592) | | | | | | | | | | | | | | |\n| [Hardware](/techniques/T1592/001) [Software](/techniques/T1592/002) [Firmware](/techniques/T1592/003) [Client Configurations](/techniques/T1592/004) | | | | | | | | | | | | | | |\n| [Gather Victim Identity Information (3)](/techniques/T1589) | | | | | | | | | | | | | | |\n| [Credentials](/techniques/T1589/001) [Email Addresses](/techniques/T1589/002) [Employee Names](/techniques/T1589/003) | | | | | | | | | | | | | | |\n| [Gather Victim Network Information (6)](/techniques/T1590) | | | | | | | | | | | | | | |\n| [Domain Properties](/techniques/T1590/001) [DNS](/techniques/T1590/002) [Network Trust Dependencies](/techniques/T1590/003) [Network Topology](/techniques/T1590/004) [IP Addresses](/techniques/T1590/005) [Network Security Appliances](/techniques/T1590/006) | | | | | | | | | | | | | | |\n| [Gather Victim Org Information (4)](/techniques/T1591) | | | | | | | | | | | | | | |\n| [Determine Physical Locations](/techniques/T1591/001) [Business Relationships](/techniques/T1591/002) [Identify Business Tempo](/techniques/T1591/003) [Identify Roles](/techniques/T1591/004) | | | | | | | | | | | | | | |\n| [Phishing for Information (4)](/techniques/T1598) | | | | | | | | | | | | | | |\n| [Spearphishing Service](/techniques/T1598/001) [Spearphishing Attachment](/techniques/T1598/002) [Spearphishing Link](/techniques/T1598/003) [Spearphishing Voice](/techniques/T1598/004) | | | | | | | | | | | | | | |\n| [Search Closed Sources (2)](/techniques/T1597) | | | | | | | | | | | | | | |\n| [Threat Intel Vendors](/techniques/T1597/001) [Purchase Technical Data](/techniques/T1597/002) | | | | | | | | | | | | | | |\n| [Search Open Technical Databases (5)](/techniques/T1596) | | | | | | | | | | | | | | |\n| [DNS/Passive DNS](/techniques/T1596/001) [WHOIS](/techniques/T1596/002) [Digital Certificates](/techniques/T1596/003) [CDNs](/techniques/T1596/004) [Scan Databases](/techniques/T1596/005) | | | | | | | | | | | | | | |\n| [Search Open Websites/Domains (3)](/techniques/T1593) | | | | | | | | | | | | | | |\n| [Social Media](/techniques/T1593/001) [Search Engines](/techniques/T1593/002) [Code Repositories](/techniques/T1593/003) | | | | | | | | | | | | | | |\n| [Acquire Infrastructure (8)](/techniques/T1583) | | | | | | | | | | | | | | |\n| [Domains](/techniques/T1583/001) [DNS Server](/techniques/T1583/002) [Virtual Private Server](/techniques/T1583/003) [Server](/techniques/T1583/004) [Botnet](/techniques/T1583/005) [Web Services](/techniques/T1583/006) [Serverless](/techniques/T1583/007) [Malvertising](/techniques/T1583/008) | | | | | | | | | | | | | | |\n| [Compromise Accounts (3)](/techniques/T1586) | | | | | | | | | | | | | | |\n| [Social Media Accounts](/techniques/T1586/001) [Email Accounts](/techniques/T1586/002) [Cloud Accounts](/techniques/T1586/003) | | | | | | | | | | | | | | |\n| [Compromise Infrastructure (8)](/techniques/T1584) | | | | | | | | | | | | | | |\n| [Domains](/techniques/T1584/001) [DNS Server](/techniques/T1584/002) [Virtual Private Server](/techniques/T1584/003) [Server](/techniques/T1584/004) [Botnet](/techniques/T1584/005) [Web Services](/techniques/T1584/006) [Serverless](/techniques/T1584/007) [Network Devices](/techniques/T1584/008) | | | | | | | | | | | | | | |\n| [Develop Capabilities (4)](/techniques/T1587) | | | | | | | | | | | | | | |\n| [Malware](/techniques/T1587/001) [Code Signing Certificates](/techniques/T1587/002) [Digital Certificates](/techniques/T1587/003) [Exploits](/techniques/T1587/004) | | | | | | | | | | | | | | |\n| [Establish Accounts (3)](/techniques/T1585) | | | | | | | | | | | | | | |\n| [Social Media Accounts](/techniques/T1585/001) [Email Accounts](/techniques/T1585/002) [Cloud Accounts](/techniques/T1585/003) | | | | | | | | | | | | | | |\n| [Generate Content (2)](/techniques/T1683) | | | | | | | | | | | | | | |\n| [Written Content](/techniques/T1683/001) [Audio-Visual Content](/techniques/T1683/002) | | | | | | | | | | | | | | |\n| [Obtain Capabilities (7)](/techniques/T1588) | | | | | | | | | | | | | | |\n| [Malware](/techniques/T1588/001) [Tool](/techniques/T1588/002) [Code Signing Certificates](/techniques/T1588/003) [Digital Certificates](/techniques/T1588/004) [Exploits](/techniques/T1588/005) [Vulnerabilities](/techniques/T1588/006) [Artificial Intelligence](/techniques/T1588/007) | | | | | | | | | | | | | | |\n| [Stage Capabilities (6)](/techniques/T1608) | | | | | | | | | | | | | | |\n| [Upload Malware](/techniques/T1608/001) [Upload Tool](/techniques/T1608/002) [Install Digital Certificate](/techniques/T1608/003) [Drive-by Target](/techniques/T1608/004) [Link Target](/techniques/T1608/005) [SEO Poisoning](/techniques/T1608/006) | | | | | | | | | | | | | | |\n| [Phishing (4)](/techniques/T1566) | | | | | | | | | | | | | | |\n| [Spearphishing Attachment](/techniques/T1566/001) [Spearphishing Link](/techniques/T1566/002) [Spearphishing via Service](/techniques/T1566/003) [Spearphishing Voice](/techniques/T1566/004) | | | | | | | | | | | | | | |\n| [Supply Chain Compromise (3)](/techniques/T1195) | | | | | | | | | | | | | | |\n| [Compromise Software Dependencies and Development Tools](/techniques/T1195/001) [Compromise Software Supply Chain](/techniques/T1195/002) [Compromise Hardware Supply Chain](/techniques/T1195/003) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | | |\n| [Command and Scripting Interpreter (13)](/techniques/T1059) | | | | | | | | | | | | | | |\n| [PowerShell](/techniques/T1059/001) [AppleScript](/techniques/T1059/002) [Windows Command Shell](/techniques/T1059/003) [Unix Shell](/techniques/T1059/004) [Visual Basic](/techniques/T1059/005) [Python](/techniques/T1059/006) [JavaScript](/techniques/T1059/007) [Network Device CLI](/techniques/T1059/008) [Cloud API](/techniques/T1059/009) [AutoHotKey & AutoIT](/techniques/T1059/010) [Lua](/techniques/T1059/011) [Hypervisor CLI](/techniques/T1059/012) [Container CLI/API](/techniques/T1059/013) | | | | | | | | | | | | | | |\n| [Hijack Execution Flow (12)](/techniques/T1574) | | | | | | | | | | | | | | |\n| [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) | | | | | | | | | | | | | | |\n| [Inter-Process Communication (3)](/techniques/T1559) | | | | | | | | | | | | | | |\n| [Component Object Model](/techniques/T1559/001) [Dynamic Data Exchange](/techniques/T1559/002) [XPC Services](/techniques/T1559/003) | | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | | | | | | | | | | | | | | |\n| [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) | | | | | | | | | | | | | | |\n| [System Services (3)](/techniques/T1569) | | | | | | | | | | | | | | |\n| [Launchctl](/techniques/T1569/001) [Service Execution](/techniques/T1569/002) [Systemctl](/techniques/T1569/003) | | | | | | | | | | | | | | |\n| [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) | | | | | | | | | | | | | | |\n| [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) | | | | | | | | | | | | | | |\n| [User Execution (5)](/techniques/T1204) | | | | | | | | | | | | | | |\n| [Malicious Link](/techniques/T1204/001) [Malicious File](/techniques/T1204/002) [Malicious Image](/techniques/T1204/003) [Malicious Copy and Paste](/techniques/T1204/004) [Malicious Library](/techniques/T1204/005) | | | | | | | | | | | | | | |\n| [Account Manipulation (7)](/techniques/T1098) | | | | | | | | | | | | | | |\n| [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) | | | | | | | | | | | | | | |\n| [Boot or Logon Autostart Execution (14)](/techniques/T1547) | | | | | | | | | | | | | | |\n| [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) | | | | | | | | | | | | | | |\n| [Boot or Logon Initialization Scripts (5)](/techniques/T1037) | | | | | | | | | | | | | | |\n| [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) | | | | | | | | | | | | | | |\n| [Create Account (3)](/techniques/T1136) | | | | | | | | | | | | | | |\n| [Local Account](/techniques/T1136/001) [Domain Account](/techniques/T1136/002) [Cloud Account](/techniques/T1136/003) | | | | | | | | | | | | | | |\n| [Create or Modify System Process (5)](/techniques/T1543) | | | | | | | | | | | | | | |\n| [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) | | | | | | | | | | | | | | |\n| [Event Triggered Execution (18)](/techniques/T1546) | | | | | | | | | | | | | | |\n| [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) | | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | | | | | | | | | | | | | | |\n| [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) | | | | | | | | | | | | | | |\n| [Office Application Startup (6)](/techniques/T1137) | | | | | | | | | | | | | | |\n| [Office Template Macros](/techniques/T1137/001) [Office Test](/techniques/T1137/002) [Outlook Forms](/techniques/T1137/003) [Outlook Home Page](/techniques/T1137/004) [Outlook Rules](/techniques/T1137/005) [Add-ins](/techniques/T1137/006) | | | | | | | | | | | | | | |\n| [Pre-OS Boot (5)](/techniques/T1542) | | | | | | | | | | | | | | |\n| [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) | | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | | | | | | | | | | | | | | |\n| [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) | | | | | | | | | | | | | | |\n| [Server Software Component (6)](/techniques/T1505) | | | | | | | | | | | | | | |\n| [SQL Stored Procedures](/techniques/T1505/001) [Transport Agent](/techniques/T1505/002) [Web Shell](/techniques/T1505/003) [IIS Components](/techniques/T1505/004) [Terminal Services DLL](/techniques/T1505/005) [vSphere Installation Bundles](/techniques/T1505/006) | | | | | | | | | | | | | | |\n| [Software Extensions (2)](/techniques/T1176) | | | | | | | | | | | | | | |\n| [Browser Extensions](/techniques/T1176/001) [IDE Extensions](/techniques/T1176/002) | | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | | | | | | | | | | | | | | |\n| [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | | |\n| [Abuse Elevation Control Mechanism (6)](/techniques/T1548) | | | | | | | | | | | | | | |\n| [Setuid and Setgid](/techniques/T1548/001) [Bypass User Account Control](/techniques/T1548/002) [Sudo and Sudo Caching](/techniques/T1548/003) [Elevated Execution with Prompt](/techniques/T1548/004) [Temporary Elevated Cloud Access](/techniques/T1548/005) [TCC Manipulation](/techniques/T1548/006) | | | | | | | | | | | | | | |\n| [Access Token Manipulation (5)](/techniques/T1134) | | | | | | | | | | | | | | |\n| [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) | | | | | | | | | | | | | | |\n| [Account Manipulation (7)](/techniques/T1098) | | | | | | | | | | | | | | |\n| [Additional Cloud Credentials](/techniques/T1098/001) [Additional Email Delegate Permissions](/techniques/T1098/002) [Additional Cloud Roles](/techniques/T1098/003) [SSH Authorized Keys](/techniques/T1098/004) [Device Registration](/techniques/T1098/005) [Additional Container Cluster Roles](/techniques/T1098/006) [Additional Local or Domain Groups](/techniques/T1098/007) | | | | | | | | | | | | | | |\n| [Boot or Logon Autostart Execution (14)](/techniques/T1547) | | | | | | | | | | | | | | |\n| [Registry Run Keys / Startup Folder](/techniques/T1547/001) [Authentication Package](/techniques/T1547/002) [Time Providers](/techniques/T1547/003) [Winlogon Helper DLL](/techniques/T1547/004) [Security Support Provider](/techniques/T1547/005) [Kernel Modules and Extensions](/techniques/T1547/006) [Re-opened Applications](/techniques/T1547/007) [LSASS Driver](/techniques/T1547/008) [Shortcut Modification](/techniques/T1547/009) [Port Monitors](/techniques/T1547/010) [Print Processors](/techniques/T1547/012) [XDG Autostart Entries](/techniques/T1547/013) [Active Setup](/techniques/T1547/014) [Login Items](/techniques/T1547/015) | | | | | | | | | | | | | | |\n| [Boot or Logon Initialization Scripts (5)](/techniques/T1037) | | | | | | | | | | | | | | |\n| [Logon Script (Windows)](/techniques/T1037/001) [Login Hook](/techniques/T1037/002) [Network Logon Script](/techniques/T1037/003) [RC Scripts](/techniques/T1037/004) [Startup Items](/techniques/T1037/005) | | | | | | | | | | | | | | |\n| [Create or Modify System Process (5)](/techniques/T1543) | | | | | | | | | | | | | | |\n| [Launch Agent](/techniques/T1543/001) [Systemd Service](/techniques/T1543/002) [Windows Service](/techniques/T1543/003) [Launch Daemon](/techniques/T1543/004) [Container Service](/techniques/T1543/005) | | | | | | | | | | | | | | |\n| [Domain or Tenant Policy Modification (2)](/techniques/T1484) | | | | | | | | | | | | | | |\n| [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) | | | | | | | | | | | | | | |\n| [Event Triggered Execution (18)](/techniques/T1546) | | | | | | | | | | | | | | |\n| [Change Default File Association](/techniques/T1546/001) [Screensaver](/techniques/T1546/002) [Windows Management Instrumentation Event Subscription](/techniques/T1546/003) [Unix Shell Configuration Modification](/techniques/T1546/004) [Trap](/techniques/T1546/005) [LC_LOAD_DYLIB Addition](/techniques/T1546/006) [Netsh Helper DLL](/techniques/T1546/007) [Accessibility Features](/techniques/T1546/008) [AppCert DLLs](/techniques/T1546/009) [AppInit DLLs](/techniques/T1546/010) [Application Shimming](/techniques/T1546/011) [Image File Execution Options Injection](/techniques/T1546/012) [PowerShell Profile](/techniques/T1546/013) [Emond](/techniques/T1546/014) [Component Object Model Hijacking](/techniques/T1546/015) [Installer Packages](/techniques/T1546/016) [Udev Rules](/techniques/T1546/017) [Python Startup Hooks](/techniques/T1546/018) | | | | | | | | | | | | | | |\n| [Process Injection (12)](/techniques/T1055) | | | | | | | | | | | | | | |\n| [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) | | | | | | | | | | | | | | |\n| [Scheduled Task/Job (5)](/techniques/T1053) | | | | | | | | | | | | | | |\n| [At](/techniques/T1053/002) [Cron](/techniques/T1053/003) [Scheduled Task](/techniques/T1053/005) [Systemd Timers](/techniques/T1053/006) [Container Orchestration Job](/techniques/T1053/007) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | | |\n| [Access Token Manipulation (5)](/techniques/T1134) | | | | | | | | | | | | | | |\n| [Token Impersonation/Theft](/techniques/T1134/001) [Create Process with Token](/techniques/T1134/002) [Make and Impersonate Token](/techniques/T1134/003) [Parent PID Spoofing](/techniques/T1134/004) [SID-History Injection](/techniques/T1134/005) | | | | | | | | | | | | | | |\n| [Execution Guardrails (2)](/techniques/T1480) | | | | | | | | | | | | | | |\n| [Environmental Keying](/techniques/T1480/001) [Mutual Exclusion](/techniques/T1480/002) | | | | | | | | | | | | | | |\n| [Hide Artifacts (14)](/techniques/T1564) | | | | | | | | | | | | | | |\n| [Hidden Files and Directories](/techniques/T1564/001) [Hidden Users](/techniques/T1564/002) [Hidden Window](/techniques/T1564/003) [NTFS File Attributes](/techniques/T1564/004) [Hidden File System](/techniques/T1564/005) [Run Virtual Instance](/techniques/T1564/006) [VBA Stomping](/techniques/T1564/007) [Email Hiding Rules](/techniques/T1564/008) [Resource Forking](/techniques/T1564/009) [Process Argument Spoofing](/techniques/T1564/010) [Ignore Process Interrupts](/techniques/T1564/011) [File/Path Exclusions](/techniques/T1564/012) [Bind Mounts](/techniques/T1564/013) [Extended Attributes](/techniques/T1564/014) | | | | | | | | | | | | | | |\n| [Hijack Execution Flow (12)](/techniques/T1574) | | | | | | | | | | | | | | |\n| [DLL](/techniques/T1574/001) [Dylib Hijacking](/techniques/T1574/004) [Executable Installer File Permissions Weakness](/techniques/T1574/005) [Dynamic Linker Hijacking](/techniques/T1574/006) [Path Interception by PATH Environment Variable](/techniques/T1574/007) [Path Interception by Search Order Hijacking](/techniques/T1574/008) [Path Interception by Unquoted Path](/techniques/T1574/009) [Services File Permissions Weakness](/techniques/T1574/010) [Services Registry Permissions Weakness](/techniques/T1574/011) [COR_PROFILER](/techniques/T1574/012) [KernelCallbackTable](/techniques/T1574/013) [AppDomainManager](/techniques/T1574/014) | | | | | | | | | | | | | | |\n| [Indicator Removal (8)](/techniques/T1070) | | | | | | | | | | | | | | |\n| [Clear Command History](/techniques/T1070/003) [File Deletion](/techniques/T1070/004) [Network Share Connection Removal](/techniques/T1070/005) [Timestomp](/techniques/T1070/006) [Clear Network Connection History and Configurations](/techniques/T1070/007) [Clear Mailbox Data](/techniques/T1070/008) [Clear Persistence](/techniques/T1070/009) [Relocate Malware](/techniques/T1070/010) | | | | | | | | | | | | | | |\n| [Masquerading (12)](/techniques/T1036) | | | | | | | | | | | | | | |\n| [Invalid Code Signature](/techniques/T1036/001) [Right-to-Left Override](/techniques/T1036/002) [Rename Legitimate Utilities](/techniques/T1036/003) [Masquerade Task or Service](/techniques/T1036/004) [Match Legitimate Resource Name or Location](/techniques/T1036/005) [Space after Filename](/techniques/T1036/006) [Double File Extension](/techniques/T1036/007) [Masquerade File Type](/techniques/T1036/008) [Break Process Trees](/techniques/T1036/009) [Masquerade Account Name](/techniques/T1036/010) [Overwrite Process Arguments](/techniques/T1036/011) [Browser Fingerprint](/techniques/T1036/012) | | | | | | | | | | | | | | |\n| [Obfuscated Files or Information (18)](/techniques/T1027) | | | | | | | | | | | | | | |\n| [Binary Padding](/techniques/T1027/001) [Software Packing](/techniques/T1027/002) [Steganography](/techniques/T1027/003) [Compile After Delivery](/techniques/T1027/004) [Indicator Removal from Tools](/techniques/T1027/005) [HTML Smuggling](/techniques/T1027/006) [Dynamic API Resolution](/techniques/T1027/007) [Stripped Payloads](/techniques/T1027/008) [Embedded Payloads](/techniques/T1027/009) [Command Obfuscation](/techniques/T1027/010) [Fileless Storage](/techniques/T1027/011) [LNK Icon Smuggling](/techniques/T1027/012) [Encrypted/Encoded File](/techniques/T1027/013) [Polymorphic Code](/techniques/T1027/014) [Compression](/techniques/T1027/015) [Junk Code Insertion](/techniques/T1027/016) [SVG Smuggling](/techniques/T1027/017) [Invisible Unicode](/techniques/T1027/018) | | | | | | | | | | | | | | |\n| [Pre-OS Boot (5)](/techniques/T1542) | | | | | | | | | | | | | | |\n| [System Firmware](/techniques/T1542/001) [Component Firmware](/techniques/T1542/002) [Bootkit](/techniques/T1542/003) [ROMMONkit](/techniques/T1542/004) [TFTP Boot](/techniques/T1542/005) | | | | | | | | | | | | | | |\n| [Process Injection (12)](/techniques/T1055) | | | | | | | | | | | | | | |\n| [Dynamic-link Library Injection](/techniques/T1055/001) [Portable Executable Injection](/techniques/T1055/002) [Thread Execution Hijacking](/techniques/T1055/003) [Asynchronous Procedure Call](/techniques/T1055/004) [Thread Local Storage](/techniques/T1055/005) [Ptrace System Calls](/techniques/T1055/008) [Proc Memory](/techniques/T1055/009) [Extra Window Memory Injection](/techniques/T1055/011) [Process Hollowing](/techniques/T1055/012) [Process Doppelgänging](/techniques/T1055/013) [VDSO Hijacking](/techniques/T1055/014) [ListPlanting](/techniques/T1055/015) | | | | | | | | | | | | | | |\n| [Social Engineering (2)](/techniques/T1684) | | | | | | | | | | | | | | |\n| [Impersonation](/techniques/T1684/001) [Email Spoofing](/techniques/T1684/002) | | | | | | | | | | | | | | |\n| [System Binary Proxy Execution (14)](/techniques/T1218) | | | | | | | | | | | | | | |\n| [Compiled HTML File](/techniques/T1218/001) [Control Panel](/techniques/T1218/002) [CMSTP](/techniques/T1218/003) [InstallUtil](/techniques/T1218/004) [Mshta](/techniques/T1218/005) [Msiexec](/techniques/T1218/007) [Odbcconf](/techniques/T1218/008) [Regsvcs/Regasm](/techniques/T1218/009) [Regsvr32](/techniques/T1218/010) [Rundll32](/techniques/T1218/011) [Verclsid](/techniques/T1218/012) [Mavinject](/techniques/T1218/013) [MMC](/techniques/T1218/014) [Electron Applications](/techniques/T1218/015) | | | | | | | | | | | | | | |\n| [System Script Proxy Execution (2)](/techniques/T1216) | | | | | | | | | | | | | | |\n| [PubPrn](/techniques/T1216/001) [SyncAppvPublishingServer](/techniques/T1216/002) | | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | | | | | | | | | | | | | | |\n| [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) | | | | | | | | | | | | | | |\n| [Trusted Developer Utilities Proxy Execution (3)](/techniques/T1127) | | | | | | | | | | | | | | |\n| [MSBuild](/techniques/T1127/001) [ClickOnce](/techniques/T1127/002) [JamPlus](/techniques/T1127/003) | | | | | | | | | | | | | | |\n| [Valid Accounts (4)](/techniques/T1078) | | | | | | | | | | | | | | |\n| [Default Accounts](/techniques/T1078/001) [Domain Accounts](/techniques/T1078/002) [Local Accounts](/techniques/T1078/003) [Cloud Accounts](/techniques/T1078/004) | | | | | | | | | | | | | | |\n| [Virtualization/Sandbox Evasion (3)](/techniques/T1497) | | | | | | | | | | | | | | |\n| [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) | | | | | | | | | | | | | | |\n| [Disable or Modify System Firewall (3)](/techniques/T1686) | | | | | | | | | | | | | | |\n| [Cloud Firewall](/techniques/T1686/001) [Network Device Firewall](/techniques/T1686/002) [Windows Host Firewall](/techniques/T1686/003) | | | | | | | | | | | | | | |\n| [Disable or Modify Tools (6)](/techniques/T1685) | | | | | | | | | | | | | | |\n| [Disable or Modify Windows Event Log](/techniques/T1685/001) [Disable or Modify Cloud Log](/techniques/T1685/002) [Modify or Spoof Tool UI](/techniques/T1685/003) [Disable or Modify Linux Audit System Log](/techniques/T1685/004) [Clear Windows Event Logs](/techniques/T1685/005) [Clear Linux or Mac System Logs](/techniques/T1685/006) | | | | | | | | | | | | | | |\n| [Domain or Tenant Policy Modification (2)](/techniques/T1484) | | | | | | | | | | | | | | |\n| [Group Policy Modification](/techniques/T1484/001) [Trust Modification](/techniques/T1484/002) | | | | | | | | | | | | | | |\n| [File and Directory Permissions Modification (2)](/techniques/T1222) | | | | | | | | | | | | | | |\n| [Windows Permissions](/techniques/T1222/001) [Linux and Mac Permissions](/techniques/T1222/002) | | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | | | | | | | | | | | | | | |\n| [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) | | | | | | | | | | | | | | |\n| [Modify Cloud Compute Infrastructure (5)](/techniques/T1578) | | | | | | | | | | | | | | |\n| [Create Snapshot](/techniques/T1578/001) [Create Cloud Instance](/techniques/T1578/002) [Delete Cloud Instance](/techniques/T1578/003) [Revert Cloud Instance](/techniques/T1578/004) [Modify Cloud Compute Configurations](/techniques/T1578/005) | | | | | | | | | | | | | | |\n| [Modify System Image (2)](/techniques/T1601) | | | | | | | | | | | | | | |\n| [Patch System Image](/techniques/T1601/001) [Downgrade System Image](/techniques/T1601/002) | | | | | | | | | | | | | | |\n| [Network Boundary Bridging (1)](/techniques/T1599) | | | | | | | | | | | | | | |\n| [Network Address Translation Traversal](/techniques/T1599/001) | | | | | | | | | | | | | | |\n| [Subvert Trust Controls (6)](/techniques/T1553) | | | | | | | | | | | | | | |\n| [Gatekeeper Bypass](/techniques/T1553/001) [Code Signing](/techniques/T1553/002) [SIP and Trust Provider Hijacking](/techniques/T1553/003) [Install Root Certificate](/techniques/T1553/004) [Mark-of-the-Web Bypass](/techniques/T1553/005) [Code Signing Policy Modification](/techniques/T1553/006) | | | | | | | | | | | | | | |\n| [Weaken Encryption (2)](/techniques/T1600) | | | | | | | | | | | | | | |\n| [Reduce Key Space](/techniques/T1600/001) [Disable Crypto Hardware](/techniques/T1600/002) | | | | | | | | | | | | | | |\n| [Adversary-in-the-Middle (4)](/techniques/T1557) | | | | | | | | | | | | | | |\n| [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) | | | | | | | | | | | | | | |\n| [Brute Force (4)](/techniques/T1110) | | | | | | | | | | | | | | |\n| [Password Guessing](/techniques/T1110/001) [Password Cracking](/techniques/T1110/002) [Password Spraying](/techniques/T1110/003) [Credential Stuffing](/techniques/T1110/004) | | | | | | | | | | | | | | |\n| [Credentials from Password Stores (6)](/techniques/T1555) | | | | | | | | | | | | | | |\n| [Keychain](/techniques/T1555/001) [Securityd Memory](/techniques/T1555/002) [Credentials from Web Browsers](/techniques/T1555/003) [Windows Credential Manager](/techniques/T1555/004) [Password Managers](/techniques/T1555/005) [Cloud Secrets Management Stores](/techniques/T1555/006) | | | | | | | | | | | | | | |\n| [Forge Web Credentials (2)](/techniques/T1606) | | | | | | | | | | | | | | |\n| [Web Cookies](/techniques/T1606/001) [SAML Tokens](/techniques/T1606/002) | | | | | | | | | | | | | | |\n| [Input Capture (4)](/techniques/T1056) | | | | | | | | | | | | | | |\n| [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) | | | | | | | | | | | | | | |\n| [Modify Authentication Process (9)](/techniques/T1556) | | | | | | | | | | | | | | |\n| [Domain Controller Authentication](/techniques/T1556/001) [Password Filter DLL](/techniques/T1556/002) [Pluggable Authentication Modules](/techniques/T1556/003) [Network Device Authentication](/techniques/T1556/004) [Reversible Encryption](/techniques/T1556/005) [Multi-Factor Authentication](/techniques/T1556/006) [Hybrid Identity](/techniques/T1556/007) [Network Provider DLL](/techniques/T1556/008) [Conditional Access Policies](/techniques/T1556/009) | | | | | | | | | | | | | | |\n| [OS Credential Dumping (8)](/techniques/T1003) | | | | | | | | | | | | | | |\n| [LSASS Memory](/techniques/T1003/001) [Security Account Manager](/techniques/T1003/002) [NTDS](/techniques/T1003/003) [LSA Secrets](/techniques/T1003/004) [Cached Domain Credentials](/techniques/T1003/005) [DCSync](/techniques/T1003/006) [Proc Filesystem](/techniques/T1003/007) [/etc/passwd and /etc/shadow](/techniques/T1003/008) | | | | | | | | | | | | | | |\n| [Steal or Forge Kerberos Tickets (5)](/techniques/T1558) | | | | | | | | | | | | | | |\n| [Golden Ticket](/techniques/T1558/001) [Silver Ticket](/techniques/T1558/002) [Kerberoasting](/techniques/T1558/003) [AS-REP Roasting](/techniques/T1558/004) [Ccache Files](/techniques/T1558/005) | | | | | | | | | | | | | | |\n| [Unsecured Credentials (8)](/techniques/T1552) | | | | | | | | | | | | | | |\n| [Credentials In Files](/techniques/T1552/001) [Credentials in Registry](/techniques/T1552/002) [Shell History](/techniques/T1552/003) [Private Keys](/techniques/T1552/004) [Cloud Instance Metadata API](/techniques/T1552/005) [Group Policy Preferences](/techniques/T1552/006) [Container API](/techniques/T1552/007) [Chat Messages](/techniques/T1552/008) | | | | | | | | | | | | | | |\n| [Account Discovery (4)](/techniques/T1087) | | | | | | | | | | | | | | |\n| [Local Account](/techniques/T1087/001) [Domain Account](/techniques/T1087/002) [Email Account](/techniques/T1087/003) [Cloud Account](/techniques/T1087/004) | | | | | | | | | | | | | | |\n| [Permission Groups Discovery (3)](/techniques/T1069) | | | | | | | | | | | | | | |\n| [Local Groups](/techniques/T1069/001) [Domain Groups](/techniques/T1069/002) [Cloud Groups](/techniques/T1069/003) | | | | | | | | | | | | | | |\n| [Software Discovery (2)](/techniques/T1518) | | | | | | | | | | | | | | |\n| [Security Software Discovery](/techniques/T1518/001) [Backup Software Discovery](/techniques/T1518/002) | | | | | | | | | | | | | | |\n| [System Location Discovery (1)](/techniques/T1614) | | | | | | | | | | | | | | |\n| [System Language Discovery](/techniques/T1614/001) | | | | | | | | | | | | | | |\n| [System Network Configuration Discovery (2)](/techniques/T1016) | | | | | | | | | | | | | | |\n| [Internet Connection Discovery](/techniques/T1016/001) [Wi-Fi Discovery](/techniques/T1016/002) | | | | | | | | | | | | | | |\n| [Virtualization/Sandbox Evasion (3)](/techniques/T1497) | | | | | | | | | | | | | | |\n| [System Checks](/techniques/T1497/001) [User Activity Based Checks](/techniques/T1497/002) [Time Based Checks](/techniques/T1497/003) | | | | | | | | | | | | | | |\n| [Remote Service Session Hijacking (2)](/techniques/T1563) | | | | | | | | | | | | | | |\n| [SSH Hijacking](/techniques/T1563/001) [RDP Hijacking](/techniques/T1563/002) | | | | | | | | | | | | | | |\n| [Remote Services (8)](/techniques/T1021) | | | | | | | | | | | | | | |\n| [Remote Desktop Protocol](/techniques/T1021/001) [SMB/Windows Admin Shares](/techniques/T1021/002) [Distributed Component Object Model](/techniques/T1021/003) [SSH](/techniques/T1021/004) [VNC](/techniques/T1021/005) [Windows Remote Management](/techniques/T1021/006) [Cloud Services](/techniques/T1021/007) [Direct Cloud VM Connections](/techniques/T1021/008) | | | | | | | | | | | | | | |\n| [Use Alternate Authentication Material (4)](/techniques/T1550) | | | | | | | | | | | | | | |\n| [Application Access Token](/techniques/T1550/001) [Pass the Hash](/techniques/T1550/002) [Pass the Ticket](/techniques/T1550/003) [Web Session Cookie](/techniques/T1550/004) | | | | | | | | | | | | | | |\n| [Adversary-in-the-Middle (4)](/techniques/T1557) | | | | | | | | | | | | | | |\n| [Name Resolution Poisoning and SMB Relay](/techniques/T1557/001) [ARP Cache Poisoning](/techniques/T1557/002) [DHCP Spoofing](/techniques/T1557/003) [Evil Twin](/techniques/T1557/004) | | | | | | | | | | | | | | |\n| [Archive Collected Data (3)](/techniques/T1560) | | | | | | | | | | | | | | |\n| [Archive via Utility](/techniques/T1560/001) [Archive via Library](/techniques/T1560/002) [Archive via Custom Method](/techniques/T1560/003) | | | | | | | | | | | | | | |\n| [Data from Configuration Repository (2)](/techniques/T1602) | | | | | | | | | | | | | | |\n| [SNMP (MIB Dump)](/techniques/T1602/001) [Network Device Configuration Dump](/techniques/T1602/002) | | | | | | | | | | | | | | |\n| [Data from Information Repositories (6)](/techniques/T1213) | | | | | | | | | | | | | | |\n| [Confluence](/techniques/T1213/001) [Sharepoint](/techniques/T1213/002) [Code Repositories](/techniques/T1213/003) [Customer Relationship Management Software](/techniques/T1213/004) [Messaging Applications](/techniques/T1213/005) [Databases](/techniques/T1213/006) | | | | | | | | | | | | | | |\n| [Data Staged (2)](/techniques/T1074) | | | | | | | | | | | | | | |\n| [Local Data Staging](/techniques/T1074/001) [Remote Data Staging](/techniques/T1074/002) | | | | | | | | | | | | | | |\n| [Email Collection (3)](/techniques/T1114) | | | | | | | | | | | | | | |\n| [Local Email Collection](/techniques/T1114/001) [Remote Email Collection](/techniques/T1114/002) [Email Forwarding Rule](/techniques/T1114/003) | | | | | | | | | | | | | | |\n| [Input Capture (4)](/techniques/T1056) | | | | | | | | | | | | | | |\n| [Keylogging](/techniques/T1056/001) [GUI Input Capture](/techniques/T1056/002) [Web Portal Capture](/techniques/T1056/003) [Credential API Hooking](/techniques/T1056/004) | | | | | | | | | | | | | | |\n| [Application Layer Protocol (5)](/techniques/T1071) | | | | | | | | | | | | | | |\n| [Web Protocols](/techniques/T1071/001) [File Transfer Protocols](/techniques/T1071/002) [Mail Protocols](/techniques/T1071/003) [DNS](/techniques/T1071/004) [Publish/Subscribe Protocols](/techniques/T1071/005) | | | | | | | | | | | | | | |\n| [Data Encoding (2)](/techniques/T1132) | | | | | | | | | | | | | | |\n| [Standard Encoding](/techniques/T1132/001) [Non-Standard Encoding](/techniques/T1132/002) | | | | | | | | | | | | | | |\n| [Data Obfuscation (3)](/techniques/T1001) | | | | | | | | | | | | | | |\n| [Junk Data](/techniques/T1001/001) [Steganography](/techniques/T1001/002) [Protocol or Service Impersonation](/techniques/T1001/003) | | | | | | | | | | | | | | |\n| [Dynamic Resolution (3)](/techniques/T1568) | | | | | | | | | | | | | | |\n| [Fast Flux DNS](/techniques/T1568/001) [Domain Generation Algorithms](/techniques/T1568/002) [DNS Calculation](/techniques/T1568/003) | | | | | | | | | | | | | | |\n| [Encrypted Channel (2)](/techniques/T1573) | | | | | | | | | | | | | | |\n| [Symmetric Cryptography](/techniques/T1573/001) [Asymmetric Cryptography](/techniques/T1573/002) | | | | | | | | | | | | | | |\n| [Proxy (4)](/techniques/T1090) | | | | | | | | | | | | | | |\n| [Internal Proxy](/techniques/T1090/001) [External Proxy](/techniques/T1090/002) [Multi-hop Proxy](/techniques/T1090/003) [Domain Fronting](/techniques/T1090/004) | | | | | | | | | | | | | | |\n| [Remote Access Tools (3)](/techniques/T1219) | | | | | | | | | | | | | | |\n| [IDE Tunneling](/techniques/T1219/001) [Remote Desktop Software](/techniques/T1219/002) [Remote Access Hardware](/techniques/T1219/003) | | | | | | | | | | | | | | |\n| [Traffic Signaling (2)](/techniques/T1205) | | | | | | | | | | | | | | |\n| [Port Knocking](/techniques/T1205/001) [Socket Filters](/techniques/T1205/002) | | | | | | | | | | | | | | |\n| [Web Service (3)](/techniques/T1102) | | | | | | | | | | | | | | |\n| [Dead Drop Resolver](/techniques/T1102/001) [Bidirectional Communication](/techniques/T1102/002) [One-Way Communication](/techniques/T1102/003) | | | | | | | | | | | | | | |\n| [Automated Exfiltration (1)](/techniques/T1020) | | | | | | | | | | | | | | |\n| [Traffic Duplication](/techniques/T1020/001) | | | | | | | | | | | | | | |\n| [Exfiltration Over Alternative Protocol (3)](/techniques/T1048) | | | | | | | | | | | | | | |\n| [Exfiltration Over Symmetric Encrypted Non-C2 Protocol](/techniques/T1048/001) [Exfiltration Over Asymmetric Encrypted Non-C2 Protocol](/techniques/T1048/002) [Exfiltration Over Unencrypted Non-C2 Protocol](/techniques/T1048/003) | | | | | | | | | | | | | | |\n| [Exfiltration Over Other Network Medium (1)](/techniques/T1011) | | | | | | | | | | | | | | |\n| [Exfiltration Over Bluetooth](/techniques/T1011/001) | | | | | | | | | | | | | | |\n| [Exfiltration Over Physical Medium (1)](/techniques/T1052) | | | | | | | | | | | | | | |\n| [Exfiltration over USB](/techniques/T1052/001) | | | | | | | | | | | | | | |\n| [Exfiltration Over Web Service (4)](/techniques/T1567) | | | | | | | | | | | | | | |\n| [Exfiltration to Code Repository](/techniques/T1567/001) [Exfiltration to Cloud Storage](/techniques/T1567/002) [Exfiltration to Text Storage Sites](/techniques/T1567/003) [Exfiltration Over Webhook](/techniques/T1567/004) | | | | | | | | | | | | | | |\n| [Data Destruction (1)](/techniques/T1485) | | | | | | | | | | | | | | |\n| [Lifecycle-Triggered Deletion](/techniques/T1485/001) | | | | | | | | | | | | | | |\n| [Data Manipulation (3)](/techniques/T1565) | | | | | | | | | | | | | | |\n| [Stored Data Manipulation](/techniques/T1565/001) [Transmitted Data Manipulation](/techniques/T1565/002) [Runtime Data Manipulation](/techniques/T1565/003) | | | | | | | | | | | | | | |\n| [Defacement (2)](/techniques/T1491) | | | | | | | | | | | | | | |\n| [Internal Defacement](/techniques/T1491/001) [External Defacement](/techniques/T1491/002) | | | | | | | | | | | | | | |\n| [Disk Wipe (2)](/techniques/T1561) | | | | | | | | | | | | | | |\n| [Disk Content Wipe](/techniques/T1561/001) [Disk Structure Wipe](/techniques/T1561/002) | | | | | | | | | | | | | | |\n| [Endpoint Denial of Service (4)](/techniques/T1499) | | | | | | | | | | | | | | |\n| [OS Exhaustion Flood](/techniques/T1499/001) [Service Exhaustion Flood](/techniques/T1499/002) [Application Exhaustion Flood](/techniques/T1499/003) [Application or System Exploitation](/techniques/T1499/004) | | | | | | | | | | | | | | |\n| [Network Denial of Service (2)](/techniques/T1498) | | | | | | | | | | | | | | |\n| [Direct Network Flood](/techniques/T1498/001) [Reflection Amplification](/techniques/T1498/002) | | | | | | | | | | | | | | |\n| [Resource Hijacking (4)](/techniques/T1496) | | | | | | | | | | | | | | |\n| [Compute Hijacking](/techniques/T1496/001) [Bandwidth Hijacking](/techniques/T1496/002) [SMS Pumping](/techniques/T1496/003) [Cloud Service Hijacking](/techniques/T1496/004) | | | | | | | | | | | | | | |", "znaku_textu": 161841, "slov": 9915, "odkazu": 764, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:52", "sha256": "383e920c31f92fdbac1ce3c06c8c2fb6f6b383b15df71b933f152800c06b42b1", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://medium.com/mitre-attack/", "https://na.eventscloud.com/website/93925/", "https://na.eventscloud.com/website/93925/faq/", "https://medium.com/mitre-attack", "https://www.mitre.org/", "https://x.com/MITREattack", "https://github.com/mitre-attack"]} {"url": "https://bankid.cz/", "titulek": "Bank iD = vaše digitální občanka | Bank iD", "h1": "Bankovní identita", "popis": "Bankovní identita je vaše digitální občanka. S Bank iD se bezpečně online přihlásíte, ověříte svou totožnost a podepíšete dokumenty.", "klicova_slova": "", "kanonicka": "https://bankid.cz/", "jazyk": "cs", "robots_meta": "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1", "og": {"og:locale": "cs_CZ", "og:type": "website", "og:title": "Bank iD = vaše digitální občanka | Bank iD", "og:description": "Bankovní identita je vaše digitální občanka. S Bank iD se bezpečně online přihlásíte, ověříte svou totožnost a podepíšete dokumenty.", "og:url": "https://bankid.cz/", "og:site_name": "Bank iD", "og:image": "https://bankid.cz/files/open_graph.jpg", "og:image:width": "1200", "og:image:height": "630", "og:image:type": "image/jpeg"}, "jsonld": [{"@context": "https://schema.org", "@graph": [{"@type": "WebPage", "@id": "https://bankid.cz/", "url": "https://bankid.cz/", "name": "Bank iD = vaše digitální občanka | Bank iD", "isPartOf": {"@id": "https://bankid.cz/#website"}, "about": {"@id": "https://bankid.cz/#organization"}, "primaryImageOfPage": {"@id": "https://bankid.cz/#primaryimage"}, "image": {"@id": "https://bankid.cz/#primaryimage"}, "thumbnailUrl": "https://bankid.cz/files/bankid.svg", "datePublished": "2024-02-12T11:47:27+00:00", "dateModified": "2026-08-27T13:50:26+00:00", "description": "Bankovní identita je vaše digitální občanka. S Bank iD se bezpečně online přihlásíte, ověříte svou totožnost a podepíšete dokumenty.", "breadcrumb": {"@id": "https://bankid.cz/#breadcrumb"}, "inLanguage": "cs", "potentialAction": [{"@type": "ReadAction", "target": ["https://bankid.cz/"]}]}, {"@type": "ImageObject", "inLanguage": "cs", "@id": "https://bankid.cz/#primaryimage", "url": "https://bankid.cz/files/bankid.svg", "contentUrl": "https://bankid.cz/files/bankid.svg", "width": 172, "height": 36, "caption": "Bank iD"}, {"@type": "BreadcrumbList", "@id": "https://bankid.cz/#breadcrumb", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Domů"}]}, {"@type": "WebSite", "@id": "https://bankid.cz/#website", "url": "https://bankid.cz/", "name": "Bank iD", "description": "Vaše digitální občanka", "publisher": {"@id": "https://bankid.cz/#organization"}, "potentialAction": [{"@type": "SearchAction", "target": {"@type": "EntryPoint", "urlTemplate": "https://bankid.cz/?s={search_term_string}"}, "query-input": {"@type": "PropertyValueSpecification", "valueRequired": true, "valueName": "search_term_string"}}], "inLanguage": "cs"}, {"@type": "Organization", "@id": "https://bankid.cz/#organization", "name": "Bankovní identita, a.s.", "alternateName": "Bank iD", "url": "https://bankid.cz/", "logo": {"@type": "ImageObject", "inLanguage": "cs", "@id": "https://bankid.cz/#/schema/logo/image/", "url": "https://bankid.cz/files/bankid.svg", "contentUrl": "https://bankid.cz/files/bankid.svg", "width": 172, "height": 36, "caption": "Bankovní identita, a.s."}, "image": {"@id": "https://bankid.cz/#/schema/logo/image/"}, "sameAs": ["https://www.facebook.com/bankidcesko", "https://x.com/BankIDcesko", "https://www.linkedin.com/company/bankovn-identita-a-s/"]}]}, {"@context": "https://schema.org", "@type": "Organization", "name": "Bankovní identita, a.s.", "alternateName": "Bank iD", "url": "https://bankid.cz", "logo": "https://bankid.cz/logo.png", "description": "Bank iD je systém bankovní identity umožňující ověření totožnosti, elektronický podpis a přihlášení k online službám prostřednictvím bankovního účtu.", "sameAs": ["https://cs.wikipedia.org/wiki/Bankovn%C3%AD_identita", "https://www.linkedin.com/company/bankid-cz", "https://www.wikidata.org/wiki/Q105836744"]}, {"@context": "https://schema.org", "@type": "WebSite", "url": "https://bankid.cz", "name": "Bank iD", "potentialAction": {"@type": "SearchAction", "target": {"@type": "EntryPoint", "urlTemplate": "https://bankid.cz/?s={search_term_string}"}, "query-input": "required name=search_term_string"}}], "drobecky": ["Domů"], "osnova": [], "markdown": "Poslední aktualizace: 27. srpna, 2026 Přejít k obsahu", "znaku_textu": 53, "slov": 8, "odkazu": 55, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:54", "sha256": "39c5bdcebf901a0a47dd73f3c9663b5091b71d5d819ccd5ce6712eb6c3eed62e", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://podepis.bankid.cz/", "https://demo.bankid.cz/", "https://www.airbank.cz/produkty/bankovni-identita/", "https://www.creditas.cz/bankovni-identita/", "https://www.csas.cz/cs/o-nas/bezpecnost-ochrana-dat/bankovni-identita", "https://www.csob.cz/portal/csob/csob-identita", "https://www.fio.cz/bankovni-sluzby/bankovni-identita", "https://www.kb.cz/cs/podpora/bankovnictvi-a-nastroje/kb-bankovni-identita", "https://www.mbank.cz/bankovni-identita/", "https://www.moneta.cz/otevrene-bankovnictvi/bankovni-identita", "https://www.partnersbanka.cz/bankovni-identita", "https://www.rb.cz/bankovni-identita", "https://www.unicreditbank.cz/cs/obcane.html", "https://ux.bankid.cz/", "https://developer.bankid.cz/", "https://www.linkedin.com/company/bankovn%C3%AD-identita-a-s/", "https://twitter.com/BankIDcesko", "https://www.instagram.com/bankidcesko/", "https://www.facebook.com/bankidcesko"]} {"url": "https://business.pinterest.com/", "titulek": "Marketing na Pinterestu | Pinterest Business", "h1": "Využijte Pinterest k růstu svého podnikání", "popis": "Rozvíjejte své podnikání s nástroji digitálního marketingu na Pinterestu Přečtěte si, co Pinterest nabízí marketérům, získejte bezplatný firemní účet a spusťte kampaně vyladěné k naplnění vašich cílů", "klicova_slova": "", "kanonicka": "https://business.pinterest.com/cs/", "jazyk": "cs", "robots_meta": "", "og": {"og:site_name": "Pinterest", "og:description": "Rozšiřujte své podnikání tam, kde lidé hledají nové produkty a nápady.", "og:image": "https://images.ctfassets.net/h67z7i6sbjau/1m3vFrl2HSKITWYPHLkwNI/d39becc297b5469180d05cb856b05a8f/og_image_bizsitehomepage_1200x630px.jpg_cz.jpg?fm=webp&q=85", "og:title": "Marketing na Pinterestu | Pinterest Business", "og:type": "website", "og:url": "https://business.pinterest.com/cs/"}, "jsonld": [{"@context": "https://schema.org", "@graph": [{"@type": "Organization", "@id": "https://business.pinterest.com/#organization", "name": "Pinterest, Inc.", "url": "https://www.pinterest.com", "description": "Pinterest is where ideas start online and turn into real-life moments. Discover what feels like you and shop in the most positive place online.", "foundingDate": "2010", "logo": {"@type": "ImageObject", "url": "https://images.ctfassets.net/79shnvjt1jh4/1ffB0R2rYV1Gc1nX7DAk9R/d503d0a4984ea5ee845306790ad07767/pinterest_logo.svg"}, "image": {"@type": "ImageObject", "url": "https://images.ctfassets.net/79shnvjt1jh4/1ffB0R2rYV1Gc1nX7DAk9R/d503d0a4984ea5ee845306790ad07767/pinterest_logo.svg"}, "founders": [{"@type": "Person", "name": "Ben Silbermann"}, {"@type": "Person", "name": "Paul Sciarra"}, {"@type": "Person", "name": "Evan Sharp"}], "sameAs": ["https://www.pinterest.com/pinterest/", "https://www.linkedin.com/company/pinterest/", "https://x.com/pinterest"]}, {"@type": "WebSite", "@id": "https://business.pinterest.com/#website", "url": "https://business.pinterest.com", "name": "Pinterest Business", "publisher": {"@id": "https://business.pinterest.com/#organization"}, "inLanguage": "cs"}, {"@type": "WebPage", "@id": "https://business.pinterest.com/#webpage", "url": "https://business.pinterest.com/", "name": "Marketing na Pinterestu | Pinterest Business", "description": "Rozvíjejte své podnikání s nástroji digitálního marketingu na Pinterestu Přečtěte si, co Pinterest nabízí marketérům, získejte bezplatný firemní účet a spusťte kampaně vyladěné k naplnění vašich cílů", "isPartOf": {"@id": "https://business.pinterest.com/#website"}, "about": {"@id": "https://business.pinterest.com/#organization"}, "inLanguage": "cs"}, {"@type": "VideoObject", "description": "Zvyšujte objem prodeje, návštěvnost webu, množství konverzí a další ukazatele inzerováním na Pinterestu", "name": "Rozvíjejte své podnikání s reklamami na Pinterestu", "thumbnailUrl": "https://i.vimeocdn.com/video/1909709329-0af5c2dddeda98c0d7731dc49d62902379f98b67bb98c7508a6ec44fbc3f19e9-d_295x166?region=us", "uploadDate": "2024-08-01", "embedUrl": "https://player.vimeo.com/video/993728428"}]}], "drobecky": [], "osnova": [], "markdown": "Ať už s reklamami na Pinterestu začínáte, nebo chcete optimalizovat stávající kampaně, pomůžeme vám. Obraťte se na náš zákaznický tým a získejte tipy na míru a nápady na nové kampaně.\n\n[Požádat o schůzku →](/cs/ads-consultation/)\n\n[Pinterest Academy (v angličtině)](https://business.pinterest.com/pinterest-academy/) nabízí taktická a podrobná školení vedená našimi interními experty. Můžete absolvovat kurzy, sledovat webináře nebo získat odznaky, abyste se pochlubili svými dovednostmi. Získejte víc ze své reklamy a pozvedněte své podnikatelské úspěchy o třídu výše.\n\n[Zaregistrujte se hned teď ↗](https://www.pinterestacademy.com/student/catalog/?utm_source=PINS_BSite&utm_medium=PINS_Sites&utm_campaign=pina_Business_Site_Placement_Q42024&utm_term=Homepage&utm_content=locale_En-US)\n\nNejdřív si [vytvořte bezplatný firemní účet](https://www.pinterest.com/business/hub/). Pak se v našem [úvodním průvodci](/cs/getting-started) seznamte s tipy ohledně firemních nástrojů a funkcí.\n\nLidé používají Pinterest k objevování nových značek a nakupování jejich produktů. S firemním účtem získáte další nástroje, které vám pomohou oslovit toto publikum a rozvíjet své podnikání. Získáte například přístup k reklamám, analytice a vlastním informacím o publiku. Firemní účty jsou zdarma, a pokud se rozhodnete provozovat reklamy, můžete si nastavit vlastní rozpočet.\n\nFiremní účet vám nabízí přístup k výkonným nástrojům, jako jsou reklama či analytika. Tyto funkce nejsou pro standardní účet na Pinterestu k dispozici, takže se ujistěte, že pro jakékoli marketingové cíle používáte firemní účet. Pokud již máte osobní účet, můžete ho v několika jednoduchých krocích [převést](https://help.pinterest.com/cs/business/article/get-a-business-account#section-15096) na firemní účet. Můžete si také [zaregistrovat nový účet](https://www.pinterest.com/business/hub/), pokud chcete mít osobní a pracovní účet oddělený jeden od druhého.\n\nLidé přicházejí na Pinterest s otevřenou myslí. Těší se, že najdou nové značky a produkty ke koupi. S firemním účtem na Pinterestu můžete předstoupit před publikum, které vás zajímá, ve kterékoli fázi této cesty a přivést je k nakupování.\n\nFunkce nakupování jsou integrovány do mnoha částí naší platformy. To znamená, že vaše produkty budou přesně zapadat do uživatelského prostředí a nebudou působit nepatřičně. Více se o nákupních reklamách a produktech dozvíte na naší [specializované stránce](/cs/shopping).", "znaku_textu": 2426, "slov": 301, "odkazu": 19, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:56", "sha256": "93b48465112873d9afac5810bc666223aa85565042c590f64104bc5d3a927aa5", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.pinterest.com/business/create/", "https://ads.pinterest.com/ads/create", "https://www.pinterestacademy.com/student/catalog/", "https://www.pinterest.com/business/hub/", "https://help.pinterest.com/cs/business/article/get-a-business-account", "https://www.pinterest.com/business/create", "https://www.pinterest.com/login/?next=https%3A%2F%2Fbusiness.pinterest.com"]} {"url": "https://caniuse.com/", "titulek": "Can I use... Support tables for HTML5, CSS3, etc", "h1": "", "popis": "\"Can I use\" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.", "klicova_slova": "web browser compatibility support html css svg html5 css3 opera chrome firefox safari internet explorer", "kanonicka": "", "jazyk": "en-US", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 3, "text": "Home"}, {"uroven": 4, "text": "Latest features"}, {"uroven": 4, "text": "Most searched features"}, {"uroven": 4, "text": "Test a feature"}, {"uroven": 4, "text": "Did you know?"}, {"uroven": 4, "text": "Third party tools"}, {"uroven": 4, "text": "Browser scores"}, {"uroven": 4, "text": "Other support sites"}], "markdown": "### Home\n\n[Index of features](/ciu/index)\n\n#### Latest features\n\n1. [Lazy loading via attribute for video & audio](/loading-lazy-media)\n2. [CSS Grid Lanes](/css-grid-lanes)\n3. [CSS if() function](/css-if)\n4. [View Transitions (cross-document)](/cross-document-view-transitions)\n5. [WebAssembly Import/Export of Mutable Globals](/wasm-mutable-globals)\n\n#### Most searched features\n\n1. [AVIF](avif)\n2. [WebP](webp)\n3. [CSS Grid](css-grid)\n4. [dvh (Small, Large, and Dynamic viewport units)](viewport-unit-variants)\n5. [Flexbox](flexbox)\n\n#### Test a feature\n\nOur partnership with [BrowserStack](https://www.browserstack.com?ref=caniuse-source&caniuse_source=brand-asset&utm_source=caniuse&utm_medium=partnered&utm_campaigncode=701OW000008y9C1YAI)\n now lets you test your website for compatibility across 2,000+ real browsers and devices.\n\nTest on:\n [IE 11](https://live.browserstack.com/#os=Windows&os_version=8.1&browser=IE&browser_version=11.0&start=true&ref=caniuse-source&source=landing_page&utm_source=caniuse&utm_medium=partnered&utm_campaigncode=701OW000008y9C1YAI) [Safari 17](https://live.browserstack.com/#os=OS+X&os_version=Sonoma&browser=Safari&browser_version=17.3&device_browser=chrome&ref=caniuse-source&source=landing_page&start=true&utm_source=caniuse&utm_medium=partnered&utm_campaigncode=701OW000008y9C1YAI) [Safari on iPhone 14](https://live.browserstack.com/#os=iOS&os_version=16.0&device_browser=safari&device=iPhone+14&start=true&ref=caniuse-source&source=landing_page&utm_source=caniuse&utm_medium=partnered&utm_campaigncode=701OW000008y9C1YAI) [Chrome on Galaxy S23](https://live.browserstack.com/#os=android&os_version=13.0&device=Samsung+Galaxy+S23&device_browser=chrome&ref=caniuse-source&source=landing_page&start=true&utm_source=caniuse&utm_medium=partnered&utm_campaigncode=701OW000008y9C1YAI)\n\n#### Did you know?\n\nNext\n\n- If a feature you're looking for is not available on the site, you can [vote to have it included](https://github.com/fyrd/caniuse/issues). Better yet, if you've done the research you can even [submit it yourself](https://github.com/Fyrd/caniuse/blob/main/CONTRIBUTING.md#adding-a-feature)!\n- You can import usage data from your **Google Analytics** account and see exactly how well a feature is supported among your own site's visitors. Look under the **Settings panel** to get started!\n- Usage data for all countries and continents can be imported via the **Settings panel**.\n- By default, older browser versions are only shown if they have >= 0.5% usage share. You can increase or decrease this value from the **Settings panel**.\n- Each feature support table includes a \"Usage relative\" button. This will resize each browser version cell to be relative to the amount of support it has for the selected usage source.\n\n#### Third party tools\n\n1. [The CanIUse Embed — Add support tables to your site](https://caniuse.bitsofco.de/)\n2. [Caniuse Component — Add support tables to your presentations](https://github.com/una/caniuse-component)\n3. [Caniuse command line tool](https://github.com/sgentle/caniuse-cmd)\n4. [Doiuse...? — Lint your CSS to check what features work](https://github.com/anandthakker/doiuse)\n5. [I want to use — Select multiple features and see what % of users can use them](http://iwanttouse.com)\n\n[See full list](https://github.com/Fyrd/caniuse/wiki/Third-party-tools)\n\n#### Browser scores\n\n1. Chrome 152: 444\n2. Safari 26.6: 415\n3. Firefox 155: 422\n\n#### Other support sites\n\n1. [Can I email... — Support tables for HTML & CSS in emails](https://caniemail.com)\n2. [Accessibility Support — Support information for web accessibility features in assistive technologies](https://a11ysupport.io)\n3. [Can I Webview — Documentation for WebView capabilities, limitations & features](https://caniwebview.com)", "znaku_textu": 3700, "slov": 376, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:28:59", "sha256": "3b6bb72d964013d0822c3615d221fb6ce728a9ccd3aa2cb2947b825bf2feaee0", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.browserstack.com/?caniuse_source=brand-asset&utm_campaigncode=701OW000008y9C1YAI", "https://live.browserstack.com/", "https://github.com/fyrd/caniuse/issues", "https://github.com/Fyrd/caniuse/blob/main/CONTRIBUTING.md", "https://caniuse.bitsofco.de/", "https://github.com/una/caniuse-component", "https://github.com/sgentle/caniuse-cmd", "https://github.com/anandthakker/doiuse", "http://iwanttouse.com/", "https://github.com/Fyrd/caniuse/wiki/Third-party-tools", "https://caniemail.com/", "https://a11ysupport.io/", "https://caniwebview.com/", "https://front-end.social/@fyrd", "https://mastodon.world/@lensco", "https://github.com/Fyrd/caniuse/graphs/contributors", "http://gs.statcounter.com/", "https://ipinfo.io/", "https://www.patreon.com/join/caniuse", "http://www.patreon.com/oauth2/authorize?client_id=efdd32564c7459c2c0dcd644b984e6948070b23b72961a3b9fb32ab3ad797184&redirect_uri=https%3A%2F%2Fcaniuse.com&response_type=code", "https://github.com/fyrd/caniuse"]} {"url": "https://capec.mitre.org/", "titulek": "CAPEC - \nCommon Attack Pattern Enumeration and Classification (CAPEC™)", "h1": "Common Attack Pattern Enumeration and Classification", "popis": "Common Attack Pattern Enumeration and Classification (CAPEC) is a list of software weaknesses.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 4, "text": "New to CAPEC?"}], "markdown": "Understanding how the adversary operates is essential to effective cybersecurity. CAPEC™ helps by providing a comprehensive dictionary of known patterns of attack employed by adversaries to exploit known weaknesses in cyber-enabled capabilities. It can be used by analysts, developers, testers, and educators to advance community understanding and enhance defenses.\n\n| | **New to CAPEC?** Common Attack Pattern Enumerations and Classifications (CAPEC™) can be overwhelming to someone new to cyber-attack patterns. This page offers tips on how to familiarize yourself with what CAPEC has to offer, before more fully exploring this extensive knowledge base. Community Engagement If you would like to be a part of ongoing discussions related to MITRE’s work in shifting the balance of cybersecurity risk, please visit the [Common Weakness Enumeration (CWE™)](https://cwe.mitre.org/) website. | |\n| --- | --- | --- |\n| **New to CAPEC?** Common Attack Pattern Enumerations and Classifications (CAPEC™) can be overwhelming to someone new to cyber-attack patterns. This page offers tips on how to familiarize yourself with what CAPEC has to offer, before more fully exploring this extensive knowledge base. | | |\n| Community Engagement | | |\n| If you would like to be a part of ongoing discussions related to MITRE’s work in shifting the balance of cybersecurity risk, please visit the [Common Weakness Enumeration (CWE™)](https://cwe.mitre.org/) website. | | |\n\nMore information is available — Please select a different filter.", "znaku_textu": 1469, "slov": 210, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:01", "sha256": "79f35ab36a486c09acfac8857361461abcbbe2ce9b83d474b205d0e66eddb022", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.mail-archive.com/capec-research-list@mitre.org/", "https://twitter.com/CweCapec", "https://www.linkedin.com/showcase/cve-cwe-capec", "https://medium.com/@CWE_CAPEC", "https://outofbounds.buzzsprout.com/", "https://www.youtube.com/channel/UCpY9VIpRmFK4ebD6orssifA", "https://cwe.mitre.org/", "https://medium.com/@CWE_CAPEC/community-actively-working-to-enhance-cwes-ics-ot-coverage-1b4f7bf0a6dd", "https://youtu.be/MdMm42bjdGU", "https://www.mitre.org/", "https://cwe.mitre.org/about/privacy_policy.html", "https://www.dhs.gov/science-and-technology/hssedi"]} {"url": "https://cloud.google.com/apis/design", "titulek": "API design guide | Cloud API Design Guide | Google Cloud Documentation", "h1": "API design guide \n \n Stay organized with collections\n \n \n Save and categorize content based on your preferences.", "popis": "A set of guidelines for designing APIs that are consistent with Google AIPs.", "klicova_slova": "", "kanonicka": "https://docs.cloud.google.com/apis/design", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Google Cloud Documentation", "og:type": "website", "og:title": "API design guide  |  Cloud API Design Guide  |  Google Cloud Documentation", "og:description": "A set of guidelines for designing APIs that are consistent with Google AIPs.", "og:url": "https://docs.cloud.google.com/apis/design", "og:image": "https://docs.cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png", "og:image:width": "1200", "og:image:height": "630", "og:locale": "en"}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "headline": "API design guide"}, {"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Cloud APIs", "item": "https://docs.cloud.google.com/apis/docs/overview"}, {"@type": "ListItem", "position": 2, "name": "Cloud API Design Guide", "item": "https://docs.cloud.google.com/apis/design"}]}], "drobecky": ["Cloud APIs", "Cloud API Design Guide"], "osnova": [{"uroven": 1, "text": "API design guide \n \n Stay organized with collections\n \n \n Save and categorize content based on your preferences."}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Conventions Used in This Guide"}, {"uroven": 2, "text": "Sections"}, {"uroven": 3, "text": "Resource-oriented Design"}, {"uroven": 3, "text": "Resource Names"}, {"uroven": 3, "text": "Standard Methods"}, {"uroven": 3, "text": "Custom Methods"}, {"uroven": 3, "text": "Additional topics"}], "markdown": "API design guide \n \n Stay organized with collections\n \n \n Save and categorize content based on your preferences.\n [Changelog](https://cloud.google.com/apis/design/changelog) Introduction This is a general design guide for networked APIs. It has been used inside\nGoogle since 2014 and is the guide that Google follows when designing\n[Cloud APIs](/apis/docs/overview) and other\n[Google APIs](https://github.com/googleapis/googleapis).\nThis design guide is shared here to inform outside developers and to make it\neasier for us all to work together. [Cloud Endpoints](/endpoints/docs/grpc) developers may find this\nguide particularly useful when designing gRPC APIs, and we strongly recommend\nsuch developers use these design principles. However,\nwe don't mandate its use. You can use Cloud\nEndpoints and gRPC without following the guide. This guide applies to both REST APIs and RPC APIs, with specific focus on gRPC\nAPIs. gRPC APIs use [Protocol Buffers](/apis/design/proto3) to define their API surface\nand [API Service Configuration](https://github.com/googleapis/googleapis/blob/master/google/api/service.proto) to configure their API services, including\nHTTP mapping, logging, and monitoring. HTTP mapping features are used by Google\nAPIs and Cloud Endpoints gRPC APIs for JSON/HTTP to Protocol Buffers/RPC\n[transcoding](/endpoints/docs/transcoding). This guide is a living document and additions to it will be made\nover time as new style and design patterns are adopted and approved. In that\nspirit, it is never going to be complete and there will always be ample\nroom for the art and craft of API design. Conventions Used in This Guide The requirement level keywords \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHALL\",\n\"SHALL NOT\", \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"MAY\", and\n\"OPTIONAL\" used in this document are to be interpreted as described in\n[RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). In this document, such keywords are highlighted using **bold** font. Sections Resource-oriented Design For information about implementing resource-oriented design for\nRPC and REST APIs, see [AIP-121](https://google.aip.dev/121). Resource Names For information about resource names,\nsee [AIP-122](https://google.aip.dev/122). Standard Methods For general information about methods, see [AIP-130](https://google.aip.dev/130). For information about standard methods, see the following AIPs: For `Get`, see [AIP-131](https://google.aip.dev/131) For `List`, see [AIP-132](https://google.aip.dev/132) For `Create`, see [AIP-133](https://google.aip.dev/133) For `Update`, see [AIP-134](https://google.aip.dev/134) For `Delete`, see [AIP-135](https://google.aip.dev/135) Custom Methods For information about custom methods, see [AIP-136](https://google.aip.dev/136). Additional topics For information about the following topics, see their related AIPs. For **Standard fields**, see [AIP-148](https://google.aip.dev/148) For **Errors**, see [AIP-193](https://google.aip.dev/193) For **Design patterns**, see [AIP guidance on design patterns](https://google.aip.dev/general#design-patterns) For **Inline API documentation**, see [AIP-192](https://google.aip.dev/192) For **Using proto3**, see [the Syntax section of AIP-191](https://google.aip.dev/191#syntax) For **Versioning**, see [AIP-185](https://google.aip.dev/185) For **Backward compatibility**, see [AIP-180](https://google.aip.dev/180) For **File structure**, see [the File Layout section of AIP-191](https://google.aip.dev/191#file-layout) For a **Glossary** of terms, see [AIP-9](https://google.aip.dev/9) For **Naming conventions**, see [AIP-190](https://google.aip.dev/190) For information about the following topics, see their related pages in this guide. [Directory Structure](https://cloud.google.com/apis/design/directory_structure) [Next \n Directory structure\n \n arrow_forward](/apis/design/directory_structure) Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2026-09-03 UTC.", "znaku_textu": 4291, "slov": 526, "odkazu": 142, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:02", "sha256": "030fa226c4d0f4ccfbdfc974b4de56a47c216996ea51238b735601a0003cf7ab", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://docs.cloud.google.com/docs", "https://docs.cloud.google.com/docs/get-started", "https://docs.cloud.google.com/docs/product-list", "https://docs.cloud.google.com/support/docs", "https://docs.cloud.google.com/products/gemini-enterprise-agent-platform", "https://docs.cloud.google.com/apigee", "https://docs.cloud.google.com/bigquery", "https://docs.cloud.google.com/products/compute", "https://docs.cloud.google.com/cdn", "https://docs.cloud.google.com/run", "https://docs.cloud.google.com/storage", "https://docs.cloud.google.com/sql", "https://docs.cloud.google.com/gemini/enterprise/docs", "https://docs.cloud.google.com/kubernetes-engine", "https://docs.cloud.google.com/looker", "https://docs.cloud.google.com/docs/access-resources", "https://docs.cloud.google.com/docs/costs-usage", "https://docs.cloud.google.com/docs/iac", "https://docs.cloud.google.com/docs/devtools", "https://docs.cloud.google.com/docs/ai-ml", "https://docs.cloud.google.com/docs/application-development", "https://docs.cloud.google.com/docs/application-hosting", "https://docs.cloud.google.com/docs/compute-area", "https://docs.cloud.google.com/docs/data", "https://docs.cloud.google.com/docs/databases", "https://docs.cloud.google.com/docs/dhm-cloud", "https://docs.cloud.google.com/docs/industry", "https://docs.cloud.google.com/docs/migration", "https://docs.cloud.google.com/docs/networking", "https://docs.cloud.google.com/docs/observability", "https://docs.cloud.google.com/docs/security", "https://docs.cloud.google.com/docs/storage", "https://console.cloud.google.com/", "https://docs.cloud.google.com/apis/design", "https://docs.cloud.google.com/apis/docs/overview", "https://console.cloud.google.com/freetrial", "https://docs.cloud.google.com/", "https://github.com/googleapis/googleapis", "https://github.com/googleapis/googleapis/blob/master/google/api/service.proto", "https://www.ietf.org/rfc/rfc2119.txt", "https://google.aip.dev/121", "https://google.aip.dev/122", "https://google.aip.dev/130", "https://google.aip.dev/131", "https://google.aip.dev/132", "https://google.aip.dev/133", "https://google.aip.dev/134", "https://google.aip.dev/135", "https://google.aip.dev/136", "https://google.aip.dev/148", "https://google.aip.dev/193", "https://google.aip.dev/general", "https://google.aip.dev/192", "https://google.aip.dev/191", "https://google.aip.dev/185", "https://google.aip.dev/180", "https://google.aip.dev/9", "https://google.aip.dev/190", "https://creativecommons.org/licenses/by/4.0/", "https://www.apache.org/licenses/LICENSE-2.0", "https://developers.google.com/site-policies", "https://discuss.google.dev/c/google-cloud/14/", "https://docs.cloud.google.com/release-notes", "https://status.cloud.google.com/", "https://github.com/googlecloudPlatform/", "https://x.com/googlecloud", "https://www.youtube.com/googlecloud", "https://www.youtube.com/googlecloudplatform", "https://developers.google.com/", "https://developer.android.com/", "https://developer.chrome.com/", "https://firebase.google.com/", "https://ai.google.com/", "https://about.google/", "https://policies.google.com/privacy", "https://policies.google.com/terms?hl=en"]} {"url": "https://cloud.google.com/architecture/framework", "titulek": "Google Cloud Well-Architected Framework | Cloud Architecture Center | Google Cloud Documentation", "h1": "Google Cloud Well-Architected Framework \n \n Stay organized with collections\n \n \n Save and categorize content based on your preferences.", "popis": "Architectural recommendations and best practices to design a secure, efficient, and resilient cloud topology that's optimized for cost, performance, and sustainability.", "klicova_slova": "", "kanonicka": "https://docs.cloud.google.com/architecture/framework", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Google Cloud Documentation", "og:type": "website", "og:title": "Google Cloud Well-Architected Framework  |  Cloud Architecture Center  |  Google Cloud Documentation", "og:description": "Architectural recommendations and best practices to design a secure, efficient, and resilient cloud topology that's optimized for cost, performance, and sustainability.", "og:url": "https://docs.cloud.google.com/architecture/framework", "og:image": "https://docs.cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png", "og:image:width": "1200", "og:image:height": "630", "og:locale": "en"}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "dateModified": "2026-01-28", "headline": "Google Cloud Well-Architected Framework"}, {"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Documentation", "item": "https://docs.cloud.google.com/docs"}, {"@type": "ListItem", "position": 2, "name": "Cloud Architecture Center", "item": "https://docs.cloud.google.com/architecture"}, {"@type": "ListItem", "position": 3, "name": "Google Cloud Well-Architected Framework", "item": "https://docs.cloud.google.com/architecture/framework"}]}], "drobecky": ["Documentation", "Cloud Architecture Center", "Google Cloud Well-Architected Framework"], "osnova": [{"uroven": 1, "text": "Google Cloud Well-Architected Framework \n \n Stay organized with collections\n \n \n Save and categorize content based on your preferences."}, {"uroven": 2, "text": "Well-Architected Framework pillars and perspectives"}, {"uroven": 3, "text": "Pillars"}, {"uroven": 3, "text": "Cross-pillar perspectives"}, {"uroven": 2, "text": "Core principles"}, {"uroven": 3, "text": "Design for change"}, {"uroven": 3, "text": "Document your architecture"}, {"uroven": 3, "text": "Simplify your design and use fully managed services"}, {"uroven": 3, "text": "Decouple your architecture"}, {"uroven": 3, "text": "Use a stateless architecture"}], "markdown": "Google Cloud Well-Architected Framework \n \n Stay organized with collections\n \n \n Save and categorize content based on your preferences.\n Last reviewed 2026-01-28 UTC The Well-Architected Framework provides recommendations to help\narchitects, developers, administrators, and other cloud practitioners design and\noperate a cloud topology that's secure, efficient, resilient, high-performing,\ncost-effective, and sustainable. A cross-functional team of experts at Google validates the recommendations in\nthe Well-Architected Framework. The team curates the Well-Architected Framework to\nreflect the expanding capabilities of Google Cloud, industry best practices,\ncommunity knowledge, and feedback from you. For a summary of the significant\nchanges to the Well-Architected Framework, see\n[What's new](/architecture/framework/whats-new). The Well-Architected Framework is relevant to applications built for the cloud *and*\nfor workloads migrated from on-premises to Google Cloud, hybrid cloud\ndeployments, and multi-cloud environments. Well-Architected Framework pillars and perspectives The recommendations in the Well-Architected Framework are organized into pillars and\ncross-pillar perspectives, as shown in the following diagram. A *pillar* in the Well-Architected Framework provides\nprinciples and recommendations for a specific non-functional focus area:\nsecurity, reliability, performance, cost, operations, or sustainability. A *perspective* in the Well-Architected Framework\nis a cross-pillar view of recommendations for a specific technology, domain, or\nsector. The recommendations in a perspective align with the general principles\nand recommendations in the pillars. For example, the financial services (FS) perspective recommends a disaster\nrecovery strategy that meets regulatory requirements for data residency. This\nFS-specific recommendation aligns with the reliability pillar's principle about\nrealistic targets, because the data residency requirements influence the choice\nof failover region and, consequently, the recovery objectives. Pillars construction [Operational excellence](/architecture/framework/operational-excellence) Efficiently deploy, operate, monitor, and manage your cloud workloads. security [Security, privacy, and compliance](/architecture/framework/security) Maximize the security of your data and workloads in the cloud, design for\nprivacy, and align with regulatory requirements and standards. restore [Reliability](/architecture/framework/reliability) Design and operate resilient and highly available workloads in the cloud. payment [Cost optimization](/architecture/framework/cost-optimization) Maximize the business value of your investment in Google Cloud. speed [Performance optimization](/architecture/framework/performance-optimization) Design and tune your cloud resources for optimal performance. eco [Sustainability](/architecture/framework/sustainability) Build and manage cloud workloads that are environmentally sustainable. Cross-pillar perspectives saved_search [AI and ML](/architecture/framework/perspectives/ai-ml) A cross-pillar view of technology-specific recommendations for AI and ML\nworkloads. saved_search [Financial services](/architecture/framework/perspectives/fsi) A cross-pillar view of recommendations for FS workloads. Core principles Before you explore the recommendations in each pillar of the Well-Architected Framework,\nreview the following core principles: Design for change No system is static. The needs of its users, the goals of the team that builds\nthe system, and the system itself are constantly changing. With the need for change\nin mind, build a development and production process that enables teams to\nregularly deliver small changes and get fast feedback on those changes.\nConsistently demonstrating the ability to deploy changes helps to build trust\nwith stakeholders, including the teams responsible for the system, and the users\nof the system. Using\n[DORA's software delivery metrics](https://dora.dev/guides/dora-metrics-four-keys/) \ncan help your team monitor the speed, ease, and safety of making changes to the\nsystem. Document your architecture When you start to move your workloads to the cloud or build your applications,\nlack of documentation about the system can be a major obstacle. Documentation\nis especially important for correctly visualizing the architecture of your\ncurrent deployments. Quality documentation isn't achieved by producing a specific\namount of documentation, but by how clear content is, how useful it is, and how\nit's maintained as the system changes. A properly documented cloud architecture establishes a common language and\nstandards, which enable cross-functional teams to communicate and collaborate\neffectively. The documentation also provides the information that's necessary to\nidentify and guide future design decisions. Documentation should be written with\nyour use cases in mind, to provide context for the design decisions. Over time, your design decisions will evolve and change. The change history\nprovides the context that your teams require to align initiatives, avoid\nduplication, and measure performance changes effectively over time. Change logs\nare particularly valuable when you onboard a new cloud architect who is not yet\nfamiliar with your current design, strategy, or history. [Analysis by DORA](https://dora.dev/capabilities/documentation-quality/) \nhas found a clear link between documentation quality and organizational\nperformance — the organization's ability to meet their performance and\nprofitability goals. Simplify your design and use fully managed services Simplicity is crucial for design. If your architecture is too complex to\nunderstand, it will be difficult to implement the design and manage it over\ntime. Where feasible, use fully managed services to minimize the risks, time,\nand effort associated with managing and maintaining baseline systems. If you're already running your workloads in production, test with managed\nservices to see how they might help to reduce operational complexities. If\nyou're developing new workloads, then start simple, establish a minimal viable\nproduct (MVP), and resist the urge to over-engineer. You can identify\nexceptional use cases, iterate, and improve your systems incrementally over\ntime. Decouple your architecture [Research from DORA](https://dora.dev/capabilities/loosely-coupled-teams/) \nshows that architecture is an important predictor for achieving continuous\ndelivery. Decoupling is a technique that's used to separate your applications\nand service components into smaller components that can operate independently.\nFor example, you might separate a monolithic application stack into individual\nservice components. In a loosely coupled architecture, an application can run\nits functions independently, regardless of the various dependencies. A decoupled architecture gives you increased flexibility to do the following: Apply independent upgrades. Enforce specific security controls. Establish reliability goals for each subsystem. Monitor health. Granularly control performance and cost parameters. You can start the decoupling process early in your design phase or incorporate\nit as part of your system upgrades as you scale. Use a stateless architecture A stateless architecture can increase both the reliability and scalability of\nyour applications. Stateful applications rely on various dependencies to perform tasks, such as\nlocal caching of data. Stateful applications often require additional mechanisms\nto capture progress and restart gracefully. Stateless applications can perform\ntasks without significant local dependencies by using shared storage or cached\nservices. A stateless architecture enables your applications to scale up quickly\nwith minimum boot dependencies. The applications can withstand hard restarts,\nhave lower downtime, and provide better performance for end users. Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2026-01-28 UTC.", "znaku_textu": 8364, "slov": 1108, "odkazu": 483, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:04", "sha256": "d05306ce630f501929df1c79bd7f52d341a5e21cfa8096543c0b97fe58d8b172", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://docs.cloud.google.com/docs", "https://docs.cloud.google.com/docs/get-started", "https://docs.cloud.google.com/docs/product-list", "https://docs.cloud.google.com/support/docs", "https://docs.cloud.google.com/products/gemini-enterprise-agent-platform", "https://docs.cloud.google.com/apigee", "https://docs.cloud.google.com/bigquery", "https://docs.cloud.google.com/products/compute", "https://docs.cloud.google.com/cdn", "https://docs.cloud.google.com/run", "https://docs.cloud.google.com/storage", "https://docs.cloud.google.com/sql", "https://docs.cloud.google.com/gemini/enterprise/docs", "https://docs.cloud.google.com/kubernetes-engine", "https://docs.cloud.google.com/looker", "https://docs.cloud.google.com/docs/access-resources", "https://docs.cloud.google.com/docs/costs-usage", "https://docs.cloud.google.com/docs/iac", "https://docs.cloud.google.com/docs/devtools", "https://docs.cloud.google.com/docs/ai-ml", "https://docs.cloud.google.com/docs/application-development", "https://docs.cloud.google.com/docs/application-hosting", "https://docs.cloud.google.com/docs/compute-area", "https://docs.cloud.google.com/docs/data", "https://docs.cloud.google.com/docs/databases", "https://docs.cloud.google.com/docs/dhm-cloud", "https://docs.cloud.google.com/docs/industry", "https://docs.cloud.google.com/docs/migration", "https://docs.cloud.google.com/docs/networking", "https://docs.cloud.google.com/docs/observability", "https://docs.cloud.google.com/docs/security", "https://docs.cloud.google.com/docs/storage", "https://console.cloud.google.com/", "https://docs.cloud.google.com/architecture", "https://console.cloud.google.com/freetrial", "https://docs.cloud.google.com/", "https://dora.dev/guides/dora-metrics-four-keys/", "https://dora.dev/capabilities/documentation-quality/", "https://dora.dev/capabilities/loosely-coupled-teams/", "https://creativecommons.org/licenses/by/4.0/", "https://www.apache.org/licenses/LICENSE-2.0", "https://developers.google.com/site-policies", "https://discuss.google.dev/c/google-cloud/14/", "https://docs.cloud.google.com/release-notes", "https://status.cloud.google.com/", "https://github.com/googlecloudPlatform/", "https://x.com/googlecloud", "https://www.youtube.com/googlecloud", "https://www.youtube.com/googlecloudplatform", "https://developers.google.com/", "https://developer.android.com/", "https://developer.chrome.com/", "https://firebase.google.com/", "https://ai.google.com/", "https://about.google/", "https://policies.google.com/privacy", "https://policies.google.com/terms?hl=en"]} {"url": "https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions", "titulek": "Documenting Architecture Decisions", "h1": "Context", "popis": "", "klicova_slova": "", "kanonicka": "https://www.cognitect.com/blog/2011/11/15/documenting-architecture-decisions", "jazyk": "en-US", "robots_meta": "", "og": {"og:locale": "en_US", "og:type": "article", "og:title": "Documenting Architecture Decisions", "og:url": "https://www.cognitect.com/blog/2011/11/15/documenting-architecture-decisions", "og:site_name": "Cognitect.com", "og:description": ""}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Context"}, {"uroven": 1, "text": "Decision"}, {"uroven": 1, "text": "Status"}, {"uroven": 1, "text": "Consequences"}, {"uroven": 1, "text": "Experience Report"}, {"uroven": 1, "text": "More Reading"}], "markdown": "Documenting Architecture Decisions\n\n[Michael Nygard](/authors/MichaelNygard.html)\n - November 15, 2011\n\n[agility](/blog/tags?tag=agility) [architecture](/blog/tags?tag=architecture)\n\n# Context\n\nArchitecture for agile projects has to be described and defined\ndifferently. Not all decisions will be made at once, nor will all of\nthem be done when the project begins.\n\nAgile methods are not opposed to documentation, only to valueless\ndocumentation. Documents that assist the team itself can have value,\nbut only if they are kept up to date. Large documents are never kept\nup to date. Small, modular documents have at least a chance at being\nupdated.\n\nNobody ever reads large documents, either. Most developers have been\non at least one project where the specification document was larger\n(in bytes) than the total source code size. Those documents are too\nlarge to open, read, or update. Bite sized pieces are easier for for\nall stakeholders to consume.\n\nOne of the hardest things to track during the life of a project is the\nmotivation behind certain decisions. A new person coming on to a\nproject may be perplexed, baffled, delighted, or infuriated by some\npast decision. Without understanding the rationale or consequences,\nthis person has only two choices:\n\n1. **Blindly accept the decision.** This response may be OK, if the decision is still valid. It may\n not be good, however, if the context has changed and the decision\n should really be revisited. If the project accumulates too many\n decisions accepted without understanding, then the development\n team becomes afraid to change anything and the project collapses\n under its own weight.\n2. **Blindly change it.** Again, this may be OK if the decision needs to be reversed. On the\n other hand, changing the decision without understanding its\n motivation or consequences could mean damaging the project's\n overall value without realizing it. (E.g., the decision supported\n a non-functional requirement that hasn't been tested yet.)\n\nIt's better to avoid either blind acceptance or blind reversal.\n\n# Decision\n\nWe will keep a collection of records for \"architecturally significant\"\ndecisions: those that affect the structure, non-functional\ncharacteristics, dependencies, interfaces, or construction techniques.\n\nAn architecture decision record is a short text file in a format\nsimilar to an Alexandrian pattern. (Though the decisions themselves\nare not necessarily patterns, they share the characteristic balancing\nof forces.) Each record describes a set of forces and a single\ndecision in response to those forces. Note that the decision is the\ncentral piece here, so specific forces may appear in multiple ADRs.\n\nWe will keep ADRs in the project repository under doc/arch/adr-NNN.md\n\nWe should use a lightweight text formatting language like Markdown or\nTextile.\n\nADRs will be numbered sequentially and monotonically. Numbers will not\nbe reused.\n\nIf a decision is reversed, we will keep the old one around, but mark\nit as superseded. (It's still relevant to know that it *was* the\ndecision, but is *no longer* the decision.)\n\nWe will use a format with just a few parts, so each document is easy\nto digest. The format has just a few parts.\n\n**Title** These documents have names that are short noun phrases. For\nexample, \"ADR 1: Deployment on Ruby on Rails 3.0.10\" or \"ADR 9: LDAP\nfor Multitenant Integration\"\n\n**Context** This section describes the forces at play, including\ntechnological, political, social, and project local. These forces are\nprobably in tension, and should be called out as such. The language in\nthis section is value-neutral. It is simply describing facts.\n\n**Decision** This section describes our response to these forces. It\nis stated in full sentences, with active voice. \"We will …\"\n\n**Status** A decision may be \"proposed\" if the project stakeholders\nhaven't agreed with it yet, or \"accepted\" once it is agreed. If a\nlater ADR changes or reverses a decision, it may be marked as\n\"deprecated\" or \"superseded\" with a reference to its replacement.\n\n**Consequences** This section describes the resulting context, after\napplying the decision. All consequences should be listed here, not\njust the \"positive\" ones. A particular decision may have positive,\nnegative, and neutral consequences, but all of them affect the team\nand project in the future.\n\nThe whole document should be one or two pages long. We will write each\nADR as if it is a conversation with a future developer. This requires\ngood writing style, with full sentences organized into\nparagraphs. Bullets are acceptable only for visual style, not as an\nexcuse for writing sentence fragments. (Bullets kill people, even\nPowerPoint bullets.)\n\n# Status\n\nAccepted.\n\n# Consequences\n\nOne ADR describes one significant decision for a specific project. It\nshould be something that has an effect on how the rest of the project\nwill run.\n\nThe consequences of one ADR are very likely to become the context for\nsubsequent ADRs. This is also similar to Alexander's idea of a pattern\nlanguage: the large-scale responses create spaces for the smaller\nscale to fit into.\n\nDevelopers and project stakeholders can see the ADRs, even as the team\ncomposition changes over time.\n\nThe motivation behind previous decisions is visible for everyone,\npresent and future. Nobody is left scratching their heads to\nunderstand, \"What were they thinking?\" and the time to change old\ndecisions will be clear from changes in the project's context.\n\n---\n\n# Experience Report\n\nYou may have noticed that this post is formatted like an ADR\nitself. We've been using this format on a few of our projects since\nearly August. That's not a very long time in the global sense, but\nearly feedback from both clients and developers has been quite\npositive. In that time, we've had six to ten developers rotate through\nprojects using ADRs. All of them have stated that they appreciate the\ndegree of context they received by reading them.\n\nADRs have been especially useful for capturing longer-term\nintentions. We have several clients who are stabilizing their current\nsystems, but looking toward a larger rearchitecture in the\nnot-too-distant future. By writing these intentions down, we don't\ninadvertently make those future changes harder.\n\nOne potential objection is that keeping these in version control with\nthe code makes them less accessible for project managers, client\nstakeholders, and others who don't live in version control like the\ndevelopment team does. In practice, our projects almost all live in\nGitHub private repositories, so we can exchange links to the latest\nversion in master. Since GitHub does markdown processing\nautomatically, it looks just as friendly as any wiki page would.\n\nSo far, ADRs are proving to be a useful tool, so we'll keep using\nthem.\n\n# More Reading\n\nThanks to Philipe Kruchten for discussing the [importance of\narchitecture decisions](http://www.computer.org/portal/web/csdl/doi/10.1109/MS.2009.52). I'm\ntold there is more about them in\n[Documenting Software Architectures](http://www.sei.cmu.edu/library/abstracts/books/0321552687.cfm)\nwhich is near the top of my reading queue.\n\nTo the extent possible under law,\n [Cognitect, a Nu Holdings, Ltd. company.](/blog/2011/11/15/documenting-architecture-decisions)\n has waived all copyright and related or neighboring rights to\n \"Documenting Architecture Decisions\".\n This work is published from:\n \n United States.", "znaku_textu": 7320, "slov": 1135, "odkazu": 87, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:05", "sha256": "01bdb22a561924b5eb072b501b530d14157d4a674561dac25cfff3197eb04faf", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["http://www.computer.org/portal/web/csdl/doi/10.1109/MS.2009.52", "http://www.sei.cmu.edu/library/abstracts/books/0321552687.cfm", "http://creativecommons.org/publicdomain/zero/1.0/", "https://international.nubank.com.br/about", "https://international.nubank.com.br/careers", "https://international.nubank.com.br/newsroom", "https://www.investidores.nu/en/", "https://international.nubank.com.br/impact/environmental", "https://international.nubank.com.br/impact/social", "https://international.nubank.com.br/impact/governance/", "https://nubank.com.br/", "https://nu.com.mx/", "https://nu.com.co/", "https://nu.com.ar/", "https://building.nubank.com.br/", "https://blog.nubank.com.br/", "https://blog.nu.com.mx/", "https://blog.nu.com.co/", "https://github.com/cognitect"]} {"url": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/eu-us-data-transfers_en", "titulek": "EU-US data transfers - European Commission", "h1": "EU-US data transfers", "popis": "Find out more about the data protection rules governing the transfer of personal data between the EU and the US, including the EU-US Data Privacy Framework.", "klicova_slova": "data protection", "kanonicka": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/eu-us-data-transfers_en", "jazyk": "en", "robots_meta": "", "og": {"og:determiner": "auto", "og:site_name": "European Commission", "og:type": "website", "og:url": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/eu-us-data-transfers_en", "og:title": "EU-US data transfers", "og:description": "Find out more about the data protection rules governing the transfer of personal data between the EU and the US, including the EU-US Data Privacy Framework.", "og:image": "https://commission.europa.eu/profiles/contrib/ewcms/modules/ewcms_seo/assets/images/ec-socialmedia-fallback.png", "og:image:alt": "European Commission"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://commission.europa.eu/index_en", "name": "Home"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://commission.europa.eu/law_en", "name": "Law"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://commission.europa.eu/law/law-topic_en", "name": "Law by topic"}}, {"@type": "ListItem", "position": 4, "item": {"@id": "https://commission.europa.eu/law/law-topic/data-protection_en", "name": "Data protection"}}, {"@type": "ListItem", "position": 5, "item": {"@id": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection_en", "name": "International dimension of data protection"}}, {"@type": "ListItem", "position": 6, "item": {"@id": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/eu-us-data-transfers_en", "name": "EU-US data transfers"}}]}, {"@context": ["https://schema.org", "https://schema.org/isPartOf"], "@type": "schema:NewsArticle", "isPartOf": [{"@type": "DefinedTerm", "name": "Directorate-General for Justice and Consumers", "termCode": "JUST", "inDefinedTermSet": {"@type": "DefinedTermSet", "name": "Corporate body", "url": "http://publications.europa.eu/resource/authority/corporate-body"}, "@id": "http://publications.europa.eu/resource/authority/corporate-body/JUST"}], "@id": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/eu-us-data-transfers"}, {"@context": "https://schema.org", "@type": "CreativeWork", "name": "EU-US data transfers", "description": "How personal data transferred between the EU and US is protected.", "url": "https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/eu-us-data-transfers", "about": [{"@type": "DefinedTerm", "name": "data protection", "inDefinedTermSet": {"@type": "DefinedTermSet", "name": "Digital Europa Thesaurus", "alternateName": "DET", "url": "http://publications.europa.eu/resource/dataset/det", "description": "Multilingual thesaurus for digital Europe covering EU policy areas.", "publisher": {"@type": "GovernmentOrganization", "name": "Publications Office of the European Union", "url": "http://publications.europa.eu/resource/authority/corporate-body/PUBL"}}, "@id": "http://data.europa.eu/uxp/5181"}], "publisher": [{"@type": ["GovernmentOrganization", "DefinedTerm"], "identifier": {"@type": "PropertyValue", "propertyID": "http://publications.europa.eu/resource/authority/corporate-body", "value": "JUST", "url": "http://publications.europa.eu/resource/authority/corporate-body/JUST"}, "name": "Directorate-General for Justice and Consumers", "alternateName": "DG Justice and Consumers", "inDefinedTermSet": {"@type": "DefinedTermSet", "name": "Corporate body", "url": "http://publications.europa.eu/resource/authority/corporate-body", "description": "Authority table for EU corporate bodies and organizations", "publisher": {"@type": "GovernmentOrganization", "name": "Publications Office of the European Union", "url": "http://publications.europa.eu/resource/authority/corporate-body/PUBL"}}, "@id": "http://publications.europa.eu/resource/authority/corporate-body/JUST"}]}], "drobecky": ["Home", "Law", "Law by topic", "Data protection", "International dimension of data protection", "EU-US data transfers"], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 198, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:05", "sha256": "878af907f161fd3757184d7b3399354dca4f78ee1a2ace915334a664a45fcfd0", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://ec.europa.eu/stories/2024-2029-commission/", "https://ec.europa.eu/commission/presscorner/home/en", "https://audiovisual.ec.europa.eu/en/", "https://ec.europa.eu/stories/safe-clicks/", "https://ec.europa.eu/stories/protecting-ocean/", "https://ec.europa.eu/stories/eu-trade/", "https://op.europa.eu/en/", "https://europa.eu/eurobarometer/screen/home", "https://eur-lex.europa.eu/homepage.html", "https://learning-corner.learning.europa.eu/index_en", "https://have-your-say.ec.europa.eu/index_en", "https://citizens.ec.europa.eu/index_en", "https://eur-lex.europa.eu/eli/dec_impl/2023/1795/oj", "https://ec.europa.eu/commission/presscorner/detail/en/qanda_22_6045", "https://ec.europa.eu/commission/presscorner/detail/en/ip_23_3721", "https://ec.europa.eu/commission/presscorner/detail/en/qanda_23_3752", "https://ec.europa.eu/commission/presscorner/detail/en/fs_23_3754", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=LEGISSUM%3A3104_8", "http://europa.eu/rapid/press-release_IP-18-6818_en.htm", "http://europa.eu/rapid/press-release_IP-17-3966_en.htm", "https://eur-lex.europa.eu/legal-content/EN/TXT/?toc=OJ%3AL%3A2016%3A207%3AFULL&uri=uriserv%3AOJ.L_.2016.207.01.0001.01.ENG", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%3AOJ.L_.2016.207.01.0001.01.ENG", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=COM%3A2016%3A117%3AFIN", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52015DC0566", "http://europa.eu/rapid/press-release_STATEMENT-16-4182_en.htm", "http://europa.eu/rapid/press-release_MEMO-16-4183_en.htm", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52019DC0495", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52018DC0860", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52019SC0390", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52018SC0497", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A52017DC0611", "https://ec.europa.eu/eusurvey/runner/feedback_randUX_survey", "https://ec.social-network.europa.eu/@EUCommission", "https://www.linkedin.com/company/european-commission", "https://wsocial.eu/profile/ec.europa.eu/", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en"]} {"url": "https://commoncrawl.org/", "titulek": "Common Crawl - Open Repository of Web Crawl Data", "h1": "Common Crawl maintains a free, open repository of web crawl data that can be used by anyone.", "popis": "We build and maintain an open repository of web crawl data that can be accessed and analyzed by anyone.", "klicova_slova": "", "kanonicka": "https://commoncrawl.org", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Common Crawl - Open Repository of Web Crawl Data", "og:description": "We build and maintain an open repository of web crawl data that can be accessed and analyzed by anyone.", "og:type": "website"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Common Crawl maintains a free, open repository of web crawl data that can be used by anyone."}, {"uroven": 2, "text": "Common Crawl is a 501(c)(3) non–profit founded in 2007.‍We make wholesale extraction, transformation, and analysis of open web data accessible to researchers."}], "markdown": "# Common Crawl maintains a free, open repository of web crawl data that can be used by anyone.\n\n## Common Crawl is a 501(c)(3) non–profit founded in 2007.\n‍\nWe make wholesale extraction, transformation, and analysis of open web data accessible to researchers.\n\n[Overview](/overview)", "znaku_textu": 276, "slov": 42, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:05", "sha256": "7a0e95f28c7acc1edf8bbb91935e5cfb37c14ac61c0ed04c02f2af6cc6e84b2c", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commoncrawl.github.io/cc-crawl-statistics/", "https://commoncrawl.github.io/cc-webgraph-statistics/", "https://commoncrawl.github.io/cc-examples/", "https://status.commoncrawl.org/", "https://groups.google.com/g/common-crawl", "https://huggingface.co/commoncrawl", "https://discord.gg/njaVFh7avF", "https://aclanthology.org/2026.findings-acl.1955/", "https://aclanthology.org/2026.acl-long.1965/", "https://aclanthology.org/2026.stereacult-1.6/", "https://aclanthology.org/2026.acl-long.1431/", "https://arxiv.org/abs/2607.13636", "https://docs.iza.org/dp18434.pdf", "https://arxiv.org/abs/2601.18026", "https://arxiv.org/abs/2206.15147", "https://scholar.google.com/scholar?q=common+crawl", "https://github.com/commoncrawl/cc-citations/", "https://x.com/commoncrawl", "https://www.linkedin.com/company/common-crawl/"]} {"url": "https://commoncrawl.org/ccbot", "titulek": "Common Crawl - CCBot", "h1": "CCBot", "popis": "CCBot is Common Crawl's Nutch-based web crawler that makes use of the Apache Hadoop project. We use Map-Reduce to process and extract crawl candidates from our crawl database.", "klicova_slova": "", "kanonicka": "https://commoncrawl.org/ccbot", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Common Crawl - CCBot", "og:description": "CCBot is Common Crawl's Nutch-based web crawler that makes use of the Apache Hadoop project. We use Map-Reduce to process and extract crawl candidates from our crawl database.", "og:type": "website"}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 32, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:06", "sha256": "9d5f4e45ce5470b220fd978065114203bbbeb085cd5d4983aa6c19d0de503fe8", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commoncrawl.github.io/cc-crawl-statistics/", "https://commoncrawl.github.io/cc-webgraph-statistics/", "https://commoncrawl.github.io/cc-examples/", "https://status.commoncrawl.org/", "https://groups.google.com/g/common-crawl", "https://huggingface.co/commoncrawl", "https://discord.gg/njaVFh7avF", "https://index.commoncrawl.org/ccbot.json", "https://x.com/commoncrawl", "https://www.linkedin.com/company/common-crawl/"]} {"url": "https://crontab.guru/", "titulek": "Crontab.guru - The cron schedule expression generator", "h1": "crontab guru", "popis": "An easy to use editor for crontab schedules.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://og.cronitor.io/api/blog?title=*%20*%20*%20*%20*%20%0ACrontab%20Guru", "og:image:type": "image/png", "og:image:width": "1200", "og:image:height": "630"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "crontab guru"}, {"uroven": 2, "text": "Monitor your cron jobs with Cronitor"}, {"uroven": 3, "text": "From the creators of Crontab.guru, Cronitor tracks every job execution, alerts on any failure, and tells you everything you need to know about your cron jobs.Get started free. Setup in minutes."}, {"uroven": 2, "text": "The control panel for your crontab"}, {"uroven": 3, "text": "The Crontab Guru dashboard is a free, self-hosted, open source control panel for your cron jobs."}], "markdown": "# [crontab guru](/)\n\nThe quick and simple editor for cron schedule expressions by [Cronitor](https://cronitor.io?utm_source=crontabguru&utm_campaign=cronitor_top).\n\nloading...\n\n## Monitor your cron jobs with Cronitor\n\n### From the creators of Crontab.guru, Cronitor tracks every job execution, alerts on any failure, and tells you everything you need to know about your cron jobs.\nGet started free. Setup in minutes.\n\n[Start Monitoring](https://cronitor.io/cron-job-monitoring?utm_source=crontabguru&utm_campaign=start_monitoring_button)\n\nNEW\n\n## The control panel for your crontab\n\n### The Crontab Guru dashboard is a free, self-hosted, [open source](https://github.com/cronitorio/cronitor-cli) control panel for your cron jobs.\n\n[Learn More](/dashboard.html)\n\n- [cron examples](/examples.html)\n- [cron dashboard](/dashboard.html)\n- [systemd guru](https://systemd.guru?utm_source=crontabguru)\n- [cron jobs](https://cronitor.io/guides/cron-jobs?utm_source=crontabguru&utm_campaign=cron_reference)\n- [cron monitoring](https://cronitor.io/cron-job-monitoring?utm_source=crontabguru&utm_campaign=cron_monitoring)\n- [uptime monitoring](https://cronitor.io/uptime-monitoring?utm_source=crontabguru&utm_campaign=uptime_monitoring)\n- [status pages](https://cronitor.io/status-pages?utm_source=crontabguru&utm_campaign=status_pages)\n\n© Cronitor.io", "znaku_textu": 1309, "slov": 104, "odkazu": 15, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:07", "sha256": "952c649051c02304d2f4049fd935a09a19373e0bfb34aa5cd664e4689f47d3b7", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://cronitor.io/cron-job-monitoring", "https://cronitor.io/", "https://github.com/cronitorio/cronitor-cli", "https://systemd.guru/", "https://cronitor.io/guides/cron-jobs", "https://cronitor.io/uptime-monitoring", "https://cronitor.io/status-pages"]} {"url": "https://csrc.nist.gov/", "titulek": "NIST Computer Security Resource Center | CSRC", "h1": "", "popis": "CSRC provides access to NIST's cybersecurity- and information security-related projects, publications, news and events.", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 4, "text": "Featured Links"}, {"uroven": 3, "text": "Shaping the NVD for the Future: Comment by 10/13"}, {"uroven": 3, "text": "Review and comment on our Draft Publications"}, {"uroven": 3, "text": "CPRT: Cybersecurity and Privacy Reference Tool"}, {"uroven": 3, "text": "Shaping the NVD for the Future: Comment by 10/13"}, {"uroven": 3, "text": "Review and comment on our Draft Publications"}, {"uroven": 3, "text": "CPRT: Cybersecurity and Privacy Reference Tool"}, {"uroven": 5, "text": "Highlights"}, {"uroven": 3, "text": "Recent News"}, {"uroven": 3, "text": "Upcoming Events"}], "markdown": "#### Featured Links\n\n[Cybersecurity & Privacy Reference Tool (CPRT) Datasets](https://csrc.nist.gov/Projects/cprt/catalog#/cprt/home)\n\n[NIST Risk Management Framework](/Projects/risk-management)\n [SP 800-53r5](/Pubs/sp/800/53/r5/upd1/Final); [SP 800-53 Controls & Baselines Site](https://csrc.nist.gov/Projects/risk-management/sp800-53-controls)\n\n[Protecting CUI](/Projects/protecting-controlled-unclassified-information) ([SP 800-171](/Pubs/sp/800/171/r3/final))\n\n[Post-Quantum Cryptography](/Projects/post-quantum-cryptography)\n\n[Crypto Module Validation Program](/projects/cryptographic-module-validation-program)\n\r\n& [Validated Modules Search](/Projects/cryptographic-module-validation-program/validated-modules)\n\n[NIST Cybersecurity Framework](/Projects/cybersecurity-framework)\n\n[Publications](/Publications) / [Drafts](/publications/draft-pubs) / [SP 800s](/publications/sp800)\n\n[Cybersecurity Program History & Timeline](/nist-cyber-history)\n\n[How to Engage with NIST](https://www.nist.gov/cybersecurity/cybersecurity-privacy-stakeholder-engagement)\n\n### [Shaping the NVD for the Future: Comment by 10/13](https://www.nist.gov/blogs/cybersecurity-insights/shaping-nvd-future-we-need-your-feedback-ai-enabled-vulnerability)\n\n### [Review and comment on our Draft Publications](https://csrc.nist.gov/publications/drafts-open-for-comment)\n\n### [CPRT: Cybersecurity and Privacy Reference Tool](https://csrc.nist.gov/projects/cprt)\n\n### [Shaping the NVD for the Future: Comment by 10/13](https://www.nist.gov/blogs/cybersecurity-insights/shaping-nvd-future-we-need-your-feedback-ai-enabled-vulnerability)\n\n### [Review and comment on our Draft Publications](https://csrc.nist.gov/publications/drafts-open-for-comment)\n\n### [CPRT: Cybersecurity and Privacy Reference Tool](https://csrc.nist.gov/projects/cprt)\n\nThe **Computer Security Resource Center (CSRC)** has information on many of NIST's cybersecurity- and information security-related projects, publications, news and events. CSRC supports people and organizations in government, industry, and academia—both in the U.S. and internationally.\n\n- Learn more about **[current projects](/Projects)** and **[upcoming events](/Events)**\n- Search and browse our **[publications library](/Publications)** of current and historical standards, guidelines, and other reports\n- Explore content by **[topic](/Topics)**\n- Search our **[glossary](/Glossary)** of terms defined in our publications\n- Subscribe to **[CSRC email updates](https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3)**\n\n##### Highlights\n\n- Learn more about [NIST SP 800-53 Control Overlays for Securing AI Systems](/News/2025/control-overlays-for-securing-ai-systems) .\n- The [Cybersecurity and Privacy Reference Tool (CPRT)](/Projects/cprt) offers a consistent format for accessing the reference data of NIST cybersecurity and privacy standards, guidelines, and frameworks.\n\n### Recent News\n\n**[NCCoE Releases NIST IR 8536](/News/2026/nccoe-releases-nist-ir-8536)** **September 9, 2026** \n To help strengthen the security and resilience of global supply chains, the NIST National Cybersecurity Center of Excellence (NCCoE) has released the finalized version of NIST Internal Report 8536, Supply Chain Traceability...\n\n**[NIST Releases SP 800-38Er1 for Comments](/News/2026/nist-releases-sp-800-38er1-for-comments)** **September 3, 2026** \n NIST has released a draft revision of Special Publication (SP) 800-38E, which approves the XTS-AES mode of operation for protecting the confidentiality of data on storage devices. Revision 1 updates the referenced...\n\n**[Next-Generation Secure Hardware into Standards](/News/2026/next-generation-secure-hardware-into-standards)** **September 1, 2026** \n NIST announces the publication of NIST Internal Report (IR) 8615, Workshop on Rolling Next-Generation Secure Hardware into Standards.\n\n**[Call for Comments on NIST SP 800-213A](/News/2026/nist-s-sp-800-213a-released-for-comments)** **August 31, 2026** \n NIST is initiating a revision of Special Publication (SP) 800-213A, Internet of Things (IoT) Device Cybersecurity Guidance for the Federal Government: IoT Device Cybersecurity Requirement Catalog, and has posted a Pre-Draft...\n\n**[Transcending Traditional Database Security Models](/News/2026/transcending-traditional-database-security-models)** **August 27, 2026** \n NIST has released Internal Report (IR) 8611, m-NGAC: Transcending Traditional Database Security Models.\n\n**[View All News](/News)**\n\n### Upcoming Events\n\n**[TCPT3: Threshold Call Preview Talks #3](/Events/2026/tcpt3)** **September 29, 2026 - September 30, 2026**\n\n**[NIST Workshop on Privacy-Enhancing Cryptography 2026](/Events/2026/wpec2026)** **October 26, 2026 - October 29, 2026**\n\n**[View All Events](/Events)**", "znaku_textu": 4615, "slov": 514, "odkazu": 98, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:08", "sha256": "9a96360b2b5e2f5510dedd8e9551749b52ac56aafa9dd0266e7f4c9f60a9079e", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.nist.gov/cybersecurity/cybersecurity-privacy-stakeholder-engagement", "https://www.nist.gov/blogs/cybersecurity-insights/shaping-nvd-future-we-need-your-feedback-ai-enabled-vulnerability", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://csrc.nist.gov/Projects/ssdf", "titulek": "Secure Software Development Framework | CSRC", "h1": "Secure Software Development Framework SSDF", "popis": "NIST has finalized SP 800-218A, Secure Software Development Practices for Generative AI and Dual-Use Foundation Models: An SSDF Community Profile. This publication augments SP 800-218 by adding practices, tasks, recommendations, considerations, notes,...", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Secure Software Development Framework SSDF"}, {"uroven": 4, "text": "Project Links"}, {"uroven": 3, "text": "Overview"}, {"uroven": 4, "text": "SSDF Practices"}, {"uroven": 4, "text": "SSDF Use"}, {"uroven": 4, "text": "New in Version 1.1"}, {"uroven": 4, "text": "SSDF Community Profiles"}, {"uroven": 4, "text": "NIST Plans"}, {"uroven": 4, "text": "Contact Us"}, {"uroven": 4, "text": "Contacts"}, {"uroven": 4, "text": "Group"}, {"uroven": 4, "text": "Topics"}, {"uroven": 4, "text": "Related Projects"}, {"uroven": 4, "text": "Additional Pages"}, {"uroven": 4, "text": "Contacts"}, {"uroven": 4, "text": "Group"}, {"uroven": 4, "text": "Topics"}, {"uroven": 4, "text": "Related Projects"}], "markdown": "**You are viewing this page in an unauthorized frame window.**\n\nThis is a potential security issue, you are being redirected to [https://csrc.nist.gov](https://csrc.nist.gov).\n\n# Secure Software Development Framework SSDF\n\n#### Project Links\n\n[Overview](/projects/ssdf) [News & Updates](/Projects/ssdf/news) [Events](/Projects/ssdf/events) [Publications](/Projects/ssdf/publications)\n\n### Overview\n\nNIST has finalized SP 800-218A, *[Secure Software Development Practices for Generative AI and Dual-Use Foundation Models: An SSDF Community Profile](/pubs/sp/800/218/a/final)*. This publication augments [SP 800-218](/pubs/sp/800/218/final) by adding practices, tasks, recommendations, considerations, notes, and informative references that are specific to AI model development throughout the software development life cycle.\n\nNIST has recently added a Community Profiles section to this page. It will contain links to SSDF Community Profiles developed by NIST and by third parties. Contact us at [[email protected]](/cdn-cgi/l/email-protection#93e0e0f7f5d3fdfae0e7bdf4fce5) if you have a published SSDF Community Profile that you'd like added to the list.\n\nNIST Special Publication (SP) 800-218, *[Secure Software Development Framework (SSDF) Version 1.1: Recommendations for Mitigating the Risk of Software Vulnerabilities](/pubs/sp/800/218/final)* has been posted as final, along with a Microsoft Excel version of the SSDF 1.1 table. SP 800-218 includes mappings from Executive Order (EO) 14028 Section 4e clauses to the SSDF practices and tasks that help address each clause. Also, see a summary of changes from version 1.1 and plans for the SSDF.\n\nSSDF Practices | SSDF Use | New in Version 1.1 | Community Profiles | NIST Plans | Contact Us\n\nThe Secure Software Development Framework (SSDF) is a set of fundamental, sound, and secure software development practices based on established secure software development practice documents from organizations such as [BSA](https://www.bsa.org/), [OWASP](https://owasp.org/), and [SAFECode](https://safecode.org/). Few software development life cycle (SDLC) models explicitly address software security in detail, so practices like those in the SSDF need to be added to and integrated with each SDLC implementation.\n\nFollowing the SSDF practices should help software producers reduce the number of vulnerabilities in released software, reduce the potential impact of the exploitation of undetected or unaddressed vulnerabilities, and address the root causes of vulnerabilities to prevent recurrences. Also, because the SSDF provides a common language for describing secure software development practices, software producers and acquirers can use it to foster their communications for procurement processes and other management activities.\n\n*Back to Top*\n\n#### SSDF Practices\n\nThe SSDF practices are organized into four groups:\n\n- **Prepare the Organization (PO)** : Ensure that the organization’s people, processes, and technology are prepared to perform secure software development at the organization level and, in some cases, for individual development groups or projects.\n- **Protect the Software (PS)** : Protect all components of the software from tampering and unauthorized access.\n- **Produce Well-Secured Software (PW)** : Produce well-secured software with minimal security vulnerabilities in its releases.\n- **Respond to Vulnerabilities (RV)** : Identify residual vulnerabilities in software releases and respond appropriately to address those vulnerabilities and prevent similar vulnerabilities from occurring in the future.\n\nEach practice is defined with the following elements:\n\n- **Practice** : The name of the practice and a unique identifier, followed by a brief explanation of what the practice is and why it is beneficial.\n- **Task** : An action that may be needed to perform a practice.\n- **Notional Implementation Example** : A notional example of types of tools, processes, or other method that could be used to help implement a task. No examples or combination of examples are required, and the stated examples are not the only feasible options.\n- **Reference** : A pointer to an established secure development practice document and its mappings to a particular task.\n\nSSDF version 1.1 is defined in NIST SP 800-218, *[Secure Software Development Framework (SSDF) Version 1.1: Recommendations for Mitigating the Risk of Software Vulnerabilities](/pubs/sp/800/218/final).*NIST SP 800-218 replaces the NIST Cybersecurity White Paper, *[Mitigating the Risk of Software Vulnerabilities by Adopting a Secure Software Development Framework (SSDF)](/pubs/cswp/13/mitigating-risk-of-software-vulnerabilities-ssdf/final)* that defined SSDF version 1.0.\n\n*Back to Top*\n\n#### SSDF Use\n\nThe SSDF can help an organization to align and prioritize its secure software development activities with its business/mission requirements, risk tolerances, and resources. The SSDF’s practices are outcome-based. Comparing the outcomes an organization is currently achieving to the SSDF’s practices may reveal gaps to be addressed. An action plan to address these gaps can aid in setting priorities that take into consideration the organization’s mission and business needs and its risk management processes.\n\nIn addition to **risk**, factors such as **cost**, **feasibility**, and **applicability** should be considered when deciding which SSDF practices to use and how much time and resources to devote to each practice. **Automatability** is an important factor to consider, especially for implementing practices at scale. Also, some practices are more advanced than others and have **dependencies** on certain foundational practices already being in place.\n\nThe SSDF’s practices, tasks, and implementation examples represent a starting point to consider; they are meant to be changed and customized, and to evolve over time. The intention of the SSDF is not to create a checklist to follow, but instead to provide a basis for planning and implementing a risk-based approach to adopting secure software development practices and continuously improving software development.\n\n*Back to Top*\n\n#### New in Version 1.1\n\nThe most noteworthy changes in SSDF from the original to version 1.1 are:\n\n- **Practices** : Added PO.5, “Implement and Maintain Secure Environments for Software Development”\n- **Tasks** :\n - Added PO.1.2 on documenting security requirements for organization-developed software to meet\n - Added PS.3.2 on collecting and sharing provenance data for all components of software releases\n - Added PW.1.2 on tracking software security requirements, risks, and design decisions\n- **Notional Implementation Examples** :\n - Added numerous examples suggested in public comments\n - Numbered the examples for each task\n- **References** : Added 11 references, including\n - Cloud Native Computing Foundation, [Software Supply Chain Best Practices](https://github.com/cncf/tag-security/tree/main/supply-chain-security/supply-chain-security-paper)\n - International Electrotechnical Commission (IEC), [Security for industrial automation and control systems – Part 4-1: Secure product development lifecycle requirements, IEC 62443-4-1](https://webstore.iec.ch/publication/33615)\n - International Organization for Standardization (ISO)/International Electrotechnical Commission (IEC), [Information technology – Security techniques – Vulnerability disclosure, ISO/IEC 29147:2018](https://www.iso.org/standard/72311.html) , and [Information technology – Security techniques – Vulnerability handling processes, ISO/IEC 30111:2019](https://www.iso.org/standard/69725.html)\n - NIST, [Cybersecurity Supply Chain Risk Management Practices for Systems and Organizations, SP 800-161 Revision 1](https://doi.org/10.6028/NIST.SP.800-161r1-draft2)\n - Open Web Application Security Project, [OWASP Software Component Verification Standard, Version 1.0](https://github.com/OWASP/Software-Component-Verification-Standard)\n- **Other** : Created Appendix A, which maps [Executive Order (EO) 14028](https://www.nist.gov/itl/executive-order-improving-nations-cybersecurity) Section 4e clauses to the SSDF practices and tasks that help address each clause\n\nFor more details, see the change log in Appendix C of [SP 800-218](/pubs/sp/800/218/final). The [SP 800-218 landing page](/pubs/sp/800/218/final) also includes supplemental files showing the significant changes from the original SSDF version 1.0 white paper and from the SP 800-218 public draft.\n\n*Back to Top*\n\n#### SSDF Community Profiles\n\nAn SSDF Community Profile (Profile) is a baseline of SSDF practices and tasks that have been enhanced to address a particular use case. A Profile may add recommendations, considerations, notes, implementation examples, informative references, and other information specific to a use case. Profiles supplement what the SSDF already includes and are intended to be used in conjunction with the SSDF. Profile users should utilize the implementation examples and informative references defined in the SSDF for additional information on how to perform each SSDF practice and task for all types of software development.\n\nNIST-provided Community Profiles:\n\n- SP 800-218A, *[Secure Software Development Practices for Generative AI and Dual-Use Foundation Models: An SSDF Community Profile](/pubs/sp/800/218/a/final)*\n\nAs of this writing, NIST is not aware of any SSDF Community Profiles developed by third parties. Contact us at [[email protected]](/cdn-cgi/l/email-protection#3546465153755b5c46411b525a43) if you have a published SSDF Community Profile that you'd like listed here.\n\n*Back to Top*\n\n#### NIST Plans\n\nNIST has been considering next steps for the evolution of the SSDF. It will be updated periodically to reflect your inputs and feedback, and we encourage you to share your thoughts with us as you implement the SSDF within your own organization and software development efforts. Having inputs from a variety of software producers will be particularly helpful to us in refining and revising the SSDF.\n\nAdditional actions under consideration include the following:\n\n- Moving reference mappings to an interactive online repository for ease of use and to provide a machine-readable format\n- Illustrating how the SSDF can be applied to particular SDLC models, especially transitioning DevOps implementations to DevSecOps **(** for more information on this, see the NIST [DevSecOps](https://csrc.nist.gov/projects/devsecops) project site)\n- Developing an SSDF baseline targeting open-source software (leveraging the fundamental practices and tasks, and augmenting them with open-source specific examples)\n- Developing a practical demonstration of the use of the SSDF for a specific software development model, languages, technologies, etc. for open-source software\n\n*Back to Top*\n\n#### Contact Us\n\nYour comments and suggestions for the SSDF project are always welcome. Contact us at [[email protected]](/cdn-cgi/l/email-protection#463535222006282f353268212930).\n\n*Back to Top*\n\n#### Contacts\n\n**SSDF Inquiries**\n[[email protected]](/cdn-cgi/l/email-protection#1162627577517f7862653f767e67)\n\n#### Group\n\n[Software Security Group](/Groups/Computer-Security-Division/Software-Security-Group)\n\n#### Topics\n\n**Security and Privacy:** [systems security engineering](/Topics/Security-and-Privacy/systems-security-engineering), [vulnerability management](/Topics/Security-and-Privacy/risk-management/vulnerabilities/vulnerability-management)\n\n**Technologies:** [artificial intelligence](/Topics/technologies/artificial-intelligence), [software & firmware](/Topics/technologies/software-firmware)\n\n**Laws and Regulations:** [Executive Order 14028](/Topics/Laws-and-Regulations/executive-documents/Executive-Order-14028)\n\n#### Related Projects\n\n[Cybersecurity Framework](/Projects/cybersecurity-framework) \n [DevSecOps | NCCoE](/Projects/devsecops) \n [National Initiative for Cybersecurity Education](/Projects/national-initiative-for-cybersecurity-education) \n [National Software Reference Library](/Projects/nsrl-national-software-reference-library) \n [National Vulnerability Database](/Projects/national-vulnerability-database) \n [OLIR](/Projects/olir) \n [SAMATE: Software Assurance Metrics And Tool Evaluation](/Projects/samate-software-assurance-metrics-tool-evaluation) \n [Software Identification Tagging](/Projects/software-identification-swid) \n [Systems Security Engineering (SSE) Project](/Projects/systems-security-engineering-project) \n [Vulnerability Disclosure Guidelines](/Projects/vulnerability-disclosure-guidelines)\n\n#### Additional Pages\n\n[References](/Projects/ssdf/references)\n\n#### Contacts\n\n**SSDF Inquiries**\n[[email protected]](/cdn-cgi/l/email-protection#6417170002240a0d17104a030b12)\n\n#### Group\n\n[Software Security Group](/Groups/Computer-Security-Division/Software-Security-Group)\n\n#### Topics\n\n**Security and Privacy:** [systems security engineering](/Topics/Security-and-Privacy/systems-security-engineering), [vulnerability management](/Topics/Security-and-Privacy/risk-management/vulnerabilities/vulnerability-management)\n\n**Technologies:** [artificial intelligence](/Topics/technologies/artificial-intelligence), [software & firmware](/Topics/technologies/software-firmware)\n\n**Laws and Regulations:** [Executive Order 14028](/Topics/Laws-and-Regulations/executive-documents/Executive-Order-14028)\n\n#### Related Projects\n\n[Cybersecurity Framework](/Projects/cybersecurity-framework)\n [DevSecOps | NCCoE](/Projects/devsecops)\n [National Initiative for Cybersecurity Education](/Projects/national-initiative-for-cybersecurity-education)\n [National Software Reference Library](/Projects/nsrl-national-software-reference-library)\n [National Vulnerability Database](/Projects/national-vulnerability-database)\n [OLIR](/Projects/olir)\n [SAMATE: Software Assurance Metrics And Tool Evaluation](/Projects/samate-software-assurance-metrics-tool-evaluation)\n [Software Identification Tagging](/Projects/software-identification-swid)\n [Systems Security Engineering (SSE) Project](/Projects/systems-security-engineering-project)\n [Vulnerability Disclosure Guidelines](/Projects/vulnerability-disclosure-guidelines)\n\nCreated February 25, 2021, Updated April 13, 2026", "znaku_textu": 13904, "slov": 1704, "odkazu": 115, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:09", "sha256": "83b91c9ae7ec168ae8f62e701c2a711e9aa7afcdb2ab0cbfa0cbfdee60bf50d0", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Fssdf", "https://x.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Fssdf", "https://www.linkedin.com/shareArticle?mini=true&source=csrc.nist.gov&url=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Fssdf", "https://www.bsa.org/", "https://owasp.org/", "https://safecode.org/", "https://github.com/cncf/tag-security/tree/main/supply-chain-security/supply-chain-security-paper", "https://webstore.iec.ch/publication/33615", "https://www.iso.org/standard/72311.html", "https://www.iso.org/standard/69725.html", "https://doi.org/10.6028/NIST.SP.800-161r1-draft2", "https://github.com/OWASP/Software-Component-Verification-Standard", "https://www.nist.gov/itl/executive-order-improving-nations-cybersecurity", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://csrc.nist.gov/projects/role-based-access-control", "titulek": "Role Based Access Control | CSRC", "h1": "Role Based Access Control RBAC", "popis": "ARCHIVED PROJECT: This project is no longer being supported. The content is no longer being updated, and the information may be outdated.   One of the most challenging problems in managing large networks is the complexity of security administration....", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Role Based Access Control RBAC"}, {"uroven": 4, "text": "Project Links"}, {"uroven": 3, "text": "Overview"}, {"uroven": 4, "text": "Background"}, {"uroven": 4, "text": "Economic Impact"}, {"uroven": 4, "text": "RBAC vs. ABAC (Attribute Based Access Control)"}, {"uroven": 4, "text": "Primary References and Background"}, {"uroven": 5, "text": "Current standard (2012)"}, {"uroven": 5, "text": "Updating the standard (2007-2012)"}, {"uroven": 5, "text": "Original standard (2004)"}, {"uroven": 5, "text": "Original proposal (2000)"}, {"uroven": 4, "text": "Group"}, {"uroven": 4, "text": "Topics"}, {"uroven": 4, "text": "Related Projects"}, {"uroven": 4, "text": "Additional Pages"}, {"uroven": 4, "text": "Group"}, {"uroven": 4, "text": "Topics"}, {"uroven": 4, "text": "Related Projects"}], "markdown": "**You are viewing this page in an unauthorized frame window.**\n\nThis is a potential security issue, you are being redirected to [https://csrc.nist.gov](https://csrc.nist.gov).\n\n# Role Based Access Control RBAC\n\n#### Project Links\n\n[Overview](/projects/role-based-access-control) [FAQs](/Projects/role-based-access-control/faqs) [Publications](/Projects/role-based-access-control/publications) [Presentations](/Projects/role-based-access-control/presentations)\n\n### Overview\n\n**ARCHIVED PROJECT:**This project is no longer being supported. The content is no longer being updated, and the information may be outdated.\n\nOne of the most challenging problems in managing large networks is the complexity of security administration. **Role based access control (RBAC)** (also called \"role based security\"), [as formalized in 1992 by David Ferraiolo and Rick Kuhn](/pubs/conference/1992/10/13/rolebased-access-controls/final), has become the predominant model for advanced access control because it reduces this cost.\n\nThis project site explains RBAC concepts, costs and benefits, the economic impact of RBAC, design and implementation issues, the RBAC standard, and advanced research topics. The NIST model for RBAC was adopted as American National Standard 359-2004 by the American National Standards Institute, International Committee for Information Technology Standards (ANSI/INCITS) on February 11, 2004. It was revised as **INCITS 359-2012** in 2012. See the RBAC standard section for more information.\n\n**New to RBAC?** see: Primary RBAC References and Background | [RBAC FAQ](/projects/role-based-access-control) | [RBAC Case Studies](/projects/role-based-access-control/rbac-case-studies) . \n **Implementing RBAC?** start with: [Role Engineering and RBAC Standards](/projects/role-based-access-control/role-engineering-and-rbac-standards) | [RBAC Case Studies](/projects/role-based-access-control/rbac-case-studies) . \n **Researcher or student?** see Primary RBAC References and Background and other research papers in the [RBAC Library](/projects/role-based-access-control/rbac-library) .\n\n#### Background\n\nSecurity administration can be costly and prone to error because administrators usually specify access control lists for each user on the system individually. With RBAC, security is managed at a level that corresponds closely to the organization's structure. Each user is assigned one or more roles, and each role is assigned one or more privileges that are permitted to users in that role. Security administration with RBAC consists of determining the operations that must be executed by persons in particular jobs, and assigning employees to the proper roles. Complexities introduced by mutually exclusive roles or role hierarchies are handled by the RBAC software, making security administration easier.\n\n**[Role-Based Access Control, 2nd edition](/publications/detail/book/2007/role-based-access-control)**(2007)\n\r\nby Ferraiolo, Chandramouli, & Kuhn\n\nA variety of IT vendors, including IBM, Sybase, Secure Computing, and Siemens began developing products based on this model in 1994. In 2000, the Ferraiolo-Kuhn model was integrated with the framework of [Sandhu et al.](/CSRC/media/Projects/Role-Based-Access-Control/documents/sandhu96.pdf) to create a unified model for RBAC, published as the [NIST RBAC model](/pubs/conference/2000/07/26/nist-model-for-rbac-towards-a-unified-standard/final) (Sandhu, Ferraiolo, and Kuhn, 2000) and adopted as an ANSI/INCITS standard in 2004. Today, most information technology vendors have incorporated RBAC into their product lines, and the technology is finding applications in areas ranging from health care to defense, in addition to the mainstream commerce systems for which it was designed. As of 2010, the majority of users in enterprises of 500 or more were using RBAC, according to [analysis from RTI International](/pubs/other/2010/12/19/economic-analysis-of-rbac-final-report/final).\n\n---\n\n#### Economic Impact\n\nNIST's RBAC research was estimated to have saved industry $1.1 billion over multiple years, according to **[Economic Analysis of Role-Based Access Control: Final Report](/pubs/other/2010/12/19/economic-analysis-of-rbac-final-report/final)**, a December 2010 report from RTI International. The report analyzes economic value of RBAC for the enterprise and for the national economy, and provides quantitative economic benefits of RBAC per employee for adopting firms. Of particular interest to firms considering RBAC, report calculates savings from reduced employee downtime, more efficient provisioning, and more efficient access control policy administration, beyond the added security provided by RBAC.\n\n---\n\n#### RBAC vs. ABAC (Attribute Based Access Control)\n\nABAC is a rule-based approach to access control that can be easy to set up but complex to manage. We are investigating both practical and theoretical aspects of ABAC and similar approaches, and we held an [Attribute Based Access Control Workshop](/events/2013/attribute-based-access-control-workshop) in 2013.\n\nThe following papers discuss ABAC and tradeoffs in design:\n\n| E.J. Coyne, T.R. Weil (2013), **[ABAC and RBAC: Scalable, Flexible, and Auditable Access Management](http://doi.ieeecomputersociety.org/10.1109/MITP.2013.37)**, *IEEE IT Professional* (May/June 2013).\r\n\r\n *Reviews tradeoffs and characteristics of role based and attribute based approaches.* |\n| --- |\n| D.R. Kuhn (2011), **[Vulnerability Hierarchies in Access Control Configurations](/pubs/conference/2011/12/27/vulnerability-hierarchies-in-access-control-config/final)**, *4th Symposium on Configuration Analytics and Automation (SAFECONFIG) 2011*.\r\n *Shows that hierarchies of vulnerability detection conditions exist in ABAC rules, such that tests which detect one class of vulnerability are guaranteed to detect other classes.* |\n| D.R. Kuhn, E.J. Coyne, T.R. Weil (2010), **[Adding Attributes to Role-Based Access Control](/pubs/journal/2010/06/adding-attributes-to-rolebased-access-control/final)**, *IEEE Computer* (June 2010).\r\n *Discusses revisions to RBAC standard being developed to combine advantages of RBAC and ABAC approaches.* |\n\n---\n\n#### Primary References and Background\n\n[RBAC Model](javascript:void(0))\n\n| D.F. Ferraiolo and D.R. Kuhn (1992) **[Role-Based Access Controls](/publications/detail/conference-paper/1992/10/13/role-based-access-controls)**, *15th National Computer Security Conference*.\r\n\r\n *Introduced formal model for role based access control.* |\n| --- |\n| R.S. Sandhu, E.J. Coyne, H.L. Feinstein, C.E. Youman (1996), **Role-Based Access Control Models**, *IEEE Computer* 29(2), (February 1996). [[DOI](https://doi.org/10.1109/2.485845); [Preprint](/CSRC/media/Projects/Role-Based-Access-Control/documents/sandhu96.pdf)]\r\n *Proposed a framework for RBAC models.* |\n\n[RBAC Standard (Currently: INCITS 359-2012)](javascript:void(0))\n\n##### **Current standard (2012)**\n\nINCITS 359-2012, **[Information Technology -- Role-Based Access Control](https://standards.incits.org/apps/group_public/project/details.php?project_id=1658)**(May 29, 2012)\n\n*\"This standard [an update of INCITS 359-2004] consists of two main parts the RBAC Reference Model and the RBAC System and Administrative Functional Specification. The RBAC Reference Model defines sets of basic RBAC elements (i.e., users, roles,permissions, operations and objects) and relations as types and functions that are included in this standard. The RBAC System and Administrative Functional Specification specifies the features that are required of an RBAC system.\"*\n\n##### **Updating the standard (2007-2012)**\n\nThe original 2004 standard was updated by the INCITS CS1.1 RBAC task group. Relevant resources include:\n\n| D.F. Ferraiolo, R. Kuhn, R. Sandhu (2007), **[RBAC Standard Rationale: comments on a Critique of the ANSI Standard on Role Based Access Control](/CSRC/media/Projects/Role-Based-Access-Control/documents/ferraiolo-kuhn-sandhu-07.pdf)**, *IEEE Security & Privacy* 5(6) (Nov/Dec 2007).\r\n\r\n *Explains decisions made in developing the RBAC standard.* |\n| --- |\n| D.R. Kuhn, E.J. Coyne, T.R. Weil (2010), **[Adding Attributes to Role-Based Access Control](/publications/detail/journal-article/2010/adding-attributes-to-role-based-access-control)**, *IEEE Computer* 43(6), (June 2010).\r\n *Overview of potential revisions to the RBAC standard.* |\n| Presentation (by Ed Coyne) on Implementation and Interoperability of Role Based Access Control (INCITS 459 Draft Standard). |\n\n##### **Original standard (2004)**\n\nANSI/INCITS 359-2004, **American National Standard for Information Technology - Role Based Access Control.**\n\n- *The original IT industry consensus standard for RBAC, based on the original proposal (below).*\n\n##### **Original proposal (2000)**\n\nR. Sandhu, D.F. Ferraiolo, D.R. Kuhn (2000), **[The NIST Model for Role-Based Access Control: Towards a Unified Standard](/publications/detail/conference-paper/2000/07/26/the-nist-model-for-role-based-access-control-towards-a-unified-)**, *Proceedings, 5th ACM Workshop on Role Based Access Control*\n\n- *First public draft of the NIST RBAC model and proposal for an RBAC standard.*\n\n---\n\n**RBAC for Web Services Standard**\n\nWeb applications can use RBAC services defined by the OASIS [XACML Technical Committee](http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xacml) (see \"XACML RBAC Profile\"). The XACML specification describes building blocks from which an RBAC solution is constructed. A full example illustrates these building blocks. The specification then discusses how these building blocks may be used to implement the various elements of the RBAC model presented in ANSI INCITS 359-2004.\n\n---\n\n#### Group\n\n[Software Security Group](/Groups/Computer-Security-Division/Software-Security-Group)\n\n#### Topics\n\n**Security and Privacy:** [access control](/Topics/Security-and-Privacy/identity-and-access-management/access-control)\n\n#### Related Projects\n\n[Attribute Based Access Control](/Projects/attribute-based-access-control) \n [Policy Machine](/Projects/policy-machine)\n\n#### Additional Pages\n\n[RBAC Library](/Projects/role-based-access-control/RBAC-Library) [Role Engineering and RBAC Standards](/Projects/role-based-access-control/role-engineering-and-rbac-standards) [RBAC and Sarbanes-Oxley Compliance](/Projects/role-based-access-control/RBAC-and-Sarbanes-Oxley-Compliance) [RBAC Case Studies](/Projects/role-based-access-control/RBAC-Case-Studies)\n\n#### Group\n\n[Software Security Group](/Groups/Computer-Security-Division/Software-Security-Group)\n\n#### Topics\n\n**Security and Privacy:** [access control](/Topics/Security-and-Privacy/identity-and-access-management/access-control)\n\n#### Related Projects\n\n[Attribute Based Access Control](/Projects/attribute-based-access-control)\n [Policy Machine](/Projects/policy-machine)\n\nCreated November 21, 2016, Updated March 04, 2026", "znaku_textu": 10570, "slov": 1349, "odkazu": 103, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:10", "sha256": "48ca3211e1262cfc2104e251ffa39dac552aa5a26683ae068bd539dcf8387f9b", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Frole-based-access-control", "https://x.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Frole-based-access-control", "https://www.linkedin.com/shareArticle?mini=true&source=csrc.nist.gov&url=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Frole-based-access-control", "http://doi.ieeecomputersociety.org/10.1109/MITP.2013.37", "https://doi.org/10.1109/2.485845", "https://standards.incits.org/apps/group_public/project/details.php?project_id=1658", "http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xacml", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://csrc.nist.gov/pubs/sp/800/115/final", "titulek": "SP 800-115, Technical Guide to Information Security Testing and Assessment | CSRC", "h1": "Technical Guide to Information Security Testing and Assessment", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Technical Guide to Information Security Testing and Assessment"}, {"uroven": 4, "text": "Author(s)"}, {"uroven": 4, "text": "Keywords"}, {"uroven": 5, "text": "Control Families"}, {"uroven": 4, "text": "Documentation"}, {"uroven": 4, "text": "Topics"}], "markdown": "# Technical Guide to Information Security Testing and Assessment\n\nDocumentation Topics\n\n**Date Published:** September 2008\n\n**Supersedes:** [SP 800-42 (10/15/2003)](/pubs/sp/800/42/final)\n\n#### Author(s)\n\nKaren Scarfone (NIST), Murugiah Souppaya (NIST), Amanda Cody (BAH), Angela Orebaugh (BAH)\n\nThe purpose of this document is to assist organizations in planning and conducting technical information security tests and examinations, analyzing findings, and developing mitigation strategies. The guide provides practical recommendations for designing, implementing, and maintaining technical information security test and examination processes and procedures. These can be used for several purposes, such as finding vulnerabilities in a system or network and verifying compliance with a policy or other requirements. The guide is not intended to present a comprehensive information security testing and examination program but rather an overview of key elements of technical security testing and examination, with an emphasis on specific technical techniques, the benefits and limitations of each, and recommendations for their use.\n\nThe purpose of this document is to assist organizations in planning and conducting technical information security tests and examinations, analyzing findings, and developing mitigation strategies. The guide provides practical recommendations for designing, implementing, and maintaining technical...\r\n See full abstract\n\nThe purpose of this document is to assist organizations in planning and conducting technical information security tests and examinations, analyzing findings, and developing mitigation strategies. The guide provides practical recommendations for designing, implementing, and maintaining technical information security test and examination processes and procedures. These can be used for several purposes, such as finding vulnerabilities in a system or network and verifying compliance with a policy or other requirements. The guide is not intended to present a comprehensive information security testing and examination program but rather an overview of key elements of technical security testing and examination, with an emphasis on specific technical techniques, the benefits and limitations of each, and recommendations for their use.\n\nHide full abstract\n\n#### Keywords\n\nPenetration testing; risk assessment; security assessment; security examination; security testing; vulnerability scanning\n\n##### Control Families\n\nAudit and Accountability; Assessment, Authorization and Monitoring; Risk Assessment; System and Services Acquisition; System and Communications Protection; System and Information Integrity\n\n#### Documentation\n\n**Publication:**\n [https://doi.org/10.6028/NIST.SP.800-115](https://doi.org/10.6028/NIST.SP.800-115)\n [Download URL](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-115.pdf)\n\n**Supplemental Material:**\n [SP 800-115 (EPUB) (epub)](/files/pubs/sp/800/115/final/docs/sp800_115.epub)\n\n**Document History:**\n \r\n 09/30/08: SP 800-115 (Final)\n\n#### Topics\n\n**Security and Privacy**\n\n[acquisition](/topics/security-and-privacy/security-programs-and-operations/acquisition), [audit & accountability](/topics/security-and-privacy/security-programs-and-operations/audit-and-accountability), [risk assessment](/topics/security-and-privacy/risk-management/risk-assessment)\n\n**Applications**\n\n[communications & wireless](/topics/applications/communications-and-wireless)", "znaku_textu": 3401, "slov": 394, "odkazu": 79, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:11", "sha256": "a0dc2a409156f91f5089a3656de51a5b62b0579d343229af23cc99af5c543ad4", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F115%2Ffinal", "https://x.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F115%2Ffinal", "https://www.linkedin.com/shareArticle?mini=true&source=csrc.nist.gov&url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F115%2Ffinal", "https://doi.org/10.6028/NIST.SP.800-115", "https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-115.pdf", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://csrc.nist.gov/pubs/sp/800/122/final", "titulek": "SP 800-122, Guide to Protecting the Confidentiality of Personally Identifiable Information (PII) | CSRC", "h1": "Guide to Protecting the Confidentiality of Personally Identifiable Information (PII)", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Guide to Protecting the Confidentiality of Personally Identifiable Information (PII)"}, {"uroven": 4, "text": "Author(s)"}, {"uroven": 4, "text": "Keywords"}, {"uroven": 5, "text": "Control Families"}, {"uroven": 4, "text": "Documentation"}, {"uroven": 4, "text": "Topics"}], "markdown": "# Guide to Protecting the Confidentiality of Personally Identifiable Information (PII)\n\nDocumentation Topics\n\n**Date Published:** April 2010\n\n#### Author(s)\n\nErika McCallister (NIST), Tim Grance (NIST), Karen Scarfone (NIST)\n\nThe purpose of this document is to assist Federal agencies in protecting the confidentiality of personally identifiable information (PII) in information systems. The document explains the importance of protecting the confidentiality of PII in the context of information security and explains its relationship to privacy using the the Fair Information Practices, which are the principles underlying most privacy laws and privacy best practices. PII should be protected from inappropriate access, use, and disclosure. This document provides practical, context-based guidance for identifying PII and determining what level of protection is appropriate for each instance of PII. The document also suggests safeguards that may offer appropriate levels of protection for PII and provides recommendations for developing response plans for incidents involving PII. Organizations are encouraged to tailor the recommendations to meet their specific requirements.\n\nThe purpose of this document is to assist Federal agencies in protecting the confidentiality of personally identifiable information (PII) in information systems. The document explains the importance of protecting the confidentiality of PII in the context of information security and explains its...\r\n See full abstract\n\nThe purpose of this document is to assist Federal agencies in protecting the confidentiality of personally identifiable information (PII) in information systems. The document explains the importance of protecting the confidentiality of PII in the context of information security and explains its relationship to privacy using the the Fair Information Practices, which are the principles underlying most privacy laws and privacy best practices. PII should be protected from inappropriate access, use, and disclosure. This document provides practical, context-based guidance for identifying PII and determining what level of protection is appropriate for each instance of PII. The document also suggests safeguards that may offer appropriate levels of protection for PII and provides recommendations for developing response plans for incidents involving PII. Organizations are encouraged to tailor the recommendations to meet their specific requirements.\n\nHide full abstract\n\n#### Keywords\n\nPII; confidentiality; privacy; PII confidentiality impact level; FIPS 199; personally identifiable information\n\n##### Control Families\n\nAccess Control; Audit and Accountability; Identification and Authentication; Media Protection; Planning; Risk Assessment; System and Communications Protection\n\n#### Documentation\n\n**Publication:**\n [https://doi.org/10.6028/NIST.SP.800-122](https://doi.org/10.6028/NIST.SP.800-122)\n [Download URL](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-122.pdf)\n\n**Supplemental Material:**\n [SP 800-122 (EPUB) (epub)](/files/pubs/sp/800/122/final/docs/sp800_122.epub)\n\n**Document History:**\n \r\n 04/06/10: SP 800-122 (Final)\n\n#### Topics\n\n**Security and Privacy**\n\n[planning](/topics/security-and-privacy/security-programs-and-operations/planning), [privacy](/topics/security-and-privacy/privacy), [risk assessment](/topics/security-and-privacy/risk-management/risk-assessment)\n\n**Laws and Regulations**\n\n[Federal Information Security Modernization Act](/topics/laws-and-regulations/laws/fisma), [OMB Circular A-130](/topics/laws-and-regulations/executive-documents/omb-a-130)", "znaku_textu": 3557, "slov": 432, "odkazu": 79, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:12", "sha256": "66b18008c99ec2bb8c8c867af031ffed832b89f208fc04e3494216be1031d0d5", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F122%2Ffinal", "https://x.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F122%2Ffinal", "https://www.linkedin.com/shareArticle?mini=true&source=csrc.nist.gov&url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F122%2Ffinal", "https://doi.org/10.6028/NIST.SP.800-122", "https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-122.pdf", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final", "titulek": "SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations | CSRC", "h1": "Security and Privacy Controls for Information Systems and Organizations", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Security and Privacy Controls for Information Systems and Organizations"}, {"uroven": 4, "text": "Author(s)"}, {"uroven": 4, "text": "Keywords"}, {"uroven": 5, "text": "Control Families"}, {"uroven": 4, "text": "Documentation"}, {"uroven": 4, "text": "Topics"}], "markdown": "# Security and Privacy Controls for Information Systems and Organizations\n\nDocumentation Topics\n\n**Date Published:** September 2020 (includes updates as of Dec. 10, 2020)\n\n**Supersedes:** [SP 800-53 Rev. 5 (09/23/2020)](/pubs/sp/800/53/r5/final)\n\n**Planning Note (08/27/2025):**\n\nOn August 27, 2025, NIST issued a minor release of [SP 800-53 (Release 5.2.0)](https://csrc.nist.gov/projects/cprt/catalog#/cprt/framework/version/SP_800_53_5_2_0/home) that includes:\n\n- New Control/Control Enhancements: SA-15(13), SA-24, SI-02(07)\n- Revisions to Existing Controls: SI-07(12)\n- Updates to Control Discussion: SA-04, SA-05, SA-08, SA-08(14), SI-02, SI-02(05)\n- Updates to Related Controls: All -01 Controls, AU-02, AU-03, CA-07, IR-04, IR-06, IR-08, SA-15, SI-02, SI-07\n\nA list of all the changes in the patch release is [available](/files/pubs/sp/800/53/r5/upd1/final/docs/sp800-53r5-potential-updates.xlsx) under Supplemental Material.\n\n***\n\nSummary of supplemental files:\n\n- [**Analysis of updates between 800-53 Rev. 5 and Rev. 4**](/CSRC/media/Publications/sp/800-53/rev-5/final/documents/sp800-53r4-to-r5-comparison-workbook.xlsx) (Updated 1/07/22) Describes the changes to each control and control enhancement, provides a brief summary of the changes, and includes an assessment of the significance of the changes. *Note that this comparison was authored by The MITRE Corporation for the Director of National Intelligence (DNI) and is being shared with permission by DNI.*\n- [**Mapping of Appendix J Privacy Controls (Rev. 4) to Rev. 5**](/CSRC/media/Publications/sp/800-53/rev-5/final/documents/sp800-53r4-appj-to-r5-comparison.xlsx) Supports organizations using the privacy controls in Appendix J of SP 800-53 Rev. 4 that are transitioning to the integrated control catalog in Rev. 5.\n- **Mappings and crosswalks between 800-53 Rev. 5 and other frameworks and standards** ( [NIST Cybersecurity Framework and NIST Privacy Framework](/CSRC/media/Publications/sp/800-53/rev-5/final/documents/csf-pf-to-sp800-53r5-mappings.xlsx) ; [ISO/IEC 27001:2022](https://csrc.nist.gov/projects/olir/informative-reference-catalog/details?referenceId=155#/) ) Mappings and crosswalks provide a general indication of SP 800-53 control coverage with respect to other frameworks and standards. When leveraging these relationships, consider the scope and intended use of each publication. Do not assume equivalency based solely on relationship tables; mappings and crosswalks are not always one-to-one and relationship analysis can be subjective.\n\nAlso available:\n\n- **Security and Privacy Control Collaboration Index Template** ( [Excel](/CSRC/media/Publications/sp/800-53/rev-5/final/documents/sp800-53-collaboration-index-template.xlsx) & [Word](/CSRC/media/Publications/sp/800-53/rev-5/final/documents/sp800-53-collaboration-index-template.docx) ) The collaboration index template supports information security and privacy program collaboration to help ensure that the objectives of both disciplines are met and that risks are appropriately managed. It is an optional tool for information security and privacy programs to identify the degree of collaboration needed between security and privacy programs with respect to the selection and/or implementation of controls in Rev. 5.\n- **[OSCAL version of 800-53 Rev. 5 controls](https://github.com/usnistgov/oscal-content/tree/v1.4.0/src/nist.gov/SP800-53)** Rev. 5 controls are provided using the [Open Security Controls Assessment Language](https://pages.nist.gov/OSCAL/) (OSCAL); currently available in JSON, XML, and YAML.\n\n#### Author(s)\n\nJoint Task Force\n\nThis publication provides a catalog of security and privacy controls for information systems and organizations to protect organizational operations and assets, individuals, other organizations, and the Nation from a diverse set of threats and risks, including hostile attacks, human errors, natural disasters, structural failures, foreign intelligence entities, and privacy risks. The controls are flexible and customizable and implemented as part of an organization-wide process to manage risk. The controls address diverse requirements derived from mission and business needs, laws, executive orders, directives, regulations, policies, standards, and guidelines. Finally, the consolidated control catalog addresses security and privacy from a functionality perspective (i.e., the strength of functions and mechanisms provided by the controls) and from an assurance perspective (i.e., the measure of confidence in the security or privacy capability provided by the controls). Addressing functionality and assurance helps to ensure that information technology products and the systems that rely on those products are sufficiently trustworthy.\n\nThis publication provides a catalog of security and privacy controls for information systems and organizations to protect organizational operations and assets, individuals, other organizations, and the Nation from a diverse set of threats and risks, including hostile attacks, human errors, natural...\r\n See full abstract\n\nThis publication provides a catalog of security and privacy controls for information systems and organizations to protect organizational operations and assets, individuals, other organizations, and the Nation from a diverse set of threats and risks, including hostile attacks, human errors, natural disasters, structural failures, foreign intelligence entities, and privacy risks. The controls are flexible and customizable and implemented as part of an organization-wide process to manage risk. The controls address diverse requirements derived from mission and business needs, laws, executive orders, directives, regulations, policies, standards, and guidelines. Finally, the consolidated control catalog addresses security and privacy from a functionality perspective (i.e., the strength of functions and mechanisms provided by the controls) and from an assurance perspective (i.e., the measure of confidence in the security or privacy capability provided by the controls). Addressing functionality and assurance helps to ensure that information technology products and the systems that rely on those products are sufficiently trustworthy.\n\nHide full abstract\n\n#### Keywords\n\nassurance; availability; computer security; confidentiality; control; cybersecurity; FISMA; information security; information system; integrity; personally identifiable information; Privacy Act; privacy controls; privacy functions; privacy requirements; Risk Management Framework; security controls; security functions; security requirements; system; system security\n\n##### Control Families\n\nAccess Control; Awareness and Training; Audit and Accountability; Assessment, Authorization and Monitoring; Configuration Management; Contingency Planning; Identification and Authentication; Incident Response; Maintenance; Media Protection; Physical and Environmental Protection; Planning; Program Management; Personnel Security; PII Processing and Transparency; Risk Assessment; System and Services Acquisition; System and Communications Protection; System and Information Integrity; Supply Chain Risk Management\n\n#### Documentation\n\n**Publication:**\n [https://doi.org/10.6028/NIST.SP.800-53r5](https://doi.org/10.6028/NIST.SP.800-53r5)\n [Download URL](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-53r5.pdf)\n\n**Supplemental Material:**\n [SP 800-53 Release 5.2.0](https://csrc.nist.gov/projects/cprt/catalog#/cprt/framework/version/SP_800_53_5_2_0/home)\n [Summary of Changes SP 800-53 Release 5.2.0 (pdf)](/files/projects/Risk-Management/800-53%20Comment%20Site/SP800-53-r5.2.0-changes.pdf)\n [Analysis of updates between 800-53 Rev. 5 and Rev. 4, by MITRE Corp. for ODNI (xlsx)](/files/pubs/sp/800/53/r5/upd1/final/docs/sp800-53r4-to-r5-comparison-workbook.xlsx)\n [Mapping: Appendix J Privacy Controls (Rev. 4) to Rev. 5 (xlsx)](/files/pubs/sp/800/53/r5/upd1/final/docs/sp800-53r4-appj-to-r5-comparison.xlsx)\n [Mappings: Cybersecurity Framework and Privacy Framework to Rev. 5 (xlsx)](/files/pubs/sp/800/53/r5/upd1/final/docs/csf-pf-to-sp800-53r5-mappings.xlsx)\n [Crosswalk: 800-53 Rev. 5 to ISO/IEC 27001:2022 (OLIR)](https://csrc.nist.gov/projects/olir/informative-reference-catalog/details?referenceId=155#/)\n [OSCAL Version of Rev. 5 controls](https://github.com/usnistgov/oscal-content/tree/v1.4.0/src/nist.gov/SP800-53)\n [Control Collaboration Index Template (xlsx)](/files/pubs/sp/800/53/r5/upd1/final/docs/sp800-53-collaboration-index-template.xlsx)\n [Control Collaboration Index Template (docx)](/files/pubs/sp/800/53/r5/upd1/final/docs/sp800-53-collaboration-index-template.docx)\n [Blog post](https://www.nist.gov/blogs/cybersecurity-insights/next-generation-security-and-privacy-controls-protecting-nations)\n\n**Publication Parts:**\n [SP 800-53A Rev. 5](/pubs/sp/800/53/a/r5/final)\n [SP 800-53B](/pubs/sp/800/53/b/upd1/final)\n\n**Related NIST Publications:**\n\n**Document History:**\n \r\n 12/10/20: SP 800-53 Rev. 5 (Final)\n\n#### Topics\n\n**Security and Privacy**\n\n[privacy controls](/topics/security-and-privacy/risk-management/controls/privacy-controls), [security controls](/topics/security-and-privacy/risk-management/controls/security-controls), [security programs & operations](/topics/security-and-privacy/security-programs-and-operations)\n\n**Laws and Regulations**\n\n[E-Government Act](/topics/laws-and-regulations/laws/e-gov-act), [Executive Order 14306](/topics/laws-and-regulations/executive-documents/executive-order-14306), [Federal Information Security Modernization Act](/topics/laws-and-regulations/laws/fisma), [Homeland Security Presidential Directive 12](/topics/laws-and-regulations/executive-documents/hspd-12), [Homeland Security Presidential Directive 7](/topics/laws-and-regulations/executive-documents/hspd-7), [OMB Circular A-11](/topics/laws-and-regulations/executive-documents/omb-a-11), [OMB Circular A-130](/topics/laws-and-regulations/executive-documents/omb-a-130)", "znaku_textu": 9848, "slov": 1150, "odkazu": 104, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:13", "sha256": "1485447a9a165bf398354c58354066ce15373740c9f81152a0569fa0f9cfdf84", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F53%2Fr5%2Fupd1%2Ffinal", "https://x.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F53%2Fr5%2Fupd1%2Ffinal", "https://www.linkedin.com/shareArticle?mini=true&source=csrc.nist.gov&url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F53%2Fr5%2Fupd1%2Ffinal", "https://github.com/usnistgov/oscal-content/tree/v1.4.0/src/nist.gov/SP800-53", "https://pages.nist.gov/OSCAL/", "https://doi.org/10.6028/NIST.SP.800-53r5", "https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-53r5.pdf", "https://www.nist.gov/blogs/cybersecurity-insights/next-generation-security-and-privacy-controls-protecting-nations", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://csrc.nist.gov/pubs/sp/800/63/4/final", "titulek": "SP 800-63-4, Digital Identity Guidelines | CSRC", "h1": "Digital Identity Guidelines", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-us", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Digital Identity Guidelines"}, {"uroven": 4, "text": "Author(s)"}, {"uroven": 4, "text": "Keywords"}, {"uroven": 5, "text": "Control Families"}, {"uroven": 4, "text": "Documentation"}, {"uroven": 4, "text": "Topics"}], "markdown": "# Digital Identity Guidelines\n\nDocumentation Topics\n\n**Date Published:** July 2025\n\n**Supersedes:** [SP 800-63-3 (03/02/2020)](/pubs/sp/800/63/3/upd2/final)\n\n#### Author(s)\n\nDavid Temoshok (NIST), Diana Proud-Madruga (Electrosoft), Yee-Yin Choong (NIST), Ryan Galluzzo (NIST), Sarbari Gupta (Electrosoft), Connie LaSalle (NIST), Naomi Lefkovitz (NIST), Andrew Regenscheid (NIST)\n\nThese guidelines cover the identity proofing, authentication, and federation of users (e.g., employees, contractors, or private individuals) who interact with government information systems over networks. They define technical requirements in each of the areas of identity proofing, enrollment, authenticators, management processes, authentication protocols, federation, and related assertions. They also offer technical recommendations and other informative text as helpful suggestions. The guidelines are not intended to constrain the development or use of standards outside of this purpose. This publication supersedes NIST Special Publication (SP) 800-63-3.\n\nThese guidelines cover the identity proofing, authentication, and federation of users (e.g., employees, contractors, or private individuals) who interact with government information systems over networks. They define technical requirements in each of the areas of identity proofing, enrollment,...\r\n See full abstract\n\nThese guidelines cover the identity proofing, authentication, and federation of users (e.g., employees, contractors, or private individuals) who interact with government information systems over networks. They define technical requirements in each of the areas of identity proofing, enrollment, authenticators, management processes, authentication protocols, federation, and related assertions. They also offer technical recommendations and other informative text as helpful suggestions. The guidelines are not intended to constrain the development or use of standards outside of this purpose. This publication supersedes NIST Special Publication (SP) 800-63-3.\n\nHide full abstract\n\n#### Keywords\n\nassertions; authentication; authentication assurance; authenticator; credential service provider; digital authentication; identity proofing; federation; passwords; PKI\n\n##### Control Families\n\nNone selected\n\n#### Documentation\n\n**Publication:**\n [https://doi.org/10.6028/NIST.SP.800-63-4](https://doi.org/10.6028/NIST.SP.800-63-4)\n [Download URL](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63-4.pdf)\n\n**Supplemental Material:**\n [Project homepage](https://www.nist.gov/identity-access-management/nist-special-publication-800-63-digital-identity-guidelines)\n [Blog post](https://www.nist.gov/blogs/cybersecurity-insights/lets-get-digital-updated-digital-identity-guidelines-are-here)\n [5 Key Changes graphic](/files/pubs/sp/800/63/4/final/docs/5_key_changes_graphic-digital_identity_r4.png)\n\n**Publication Parts:**\n [SP 800-63A-4](/pubs/sp/800/63/a/4/final)\n [SP 800-63B-4](/pubs/sp/800/63/b/4/final)\n [SP 800-63C-4](/pubs/sp/800/63/c/4/final)\n\n**Document History:**\n \r\n 06/08/20: [SP 800-63-4 (Draft)](/pubs/sp/800/63/4/iprd)\n\r\n 12/16/22: [SP 800-63-4 (Draft)](/pubs/sp/800/63/4/ipd)\n\r\n 08/21/24: [SP 800-63-4 (Draft)](/pubs/sp/800/63/4/2pd)\n\r\n 07/31/25: SP 800-63-4 (Final)\n\n#### Topics\n\n**Security and Privacy**\n\n[identity & access management](/topics/security-and-privacy/identity-and-access-management)", "znaku_textu": 3329, "slov": 371, "odkazu": 84, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:15", "sha256": "e3fa9aa5feefac05861937d4dcf1c8db9b647686d19b979c248a0653abfaebb0", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.nist.gov/", "https://www.nist.gov/nice/", "https://www.nist.gov/itl", "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F63%2F4%2Ffinal", "https://x.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F63%2F4%2Ffinal", "https://www.linkedin.com/shareArticle?mini=true&source=csrc.nist.gov&url=https%3A%2F%2Fcsrc.nist.gov%2Fpubs%2Fsp%2F800%2F63%2F4%2Ffinal", "https://doi.org/10.6028/NIST.SP.800-63-4", "https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63-4.pdf", "https://www.nist.gov/identity-access-management/nist-special-publication-800-63-digital-identity-guidelines", "https://www.nist.gov/blogs/cybersecurity-insights/lets-get-digital-updated-digital-identity-guidelines-are-here", "https://x.com/NISTCyber", "https://www.facebook.com/NIST", "https://www.linkedin.com/company/nist", "https://www.instagram.com/usnistgov/", "https://www.youtube.com/user/USNISTGOV", "https://www.nist.gov/news-events/nist-rss-feeds", "https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3", "https://www.nist.gov/about-nist/visit", "https://www.nist.gov/privacy-policy", "https://www.nist.gov/oism/accessibility", "https://www.nist.gov/privacy", "https://www.nist.gov/oism/copyrights", "https://www.commerce.gov/vulnerability-disclosure-policy", "https://www.nist.gov/no-fear-act-policy", "https://www.nist.gov/foia", "https://www.nist.gov/environmental-policy-statement", "https://www.nist.gov/summary-report-scientific-integrity", "https://www.nist.gov/nist-information-quality-standards", "https://www.commerce.gov/", "https://www.science.gov/", "https://www.usa.gov/", "https://vote.gov/"]} {"url": "https://ctu.gov.cz/co-je-to-dsa", "titulek": "Co je to DSA? | Český telekomunikační úřad", "h1": "Co je to DSA?", "popis": "Nařízení (EU) 2022/2065 o jednotném trhu digitálních služeb a o změně směrnice 2000/31/ES (nařízení o digitálních službách) – zkráceně nařízení DSA – je komplexní právní předpis, který zavádí v celé Evropské unii jednotná pravidla pro poskytovatele online zprostředkovatelských služeb s cílem vytvořit bezpečné, předvídatelné a důvěryhodné online prostředí. Tohoto cíle dosahuje", "klicova_slova": "", "kanonicka": "", "jazyk": "cs", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["Kde nyní jsem?", "Domů", "Digitální služby", "Online zprostředkovatelské služby (DSA)", "Co je to DSA?"], "osnova": [{"uroven": 1, "text": "Co je to DSA?"}, {"uroven": 3, "text": "Nezákonný obsah"}, {"uroven": 3, "text": "Systémová rizika"}], "markdown": "# Co je to DSA?\n\n[Nařízení (EU) 2022/2065 o jednotném trhu digitálních služeb a o změně směrnice 2000/31/ES (nařízení o digitálních službách)](https://eur-lex.europa.eu/legal-content/CS/AUTO/?uri=celex:32022R2065) – zkráceně nařízení DSA – je komplexní právní předpis, který zavádí v celé Evropské unii **jednotná pravidla pro poskytovatele online zprostředkovatelských služeb** s cílem vytvořit bezpečné, předvídatelné a důvěryhodné online prostředí. Tohoto cíle dosahuje především nastavením nových povinností pro poskytovatele služeb včetně pravidel odpovědnosti za obsah. Uživatelům služeb DSA naopak přiznává nová práva, díky kterým mají větší kontrolu nad poskytovanými službami. Důležitým prvkem je také zavedení mechanismu přeshraničního vymáhání povinností a spolupráce příslušných orgánů napříč EU. **Vědecká komunita dále díky nařízení DSA získala přístup k datům** velmi velkých online platforem a internetových vyhledávačů za účelem zkoumání systémových rizik.\n\n**Plné účinnosti nařízení DSA nabylo 17. února 2024.** Do českého právního řádu bude tento předpis implementován prostřednictvím návrhu [**zákona o digitální ekonomice**](https://odok.cz/portal/veklep/material/ALBSCWAFVK4T/KORND2WHD822), který se nyní nachází v legislativním procesu.\n\n**Hlavní cíle nařízení DSA:**\n\n- Posílení práv uživatelů služeb,\n- Podpora transparentnosti,\n- Regulace velkých online platforem,\n- Opatření proti nelegálnímu obsahu a systémovým rizikům,\n- Zapojení občanské společnosti.\n\n**Nařízení DSA se vztahuje na všechny poskytovatele online zprostředkovatelských služeb, kteří nabízí své služby uživatelům v EU.** Patří mezi ně např. poskytovatelé připojení k internetu, cachovací služby, internetová tržiště, sociální sítě, cloudová úložiště, online platformy, webový hosting či internetové vyhledávače.\n\nJedním záměrů nařízení DSA je podpora konkurenceschopnosti menších evropských podniků, malé a mikro podniky jsou proto z dodržování většiny povinností vyňaty. Naopak **nejvíce povinností dopadá na poskytovatele velmi velkých online platforem a internetových vyhledávačů**. Za porušení povinností poskytovatelům hrozí **pokuta až do výše 6 % celosvětového obratu**.\n\n### Nezákonný obsah\n\nNezákonný obsah není nařízením DSA definován. Co je nezákonné, musí stanovit unijní či národní právní předpisy. Nařízení DSA se řídí jednoduchým pravidlem – **co je nezákonné offline, má být nezákonné i online.** Nezákonnost obsahu budou, pokud se o ní dozvědí, posuzovat a vyhodnocovat sami poskytovatelé hostingových služeb. S případnými spory o charakter obsahu se strany mohou obrátit na soud nebo specializovaný subjekt mimosoudního řešení sporů.\n\nOpatření proti nezákonnému obsahu může poskytovateli uložit také veřejný orgán, pokud k tomu má pravomoc na základě zvláštního zákona (ČTÚ takovou pravomoc nemá).\n\nZ hlediska soukromoprávní odpovědnosti za nelegální obsah nařízení DSA pouze modifikuje dosavadní pravidla stanovená [e-commerce směrnicí](https://eur-lex.europa.eu/legal-content/CS/ALL/?uri=CELEX%3A32000L0031). Nadále tedy platí, že poskytovatel není odpovědný za nezákonný obsah, o kterém nemá konkrétní povědomost. Nařízení DSA nově doplňuje, že pokud uživatel poskytovateli hostingu nahlásí nezákonný obsah, nemůže se tento dále hájit, že o něm nevěděl. Jestliže poskytovatel ani po nahlášení nezákonného obsahu nekoná, stává se spoluodpovědným za daný obsah a každý dotčený příjemce služby po něm může požadovat náhradu škody.\n\n### Systémová rizika\n\nVedle nezákonného obsahu DSA rozlišuje kategorii tzv. systémových rizik, která jsou spojena výlučně s fungováním velmi velkých online platforem a internetových vyhledávačů. Tyto platformy mají povinnost průběžně analyzovat výskyt systémových rizik spojených s poskytováním jejich služeb. **Systémová rizika zahrnují např. nepříznivé dopady na základní lidská práva, občanský diskurz, volební procesy či veřejnou bezpečnost.** Smyslem pravidel je, aby online platformy negativní společenské jevy v online prostoru nepřiživovaly např. za účelem zvýšení dosahu příspěvků, nýbrž utlumovaly. Dostatečnost těchto opatření bude posuzovat Evropská komise.\n\n**ČTÚ může aktuálně vykonávat pouze ty kompetence podle nařízení DSA, kterými nezasáhne do práv a povinností subjektů, neboť příslušný adaptační zákon je stále v legislativním procesu.**", "znaku_textu": 4240, "slov": 544, "odkazu": 239, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:15", "sha256": "6340a672389eaaaab98f610b5855d858f9adf30a4f1f8692c114aa48b32655a1", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.facebook.com/ctucz", "https://twitter.com/ctu_cz", "https://www.linkedin.com/company/%C4%8Desk%C3%BD-telekomunika%C4%8Dn%C3%AD-%C3%BA%C5%99ad/posts/?feedView=all", "http://www.ctu.cz/volna-mista", "http://data.ctu.cz/", "https://eportal.ctu.gov.cz/", "http://spektrum.ctu.cz/", "https://eur-lex.europa.eu/legal-content/CS/AUTO/?uri=celex%3A32022R2065", "https://odok.cz/portal/veklep/material/ALBSCWAFVK4T/KORND2WHD822", "https://eur-lex.europa.eu/legal-content/CS/ALL/?uri=CELEX%3A32000L0031", "http://voatt.cz/"]} {"url": "https://ctu.gov.cz/role-koordinatora-digitalnich-sluzeb", "titulek": "Role koordinátora digitálních služeb | Český telekomunikační úřad", "h1": "Role koordinátora digitálních služeb", "popis": "Podle čl. 49 odst. 1 nařízení DSA musí každý členský stát Evropské unie určit tzv. „koordinátora digitálních služeb.“ V České republice byl koordinátorem určen Český telekomunikační úřad. Koordinátor digitálních služeb odpovídá za veškeré záležitosti související s národním dozorem podle nařízení DSA, pokud nebyly svěřeny jinému orgánu. Jeho povinností je vykonávat svěřené", "klicova_slova": "", "kanonicka": "", "jazyk": "cs", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["Kde nyní jsem?", "Domů", "Digitální služby", "Online zprostředkovatelské služby (DSA)", "Role koordinátora digitálních služeb"], "osnova": [{"uroven": 1, "text": "Role koordinátora digitálních služeb"}], "markdown": "# Role koordinátora digitálních služeb\n\nPodle čl. 49 odst. 1 nařízení DSA musí každý členský stát Evropské unie určit tzv. „koordinátora digitálních služeb.“ **V České republice byl koordinátorem určen Český telekomunikační úřad.** Koordinátor digitálních služeb odpovídá za veškeré záležitosti související s národním dozorem podle nařízení DSA, pokud nebyly svěřeny jinému orgánu. Jeho povinností je vykonávat svěřené úkoly nestranně, nezávisle, transparentně a včas.\n\n**Hlavní úkoly koordinátora:**\n\n- koordinace uplatňování nařízení DSA na vnitrostátní i evropské úrovni,\n- kontrola a vymáhání povinností podle nařízení DSA vůči poskytovatelům služeb usazeným v členském státě (mimo VLOP/VLOSE),\n- vyřizování podnětů, stížností a dotazů veřejnosti,\n- certifikace subjektů mimosoudního řešení sporů, důvěryhodných oznamovatelů a prověřených výzkumných pracovníků,\n- je členem Evropského sboru pro digitální služby.\n\nRolí koordinátora naopak není posuzování (ne)zákonnosti obsahu na internetu, potírání dezinformací ani rozhodování sporů mezi poskytovateli služeb a uživateli. Koordinátor rovněž nemá pravomoc nařídit odstranění nezákonného obsahu ani zablokování internetových stránek.\n\n**ČTÚ může aktuálně vykonávat pouze ty kompetence podle nařízení DSA, kterými nezasáhne do práv a povinností subjektů, neboť příslušný adaptační zákon je stále v legislativním procesu.**", "znaku_textu": 1354, "slov": 170, "odkazu": 236, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:24", "sha256": "9c7eaadb196352965b6f6e91b61e5f576882c492a3e19961c383f3622cf6120d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.facebook.com/ctucz", "https://twitter.com/ctu_cz", "https://www.linkedin.com/company/%C4%8Desk%C3%BD-telekomunika%C4%8Dn%C3%AD-%C3%BA%C5%99ad/posts/?feedView=all", "http://www.ctu.cz/volna-mista", "http://data.ctu.cz/", "https://eportal.ctu.gov.cz/", "http://spektrum.ctu.cz/", "http://voatt.cz/"]} {"url": "https://cwe.mitre.org/", "titulek": "CWE - \nCommon Weakness Enumeration", "h1": "Common Weakness Enumeration", "popis": "Common Weakness Enumeration (CWE) is a list of software and hardware weaknesses.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Common Weakness Enumeration"}], "markdown": "[Common Weakness Enumeration A community-developed list of SW & HW weaknesses that can become vulnerabilities](/index.html)\n\n---\n\n- [Home](/index.html)\n- [Who We Are](/about/index.html) [User Stories](/about/user_stories.html) [History](/about/history.html) [Documents](/about/documents.html) [Videos](/about/cwe_videos.html)\n- [Basics](/about/new_to_cwe.html) [Root Cause Mapping ►](/documents/cwe_usage/guidance.html) [Guidance](/documents/cwe_usage/guidance.html) [Quick Tips](/documents/cwe_usage/quick_tips.html) [Examples](/documents/cwe_usage/mapping_examples.html) [How to Contribute Weakness Content](/community/submissions/overview.html) [FAQs](/about/faq.html) [Glossary](/documents/glossary/index.html)\n- [Top-N Lists ►](/scoring/index.html#top_n_lists) [Top 25 Software](/top25/) [Top Hardware](/topHW/index.html) [Top 10 KEV Weaknesses](/top25/archive/2025/2025_kev_list.html) [CWE List ►](/data/index.html) [Current Version](/data/index.html) [Reports](/data/reports.html) [Visualizations](/data/pdfs.html) [Releases Archive](/data/archive.html) [Downloads](/data/downloads.html) [REST API](https://github.com/CWE-CAPEC/REST-API-wg/blob/main/Quick%20Start.md)\n- [News ►](/news/) [Current News](/news/archives/news2026.html) [Blog](https://medium.com/@CWE_CAPEC) [Podcast](/news/podcast.html) [News Archive](/news/archives/index.html) [CWE Board](/community/board.html) [Working Groups & Special Interest Groups](/community/working_groups.html) [Email Lists](/community/registration.html)\n- [Search CWE List](/) [Search Website](/find/index.html)\n\n| | | |\n| --- | --- | --- |\n| Knowing the weaknesses that result in vulnerabilities means software developers, hardware designers, \n and security architects can eliminate them before deployment, when it is much easier and cheaper to do so\n \n Overview – Learn what CWE is and how to use the information available on this website\n [Basics](/about/new_to_cwe.html) [FAQs](/about/faq.html) [Glossary](/documents/glossary/index.html) \n Root Cause Mapping – Learn about identifying the underlying cause(s) of a vulnerability\n [Guidance](/documents/cwe_usage/guidance.html) [Quick Tips](/documents/cwe_usage/quick_tips.html) [Examples](/documents/cwe_usage/mapping_examples.html) | | |\n| Knowing the weaknesses that result in vulnerabilities means software developers, hardware designers, \n and security architects can eliminate them before deployment, when it is much easier and cheaper to do so | | |\n| | Knowing the weaknesses that result in vulnerabilities means software developers, hardware designers, \n and security architects can eliminate them before deployment, when it is much easier and cheaper to do so | |\n| | | |\n| Overview – Learn what CWE is and how to use the information available on this website\n [Basics](/about/new_to_cwe.html) [FAQs](/about/faq.html) [Glossary](/documents/glossary/index.html) | Root Cause Mapping – Learn about identifying the underlying cause(s) of a vulnerability\n [Guidance](/documents/cwe_usage/guidance.html) [Quick Tips](/documents/cwe_usage/quick_tips.html) [Examples](/documents/cwe_usage/mapping_examples.html) | |\n| | | |\n| [Contribute CWE Content](/community/submissions/overview.html) [Participate in Working Groups](/community/working_groups.html) | | |\n\nMore information is available — Please edit the custom filter or select a different filter.\n\n**Page Last Updated:** \r\n\nSeptember 03, 2026", "znaku_textu": 3318, "slov": 283, "odkazu": 62, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:26", "sha256": "147d2e7ff5b14c9c26a720c1cfb580222242c91d61869de082237eaf3f00cdf3", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/CWE-CAPEC/REST-API-wg/blob/main/Quick%20Start.md", "https://medium.com/@CWE_CAPEC", "http://www.mitre.org/", "https://x.com/CweCapec", "https://www.linkedin.com/showcase/cve-cwe-capec", "https://bsky.app/profile/cweprogram.bsky.social", "https://mastodon.social/@CWE_Program", "https://www.youtube.com/channel/UCpY9VIpRmFK4ebD6orssifA", "https://www.dhs.gov/", "https://www.dhs.gov/cisa/cybersecurity-division", "https://www.dhs.gov/science-and-technology/hssedi"]} {"url": "https://cwe.mitre.org/top25/", "titulek": "CWE - \nCWE Top 25 Most Dangerous Software Weaknesses", "h1": "Common Weakness Enumeration", "popis": "Common Weakness Enumeration (CWE) is a list of software and hardware weaknesses.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "The CWE Top 25 Most Dangerous Software Weaknesses List highlights the most severe and prevalent weaknesses behind the 39,080\n [Common Vulnerabilities and Exposures (CVE™) Records](https://www.cve.org/)\n in this year’s dataset. Uncovering the root causes of these vulnerabilities serves as a powerful guide for investments,\n policies, and practices to prevent these vulnerabilities from occurring in the first place — benefiting both industry\n and government stakeholders.\n\nThe CWE Top 25 can help inform:\n\n- **Vulnerability Reduction** – Insights into the common root causes drive valuable feedback into\n vendors’ SDLC and architectural planning, helping to eliminate entire classes of defect (e.g., memory safety, injection)\n- **Cost Savings** – Fewer vulnerabilities in product development mean fewer issues to manage\n post-deployment, ultimately saving money and resources\n- **Trend Analysis** – Insight into data trends enables organizations to better focus security efforts\n- **Exploitability Insights** – Certain weaknesses such as command injection attract adversarial\n attention, enabling risk prioritization.\n- **Customer Trust** – Transparency in how organizations address these weaknesses shows commitment\n to product security\n\nThe [2025 CWE Top 25](/top25/archive/2025/2025_cwe_top25.html) is not only a valuable resource for developers\nand security professionals, but it also serves as a strategic guide for organizations aiming to make informed decisions in\nsoftware, security, and risk management investments.\n\nAlso available now:\n\n- **[2025 CWE Top 10 KEV Weaknesses](/top25/archive/2025/2025_kev_list.html)** — Ranking actively exploited weaknesses by CISA’s KEV Catalog.\n- **[2025 “On the Cusp” Weaknesses List](/top25/archive/2025/2025_onthecusp_list.html)** – 15 additional weaknesses that were “on the cusp” of being\n included in the 2025 CWE Top 25.\n\n[Top 25 Archive](/top25/archive)\n\nBack to top\n\nMore information is available — Please edit the custom filter or select a different filter.", "znaku_textu": 1968, "slov": 264, "odkazu": 57, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:27", "sha256": "1ab8fc01b1630d552ae7f6a8df5cc8ff3356e71c47cb194618fda715772c3304", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/CWE-CAPEC/REST-API-wg/blob/main/Quick%20Start.md", "https://medium.com/@CWE_CAPEC", "https://www.cve.org/", "http://www.mitre.org/", "https://x.com/CweCapec", "https://www.linkedin.com/showcase/cve-cwe-capec", "https://bsky.app/profile/cweprogram.bsky.social", "https://mastodon.social/@CWE_Program", "https://www.youtube.com/channel/UCpY9VIpRmFK4ebD6orssifA", "https://www.dhs.gov/", "https://www.dhs.gov/cisa/cybersecurity-division", "https://www.dhs.gov/science-and-technology/hssedi"]} {"url": "https://data.gov.cz/", "titulek": "Portál o datech České republiky", "h1": "", "popis": "Portál o datech a Národní katalog otevřených dat České republiky", "klicova_slova": "", "kanonicka": "https://data.gov.cz/", "jazyk": "cs", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "name": "Portál o datech", "url": "https://data.gov.cz/", "potentialAction": {"@type": "SearchAction", "target": {"@type": "EntryPoint", "urlTemplate": "https://data.gov.cz/datové-sady?dotaz={search_term_string}"}, "query-input": "required name=search_term_string"}}], "drobecky": [], "osnova": [{"uroven": 3, "text": "...datových sad"}, {"uroven": 3, "text": "...aplikací"}, {"uroven": 3, "text": "...poskytovatelů"}, {"uroven": 3, "text": "...klíčových slov"}, {"uroven": 2, "text": "Aktuality a články ze světa dat veřejné správy"}], "markdown": "Měníte doménu? Pozor na rozpad vazeb v propojených datech. [Používejte perzistentní IRI.](/%C5%A1patn%C3%A1-praxe/perzistentn%C3%AD-iri/) ...\ndatových sad ...\naplikací ...\nposkytovatelů ...\nklíčových slov Aktuality a články ze světa dat veřejné správy \n Otevřená data se v posledních letech stala běžnou součástí fungování veřejné správy. Když mluvíme o sdílení dat, je důležité rozlišovat mezi pojmy data a informace. Data jsou jednotlivá fakta, čísla nebo záznamy. Sama o sobě často mnoho neřeknou. Informace ...\n \n Použili jste dnes umělou inteligenci? Zkušenost s AI má stále více Evropanů, avšak způsob, jakým s ní nakládají firmy, studenti a běžné domácnosti, se výrazně liší podle věku i oboru. Unijní data nabízejí přesný pohled na to, kde dnes AI reálně šetří práci ...\n \n Evropané se dožívají nejvyššího věku v historii a lidé nad 80 let jsou nejrychleji rostoucí věkovou skupinou kontinentu. V kombinaci s rekordně nízkou porodností se však ocitáme uprostřed tiché, ale hluboké strukturální krize. Co říkají tvrdá data o budoucn...\n \n Kontrola mobilního telefonu se stala pro miliony obyvatel Evropské unie první ranní aktivitou. Sociální sítě už dávno nejsou jen nástrojem pro kontakt s přáteli – proměnily se v hlavní prostor pro formování veřejného mínění, šíření informací a strategickou ...\n \n Za poslední desetiletí prošla role mužů a žen v Evropě viditelnou proměnou. Ženy stále více posilují trh práce a muži se aktivněji zapojují do chodu domácností. Realita všedního dne však ukazuje, že k úplné paritě máme stále daleko. Podle nejnovějšího Index...\n \n Dne 12. května 2026 vyšel ve Sbírce zákonů dlouho očekávaný Zákon o správě dat a řízeném přístupu k datům pod č. 60/2026 Sb. Tento legislativní rámec zásadně mění strategické řízení dat ve veřejném sektoru.\n Další články", "znaku_textu": 1794, "slov": 271, "odkazu": 25, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:27", "sha256": "4e243b8c0590a5b4c54e739eca771b83167092a4e93b78b64f3e4c800d0cad7d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://datagov-cz.github.io/lkod-validator/", "https://forms.office.com/e/mK4wLvrww4", "https://forms.office.com/e/UuwD7UBnRG", "https://next-generation-eu.europa.eu/index_cs", "https://www.planobnovycr.cz/", "https://www.dia.gov.cz/"]} {"url": "https://dataintensive.net/", "titulek": "Designing Data-Intensive Applications (DDIA) — an O’Reilly book by Martin Kleppmann (The Wild Boar Book)", "h1": "Don’t just hack it together", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Don’t just hack it together"}, {"uroven": 2, "text": "How this book is different"}, {"uroven": 3, "text": "Compare several designs"}, {"uroven": 3, "text": "Both theory and practice"}, {"uroven": 3, "text": "Deeper understanding"}, {"uroven": 2, "text": "What people are saying"}, {"uroven": 3, "text": "Now available"}, {"uroven": 3, "text": "Stay in touch"}, {"uroven": 3, "text": "About the author"}], "markdown": "# Don’t just hack it together\n\nNoSQL… Big Data… Scalability… CAP Theorem… Eventual Consistency… Sharding…\n\nNice buzzwords, but how does the stuff actually *work*?\n\nAs software engineers, we need to build applications that are reliable, scalable\n and maintainable in the long run. We need to understand the range of available\n tools and their trade-offs. For that, we have to dig deeper than buzzwords.\n\nThis book will help you navigate the diverse and fast-changing landscape of\n technologies for storing and processing data. We compare a broad variety of\n tools and approaches, so that you can see the strengths and weaknesses of each,\n and decide what’s best for your application.\n\n[Get the book »](buy.html)\n\n## How this book is different\n\n### Compare several designs\n\nThis book compares the fundamental ideas behind a broad variety of systems.\n It doesn’t go into the details of how to configure and use one particular tool.\n But it does explain the trade-offs and fundamental limitations that systems face,\n so that you can make informed decisions.\n\n### Both theory and practice\n\nWe discuss many good ideas from academic research, but we always tie them back\n to reality. Just because it looks good on a whiteboard doesn’t mean it actually\n works in practice. We care about ideas that have been proven under intensive\n workloads, at big companies and at startups.\n\n### Deeper understanding\n\nWe go under the hood of the systems you already use, teasing apart how they work\n internally. The aim is to help you think about data systems in new ways —\n not just how they work, but why they were designed that way.\n Your own software will be better as a result.\n\n## What people are saying\n\n> This book should be required reading for software engineers. The explosion\n> of data and its increased importance to the applications we build has\n> created a new set of complex challenges. Designing Data-Intensive\n> Applications is a rare resource that bridges theory and practice to help\n> developers make smart decisions as they design and implement data\n> infrastructure and systems.\n\n> Designing Data-Intensive Applications is one of the greatest reference books. When\n> I was working on databases at Google I regularly recommended it to coworkers who\n> needed more background on particular distributed systems topics. It will keep being a\n> go-to book as long as I work in this field.\n\n> This book is awesome. It bridges the huge gap between distributed systems\n> theory and practical engineering. I wish it had existed a decade ago, so I could\n> have read it then and saved myself all the mistakes along the way.\n\n> The essence of building reliable and scalable distributed data systems and\n> efficiently using them to solve real world problems is in mastering the tradeoffs\n> associated with the design choices. Designing Data Intensive applications explores\n> them like none other and provides a unbiased view of how distributed systems have made\n> these choices over time.\n\n> A joy to read! This is one of the best technical books I've read.\n> It offers very helpful context, historical and current, to understanding\n> the key issues in the text.\n\n### Now available\n\n*Designing Data-Intensive Applications* (DDIA) is available in print and\n ebook formats from your [favorite bookstore](buy.html).\n\nSee the [table of contents](https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/)\n for more details on the topics covered.\n\n[Get the book »](buy.html)\n\n### Stay in touch\n\nSign up for [email updates on\n Martin Kleppmann's blog](https://martinkl.substack.com/) to receive very occasional news about the book.\n\n### About the author\n\n[Martin Kleppmann](https://martin.kleppmann.com/) is an Associate Professor\n at the [University of Cambridge](https://www.cst.cam.ac.uk/).\n Previously he was a software engineer and entrepreneur at Internet companies including\n [LinkedIn](https://www.linkedin.com/) and [Rapportive](https://www.crunchbase.com/organization/rapportive),\n where he worked on large-scale data infrastructure. In the process he learned a few things\n the hard way, and he hopes this book will save you from repeating the same mistakes.\n\nMartin is a regular conference speaker, blogger, and open source contributor.\n He believes that profound technical ideas should be accessible to everyone, and that\n deeper understanding will help us develop better software.\n\nYou can find him as [on Bluesky](https://bsky.app/profile/martin.kleppmann.com), and his\n blog is at [martin.kleppmann.com](http://martin.kleppmann.com/).", "znaku_textu": 4485, "slov": 673, "odkazu": 24, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:28", "sha256": "05ad9aff380d9ef3af073619e6eb40163252c41e8ce9fb7532d1c0523027695f", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.linkedin.com/in/jkevinscott", "https://www.microsoft.com/", "https://twitter.com/rakyll", "https://aws.amazon.com/", "https://twitter.com/jaykreps", "http://kafka.apache.org/", "https://www.confluent.io/", "https://www.linkedin.com/in/veenabraj/", "https://www.wework.com/", "https://www.linkedin.com/in/davidabeyer", "http://www.amplifypartners.com/", "https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/", "https://martinkl.substack.com/", "https://martin.kleppmann.com/", "https://www.cst.cam.ac.uk/", "https://www.linkedin.com/", "https://www.crunchbase.com/organization/rapportive", "https://bsky.app/profile/martin.kleppmann.com", "http://martin.kleppmann.com/"]} {"url": "https://datatracker.ietf.org/doc/draft-ietf-httpapi-idempotency-key-header/", "titulek": "draft-ietf-httpapi-idempotency-key-header-07 - The Idempotency-Key HTTP Header Field", "h1": "The Idempotency-Key HTTP Header Field\n draft-ietf-httpapi-idempotency-key-header-07", "popis": "The Idempotency-Key HTTP Header Field ", "klicova_slova": "", "kanonicka": "https://datatracker.ietf.org/doc/draft-ietf-httpapi-idempotency-key-header/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "The Idempotency-Key HTTP Header Field", "og:url": "https://datatracker.ietf.org/doc/draft-ietf-httpapi-idempotency-key-header/", "og:site_name": "IETF Datatracker", "og:description": "The HTTP Idempotency-Key request header field can be used to make non-idempotent HTTP methods such as POST or PATCH fault-tolerant.", "og:type": "article", "og:image": "https://static.ietf.org/dt/12.75.0/ietf/images/ietf-logo-card.png", "og:image:alt": "Logo of the IETF", "og:image:type": "image/png", "og:image:width": "1200", "og:image:height": "630"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Idempotency-Key HTTP Header Field\n draft-ietf-httpapi-idempotency-key-header-07"}], "markdown": "# The Idempotency-Key HTTP Header Field\n \n draft-ietf-httpapi-idempotency-key-header-07\n\nVersions:\n\n| Document | Type | | Expired Internet-Draft\n ([httpapi WG](/wg/httpapi/about/))\n \n\n \n \n \n Expired & archived |\n| --- | --- | --- | --- |\n| | Authors | | [Jayadeba Jena](/person/jayadebaj@gmail.com) ,\n \n [Sanjay Dalal](/person/sanjay.dalal@berkeley.edu) |\n| | Last updated | | 2026-04-18\n \n (Latest revision 2025-10-15) |\n| | Replaces | | [draft-idempotency-header](/doc/draft-idempotency-header/) |\n| | RFC stream | | Internet Engineering Task Force (IETF) |\n| | Intended RFC status | | (None) |\n| | Formats | | [txt](https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.txt) [html](https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.html) [xml](https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.xml) [htmlized](/doc/html/draft-ietf-httpapi-idempotency-key-header-07) [bibtex](/doc/draft-ietf-httpapi-idempotency-key-header/07/bibtex/) [bibxml](/doc/bibxml3/draft-ietf-httpapi-idempotency-key-header-07.xml) |\n| | Additional resources | | [GitHub Repository](https://github.com/ietf-wg-httpapi/idempotency) \n [Mailing list discussion](https://mailarchive.ietf.org/arch/browse/httpapi/?q=draft-ietf-httpapi-idempotency-key-header) |\n| Stream | [WG\n \n state](/doc/help/state/draft-stream-ietf/) | | WG Document |\n| | Document shepherd | | (None) |\n| IESG | [IESG state](/doc/help/state/draft-iesg/) | | Expired |\n| | Consensus boilerplate | | Unknown |\n| | Telechat date | | (None) |\n| | Responsible AD | | (None) |\n| | Send notices to | | (None) |\n\n[Email authors](mailto:draft-ietf-httpapi-idempotency-key-header@ietf.org?subject=Mail%20regarding%20draft-ietf-httpapi-idempotency-key-header) [Email WG](mailto:httpapi@ietf.org?subject=Mail%20regarding%20draft-ietf-httpapi-idempotency-key-header) [IPR](/ipr/search/?submit=draft&id=draft-ietf-httpapi-idempotency-key-header) [References](/doc/draft-ietf-httpapi-idempotency-key-header/references/) [Referenced by](/doc/draft-ietf-httpapi-idempotency-key-header/referencedby/) [Nits](https://author-tools.ietf.org/api/idnits?url=https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.txt) [Nits v3](https://author-tools.ietf.org/idnits3/results?url=https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.txt) [Search email archive](https://mailarchive.ietf.org/arch/search/?q=%22draft-ietf-httpapi-idempotency-key-header%22)\n\n**This Internet-Draft is no longer active. A copy of\n the expired Internet-Draft is available in these formats:**\n\n[txt](https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.txt) [html](https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.html) [xml](https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.xml) [htmlized](/doc/html/draft-ietf-httpapi-idempotency-key-header-07) [bibtex](/doc/draft-ietf-httpapi-idempotency-key-header/07/bibtex/) [bibxml](/doc/bibxml3/draft-ietf-httpapi-idempotency-key-header-07.xml)\n\nAbstract\n\nThe HTTP Idempotency-Key request header field can be used to make\n non-idempotent HTTP methods such as POST or PATCH fault-tolerant.\n\nAuthors\n\n[Jayadeba Jena](/person/jayadebaj@gmail.com) \n [Sanjay Dalal](/person/sanjay.dalal@berkeley.edu)\n\n(Note: The e-mail addresses provided for the authors of this Internet-Draft may no longer be valid.)", "znaku_textu": 3278, "slov": 311, "odkazu": 114, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:28", "sha256": "26fb100b8b73b93d0a20c893bc35bd000e0a70c221d7e8c8ffb189b4b552a580", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.ietf.org/how/meetings/register/", "https://www.ietf.org/how/meetings/past/", "https://status.ietf.org/", "https://github.com/ietf-tools/datatracker/issues/new/choose", "https://mailman3.ietf.org/mailman3/lists/", "https://mailman3.irtf.org/mailman3/lists/", "https://mailman3.iab.org/mailman3/lists/", "https://mailman3.rfc-editor.org/mailman3/lists/", "https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.txt", "https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.html", "https://www.ietf.org/archive/id/draft-ietf-httpapi-idempotency-key-header-07.xml", "https://github.com/ietf-wg-httpapi/idempotency", "https://mailarchive.ietf.org/arch/browse/httpapi/?q=draft-ietf-httpapi-idempotency-key-header", "https://author-tools.ietf.org/api/idnits?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-ietf-httpapi-idempotency-key-header-07.txt", "https://author-tools.ietf.org/idnits3/results?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-ietf-httpapi-idempotency-key-header-07.txt", "https://mailarchive.ietf.org/arch/search/?q=%22draft-ietf-httpapi-idempotency-key-header%22", "https://www.ietf.org/", "https://www.ietf.org/iesg/", "https://www.iab.org/", "https://www.irtf.org/", "https://www.ietf.org/llc/", "https://trustee.ietf.org/", "https://www.rfc-editor.org/", "https://www.iana.org/", "https://www.ietf.org/privacy-statement/", "https://github.com/ietf-tools/datatracker/releases/tag/12.75.0"]} {"url": "https://datatracker.ietf.org/doc/draft-ietf-oauth-v2-1/", "titulek": "draft-ietf-oauth-v2-1-16 - The OAuth 2.1 Authorization Framework", "h1": "The OAuth 2.1 Authorization Framework\n draft-ietf-oauth-v2-1-16", "popis": "The OAuth 2.1 Authorization Framework ", "klicova_slova": "", "kanonicka": "https://datatracker.ietf.org/doc/draft-ietf-oauth-v2-1/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "The OAuth 2.1 Authorization Framework", "og:url": "https://datatracker.ietf.org/doc/draft-ietf-oauth-v2-1/", "og:site_name": "IETF Datatracker", "og:description": "The OAuth 2.1 authorization framework enables an application to obtain limited access to a protected resource, either on behalf of a resource owner by orchestrating an approval interaction between the resource owner and an authorization service, or by allowing the application to obtain access on its own behalf. This specification replaces and obsoletes the OAuth 2.0 Authorization Framework described in RFC 6749 and the Bearer Token Usage in RFC 6750.", "og:type": "article", "og:image": "https://static.ietf.org/dt/12.75.0/ietf/images/ietf-logo-card.png", "og:image:alt": "Logo of the IETF", "og:image:type": "image/png", "og:image:width": "1200", "og:image:height": "630"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The OAuth 2.1 Authorization Framework\n draft-ietf-oauth-v2-1-16"}], "markdown": "# The OAuth 2.1 Authorization Framework\n \n draft-ietf-oauth-v2-1-16\n\nVersions:\n\n| Document | Type | | Active Internet-Draft\n ([oauth WG](/wg/oauth/about/)) |\n| --- | --- | --- | --- |\n| | Authors | | [Dick Hardt](/person/dick.hardt@gmail.com) ,\n \n [Aaron Parecki](/person/aaron@parecki.com) ,\n \n [Torsten Lodderstedt](/person/torsten@lodderstedt.net) |\n| | Last updated | | 2026-09-02 |\n| | Replaces | | [draft-parecki-oauth-v2-1](/doc/draft-parecki-oauth-v2-1/) |\n| | RFC stream | | Internet Engineering Task Force (IETF) |\n| | Intended RFC status | | (None) |\n| | Formats | | [txt](https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.txt) [html](https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.html) [xml](https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.xml) [htmlized](/doc/html/draft-ietf-oauth-v2-1-16) [bibtex](/doc/draft-ietf-oauth-v2-1/16/bibtex/) [bibxml](/doc/bibxml3/draft-ietf-oauth-v2-1-16.xml) |\n| | Additional resources | | [Mailing list discussion](https://mailarchive.ietf.org/arch/browse/oauth/?q=draft-ietf-oauth-v2-1) |\n| Stream | [WG\n \n state](/doc/help/state/draft-stream-ietf/) | | WG Document |\n| | Associated\n \n WG\n milestone | | Dec 2026 Submit “OAuth 2.1 Authorization Framework’ to IESG |\n| | Document shepherd | | (None) |\n| IESG | [IESG state](/doc/help/state/draft-iesg/) | | I-D Exists |\n| | Consensus boilerplate | | Unknown |\n| | Telechat date | | (None) |\n| | Responsible AD | | (None) |\n| | Send notices to | | (None) |\n\n[Email authors](mailto:draft-ietf-oauth-v2-1@ietf.org?subject=Mail%20regarding%20draft-ietf-oauth-v2-1) [Email WG](mailto:oauth@ietf.org?subject=Mail%20regarding%20draft-ietf-oauth-v2-1) [IPR](/ipr/search/?submit=draft&id=draft-ietf-oauth-v2-1) [References](/doc/draft-ietf-oauth-v2-1/references/) [Referenced by](/doc/draft-ietf-oauth-v2-1/referencedby/) [Nits](https://author-tools.ietf.org/api/idnits?url=https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.txt) [Nits v3](https://author-tools.ietf.org/idnits3/results?url=https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.txt) [Search email archive](https://mailarchive.ietf.org/arch/search/?q=%22draft-ietf-oauth-v2-1%22)\n\n```\nOAuth Working Group D. Hardt\nInternet-Draft Hellō\nIntended status: Standards Track A. Parecki\nExpires: 7 March 2027 Okta\n T. Lodderstedt\n SPRIND\n 3 September 2026\n\n The OAuth 2.1 Authorization Framework\n draft-ietf-oauth-v2-1-16\n\nAbstract\n\n The OAuth 2.1 authorization framework enables an application to\n obtain limited access to a protected resource, either on behalf of a\n resource owner by orchestrating an approval interaction between the\n resource owner and an authorization service, or by allowing the\n application to obtain access on its own behalf. This specification\n replaces and obsoletes the OAuth 2.0 Authorization Framework\n described in RFC 6749 and the Bearer Token Usage in RFC 6750.\n\nDiscussion Venues\n\n This note is to be removed before publishing as an RFC.\n\n Discussion of this document takes place on the OAuth Working Group\n mailing list (oauth@ietf.org), which is archived at\n https://mailarchive.ietf.org/arch/browse/oauth/.\n\n Source for this draft and an issue tracker can be found at\n https://github.com/oauth-wg/oauth-v2-1.\n\nStatus of This Memo\n\n This Internet-Draft is submitted in full conformance with the\n provisions of BCP 78 and BCP 79.\n\n Internet-Drafts are working documents of the Internet Engineering\n Task Force (IETF). Note that other groups may also distribute\n working documents as Internet-Drafts. The list of current Internet-\n Drafts is at https://datatracker.ietf.org/drafts/current/.\n\n Internet-Drafts are draft documents valid for a maximum of six months\n and may be updated, replaced, or obsoleted by other documents at any\n time. It is inappropriate to use Internet-Drafts as reference\n material or to cite them other than as \"work in progress.\"\n\nHardt, et al. Expires 7 March 2027 [Page 1] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n This Internet-Draft will expire on 7 March 2027.\n\nCopyright Notice\n\n Copyright (c) 2026 IETF Trust and the persons identified as the\n document authors. All rights reserved.\n\n This document is subject to BCP 78 and the IETF Trust's Legal\n Provisions Relating to IETF Documents (https://trustee.ietf.org/\n license-info) in effect on the date of publication of this document.\n Please review these documents carefully, as they describe your rights\n and restrictions with respect to this document. Code Components\n extracted from this document must include Revised BSD License text as\n described in Section 4.e of the Trust Legal Provisions and are\n provided without warranty as described in the Revised BSD License.\n\nTable of Contents\n\n 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 5\n 1.1. Roles . . . . . . . . . . . . . . . . . . . . . . . . . . 7\n 1.2. Protocol Flow . . . . . . . . . . . . . . . . . . . . . . 8\n 1.3. Authorization Grant . . . . . . . . . . . . . . . . . . . 10\n 1.3.1. Authorization Code . . . . . . . . . . . . . . . . . 10\n 1.3.2. Refresh Token . . . . . . . . . . . . . . . . . . . . 10\n 1.3.3. Client Credentials . . . . . . . . . . . . . . . . . 12\n 1.4. Access Token . . . . . . . . . . . . . . . . . . . . . . 13\n 1.4.1. Access Token Scope . . . . . . . . . . . . . . . . . 14\n 1.4.2. Bearer Tokens . . . . . . . . . . . . . . . . . . . . 15\n 1.4.3. Sender-Constrained Access Tokens . . . . . . . . . . 16\n 1.5. Communication security . . . . . . . . . . . . . . . . . 16\n 1.6. HTTP Redirections . . . . . . . . . . . . . . . . . . . . 17\n 1.7. Interoperability . . . . . . . . . . . . . . . . . . . . 17\n 1.7.1. Value Sizes . . . . . . . . . . . . . . . . . . . . . 17\n 1.8. Compatibility with OAuth 2.0 . . . . . . . . . . . . . . 18\n 1.9. Notational Conventions . . . . . . . . . . . . . . . . . 18\n 2. Client Registration . . . . . . . . . . . . . . . . . . . . . 19\n 2.1. Client Types . . . . . . . . . . . . . . . . . . . . . . 19\n 2.2. Client Identifier . . . . . . . . . . . . . . . . . . . . 21\n 2.3. Client Redirection Endpoint . . . . . . . . . . . . . . . 21\n 2.3.1. Registration Requirements . . . . . . . . . . . . . . 22\n 2.3.2. Multiple Redirect URIs . . . . . . . . . . . . . . . 23\n 2.3.3. Preventing CSRF Attacks . . . . . . . . . . . . . . . 23\n 2.3.4. Preventing Mix-Up Attacks . . . . . . . . . . . . . . 23\n 2.3.5. Invalid Endpoint . . . . . . . . . . . . . . . . . . 23\n 2.3.6. Endpoint Content . . . . . . . . . . . . . . . . . . 24\n 2.4. Client Authentication . . . . . . . . . . . . . . . . . . 24\n 2.4.1. Client Secret . . . . . . . . . . . . . . . . . . . . 25\n 2.4.2. Other Authentication Methods . . . . . . . . . . . . 26\n\nHardt, et al. Expires 7 March 2027 [Page 2] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n 2.5. Unregistered Clients . . . . . . . . . . . . . . . . . . 27\n 3. Protocol Endpoints . . . . . . . . . . . . . . . . . . . . . 27\n 3.1. Authorization Endpoint . . . . . . . . . . . . . . . . . 27\n 3.2. Token Endpoint . . . . . . . . . . . . . . . . . . . . . 28\n 3.2.1. Client Authentication . . . . . . . . . . . . . . . . 29\n 3.2.2. Token Endpoint Request . . . . . . . . . . . . . . . 30\n 3.2.3. Token Endpoint Response . . . . . . . . . . . . . . . 31\n 3.2.4. Token Endpoint Error Response . . . . . . . . . . . . 32\n 4. Grant Types . . . . . . . . . . . . . . . . . . . . . . . . . 34\n 4.1. Authorization Code Grant . . . . . . . . . . . . . . . . 34\n 4.1.1. Authorization Request . . . . . . . . . . . . . . . . 36\n 4.1.2. Authorization Response . . . . . . . . . . . . . . . 39\n 4.1.3. Token Endpoint Extension . . . . . . . . . . . . . . 43\n 4.2. Client Credentials Grant . . . . . . . . . . . . . . . . 44\n 4.2.1. Token Endpoint Extension . . . . . . . . . . . . . . 45\n 4.3. Refresh Token Grant . . . . . . . . . . . . . . . . . . . 45\n 4.3.1. Token Endpoint Extension . . . . . . . . . . . . . . 46\n 4.3.2. Refresh Token Response . . . . . . . . . . . . . . . 47\n 4.3.3. Refresh Token Recommendations . . . . . . . . . . . . 48\n 4.4. Extension Grants . . . . . . . . . . . . . . . . . . . . 48\n 5. Resource Requests . . . . . . . . . . . . . . . . . . . . . . 49\n 5.1. Bearer Token Requests . . . . . . . . . . . . . . . . . . 49\n 5.1.1. Authorization Request Header Field . . . . . . . . . 49\n 5.1.2. Form-Encoded Content Parameter . . . . . . . . . . . 50\n 5.2. Access Token Validation . . . . . . . . . . . . . . . . . 51\n 5.3. Error Response . . . . . . . . . . . . . . . . . . . . . 51\n 5.3.1. The WWW-Authenticate Response Header Field . . . . . 52\n 5.3.2. Error Codes . . . . . . . . . . . . . . . . . . . . . 53\n 6. Extensibility . . . . . . . . . . . . . . . . . . . . . . . . 54\n 6.1. Defining Access Token Types . . . . . . . . . . . . . . . 54\n 6.1.1. Registered Access Token Types . . . . . . . . . . . . 54\n 6.1.2. Vendor-Specific Access Token Types . . . . . . . . . 55\n 6.2. Defining New Endpoint Parameters . . . . . . . . . . . . 55\n 6.3. Defining New Authorization Grant Types . . . . . . . . . 56\n 6.4. Defining New Authorization Endpoint Response Types . . . 56\n 6.5. Defining Additional Error Codes . . . . . . . . . . . . . 56\n 7. Security Considerations . . . . . . . . . . . . . . . . . . . 57\n 7.1. Access Token Security Considerations . . . . . . . . . . 57\n 7.1.1. Security Threats . . . . . . . . . . . . . . . . . . 57\n 7.1.2. Threat Mitigation . . . . . . . . . . . . . . . . . . 58\n 7.1.3. Summary of Recommendations . . . . . . . . . . . . . 58\n 7.1.4. Access Token Privilege Restriction . . . . . . . . . 60\n 7.2. Client Authentication . . . . . . . . . . . . . . . . . . 60\n 7.3. Client Impersonation . . . . . . . . . . . . . . . . . . 61\n 7.3.1. Impersonation of Native Apps . . . . . . . . . . . . 61\n 7.3.2. Access Token Privilege Restriction . . . . . . . . . 62\n 7.4. Client Impersonating Resource Owner . . . . . . . . . . . 62\n 7.5. Authorization Code Security Considerations . . . . . . . 63\n\nHardt, et al. Expires 7 March 2027 [Page 3] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n 7.5.1. Authorization Code Injection . . . . . . . . . . . . 63\n 7.5.2. PKCE \"plain\" Code Challenge Method . . . . . . . . . 64\n 7.5.3. Reuse of Authorization Codes . . . . . . . . . . . . 64\n 7.5.4. HTTP 307 Redirect . . . . . . . . . . . . . . . . . . 65\n 7.6. Ensuring Endpoint Authenticity . . . . . . . . . . . . . 66\n 7.7. Credentials-Guessing Attacks . . . . . . . . . . . . . . 66\n 7.8. Phishing Attacks . . . . . . . . . . . . . . . . . . . . 66\n 7.9. Consent Phishing . . . . . . . . . . . . . . . . . . . . 67\n 7.10. Cross-Site Request Forgery . . . . . . . . . . . . . . . 68\n 7.11. Clickjacking . . . . . . . . . . . . . . . . . . . . . . 68\n 7.12. Injection and Input Validation . . . . . . . . . . . . . 69\n 7.13. Open Redirection . . . . . . . . . . . . . . . . . . . . 70\n 7.13.1. Client as Open Redirector . . . . . . . . . . . . . 70\n 7.13.2. Authorization Server as Open Redirector . . . . . . 70\n 7.14. Transport Security . . . . . . . . . . . . . . . . . . . 71\n 7.15. Authorization Server Mix-Up Mitigation . . . . . . . . . 72\n 7.15.1. Mix-Up Defense via Issuer Identification . . . . . . 72\n 7.15.2. Mix-Up Defense via Distinct Redirect URIs . . . . . 73\n 8. Native Applications . . . . . . . . . . . . . . . . . . . . . 74\n 8.1. Client Authentication of Native Apps . . . . . . . . . . 75\n 8.1.1. Registration of Native App Clients . . . . . . . . . 75\n 8.1.2. Native App Attestation . . . . . . . . . . . . . . . 75\n 8.2. Using Inter-App URI Communication for OAuth in Native\n Apps . . . . . . . . . . . . . . . . . . . . . . . . . . 76\n 8.3. Initiating the Authorization Request from a Native App . 76\n 8.4. Receiving the Authorization Response in a Native App . . 77\n 8.4.1. Claimed \"https\" Scheme URI Redirection . . . . . . . 77\n 8.4.2. Loopback Interface Redirection . . . . . . . . . . . 78\n 8.4.3. Private-Use URI Scheme Redirection . . . . . . . . . 78\n 8.5. Security Considerations in Native Apps . . . . . . . . . 80\n 8.5.1. Embedded User Agents in Native Apps . . . . . . . . . 80\n 8.5.2. Fake External User-Agents in Native Apps . . . . . . 80\n 8.5.3. Malicious External User-Agents in Native Apps . . . . 81\n 8.5.4. Loopback Redirect Considerations in Native Apps . . . 81\n 9. Browser-Based Apps . . . . . . . . . . . . . . . . . . . . . 82\n 10. Differences from OAuth 2.0 . . . . . . . . . . . . . . . . . 82\n 10.1. Removal of the OAuth 2.0 Implicit grant . . . . . . . . 83\n 10.2. Redirect URI Parameter in Token Request . . . . . . . . 83\n 11. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 84\n 12. References . . . . . . . . . . . . . . . . . . . . . . . . . 84\n 12.1. Normative References . . . . . . . . . . . . . . . . . . 84\n 12.2. Informative References . . . . . . . . . . . . . . . . . 86\n Appendix A. Augmented Backus-Naur Form (ABNF) Syntax . . . . . . 90\n A.1. \"client_id\" Syntax . . . . . . . . . . . . . . . . . . . 90\n A.2. \"client_secret\" Syntax . . . . . . . . . . . . . . . . . 91\n A.3. \"response_type\" Syntax . . . . . . . . . . . . . . . . . 91\n A.4. \"scope\" Syntax . . . . . . . . . . . . . . . . . . . . . 91\n A.5. \"state\" Syntax . . . . . . . . . . . . . . . . . . . . . 91\n\nHardt, et al. Expires 7 March 2027 [Page 4] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n A.6. \"redirect_uri\" Syntax . . . . . . . . . . . . . . . . . . 91\n A.7. \"error\" Syntax . . . . . . . . . . . . . . . . . . . . . 91\n A.8. \"error_description\" Syntax . . . . . . . . . . . . . . . 91\n A.9. \"error_uri\" Syntax . . . . . . . . . . . . . . . . . . . 92\n A.10. \"grant_type\" Syntax . . . . . . . . . . . . . . . . . . . 92\n A.11. \"code\" Syntax . . . . . . . . . . . . . . . . . . . . . . 92\n A.12. \"access_token\" Syntax . . . . . . . . . . . . . . . . . . 92\n A.13. \"token_type\" Syntax . . . . . . . . . . . . . . . . . . . 92\n A.14. \"expires_in\" Syntax . . . . . . . . . . . . . . . . . . . 92\n A.15. \"refresh_token\" Syntax . . . . . . . . . . . . . . . . . 92\n A.16. Endpoint Parameter Syntax . . . . . . . . . . . . . . . . 93\n A.17. \"code_verifier\" Syntax . . . . . . . . . . . . . . . . . 93\n A.18. \"code_challenge\" Syntax . . . . . . . . . . . . . . . . . 93\n Appendix B. Use of application/x-www-form-urlencoded Media\n Type . . . . . . . . . . . . . . . . . . . . . . . . . . 93\n Appendix C. Serializations . . . . . . . . . . . . . . . . . . . 94\n C.1. Query String Serialization . . . . . . . . . . . . . . . 94\n C.2. Form-Encoded Serialization . . . . . . . . . . . . . . . 94\n C.3. JSON Serialization . . . . . . . . . . . . . . . . . . . 94\n Appendix D. Extensions . . . . . . . . . . . . . . . . . . . . . 95\n Appendix E. Acknowledgements . . . . . . . . . . . . . . . . . . 97\n Appendix F. Document History . . . . . . . . . . . . . . . . . . 97\n Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 103\n\n1. Introduction\n\n OAuth introduces an authorization layer to the client-server\n authentication model by separating the role of the client from that\n of the resource owner. In OAuth, the client requests access to\n resources controlled by the resource owner and hosted by the resource\n server. Instead of using the resource owner's credentials to access\n protected resources, the client obtains an access token - a\n credential representing a specific set of access attributes such as\n scope and lifetime. Access tokens are issued to clients by an\n authorization server with the approval of the resource owner. The\n client uses the access token to access the protected resources hosted\n by the resource server.\n\n In the older, more limited client-server authentication model, the\n client requests an access-restricted resource (protected resource) on\n the server by authenticating to the server using the resource owner's\n credentials. In order to provide applications access to restricted\n resources, the resource owner shares their credentials with the\n application. This creates several problems and limitations:\n\n * Applications are required to store the resource owner's\n credentials for future use, typically a password in clear-text.\n\nHardt, et al. Expires 7 March 2027 [Page 5] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * Servers are required to support password authentication, despite\n the security weaknesses inherent in passwords.\n\n * Applications gain overly broad access to the resource owner's\n protected resources, leaving resource owners without any ability\n to restrict duration or access to a limited subset of resources.\n\n * Resource owners often reuse passwords with other unrelated\n services, despite best security practices. This password reuse\n means a vulnerability or exposure in one service may have security\n implications in completely unrelated services.\n\n * Resource owners cannot revoke access to an individual application\n without revoking access to all third parties, and must do so by\n changing their password.\n\n * Compromise of any application results in compromise of the end-\n user's password and all of the data protected by that password.\n\n An example where OAuth is used is where an end user (resource owner)\n grants a financial management service (client) access to their\n sensitive transaction history stored at a banking service (resource\n server), without sharing their username and password with the\n financial management service. Instead, they authenticate directly\n with their financial institution's server (authorization server),\n which issues the financial management service delegation-specific\n credentials (access token).\n\n This separation of concerns also provides the ability to use more\n advanced user authentication methods such as multi-factor\n authentication and even passwordless authentication, without any\n modification to the applications. With all user authentication logic\n handled by the authorization server, applications don't need to be\n concerned with the specifics of implementing any particular\n authentication mechanism. This provides the ability for the\n authorization server to manage the user authentication policies and\n even change them in the future without coordinating the changes with\n applications.\n\n The authorization layer can also simplify how a resource server\n determines if a request is authorized. Traditionally, after\n authenticating the client, each resource server would evaluate\n policies to compute if the client is authorized on each API call. In\n a distributed system, the policies need to be synchronized to all the\n resource servers, or the resource server must call a central policy\n server to process each request. In OAuth, evaluation of the policies\n is performed only when a new access token is created by the\n authorization server. If the authorized access is represented in the\n\nHardt, et al. Expires 7 March 2027 [Page 6] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n access token, the resource server no longer needs to evaluate the\n policies, and only needs to validate the access token. This\n simplification applies when the application is acting on behalf of a\n resource owner, or on behalf of itself.\n\n OAuth is an authorization protocol, not an authentication protocol,\n as OAuth does not define the necessary components to achieve user\n authentication. An authentication protocol is necessary if the goal\n is to authenticate users. An example is OpenID Connect\n [OpenID.Connect], which builds on OAuth to provide the security\n characteristics and necessary components required of an\n authentication protocol.\n\n The access token represents the authorization granted to the client.\n It is a common practice for the client to present the access token to\n a proprietary API which returns a user identifier for the resource\n owner, and then using the result of the API as a proxy for\n authenticating the user. This practice is not part of the OAuth\n standard or security considerations, and may not have been considered\n by the resource owner. Implementors should carefully consult the\n documentation of the resource server before adopting this practice.\n\n This specification is designed for use with HTTP [RFC9110]. The use\n of OAuth over any protocol other than HTTP is out of scope.\n\n Since the publication of the OAuth 2.0 Authorization Framework\n [RFC6749] in October 2012, it has been updated by OAuth 2.0 for\n Native Apps [RFC8252], OAuth Security Best Current Practice\n [RFC9700], and OAuth 2.0 for Browser-Based Apps\n [I-D.ietf-oauth-browser-based-apps]. The OAuth 2.0 Authorization\n Framework: Bearer Token Usage [RFC6750] has also been updated with\n [RFC9700]. This Standards Track specification consolidates the\n information in all of these documents and removes features that have\n been found to be insecure in [RFC9700].\n\n1.1. Roles\n\n OAuth defines four roles:\n\n \"resource owner\": An entity capable of granting access to a\n protected resource. When the resource owner is a person, it is\n referred to as an end user. This is sometimes abbreviated as\n \"RO\".\n\n \"resource server\": The server hosting the protected resources,\n capable of accepting and responding to protected resource requests\n using access tokens. The resource server is often accessible via\n an API. This is sometimes abbreviated as \"RS\".\n\nHardt, et al. Expires 7 March 2027 [Page 7] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n \"client\": An application making protected resource requests on\n behalf of the resource owner and with its authorization. The term\n \"client\" does not imply any particular implementation\n characteristics (e.g., whether the application executes on a\n server, a desktop, or other devices).\n\n \"authorization server\": The server issuing access tokens to the\n client after successfully authenticating the resource owner and\n obtaining authorization. This is sometimes abbreviated as \"AS\".\n\n Most of this specification defines the interaction between the client\n and the authorization server, as well as between the client and\n resource server.\n\n The interaction between the authorization server and resource server\n is beyond the scope of this specification, however several extensions\n have been defined to provide an option for interoperability between\n resource servers and authorization servers. The authorization server\n may be the same server as the resource server or a separate entity.\n A single authorization server may issue access tokens accepted by\n multiple resource servers.\n\n The interaction between the resource owner and authorization server\n (e.g. how the end user authenticates themselves at the authorization\n server) is also out of scope of this specification, with some\n exceptions, such as security considerations around prompting the end\n user for consent.\n\n When the resource owner is the end user, the user will interact with\n the client. When the client is a web-based application, the user\n will interact with the client through a user agent (as described in\n Section 3.5 of [RFC9110]). When the client is a native application,\n the user will interact with the client directly through the operating\n system. See Section 2.1 for further details.\n\n1.2. Protocol Flow\n\nHardt, et al. Expires 7 March 2027 [Page 8] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n +--------+ +---------------+\n | |--(1)- Authorization Request ->| Resource |\n | | | Owner |\n | |<-(2)-- Authorization Grant ---| |\n | | +---------------+\n | |\n | | +---------------+\n | |--(3)-- Authorization Grant -->| Authorization |\n | Client | | Server |\n | |<-(4)----- Access Token -------| |\n | | +---------------+\n | |\n | | +---------------+\n | |--(5)----- Access Token ------>| Resource |\n | | | Server |\n | |<-(6)--- Protected Resource ---| |\n +--------+ +---------------+\n\n Figure 1: Abstract Protocol Flow\n\n The abstract OAuth 2.1 flow illustrated in Figure 1 describes the\n interaction between the four roles and includes the following steps:\n\n 1. The client requests authorization from the resource owner. The\n authorization request can be made directly to the resource owner\n (as shown), or preferably indirectly via the authorization server\n as an intermediary.\n\n 2. The client receives an authorization grant, which is a credential\n representing the resource owner's authorization, expressed using\n one of the authorization grant types defined in this\n specification or using an extension grant type. The\n authorization grant type depends on the method used by the client\n to request authorization and the types supported by the\n authorization server.\n\n 3. The client requests an access token by authenticating with the\n authorization server and presenting the authorization grant.\n\n 4. The authorization server authenticates the client and validates\n the authorization grant, and if valid, issues an access token.\n\n 5. The client requests the protected resource from the resource\n server and authenticates by presenting the access token.\n\n 6. The resource server validates the access token, and if valid,\n serves the request.\n\nHardt, et al. Expires 7 March 2027 [Page 9] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The preferred method for the client to obtain an authorization grant\n from the resource owner (depicted in steps (1) and (2)) is to use the\n authorization server as an intermediary, which is illustrated in\n Figure 3 in Section 4.1.\n\n1.3. Authorization Grant\n\n An authorization grant represents the resource owner's authorization\n (to access its protected resources) used by the client to obtain an\n access token. This specification defines three grant types --\n authorization code, refresh token, and client credentials -- as well\n as an extensibility mechanism for defining additional types.\n\n1.3.1. Authorization Code\n\n An authorization code is a temporary credential used to obtain an\n access token. Instead of the client requesting authorization\n directly from the resource owner, the client directs the resource\n owner to an authorization server (via its user agent) which in turn\n directs the resource owner back to the client with the authorization\n code. The client can then exchange the authorization code for an\n access token.\n\n Before directing the resource owner back to the client with the\n authorization code, the authorization server authenticates the\n resource owner, and may request the resource owner's consent or\n otherwise inform them of the client's request. Because the resource\n owner only authenticates with the authorization server, the resource\n owner's credentials are never shared with the client, and the client\n does not need to have knowledge of any additional authentication\n steps such as multi-factor authentication or delegated accounts.\n\n The authorization code provides a few important security benefits,\n such as the ability to authenticate the client, as well as the\n transmission of the access token directly to the client without\n passing it through the resource owner's user agent and potentially\n exposing it to others, including the resource owner.\n\n1.3.2. Refresh Token\n\n Refresh tokens are credentials used to obtain access tokens. Refresh\n tokens may be issued to the client by the authorization server and\n are used to obtain a new access token when the current access token\n becomes invalid or expires, or to obtain additional access tokens\n with identical or narrower scope (access tokens may have a shorter\n lifetime and fewer privileges than authorized by the resource owner).\n Issuing a refresh token is optional at the discretion of the\n authorization server, and may be issued based on properties of the\n\nHardt, et al. Expires 7 March 2027 [Page 10] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n client, properties of the request, policies within the authorization\n server, or any other criteria. If the authorization server issues a\n refresh token, it is included when issuing an access token (i.e.,\n step (2) in Figure 2). The lifetime of the refresh token is also at\n the discretion of the authorization server.\n\n A refresh token is a string representing the authorization granted to\n the client by the resource owner. The string is considered opaque to\n the client. The refresh token may be an identifier used to retrieve\n the authorization information or may encode this information into the\n string itself. Unlike access tokens, refresh tokens are intended for\n use only with authorization servers and are never sent to resource\n servers.\n\n +--------+ +---------------+\n | |--(1)------- Authorization Grant --------->| |\n | | | |\n | |<-(2)----------- Access Token -------------| |\n | | & Refresh Token | |\n | | | |\n | | +----------+ | |\n | |--(3)---- Access Token ---->| | | |\n | | | | | |\n | |<-(4)- Protected Resource --| Resource | | Authorization |\n | Client | | Server | | Server |\n | |--(5)---- Access Token ---->| | | |\n | | | | | |\n | |<-(6)- Invalid Token Error -| | | |\n | | +----------+ | |\n | | | |\n | |--(7)----------- Refresh Token ----------->| |\n | | | |\n | |<-(8)----------- Access Token -------------| |\n +--------+ & Optional Refresh Token +---------------+\n\n Figure 2: Refreshing an Expired Access Token\n\n The flow illustrated in Figure 2 includes the following steps:\n\n 1. The client requests an access token by authenticating with the\n authorization server and presenting an authorization grant.\n\n 2. The authorization server authenticates the client and validates\n the authorization grant, and if valid, issues an access token and\n optionally a refresh token.\n\n 3. The client makes a protected resource request to the resource\n server by presenting the access token.\n\nHardt, et al. Expires 7 March 2027 [Page 11] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n 4. The resource server validates the access token, and if valid,\n serves the request.\n\n 5. Steps (3) and (4) repeat until the access token expires. If the\n client knows the access token expired, it skips to step (7);\n otherwise, it makes another protected resource request.\n\n 6. Since the access token is invalid, the resource server returns an\n invalid token error.\n\n 7. The client requests a new access token by presenting the refresh\n token and providing client authentication if it has been issued\n credentials. The client authentication requirements are based on\n the client type and on the authorization server policies.\n\n 8. The authorization server authenticates the client and validates\n the refresh token, and if valid, issues a new access token (and,\n optionally, a new refresh token).\n\n Note that there is no need to communicate the lifetime of the refresh\n token to the client, because the client can't do anything different\n with the knowledge of the lifetime. Additionally, the authorization\n server might choose to use dynamic lifetimes (e.g. the refresh token\n expiry is extended as long as the refresh token is used at least once\n every 7 days), or the authorization server might revoke the refresh\n token before its scheduled expiration date for any reason, such as if\n the user revokes the application's access. This means the client\n already has to handle the case of a refresh token expiring at an\n arbitrary time.\n\n Regardless of why or when the refresh token expires, the client has\n only one path to obtain new tokens, which is to start a new OAuth\n flow from the beginning. For that reason, there is no property\n defined to communicate the expiration of a refresh token to the\n client.\n\n1.3.3. Client Credentials\n\n The client credentials or other forms of client authentication (e.g.,\n a private key used to sign a JWT, as described in [RFC7523] and its\n update [I-D.ietf-oauth-rfc7523bis]) can be used as an authorization\n grant when the authorization scope is limited to the protected\n resources under the control of the client, or to protected resources\n previously arranged with the authorization server. Client\n credentials are used when the client is requesting access to\n protected resources based on an authorization previously arranged\n with the authorization server.\n\nHardt, et al. Expires 7 March 2027 [Page 12] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n1.4. Access Token\n\n Access tokens are credentials used to access protected resources. An\n access token is a string representing an authorization issued to the\n client.\n\n The string is considered opaque to the client, even if it has a\n structure. The client MUST NOT expect to be able to parse the access\n token value. The authorization server is not required to use a\n consistent access token encoding or format other than what is\n expected by the resource server.\n\n The access granted by the resource owner to the client is represented\n by the Access Token created by the authorization server. Access\n Tokens are short lived to reduce the blast radius of a leaked Access\n Token. The expiration of the Access Token is set by the\n authorization server.\n\n Depending on the authorization server implementation, the token\n string may be used by the resource server to retrieve the\n authorization information, or the token may self-contain the\n authorization information in a verifiable manner (i.e., a token\n string consisting of a signed data payload). One example of a token\n retrieval mechanism is Token Introspection [RFC7662], in which the RS\n calls an endpoint on the AS to validate the token presented by the\n client. One example of a structured token format is JWT Profile for\n Access Tokens [RFC9068], a method of encoding and signing access\n token data as a JSON Web Token [RFC7519].\n\n Additional authentication credentials, which are beyond the scope of\n this specification, may be required in order for the client to use an\n access token. This is typically referred to as a sender-constrained\n access token, such as DPoP [RFC9449] and Mutual TLS Certificate-Bound\n Access Tokens [RFC8705].\n\n The access token provides an abstraction layer, replacing different\n authorization constructs (e.g., username and password) with a single\n token understood by the resource server. This abstraction enables\n issuing access tokens more restrictive than the authorization grant\n used to obtain them, as well as removing the resource server's need\n to understand a wide range of authentication methods.\n\n Access tokens can have different formats, structures, and methods of\n utilization (e.g., cryptographic properties) based on the resource\n server security requirements. Access token attributes and the\n methods used to access protected resources may be extended beyond\n what is described in this specification.\n\nHardt, et al. Expires 7 March 2027 [Page 13] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Access tokens (as well as any confidential access token attributes)\n MUST be kept confidential in transit and storage, and only shared\n among the authorization server, the resource servers the access token\n is valid for, and the client to which the access token is issued.\n\n The authorization server MUST ensure that access tokens cannot be\n generated, modified, or guessed to produce valid access tokens by\n unauthorized parties.\n\n1.4.1. Access Token Scope\n\n Access tokens are intended to be issued to clients with less\n privileges than the user granting the access has. This is known as a\n limited \"scope\" access token. The authorization server and resource\n server can use this scope mechanism to limit what types of resources\n or level of access a particular client can have.\n\n For example, a client may only need \"read\" access to a user's\n resources, but doesn't need to update resources, so the client can\n request the read-only scope defined by the authorization server, and\n obtain an access token that cannot be used to update resources. This\n requires coordination between the authorization server, resource\n server, and client. The authorization server provides the client the\n ability to request specific scopes, and associates those scopes with\n the access token issued to the client. The resource server is then\n responsible for enforcing scopes when presented with a limited-scope\n access token.\n\n OAuth does not define any scope values, instead scopes are defined by\n the authorization server or by extensions or profiles of OAuth. One\n such extension that defines scopes is [OpenID.Connect], which defines\n a set of scopes that provide granular access to a user's profile\n information. It is recommended to avoid defining custom scopes that\n conflict with scopes from known extensions.\n\n To request a limited-scope access token, the client uses the scope\n request parameter at the authorization or token endpoints, depending\n on the grant type used. In turn, the authorization server uses the\n scope response parameter to inform the client of the scope of the\n access token issued.\n\n The value of the scope parameter is expressed as a space-delimited\n list of case-sensitive strings. The strings are defined by the\n authorization server. If the value contains multiple space-delimited\n strings, their order does not matter, and each string adds an\n additional access range to the requested scope.\n\nHardt, et al. Expires 7 March 2027 [Page 14] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n scope = scope-token *( SP scope-token )\n scope-token = 1*( %x21 / %x23-5B / %x5D-7E )\n\n The authorization server MAY fully or partially ignore the scope\n requested by the client, based on the authorization server policy or\n the resource owner's instructions. If the issued access token scope\n is different from the one requested by the client, the authorization\n server MUST include the scope response parameter in the token\n response (Section 3.2.3) to inform the client of the actual scope\n granted.\n\n If the client omits the scope parameter when requesting\n authorization, the authorization server MUST either process the\n request using a pre-defined default value or fail the request\n indicating an invalid scope. The authorization server SHOULD\n document its scope requirements and default value (if defined).\n\n1.4.2. Bearer Tokens\n\n A Bearer Token is a security token with the property that any party\n in possession of the token (a \"bearer\") can use the token in any way\n that any other party in possession of it can. Using a Bearer Token\n does not require a bearer to prove possession of cryptographic key\n material (proof-of-possession).\n\n Bearer Tokens may be enhanced with proof-of-possession specifications\n such as DPoP [RFC9449] and mTLS [RFC8705] to provide proof-of-\n possession characteristics.\n\n To protect against access token disclosure, the communication\n interaction between the client and the resource server MUST utilize\n confidentiality and integrity protection as described in Section 1.5.\n\n There is no requirement on the particular structure or format of a\n bearer token. If a bearer token is a reference to authorization\n information, such references MUST be infeasible for an attacker to\n guess, such as using a sufficiently long cryptographically random\n string. If a bearer token uses an encoding mechanism to contain the\n authorization information in the token itself, the access token MUST\n use integrity protection sufficient to prevent the token from being\n modified. One example of an encoding and signing mechanism for\n access tokens is described in JSON Web Token Profile for Access\n Tokens [RFC9068].\n\nHardt, et al. Expires 7 March 2027 [Page 15] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n1.4.3. Sender-Constrained Access Tokens\n\n A sender-constrained access token binds the use of an access token to\n a specific sender. This sender is obliged to demonstrate knowledge\n of a certain secret as prerequisite for the acceptance of that access\n token at the recipient (e.g., a resource server).\n\n Authorization and resource servers SHOULD use mechanisms for sender-\n constraining access tokens, such as OAuth Demonstration of Proof of\n Possession (DPoP) [RFC9449] or Mutual TLS for OAuth 2.0 [RFC8705].\n See Section 4.10.1 of [RFC9700] to prevent misuse of stolen and\n leaked access tokens.\n\n It is RECOMMENDED to use end-to-end TLS between the client and the\n resource server. If TLS traffic needs to be terminated at an\n intermediary, refer to Section 4.13 of [RFC9700] for further security\n advice.\n\n1.5. Communication security\n\n Implementations MUST use a mechanism to provide communication\n authentication, integrity and confidentiality such as Transport-Layer\n Security [RFC9846], to protect the exchange of clear-text credentials\n and tokens either in the content or in header fields from\n eavesdropping which enables replay (e.g., see Section 2.4.1,\n Section 7.5.1, Section 3.2, and Section 1.4.2).\n\n All the OAuth protocol URLs (URLs exposed by the AS, RS and Client)\n MUST use the https scheme except for loopback interface redirect\n URIs, which MAY use the http scheme. When using https, TLS\n certificates MUST be checked according to Section 4.3.4 of [RFC9110].\n At the time of this writing, TLS version 1.3 [RFC9846] is the most\n recent version.\n\n Implementations MAY also support additional transport-layer security\n mechanisms that meet their security requirements.\n\n The identification of the TLS versions and algorithms is outside the\n scope of this specification. Refer to [BCP195] for up to date\n recommendations on transport layer security, and to the relevant\n specifications for certificate validation and other security\n considerations.\n\nHardt, et al. Expires 7 March 2027 [Page 16] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n1.6. HTTP Redirections\n\n This specification makes extensive use of HTTP redirections, in which\n the client or the authorization server directs the resource owner's\n user agent to another destination. While the examples in this\n specification show the use of the HTTP 302 status code, any other\n method available via the user agent to accomplish this redirection,\n with the exception of HTTP 307, is allowed and is considered to be an\n implementation detail. See Section 7.5.4 for details.\n\n1.7. Interoperability\n\n OAuth 2.1 provides a rich authorization framework with well-defined\n security properties.\n\n This specification leaves a few required components partially or\n fully undefined (e.g., client registration, authorization server\n capabilities, endpoint discovery). Some of these behaviors are\n defined in optional extensions which implementations can choose to\n use, such as:\n\n * [RFC8414]: Authorization Server Metadata, defining an endpoint\n clients can use to look up the information needed to interact with\n a particular OAuth server\n\n * [RFC7591]: Dynamic Client Registration, providing a mechanism for\n programmatically registering clients with an authorization server\n\n * [RFC7592]: Dynamic Client Management, providing a mechanism for\n updating dynamically registered client information\n\n * [RFC7662]: Token Introspection, defining a mechanism for resource\n servers to obtain information about access tokens\n\n Please refer to Appendix D for a list of current known extensions at\n the time of this publication.\n\n1.7.1. Value Sizes\n\n This specification does not define a maximum length for the\n client_id, authorization codes, access tokens, refresh tokens, or\n most other protocol parameters, as the length of these values depends\n on implementation choices made by the party that issues them. In\n practice, implementations impose their own limits, and a value that\n exceeds the limit of a receiving implementation will cause the\n request to fail.\n\nHardt, et al. Expires 7 March 2027 [Page 17] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Implementations MUST NOT assume that a value they receive fits within\n a particular length. The party that issues a value SHOULD document\n its length, and SHOULD take into account the limits of the components\n that will carry it. In particular, values returned in a redirect,\n such as the authorization code, are carried in a URI query string,\n and HTTP implementations commonly limit the length of the request\n line and of individual header fields (Section 3 of [RFC9112] and\n Section 5.4 of [RFC9110]). Implementations SHOULD support parameter\n values long enough that requests remain within the 8000-octet\n request-line length recommended by Section 3 of [RFC9112]. Resource\n servers in particular should not impose small limits on the length of\n access tokens, as tokens in a structured format, such as those\n defined by [RFC9068], routinely exceed one kilobyte.\n\n1.8. Compatibility with OAuth 2.0\n\n OAuth 2.1 is compatible with OAuth 2.0 with the extensions and\n restrictions from known best current practices applied.\n Specifically, features not specified in OAuth 2.0 core, such as PKCE,\n are required in OAuth 2.1. Additionally, some features available in\n OAuth 2.0, such as the Implicit or Resource Owner Credentials grant\n types, are not specified in OAuth 2.1. Furthermore, some behaviors\n allowed in OAuth 2.0 are restricted in OAuth 2.1, such as the strict\n string matching of redirect URIs required by OAuth 2.1.\n\n See Section 10 for more details on the differences from OAuth 2.0.\n\n1.9. Notational Conventions\n\n The key words \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHALL\", \"SHALL NOT\",\n \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"NOT RECOMMENDED\", \"MAY\", and\n \"OPTIONAL\" in this document are to be interpreted as described in\n BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all\n capitals, as shown here.\n\n This specification uses the Augmented Backus-Naur Form (ABNF)\n notation of [RFC5234]. Additionally, the rule URI-reference is\n included from \"Uniform Resource Identifier (URI): Generic Syntax\"\n [RFC3986].\n\n Certain security-related terms are to be understood in the sense\n defined in [RFC4949]. These terms include, but are not limited to,\n \"attack\", \"authentication\", \"authorization\", \"certificate\",\n \"confidentiality\", \"credential\", \"encryption\", \"identity\", \"sign\",\n \"signature\", \"trust\", \"validate\", and \"verify\".\n\n The term \"content\" is to be interpreted as described in Section 6.4\n of [RFC9110].\n\nHardt, et al. Expires 7 March 2027 [Page 18] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The term \"user agent\" is to be interpreted as described in\n Section 3.5 of [RFC9110].\n\n Unless otherwise noted, all the protocol parameter names and values\n are case sensitive.\n\n2. Client Registration\n\n Before initiating the protocol, the client must have established an\n identifier (Section 2.2) at the authorization server. The means\n through which the client identifier is established with the\n authorization server are beyond the scope of this specification, but\n typically involve the client developer manually registering the\n client at the authorization server's website (after creating an\n account and agreeing to the service's Terms of Service), or by using\n Dynamic Client Registration [RFC7591]. Extensions may also define\n other programmatic methods of establishing client registration.\n\n Client registration does not require a direct interaction between the\n client and the authorization server. When supported by the\n authorization server, registration can rely on other means for\n establishing trust and obtaining the required client properties\n (e.g., redirect URI, client type). For example, registration can be\n accomplished using a self-issued or third-party-issued assertion, or\n by the authorization server performing client discovery using a\n trusted channel.\n\n Client registration MUST include:\n\n * the client type as described in Section 2.1,\n\n * client details needed by the grant type in use, such as redirect\n URIs as described in Section 2.3, and\n\n * any other information required by the authorization server (e.g.,\n application name, website, description, logo image, the acceptance\n of legal terms).\n\n Dynamic Client Registration [RFC7591] defines a common general data\n model for clients that may be used even with manual client\n registration.\n\n2.1. Client Types\n\n OAuth 2.1 defines two client types based on their ability to\n authenticate securely with the authorization server.\n\n \"confidential\": Clients that have credentials with the AS are\n\nHardt, et al. Expires 7 March 2027 [Page 19] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n designated as \"confidential clients\"\n\n \"public\": Clients without credentials are called \"public clients\"\n\n Any clients with credentials MUST take precautions to prevent leakage\n and abuse of their credentials.\n\n Client authentication allows an Authorization Server to ensure it is\n interacting with a certain client (identified by its client_id) in an\n OAuth flow. The Authorization Server might make policy decisions\n about things such as whether to prompt the user for consent on every\n authorization or only the first based on the confidence that the\n Authorization Server is actually communicating with the legitimate\n client.\n\n Whether and how an Authorization Server validates the identity of a\n client or the party providing/operating this client is out of scope\n of this specification. Authorization servers SHOULD consider the\n level of confidence in a client's identity when deciding whether they\n allow a client access to more sensitive resources and operations such\n as the Client Credentials grant type and how often to prompt the user\n for consent.\n\n There is no requirement that an Authorization Server supports a\n particular client type.\n\n A single client_id SHOULD NOT be treated as more than one type of\n client.\n\n This specification has been designed around the following client\n profiles:\n\n \"web application\": A web application is a client running on a web\n server. Resource owners access the client via an HTML user\n interface rendered in a user agent on the device used by the\n resource owner. The client credentials as well as any access\n tokens issued to the client are stored on the web server and are\n not exposed to or accessible by the resource owner.\n\n \"browser-based application\": A browser-based application is a client\n\nHardt, et al. Expires 7 March 2027 [Page 20] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n in which the client code is downloaded from a web server and\n executes within a user agent (e.g., web browser) on the device\n used by the resource owner. Protocol data and credentials are\n easily accessible (and often visible) to the resource owner. If\n such applications wish to use client credentials, it is\n recommended to utilize the backend for frontend pattern. Since\n such applications reside within the user agent, they can make\n seamless use of the user agent capabilities when requesting\n authorization.\n\n \"native application\": A native application is a client installed and\n executed on the device used by the resource owner. Protocol data\n and credentials are accessible to the resource owner. It is\n assumed that any client authentication credentials included in the\n application can be extracted. Dynamically issued access tokens\n and refresh tokens can receive an acceptable level of protection.\n On some platforms, these credentials are protected from other\n applications residing on the same device. If such applications\n wish to use client credentials, it is recommended to utilize the\n backend for frontend pattern, or issue the credentials at runtime\n using Dynamic Client Registration [RFC7591].\n\n2.2. Client Identifier\n\n Every client is identified in the context of an authorization server\n by a client identifier -- a unique string representing the\n registration information provided by the client. While the\n Authorization Server typically issues the client identifier itself,\n it may also serve clients whose client identifier was created by a\n party other than the Authorization Server. The client identifier is\n not a secret; it is exposed to the resource owner and MUST NOT be\n used alone for client authentication. The client identifier is\n unique in the context of an authorization server.\n\n The client identifier is an opaque string whose length is left\n undefined by this specification, as described in Section 1.7.1.\n\n If the authorization server supports clients with client identifiers\n issued by parties other than the authorization server, the\n authorization server SHOULD take precautions to avoid clients\n impersonating resource owners as described in Section 7.4.\n\n2.3. Client Redirection Endpoint\n\n The client redirection endpoint (also referred to as \"redirect\n endpoint\") is the URI of the client that the authorization server\n redirects the user agent back to after completing its interaction\n with the resource owner.\n\nHardt, et al. Expires 7 March 2027 [Page 21] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The authorization server redirects the user agent to one of the\n client's redirection endpoints previously established with the\n authorization server during the client registration process.\n\n The redirect URI MUST be an absolute URI as defined by Section 4.3 of\n [RFC3986]. The redirect URI MAY include a query string component\n (Appendix C.1), which MUST be retained when adding additional query\n parameters. The redirect URI MUST NOT include a fragment component.\n\n2.3.1. Registration Requirements\n\n Authorization servers MUST require clients to register their complete\n redirect URI (including the path component). Authorization servers\n MUST reject authorization requests that specify a redirect URI that\n doesn't exactly match one that was registered, with an exception for\n loopback redirects, where an exact match is required except for the\n port URI component, see Section 4.1.1 for details.\n\n The authorization server MAY allow the client to register multiple\n redirect URIs.\n\n Registration may happen out of band, such as a manual step of\n configuring the client information at the authorization server, or\n may happen at runtime, such as in the initial POST in Pushed\n Authorization Requests [RFC9126].\n\n For private-use URI scheme-based redirect URIs, authorization servers\n SHOULD enforce the requirement in Section 8.4.3 that clients use\n schemes that are reverse domain name based. At a minimum, any\n private-use URI scheme that doesn't contain a period character (.)\n SHOULD be rejected.\n\n In addition to the collision-resistant properties, this can help to\n prove ownership in the event of a dispute where two apps claim the\n same private-use URI scheme (where one app is acting maliciously).\n For example, if two apps claimed com.example.app, the owner of\n example.com could petition the app store operator to remove the\n counterfeit app. Such a petition is harder to prove if a generic URI\n scheme was used.\n\n Clients MUST NOT expose URLs that forward the user's browser to\n arbitrary URIs obtained from a query parameter (\"open redirector\"),\n as described in Section 7.13. Open redirectors can enable\n exfiltration of authorization codes and access tokens.\n\n The client MAY use the state request parameter to achieve per-request\n customization if needed rather than varying the redirect URI per\n request.\n\nHardt, et al. Expires 7 March 2027 [Page 22] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Without requiring registration of redirect URIs, attackers can use\n the authorization endpoint as an open redirector as described in\n Section 7.13.\n\n2.3.2. Multiple Redirect URIs\n\n If multiple redirect URIs have been registered to a client, the\n client MUST include a redirect URI with the authorization request\n using the redirect_uri request parameter (Section 4.1.1). If only a\n single redirect URI has been registered to a client, the redirect_uri\n request parameter is optional.\n\n2.3.3. Preventing CSRF Attacks\n\n Clients MUST prevent Cross-Site Request Forgery (CSRF) attacks. In\n this context, CSRF refers to requests to the redirection endpoint\n that do not originate at the authorization server, but a malicious\n third party (see Section 4.4.1.8 of [RFC6819] for details). Clients\n that have ensured that the authorization server supports the\n code_challenge parameter MAY rely on the CSRF protection provided by\n that mechanism. In OpenID Connect flows, validating the nonce\n parameter provides CSRF protection. Otherwise, one-time use CSRF\n tokens carried in the state parameter that are securely bound to the\n user agent MUST be used for CSRF protection (see Section 7.10).\n\n2.3.4. Preventing Mix-Up Attacks\n\n When an OAuth client can only interact with one authorization server,\n a mix-up defense is not required. In scenarios where an OAuth client\n interacts with two or more authorization servers, however, clients\n MUST prevent mix-up attacks. In order to prevent mix-up attacks,\n clients MUST only process redirect responses of the issuer they sent\n the respective request to and from the same user agent this\n authorization request was initiated with.\n\n See Section 7.15 for a detailed description of two different defenses\n against mix-up attacks.\n\n2.3.5. Invalid Endpoint\n\n If an authorization request fails validation due to a missing,\n invalid, or mismatching redirect URI, the authorization server SHOULD\n inform the resource owner of the error and MUST NOT automatically\n redirect the user agent to the invalid redirect URI.\n\nHardt, et al. Expires 7 March 2027 [Page 23] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n2.3.6. Endpoint Content\n\n The redirection request to the client's endpoint typically results in\n an HTML document response, processed by the user agent. If the HTML\n response is served directly as the result of the redirection request,\n any script included in the HTML document will execute with full\n access to the redirect URI and the artifacts (e.g., authorization\n code) it contains. Additionally, the request URL containing the\n authorization code may be sent in the HTTP Referer header to any\n embedded images, stylesheets and other elements loaded in the page.\n\n The client SHOULD NOT include any third-party scripts (e.g., third-\n party analytics, social plug-ins, ad networks) in the redirect URI\n endpoint response. Instead, it SHOULD extract the artifacts from the\n URI and redirect the user agent again to another endpoint without\n exposing the artifacts (in the URI or elsewhere). If third-party\n scripts are included, the client MUST ensure that its own scripts\n (used to extract and remove the credentials from the URI) will\n execute first.\n\n2.4. Client Authentication\n\n The authorization server MUST only rely on client authentication if\n the process of issuance/registration and distribution of the\n underlying credentials ensures their confidentiality.\n\n For confidential clients, the authorization server MAY accept any\n form of client authentication meeting its security requirements\n (e.g., client secret, public/private key pair).\n\n It is RECOMMENDED to use asymmetric (public-key based) methods for\n client authentication such as mTLS [RFC8705] or using signed JWTs\n (\"Private Key JWT\") in accordance with [RFC7521], [RFC7523], and\n their update [I-D.ietf-oauth-rfc7523bis] (defined in [OpenID.Connect]\n as the client authentication method private_key_jwt). When such\n methods for client authentication are used, authorization servers do\n not need to store sensitive symmetric keys, making these methods more\n robust against a number of attacks, and enables clients to manage\n their own keys and key rotation.\n\n When using JWT-based client authentication, clients and authorization\n servers MUST follow the updated guidance around aud values in\n [I-D.ietf-oauth-rfc7523bis].\n\n When client authentication is not possible, the authorization server\n SHOULD employ other means to validate the client's identity -- for\n example, by requiring the registration of the client redirect URI or\n enlisting the resource owner to confirm identity. A valid redirect\n\nHardt, et al. Expires 7 March 2027 [Page 24] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n URI is not sufficient to verify the client's identity when asking for\n resource owner authorization but can be used to prevent delivering\n credentials to a counterfeit client after obtaining resource owner\n authorization.\n\n The client MUST NOT use more than one authentication method in each\n request to prevent a conflict of which authentication mechanism is\n authoritative for the request.\n\n The authorization server MUST consider the security implications of\n interacting with unauthenticated clients and take measures to limit\n the potential exposure of tokens issued to such clients, (e.g.,\n limiting the lifetime of refresh tokens).\n\n The privileges an authorization server associates with a certain\n client identity MUST depend on the assessment of the overall process\n for client identification and client credential lifecycle management.\n See Section 7.2 for additional details.\n\n2.4.1. Client Secret\n\n To support confidential clients in possession of a client secret, the\n authorization server MUST support the client including the client\n credentials in the request body content using the following\n parameters:\n\n \"client_id\": REQUIRED. The client identifier issued to the client\n during the registration process described by Section 2.2.\n\n \"client_secret\": REQUIRED. The client secret.\n\n The parameters can only be transmitted in the request content and\n MUST NOT be included in the request URI.\n\n This is also known as client_secret_post as defined in Section 2 of\n [RFC7591].\n\n For example, a request to refresh an access token (Section 4.3) using\n the content parameters (with extra line breaks for display purposes\n only):\n\n POST /token HTTP/1.1\n Host: server.example.com\n Content-Type: application/x-www-form-urlencoded\n\n grant_type=refresh_token&refresh_token=tGzv3JOkF0XG5Qx2TlKWIA\n &client_id=s6BhdRkqt3&client_secret=7Fjfp0ZBr1KtDRbnfVdmIw\n\nHardt, et al. Expires 7 March 2027 [Page 25] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The authorization server MAY support the HTTP Basic authentication\n scheme for authenticating clients that were issued a client secret.\n\n When using the HTTP Basic authentication scheme as defined in\n Section 11 of [RFC9110] to authenticate with the authorization\n server, the client identifier is encoded using the application/x-www-\n form-urlencoded encoding algorithm per Appendix B, and the encoded\n value is used as the username; the client secret is encoded using the\n same algorithm and used as the password.\n\n This is also known as client_secret_basic as defined in Section 2 of\n [RFC7591].\n\n For example (with extra line breaks for display purposes only):\n\n Authorization: Basic czZCaGRSa3F0Mzo3RmpmcDBaQnIxS3REUmJuZlZkbUl3\n\n Note: This method of initially form-encoding the client identifier\n and secret, and then using the encoded values as the HTTP Basic\n authentication username and password, has led to many\n interoperability problems in the past. Some implementations have\n missed the encoding step, or decided to only encode certain\n characters, or ignored the encoding requirement when validating the\n credentials, leading to clients having to special-case how they\n present the credentials to individual authorization servers.\n Including the credentials in the request body content avoids the\n encoding issues and leads to more interoperable implementations.\n\n Since the client secret authentication method involves a password,\n the authorization server MUST protect any endpoint utilizing it\n against brute force attacks.\n\n2.4.2. Other Authentication Methods\n\n The authorization server MAY support any suitable authentication\n scheme matching its security requirements. When using other\n authentication methods, the authorization server MUST define a\n mapping between the client identifier (registration record) and\n authentication scheme.\n\n Some additional authentication methods such as mTLS [RFC8705] and\n Private Key JWT ([RFC7523], [I-D.ietf-oauth-rfc7523bis]) are defined\n in the \"OAuth Token Endpoint Authentication Methods\n (https://www.iana.org/assignments/oauth-parameters/oauth-\n parameters.xhtml#token-endpoint-auth-method)\" registry, and may be\n useful as generic client authentication methods beyond the specific\n use of protecting the token endpoint.\n\nHardt, et al. Expires 7 March 2027 [Page 26] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n2.5. Unregistered Clients\n\n This specification does not require that clients be registered with\n the authorization server. However, the use of unregistered clients\n is beyond the scope of this specification and requires additional\n security analysis and review of its interoperability impact.\n\n3. Protocol Endpoints\n\n The authorization process utilizes two authorization server endpoints\n (HTTP resources):\n\n * Authorization endpoint - used by the client to obtain\n authorization from the resource owner via user agent redirection.\n\n * Token endpoint - used by the client to exchange an authorization\n grant for an access token, typically with client authentication.\n\n As well as one client endpoint:\n\n * Redirection endpoint - used by the authorization server to return\n responses containing authorization credentials to the client via\n the resource owner user agent.\n\n Not every authorization grant type utilizes both endpoints.\n Extension grant types MAY define additional endpoints as needed.\n\n3.1. Authorization Endpoint\n\n The authorization endpoint is used to interact with the resource\n owner and obtain an authorization grant. The authorization server\n MUST first authenticate the resource owner. The way in which the\n authorization server authenticates the resource owner (e.g., username\n and password login, passkey, federated login, or by using an\n established session) is beyond the scope of this specification.\n\n The means through which the client obtains the URL of the\n authorization endpoint are beyond the scope of this specification,\n but the URL is typically provided in the service documentation, or in\n the authorization server's metadata document [RFC8414].\n\n The authorization endpoint URL MUST NOT include a fragment component,\n and MAY include a query string component (Appendix C.1), which MUST\n be retained when adding additional query parameters.\n\n The authorization server MUST support the use of the HTTP GET method\n Section 9.3.1 of [RFC9110] for the authorization endpoint and MAY\n support the POST method (Section 9.3.3 of [RFC9110]) as well.\n\nHardt, et al. Expires 7 March 2027 [Page 27] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The authorization server MUST ignore unrecognized request parameters\n sent to the authorization endpoint.\n\n Request and response parameters defined by this specification MUST\n NOT be included more than once. This requirement also applies to\n parameters defined by extensions unless the extension explicitly\n defines otherwise for a specific parameter. Parameters sent without\n a value MUST be treated as if they were omitted from the request.\n\n An authorization server that redirects a request potentially\n containing user credentials MUST avoid forwarding these user\n credentials accidentally (see Section 7.5.4 for details).\n\n Cross-Origin Resource Sharing [WHATWG.CORS] MUST NOT be supported at\n the Authorization Endpoint as the client does not access this\n endpoint directly, instead the client redirects the user agent to it.\n\n Grant types define the required parameters at the authorization\n endpoint. This specification defines the \"Authorization Code Grant\"\n (Section 4.1), including the base list of parameters to include in\n the request. Extensions such as Pushed Authorization Requests\n ([RFC9126]) define a different set of parameters to use in the\n request to the authorization endpoint.\n\n3.2. Token Endpoint\n\n The token endpoint is used by the client to obtain an access token\n using a grant such as those described in Section 4 and Section 4.3.\n\n The means through which the client obtains the URL of the token\n endpoint are beyond the scope of this specification, but the URL is\n typically provided in the service documentation and configured during\n development of the client, or provided in the authorization server's\n metadata document [RFC8414] and fetched programmatically at runtime.\n\n The token endpoint URL MUST NOT include a fragment component, and MAY\n include a query string component (Appendix C.1).\n\n The client MUST use the HTTP POST method when making requests to the\n token endpoint.\n\n The authorization server MUST ignore unrecognized request parameters\n sent to the token endpoint.\n\nHardt, et al. Expires 7 March 2027 [Page 28] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Parameters sent without a value MUST be treated as if they were\n omitted from the request. Request and response parameters defined by\n this specification MUST NOT be included more than once. This\n requirement also applies to parameters defined by extensions unless\n the extension explicitly defines otherwise for a specific parameter.\n\n Authorization servers that wish to support browser-based applications\n (for example, applications running exclusively in client-side\n JavaScript without access to a supporting backend server) will need\n to ensure the token endpoint supports the necessary CORS\n [WHATWG.CORS] headers to allow the responses to be visible to the\n application. If the authorization server provides additional\n endpoints to the application, such as metadata URLs, dynamic client\n registration, revocation, introspection, discovery or user info\n endpoints, these endpoints may also be accessed by the browser-based\n application, and will also need to have the CORS headers defined to\n allow access. See [I-D.ietf-oauth-browser-based-apps] for further\n details.\n\n3.2.1. Client Authentication\n\n Confidential clients MUST authenticate with the authorization server\n as described in Section 2.4 when making requests to the token\n endpoint.\n\n Client authentication is used for:\n\n * Enforcing the binding of refresh tokens and authorization codes to\n the client they were issued to. Client authentication adds an\n additional layer of security when an authorization code is\n transmitted to the redirection endpoint over an insecure channel.\n\n * Recovering from a compromised client by disabling the client or\n changing its credentials, thus preventing an attacker from abusing\n stolen refresh tokens. Changing a single set of client\n credentials is significantly faster than revoking an entire set of\n refresh tokens.\n\n * Implementing authentication management best practices, which\n require periodic credential rotation. Rotation of an entire set\n of refresh tokens can be challenging, while rotation of a single\n set of client credentials is significantly easier.\n\nHardt, et al. Expires 7 March 2027 [Page 29] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n3.2.2. Token Endpoint Request\n\n The client makes a request to the token endpoint by sending the\n following parameters using the form-encoded serialization format per\n Appendix C.2 with a character encoding of UTF-8 in the HTTP request\n content:\n\n \"grant_type\": REQUIRED. Identifier of the grant type the client\n uses with the particular token request. This specification\n defines the values authorization_code, refresh_token, and\n client_credentials. The grant type determines the further\n parameters required or supported by the token request. The\n details of those grant types are defined below.\n\n \"client_id\": OPTIONAL. The client identifier is needed when a form\n of client authentication that relies on the parameter is used, or\n the grant_type requires identification of public clients.\n\n Confidential clients MUST authenticate with the authorization server\n as described in Section 3.2.1.\n\n For example, the client makes the following HTTPS request (with extra\n line breaks for display purposes only):\n\n POST /token HTTP/1.1\n Host: server.example.com\n Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW\n Content-Type: application/x-www-form-urlencoded\n\n grant_type=authorization_code\n &code=SplxlOBeZQQYbYS6WxSbIA\n &redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb\n &code_verifier=3641a2d12d66101249cdf7a79c000c1f8c05d2aafcf14bf146497bed\n\n The authorization server MUST:\n\n * require client authentication for confidential clients (or clients\n with other authentication requirements),\n\n * authenticate the client if client authentication is included\n\n Further grant type specific processing rules apply and are specified\n with the respective grant type.\n\nHardt, et al. Expires 7 March 2027 [Page 30] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n3.2.3. Token Endpoint Response\n\n If the access token request is valid and authorized, the\n authorization server issues an access token and optional refresh\n token.\n\n If the client authentication failed or is invalid, the authorization\n server returns an error response as described in Section 3.2.4.\n\n The authorization server issues an access token and optional refresh\n token by creating an HTTP response according to Appendix C.3, using\n the application/json media type as defined by [RFC8259], with the\n following parameters and an HTTP 200 (OK) status code:\n\n \"access_token\": REQUIRED. The access token issued by the\n authorization server.\n\n \"token_type\": REQUIRED. The type of the access token issued as\n described in Section 1.4. Value is case insensitive.\n\n \"expires_in\": RECOMMENDED. A JSON number that represents the\n lifetime in seconds of the access token. For example, the value\n 3600 denotes that the access token will expire in one hour from\n the time the response was generated. If omitted, the\n authorization server SHOULD provide the lifetime via other means\n or document the default value. Note that the authorization server\n may prematurely expire an access token and clients MUST NOT expect\n an access token to be valid for the provided lifetime.\n\n \"scope\": RECOMMENDED, if identical to the scope requested by the\n client; otherwise, REQUIRED. The scope of the access token as\n described by Section 1.4.1.\n\n \"refresh_token\": OPTIONAL. The refresh token, which can be used to\n obtain new access tokens based on the grant passed in the\n corresponding token request.\n\n Authorization servers SHOULD determine, based on a risk assessment\n and their own policies, whether to issue refresh tokens to a certain\n client. If the authorization server decides not to issue refresh\n tokens, the client MAY obtain new access tokens by starting the OAuth\n flow over, for example initiating a new authorization code request.\n In such a case, the authorization server may utilize cookies and\n persistent grants to optimize the user experience.\n\nHardt, et al. Expires 7 March 2027 [Page 31] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n If refresh tokens are issued, those refresh tokens MUST be bound to\n the scope and resource servers as consented by the resource owner.\n This is to prevent privilege escalation by the legitimate client and\n reduce the impact of refresh token leakage.\n\n The parameters are serialized into a JavaScript Object Notation\n (JSON) structure as described in Appendix C.3.\n\n The authorization server MUST include the HTTP Cache-Control response\n header field (see Section 5.2 of [RFC9111]) with a value of no-store\n in any response containing tokens, credentials, or other sensitive\n information.\n\n For example:\n\n HTTP/1.1 200 OK\n Content-Type: application/json\n Cache-Control: no-store\n\n {\n \"access_token\": \"2YotnFZFEjr1zCsicMWpAA\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 3600,\n \"refresh_token\": \"tGzv3JOkF0XG5Qx2TlKWIA\",\n \"example_parameter\": \"example_value\"\n }\n\n The client MUST ignore unrecognized value names in the response. The\n length of tokens and other values received from the authorization\n server is left undefined, as described in Section 1.7.1.\n\n3.2.4. Token Endpoint Error Response\n\n The authorization server responds with an HTTP 400 (Bad Request)\n status code (unless specified otherwise) and includes the following\n parameters with the response:\n\n \"error\": REQUIRED. A single ASCII [USASCII] error code from the\n following:\n\n \"invalid_request\": The request is missing a required parameter,\n includes an unsupported parameter value (other than grant\n type), repeats a parameter, includes multiple credentials,\n utilizes more than one mechanism for authenticating the client,\n contains a code_verifier although no code_challenge was sent in\n the authorization request, or is otherwise malformed.\n\n \"invalid_client\": Client authentication failed (e.g., unknown\n\nHardt, et al. Expires 7 March 2027 [Page 32] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n client, no client authentication included, or unsupported\n authentication method). The authorization server MAY return an\n HTTP 401 (Unauthorized) status code to indicate which HTTP\n authentication schemes are supported. If the client attempted\n to authenticate via the Authorization request header field, the\n authorization server MUST respond with an HTTP 401\n (Unauthorized) status code and include the WWW-Authenticate\n response header field matching the authentication scheme used\n by the client.\n\n \"invalid_grant\": The provided authorization grant (e.g.,\n authorization code, resource owner credentials) or refresh\n token is invalid, expired, revoked, does not match the redirect\n URI used in the authorization request, or was issued to another\n client.\n\n \"unauthorized_client\": The authenticated client is not authorized\n to use this authorization grant type.\n\n \"unsupported_grant_type\": The authorization grant type is not\n supported by the authorization server.\n\n \"invalid_scope\": The requested scope is invalid, unknown,\n malformed, or exceeds the scope granted by the resource owner.\n\n Values for the error parameter MUST NOT include characters outside\n the set %x20-21 / %x23-5B / %x5D-7E.\n\n \"error_description\": OPTIONAL. Human-readable ASCII [USASCII] text\n providing additional information, used to assist the client\n developer in understanding the error that occurred. Values for\n the error_description parameter MUST NOT include characters\n outside the set %x20-21 / %x23-5B / %x5D-7E.\n\n \"error_uri\": OPTIONAL. A URI identifying a human-readable web page\n with information about the error, used to provide the client\n developer with additional information about the error. Values for\n the error_uri parameter MUST conform to the URI-reference syntax\n and thus MUST NOT include characters outside the set %x21 /\n %x23-5B / %x5D-7E.\n\n The parameters are included in the content of the HTTP response using\n the application/json media type as defined in Appendix C.3.\n\n For example:\n\nHardt, et al. Expires 7 March 2027 [Page 33] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n HTTP/1.1 400 Bad Request\n Content-Type: application/json\n Cache-Control: no-store\n\n {\n \"error\": \"invalid_request\"\n }\n\n4. Grant Types\n\n To request an access token, the client obtains authorization from the\n resource owner. This specification defines the following\n authorization grant types:\n\n * authorization code\n\n * client credentials, and\n\n * refresh token\n\n It also provides an extension mechanism for defining additional grant\n types.\n\n4.1. Authorization Code Grant\n\n The authorization code grant type is used to obtain both access\n tokens and refresh tokens.\n\n The grant type uses the additional authorization endpoint to let the\n authorization server interact with the resource owner in order to get\n consent for resource access.\n\n Since this is a redirect-based flow, the client must be capable of\n initiating the flow with the resource owner's user agent (typically a\n web browser) and capable of being redirected back to from the\n authorization server.\n\nHardt, et al. Expires 7 March 2027 [Page 34] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n +----------+\n | Resource |\n | Owner |\n +----------+\n ^\n |\n |\n +-----|----+ Client Identifier +---------------+\n | .---+---------(1)-- & Redirect URI ------->| |\n | | | | | |\n | | '---------(2)-- User authenticates --->| |\n | | User- | | Authorization |\n | | Agent | | Server |\n | | | | |\n | | .--------(3)-- Authorization Code ---<| |\n +-|----|---+ +---------------+\n | | ^ v\n | | | |\n ^ v | |\n +---------+ | |\n | |>---(4)-- Authorization Code ---------' |\n | Client | & Redirect URI |\n | | |\n | |<---(5)----- Access Token -------------------'\n +---------+ (w/ Optional Refresh Token)\n\n Figure 3: Authorization Code Flow\n\n The flow illustrated in Figure 3 includes the following steps:\n\n (1) The client initiates the flow by directing the resource owner's\n user agent to the authorization endpoint. The client includes its\n client identifier, code challenge (derived from a generated code\n verifier), optional requested scope, optional local state, and a\n redirect URI to which the authorization server will send the user\n agent back once access is granted (or denied).\n\n (2) The authorization server authenticates the resource owner (via\n the user agent) and establishes whether the resource owner grants or\n denies the client's access request.\n\n (3) Assuming the resource owner grants access, the authorization\n server redirects the user agent back to the client using the redirect\n URI provided earlier (in the request or during client registration).\n The redirect URI includes an authorization code and any local state\n provided by the client earlier.\n\nHardt, et al. Expires 7 March 2027 [Page 35] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n (4) The client requests an access token from the authorization\n server's token endpoint by including the authorization code received\n in the previous step, and including its code verifier. When making\n the request, the client authenticates with the authorization server\n if it can. The client includes the redirect URI used to obtain the\n authorization code for verification.\n\n (5) The authorization server authenticates the client when possible,\n validates the authorization code, validates the code verifier, and\n ensures that the redirect URI received matches the URI used to\n redirect the user agent to the client in step (3). If valid, the\n authorization server responds back with an access token and,\n optionally, a refresh token.\n\n4.1.1. Authorization Request\n\n To begin the authorization request, the client builds the\n authorization request URI by adding parameters to the authorization\n server's authorization endpoint URI. The client will eventually\n redirect the user agent to this URI to initiate the request.\n\n Clients use a unique secret, called the \"code verifier\", per\n authorization request to protect against authorization code injection\n and CSRF attacks. The client first generates the code verifier, then\n derives the \"code challenge\" to include in the authorization request.\n The client uses the code verifier when exchanging the authorization\n code at the token endpoint to prove that the client using the\n authorization code is the same client that requested it.\n\n The client constructs the request URI by adding the following\n parameters to the query component of the authorization endpoint URI\n as described by Appendix C.1:\n\n \"response_type\": REQUIRED. The authorization endpoint supports\n different sets of request and response parameters. The client\n determines the type of flow by using a certain response_type\n value. This specification defines the value code, which must be\n used to signal that the client wants to use the authorization code\n flow.\n\n Extension response types MAY contain a space-delimited (%x20) list of\n values, where the order of values does not matter (e.g., response\n type a b is the same as b a). The meaning of such composite response\n types is defined by their respective specifications.\n\n Some extension response types are defined by [OpenID.Connect].\n\nHardt, et al. Expires 7 March 2027 [Page 36] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n If an authorization request is missing the response_type parameter,\n or if the response type is not understood, the authorization server\n MUST return an error response as described in Section 4.1.2.1.\n\n \"client_id\": REQUIRED. The client identifier as described in\n Section 2.2.\n\n \"code_challenge\": REQUIRED unless the specific requirements of\n Section 7.5.1 are met. Code challenge derived from the code\n verifier.\n\n \"code_challenge_method\": REQUIRED, the value S256 or a value defined\n by a future extension\n\n \"redirect_uri\": OPTIONAL if only one redirect URI is registered for\n this client. REQUIRED if multiple redirect URIs are registered\n for this client. See Section 2.3.2.\n\n \"scope\": OPTIONAL. The scope of the access request as described by\n Section 1.4.1.\n\n \"state\": OPTIONAL. An opaque value used by the client to maintain\n state between the request and callback. The authorization server\n includes this value when redirecting the user agent back to the\n client. This value is carried in the query component of the\n authorization request URI and again in the redirect back to the\n client, so its length is bounded in practice by the URI and HTTP\n header field lengths accepted by the authorization server, the\n user agent, and the client; see Section 1.7.1.\n\n The code_verifier is a unique high-entropy cryptographically random\n string generated for each authorization request, using the unreserved\n characters [A-Z] / [a-z] / [0-9] / \"-\" / \".\" / \"_\" / \"~\", with a\n minimum length of 43 characters and a maximum length of 128\n characters.\n\n The client stores the code_verifier temporarily, and calculates the\n code_challenge which it uses in the authorization request.\n\n ABNF for code_verifier is as follows.\n\n code-verifier = 43*128unreserved\n unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n ALPHA = %x41-5A / %x61-7A\n DIGIT = %x30-39\n\nHardt, et al. Expires 7 March 2027 [Page 37] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Clients MUST use code challenge methods that do not expose the\n code_verifier in the authorization request. Otherwise, attackers\n that can read the authorization request (cf. Attacker A4 in\n [RFC9700]) can break the security provided by this mechanism.\n Currently, S256 is the only such method.\n\n NOTE: The code verifier SHOULD have enough entropy to make it\n impractical to guess the value. It is RECOMMENDED that the output of\n a suitable random number generator be used to create a 32-octet\n sequence. The octet sequence is then base64url-encoded to produce a\n 43-octet URL-safe string to use as the code verifier.\n\n The client then creates a code_challenge derived from the code\n verifier by transforming the code verifier with a valid\n transformation method:\n\n S256\n code_challenge = BASE64URL-ENCODE(SHA256(ASCII(code_verifier)))\n\n This specification defines only the S256 transformation. Future\n extensions may define additional transformation methods.\n\n ABNF for code_challenge is as follows.\n\n code-challenge = 43*128unreserved\n unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n ALPHA = %x41-5A / %x61-7A\n DIGIT = %x30-39\n\n The properties code_challenge and code_verifier are adopted from the\n OAuth 2.0 extension known as \"Proof-Key for Code Exchange\", or PKCE\n [RFC7636] where this technique was originally developed. The plain\n transformation method defined in [RFC7636] is removed and explicitly\n prohibited in this specification. See Section 7.5.2 for additional\n details.\n\n Authorization servers MUST support the code_challenge and\n code_verifier parameters.\n\n Clients MUST use code_challenge and code_verifier and authorization\n servers MUST enforce their use except under the conditions described\n in Section 7.5.1. Even in this case, using and enforcing\n code_challenge and code_verifier as described above is still\n RECOMMENDED.\n\n The state and scope parameters SHOULD NOT include sensitive client or\n resource owner information in plain text, as they can be transmitted\n over insecure channels or stored insecurely.\n\nHardt, et al. Expires 7 March 2027 [Page 38] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The client directs the resource owner to the constructed URI using an\n HTTP redirection, or by other means available to it via the user\n agent.\n\n For example, the client directs the user agent to make the following\n HTTPS request (with extra line breaks for display purposes only):\n\n GET /authorize?response_type=code&client_id=s6BhdRkqt3&state=xyz\n &redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb\n &code_challenge=6fdkQaPm51l13DSukcAH3Mdx7_ntecHYd1vi3n0hMZY\n &code_challenge_method=S256 HTTP/1.1\n Host: server.example.com\n\n The authorization server validates the request to ensure that all\n required parameters are present and valid.\n\n In particular, the authorization server MUST validate the\n redirect_uri in the request if present, ensuring that it matches one\n of the registered redirect URIs previously established during client\n registration (Section 2). When comparing the two URIs the\n authorization server MUST ensure that the two URIs are equal, see\n Section 6.2.1 of [RFC3986], Simple String Comparison, for details.\n The only exception is native apps using a localhost URI: In this\n case, the authorization server MUST allow variable port numbers as\n described in Section 8.4.2.\n\n If the request is valid, the authorization server authenticates the\n resource owner and obtains an authorization decision (by asking the\n resource owner or by establishing approval via other means).\n\n When a decision is established, the authorization server directs the\n user agent to the provided client redirect URI using an HTTP\n redirection response, or by other means available to it via the user\n agent.\n\n4.1.2. Authorization Response\n\n If the resource owner grants the access request, the authorization\n server issues an authorization code and delivers it to the client by\n adding the following parameters to the query component of the\n redirect URI using the query string serialization described by\n Appendix C.1, unless specified otherwise by an extension:\n\n \"code\": REQUIRED. The authorization code is generated by the\n\nHardt, et al. Expires 7 March 2027 [Page 39] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n authorization server and opaque to the client. The authorization\n code MUST expire shortly after it is issued to mitigate the risk\n of leaks. A maximum authorization code lifetime of 10 minutes is\n RECOMMENDED. The authorization code is bound to the client\n identifier, code challenge and redirect URI.\n\n \"state\": REQUIRED if the state parameter was present in the client\n authorization request. The exact value received from the client.\n\n \"iss\": REQUIRED. The issuer identifier of the authorization server\n which the client can use to prevent mix-up attacks, if the client\n interacts with more than one authorization server. See\n Section 7.15 and [RFC9207] for additional details how the client\n can use it to prevent mix-up attacks.\n\n For example, the authorization server redirects the user agent by\n sending the following HTTP response:\n\n HTTP/1.1 302 Found\n Location: https://client.example.com/cb?code=SplxlOBeZQQYbYS6WxSbIA\n &state=xyz&iss=https%3A%2F%2Fauthorization-server.example.com\n\n The client MUST ignore unrecognized response parameters. The length\n of the authorization code string is left undefined by this\n specification, as described in Section 1.7.1.\n\n The authorization server MUST associate the code_challenge and\n code_challenge_method values with the issued authorization code so\n the code challenge can be verified later.\n\n The exact method that the server uses to associate the code_challenge\n with the issued code is out of scope for this specification. The\n code challenge could be stored on the server and associated with the\n code there. The code_challenge and code_challenge_method values may\n be stored in encrypted form in the code itself, but the server MUST\n NOT include the code_challenge value in a response parameter in a\n form that entities other than the AS can extract.\n\n Clients MUST prevent injection (replay) of authorization codes into\n the authorization response by attackers. Using code_challenge and\n code_verifier prevents injection of authorization codes since the\n authorization server will reject a token request with a mismatched\n code_verifier. See Section 7.5.1 for more details.\n\nHardt, et al. Expires 7 March 2027 [Page 40] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n4.1.2.1. Authorization Error Response\n\n If the request fails due to a missing, invalid, or mismatching\n redirect URI, or if the client identifier is missing or invalid, the\n authorization server MUST NOT redirect the user agent to the invalid\n redirect URI and SHOULD inform the resource owner of the error, for\n example by displaying a message to the user in their browser. When\n returning an error response directly to the user agent, the\n authorization server SHOULD use the HTTP 400 (Bad Request) status\n code. The HTTP 401 (Unauthorized) status code used for client\n authentication errors at the token endpoint does not apply to\n authorization endpoint request errors.\n\n The authorization server MUST validate the client identifier and\n redirect URI before redirecting an error response to the client.\n Once both have been validated, the authorization server redirects\n request errors using the error codes defined below.\n\n An authorization server MUST reject requests without a code_challenge\n from public clients, and MUST reject such requests from other clients\n unless there is reasonable assurance that the client mitigates\n authorization code injection in other ways. See Section 7.5.1 for\n details.\n\n If the server does not support the requested code_challenge_method\n transformation, the authorization endpoint MUST return the\n authorization error response with error value set to invalid_request.\n The error_description or the response of error_uri SHOULD explain the\n nature of error, e.g., transform algorithm not supported.\n\n If the resource owner denies the access request or if the request\n fails after the client identifier and redirect URI have been\n validated, the authorization server informs the client by redirecting\n the user agent to the redirect URI and adding the following\n parameters to the query component of the redirect URI as described by\n Appendix C.1:\n\n \"error\": REQUIRED. A single ASCII [USASCII] error code from the\n following:\n\n \"invalid_request\": The request is missing a required parameter,\n includes an invalid parameter value, includes a parameter more\n than once, or is otherwise malformed.\n\n \"unauthorized_client\": The client is not authorized to request an\n authorization code using this method.\n\n \"access_denied\": The resource owner or authorization server\n\nHardt, et al. Expires 7 March 2027 [Page 41] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n denied the request.\n\n \"unsupported_response_type\": The authorization server does not\n support obtaining an authorization code using this method.\n\n \"invalid_scope\": The requested scope is invalid, unknown, or\n malformed.\n\n \"server_error\": The authorization server encountered an\n unexpected condition that prevented it from fulfilling the\n request. (This error code is needed because a 500 Internal\n Server Error HTTP status code cannot be returned to the client\n via an HTTP redirect.)\n\n \"temporarily_unavailable\": The authorization server is currently\n unable to handle the request due to a temporary overloading or\n maintenance of the server. (This error code is needed because\n a 503 Service Unavailable HTTP status code cannot be returned\n to the client via an HTTP redirect.)\n\n Values for the error parameter MUST NOT include characters outside\n the set %x20-21 / %x23-5B / %x5D-7E.\n\n \"error_description\": OPTIONAL. Human-readable ASCII [USASCII] text\n providing additional information, used to assist the client\n developer in understanding the error that occurred. Values for\n the error_description parameter MUST NOT include characters\n outside the set %x20-21 / %x23-5B / %x5D-7E.\n\n \"error_uri\": OPTIONAL. A URI identifying a human-readable web page\n with information about the error, used to provide the client\n developer with additional information about the error. Values for\n the error_uri parameter MUST conform to the URI-reference syntax\n and thus MUST NOT include characters outside the set %x21 /\n %x23-5B / %x5D-7E.\n\n \"state\": REQUIRED if a state parameter was present in the client\n authorization request. The exact value received from the client.\n\n \"iss\": REQUIRED. The issuer identifier of the authorization server.\n See Section 4.1.2 above for details.\n\n For example, the authorization server indicates the request was\n denied by redirecting the user agent with the following HTTP\n response:\n\nHardt, et al. Expires 7 March 2027 [Page 42] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n HTTP/1.1 302 Found\n Location: https://client.example.com/cb?error=access_denied\n &state=xyz&iss=https%3A%2F%2Fauthorization-server.example.com\n\n4.1.3. Token Endpoint Extension\n\n The authorization grant type is identified at the token endpoint with\n the grant_type value of authorization_code.\n\n If this value is set, the following additional token request\n parameters beyond Section 3.2.2 are supported:\n\n \"code\": REQUIRED. The authorization code received from the\n authorization server.\n\n \"code_verifier\": REQUIRED, if the code_challenge parameter was\n included in the authorization request. MUST NOT be used\n otherwise. The original code verifier string.\n\n \"client_id\": REQUIRED, if the client is not authenticating with the\n authorization server as described in Section 3.2.1.\n\n The authorization server MUST return an access token only once for a\n given authorization code.\n\n If a second valid token request is made with the same authorization\n code as a previously successful token request, the authorization\n server MUST deny the request and SHOULD revoke (when possible) all\n access tokens and refresh tokens previously issued based on that\n authorization code. See Section 7.5.3 for further details.\n\n For example, the client makes the following HTTPS request (with extra\n line breaks for display purposes only):\n\n POST /token HTTP/1.1\n Host: server.example.com\n Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW\n Content-Type: application/x-www-form-urlencoded\n\n grant_type=authorization_code\n &code=SplxlOBeZQQYbYS6WxSbIA\n &code_verifier=3641a2d12d66101249cdf7a79c000c1f8c05d2aafcf14bf146497bed\n\n In addition to the processing rules in Section 3.2.2, the\n authorization server MUST:\n\nHardt, et al. Expires 7 March 2027 [Page 43] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * ensure that the authorization code was issued to the authenticated\n confidential client, or if the client is public, ensure that the\n code was issued to client_id in the request,\n\n * verify that the authorization code is valid,\n\n * verify that the code_verifier parameter is present if and only if\n a code_challenge parameter was present in the authorization\n request,\n\n * if a code_verifier is present, verify the code_verifier by\n calculating the code challenge from the received code_verifier and\n comparing it with the previously associated code_challenge, after\n first transforming it according to the code_challenge_method\n method specified by the client, and\n\n * If there was no code_challenge in the authorization request\n associated with the authorization code in the token request, the\n authorization server MUST reject the token request.\n\n See Section 10.2 for details on backwards compatibility with OAuth\n 2.0 clients regarding the redirect_uri parameter in the token\n request.\n\n4.2. Client Credentials Grant\n\n The client can request an access token using only its client\n credentials (or other supported means of authentication) when the\n client is requesting access to the protected resources under its\n control, or those of another resource owner that have been previously\n arranged with the authorization server (the method of which is beyond\n the scope of this specification).\n\n The client credentials grant type MUST only be used by confidential\n clients.\n\n +---------+ +---------------+\n | | | |\n | |>--(1)- Client Authentication --->| Authorization |\n | Client | | Server |\n | |<--(2)---- Access Token ---------<| |\n | | | |\n +---------+ +---------------+\n\n Figure 4: Client Credentials Grant\n\n The use of the client credentials grant illustrated in Figure 4\n includes the following steps:\n\nHardt, et al. Expires 7 March 2027 [Page 44] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n (1) The client authenticates with the authorization server and\n requests an access token from the token endpoint.\n\n (2) The authorization server authenticates the client, and if valid,\n issues an access token.\n\n4.2.1. Token Endpoint Extension\n\n The client credentials grant type is identified at the token endpoint\n with the grant_type value of client_credentials.\n\n If this value is set, the following additional token request\n parameters beyond Section 3.2.2 are supported:\n\n \"scope\": OPTIONAL. The scope of the access request as described by\n Section 1.4.1.\n\n For example, the client makes the following HTTP request using\n transport-layer security (with extra line breaks for display purposes\n only):\n\n POST /token HTTP/1.1\n Host: server.example.com\n Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW\n Content-Type: application/x-www-form-urlencoded\n\n grant_type=client_credentials\n\n The authorization server MUST authenticate the client.\n\n4.3. Refresh Token Grant\n\n The refresh token is a credential issued by the authorization server\n to a client, which can be used to obtain new (fresh) access tokens\n based on an existing grant. The client uses this option either\n because the previous access token has expired or the client\n previously obtained an access token with a scope more narrow than\n approved by the respective grant and later requires an access token\n with a different scope under the same grant.\n\n Refresh tokens MUST be kept confidential in transit and storage, and\n shared only among the authorization server and the client to whom the\n refresh tokens were issued. The authorization server MUST maintain\n the binding between a refresh token and the client to whom it was\n issued.\n\nHardt, et al. Expires 7 March 2027 [Page 45] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The authorization server MUST verify the binding between the refresh\n token and client identity whenever the client identity can be\n authenticated. When client authentication is not possible, the\n authorization server SHOULD issue sender-constrained refresh tokens\n or use refresh token rotation as described in Section 4.3.1.\n\n The authorization server MUST ensure that refresh tokens cannot be\n generated, modified, or guessed to produce valid refresh tokens by\n unauthorized parties.\n\n4.3.1. Token Endpoint Extension\n\n The refresh token grant type is identified at the token endpoint with\n the grant_type value of refresh_token.\n\n If this value is set, the following additional parameters beyond\n Section 3.2.2 are supported:\n\n \"refresh_token\": REQUIRED. The refresh token issued to the client.\n\n \"scope\": OPTIONAL. The scope of the access request as described by\n Section 1.4.1. The requested scope MUST NOT include any scope not\n originally granted by the resource owner, and if omitted is\n treated as equal to the scope originally granted by the resource\n owner.\n\n Because refresh tokens are typically long-lasting credentials used to\n request additional access tokens, the refresh token is bound to the\n client to which it was issued. Confidential clients MUST\n authenticate with the authorization server as described in\n Section 3.2.1.\n\n For example, the client makes the following HTTP request using\n transport-layer security (with extra line breaks for display purposes\n only):\n\n POST /token HTTP/1.1\n Host: server.example.com\n Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW\n Content-Type: application/x-www-form-urlencoded\n\n grant_type=refresh_token&refresh_token=tGzv3JOkF0XG5Qx2TlKWIA\n\n In addition to the processing rules in Section 3.2.2, the\n authorization server MUST:\n\nHardt, et al. Expires 7 March 2027 [Page 46] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * if client authentication is included in the request, ensure that\n the refresh token was issued to the authenticated client, OR if a\n client_id is included in the request, ensure the refresh token was\n issued to the matching client\n\n * validate that the grant corresponding to this refresh token is\n still active\n\n * validate the refresh token\n\n Authorization servers MUST utilize one of these methods to detect\n refresh token replay by malicious actors for public clients:\n\n * _Sender-constrained refresh tokens:_ the authorization server\n cryptographically binds the refresh token to a certain client\n instance, e.g., by utilizing DPoP [RFC9449] or mTLS [RFC8705].\n\n * _Refresh token rotation:_ the authorization server issues a new\n refresh token with every access token refresh response. The\n previous refresh token is invalidated but information about the\n relationship is retained by the authorization server. If a\n refresh token is compromised and subsequently used by both the\n attacker and the legitimate client, one of them will present an\n invalidated refresh token, which will inform the authorization\n server of the breach. The authorization server cannot determine\n which party submitted the invalid refresh token, but it will\n revoke the active refresh token as well as the access\n authorization grant associated with it. This stops the attack at\n the cost of forcing the legitimate client to obtain a fresh\n authorization grant.\n\n Implementation note: the grant to which a refresh token belongs may\n be encoded into the refresh token itself. This can enable an\n authorization server to efficiently determine the grant to which a\n refresh token belongs, and by extension, all refresh tokens that need\n to be revoked. Authorization servers MUST ensure the integrity of\n the refresh token value in this case, for example, using signatures.\n\n4.3.2. Refresh Token Response\n\n If valid and authorized, the authorization server issues an access\n token as described in Section 3.2.3.\n\n The authorization server MAY issue a new refresh token, in which case\n the client MUST discard the old refresh token and replace it with the\n new refresh token.\n\nHardt, et al. Expires 7 March 2027 [Page 47] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n4.3.3. Refresh Token Recommendations\n\n The authorization server MAY revoke the old refresh token after\n issuing a new refresh token to the client. If a new refresh token is\n issued, the refresh token scope MUST be identical to that of the\n refresh token included by the client in the request.\n\n Authorization servers MAY revoke refresh tokens automatically in case\n of a security event, such as:\n\n * password change\n\n * logout at the authorization server\n\n Refresh tokens SHOULD expire if the client has been inactive for some\n time, i.e., the refresh token has not been used to obtain new access\n tokens for some time. The expiration time is at the discretion of\n the authorization server. It might be a global value or determined\n based on the client policy or the grant associated with the refresh\n token (and its sensitivity).\n\n4.4. Extension Grants\n\n The client uses an extension grant type by specifying the grant type\n using an absolute URI (defined by the authorization server) as the\n value of the grant_type parameter of the token endpoint, and by\n adding any additional parameters necessary.\n\n For example, to request an access token using the Device\n Authorization Grant as defined by [RFC8628] after the user has\n authorized the client on a separate device, the client makes the\n following HTTPS request (with extra line breaks for display purposes\n only):\n\n POST /token HTTP/1.1\n Host: server.example.com\n Content-Type: application/x-www-form-urlencoded\n\n grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Adevice_code\n &device_code=GmRhmhcxhwEzkoEqiMEg_DnyEysNkuNhszIySk9eS\n &client_id=C409020731\n\n If the access token request is valid and authorized, the\n authorization server issues an access token and optional refresh\n token as described in Section 3.2.3. If the request failed client\n authentication or is invalid, the authorization server returns an\n error response as described in Section 3.2.4.\n\nHardt, et al. Expires 7 March 2027 [Page 48] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n5. Resource Requests\n\n The client accesses protected resources by presenting an access token\n to the resource server. The resource server MUST validate the access\n token and ensure that it has not expired and that its scope covers\n the requested resource. The methods used by the resource server to\n validate the access token are beyond the scope of this specification,\n but generally involve an interaction or coordination between the\n resource server and the authorization server. For example, when the\n resource server and authorization server are colocated or are part of\n the same system, they may share a database or other storage; when the\n two components are operated independently, they may use Token\n Introspection [RFC7662] or a structured access token format such as a\n JWT [RFC9068].\n\n5.1. Bearer Token Requests\n\n This section defines two methods of sending Bearer tokens in resource\n requests to resource servers. Clients MUST use one of the two\n methods defined below, and MUST NOT use more than one method to\n transmit the token in each request.\n\n In particular, clients MUST NOT send the access token in a URI query\n parameter, and resource servers MUST ignore access tokens in a URI\n query parameter.\n\n5.1.1. Authorization Request Header Field\n\n When sending the access token in the Authorization request header\n field defined by HTTP/1.1 [RFC7235], the client uses the Bearer\n scheme to transmit the access token.\n\n For example:\n\n GET /resource HTTP/1.1\n Host: server.example.com\n Authorization: Bearer mF_9.B5f-4.1JqM\n\n The syntax of the Authorization header field for this scheme follows\n the usage of the Basic scheme defined in Section 2 of [RFC2617].\n Note that, as with Basic, it does not conform to the generic syntax\n defined in Section 1.2 of [RFC2617] but is compatible with the\n general authentication framework in HTTP 1.1 Authentication\n [RFC7235], although it does not follow the preferred practice\n outlined therein in order to reflect existing deployments. The\n syntax for Bearer credentials is as follows:\n\nHardt, et al. Expires 7 March 2027 [Page 49] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n token68 = 1*( ALPHA / DIGIT /\n \"-\" / \".\" / \"_\" / \"~\" / \"+\" / \"/\" ) *\"=\"\n credentials = \"bearer\" 1*SP token68\n\n Clients SHOULD make authenticated requests with a bearer token using\n the Authorization request header field with the Bearer HTTP\n authorization scheme. Resource servers MUST support this method.\n\n As described in Section 11.1 of [RFC9110], the string bearer is case-\n insensitive. This means all of the following are valid uses of the\n Authorization header:\n\n * Authorization: Bearer mF_9.B5f-4.1JqM\n\n * Authorization: bearer mF_9.B5f-4.1JqM\n\n * Authorization: BEARER mF_9.B5f-4.1JqM\n\n * Authorization: bEaReR mF_9.B5f-4.1JqM\n\n5.1.2. Form-Encoded Content Parameter\n\n When sending the access token in the HTTP request content, the client\n adds the access token to the request content using the access_token\n parameter. The client MUST NOT use this method unless all of the\n following conditions are met:\n\n * The HTTP request includes the Content-Type header field set to\n application/x-www-form-urlencoded.\n\n * The content follows the encoding requirements of the application/\n x-www-form-urlencoded content-type as defined by the URL Living\n Standard [WHATWG.URL].\n\n * The HTTP request content is single-part.\n\n * The content to be encoded in the request MUST consist entirely of\n ASCII [USASCII] characters.\n\n * The HTTP request method is one for which the content has defined\n semantics. In particular, this means that the GET method MUST NOT\n be used.\n\n The content MAY include other request-specific parameters, in which\n case the access_token parameter MUST be properly separated from the\n request-specific parameters using & character(s) (ASCII code 38).\n\nHardt, et al. Expires 7 March 2027 [Page 50] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n For example, the client makes the following HTTP request using\n transport-layer security:\n\n POST /resource HTTP/1.1\n Host: server.example.com\n Content-Type: application/x-www-form-urlencoded\n\n access_token=mF_9.B5f-4.1JqM\n\n The application/x-www-form-urlencoded method SHOULD NOT be used\n except in application contexts where participating clients do not\n have access to the Authorization request header field. Resource\n servers MAY support this method.\n\n5.2. Access Token Validation\n\n After receiving the access token, the resource server MUST check that\n the access token is not yet expired, is authorized to access the\n requested resource, was issued with the appropriate scope, and meets\n other policy requirements of the resource server to access the\n protected resource.\n\n Access tokens generally fall into two categories: reference tokens or\n self-encoded tokens. Reference tokens can be validated by querying\n the authorization server or looking up the token in a token database,\n whereas self-encoded tokens contain the authorization information in\n an encrypted and/or signed string which can be extracted by the\n resource server.\n\n A standardized method to query the authorization server to check the\n validity of an access token is defined in Token Introspection\n [RFC7662].\n\n A standardized method of encoding information in a token string is\n defined in JWT Profile for Access Tokens [RFC9068].\n\n See Section 7.1 for additional considerations around creating and\n validating access tokens.\n\n5.3. Error Response\n\n If a resource access request fails, the resource server SHOULD inform\n the client of the error. The details of the error response is\n determined by the particular token type, such as the description of\n Bearer tokens in Section 5.3.2.\n\nHardt, et al. Expires 7 March 2027 [Page 51] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n5.3.1. The WWW-Authenticate Response Header Field\n\n If the protected resource request does not include authentication\n credentials or does not contain an access token that enables access\n to the protected resource, the resource server MUST include the HTTP\n WWW-Authenticate response header field; it MAY include it in response\n to other conditions as well. The WWW-Authenticate header field uses\n the framework defined by HTTP/1.1 [RFC7235].\n\n All challenges for this token type MUST use the auth-scheme value\n Bearer. This scheme MUST be followed by one or more auth-param\n values. The auth-param attributes used or defined by this\n specification for this token type are as follows. Other auth-param\n attributes MAY be used as well.\n\n \"realm\": A realm attribute MAY be included to indicate the scope of\n protection in the manner described in HTTP/1.1 [RFC7235]. The\n realm attribute MUST NOT appear more than once.\n\n \"scope\": The scope attribute is defined in Section 1.4.1. The scope\n attribute is a space-delimited list of case-sensitive scope values\n indicating the required scope of the access token for accessing\n the requested resource. scope values are implementation defined;\n there is no centralized registry for them; allowed values are\n defined by the authorization server. The order of scope values is\n not significant. In some cases, the scope value will be used when\n requesting a new access token with sufficient scope of access to\n utilize the protected resource. Use of the scope attribute is\n OPTIONAL. The scope attribute MUST NOT appear more than once.\n The scope value is intended for programmatic use and is not meant\n to be displayed to end users.\n\n Two example scope values follow; these are taken from the OpenID\n Connect [OpenID.Messages] and the Open Authentication Technology\n Committee (OATC) Online Multimedia Authorization Protocol [OMAP]\n OAuth 2.0 use cases, respectively:\n\n scope=\"openid profile email\"\n scope=\"urn:example:channel=HBO&urn:example:rating=G,PG-13\"\n\n \"error\": If the protected resource request included an access token\n and failed authentication, the resource server SHOULD include the\n error attribute to provide the client with the reason why the\n access request was declined. The parameter value is described in\n Section 5.3.2.\n\n \"error_description\": The resource server MAY include the\n\nHardt, et al. Expires 7 March 2027 [Page 52] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n error_description attribute to provide developers a human-readable\n explanation that is not meant to be displayed to end users.\n\n \"error_uri\": The resource server MAY include the error_uri attribute\n with an absolute URI identifying a human-readable web page\n explaining the error.\n\n The error, error_description, and error_uri attributes MUST NOT\n appear more than once.\n\n Values for the scope attribute (specified in Appendix A.4) MUST NOT\n include characters outside the set %x21 / %x23-5B / %x5D-7E for\n representing scope values and %x20 for delimiters between scope\n values. Values for the error and error_description attributes\n (specified in Appendix A.7 and Appendix A.8) MUST NOT include\n characters outside the set %x20-21 / %x23-5B / %x5D-7E. Values for\n the error_uri attribute (specified in Appendix A.9) MUST conform to\n the URI-reference syntax and thus MUST NOT include characters outside\n the set %x21 / %x23-5B / %x5D-7E.\n\n5.3.2. Error Codes\n\n When a request fails, the resource server responds using the\n appropriate HTTP status code (typically, 400, 401, 403, or 405) and\n includes one of the following error codes in the response:\n\n \"invalid_request\": The request is missing a required parameter,\n includes an unsupported parameter or parameter value, repeats the\n same parameter, uses more than one method for including an access\n token, or is otherwise malformed. The resource server SHOULD\n respond with the HTTP 400 (Bad Request) status code.\n\n \"invalid_token\": The access token provided is expired, revoked,\n malformed, or invalid for other reasons. The resource server\n SHOULD respond with the HTTP 401 (Unauthorized) status code. The\n client MAY request a new access token and retry the protected\n resource request.\n\n \"insufficient_scope\": The request requires higher privileges\n (scopes) than provided by the scopes granted to the client and\n represented by the access token. The resource server SHOULD\n respond with the HTTP 403 (Forbidden) status code and MAY include\n the scope attribute with the scope necessary to access the\n protected resource.\n\n Extensions may define additional error codes or specify additional\n circumstances in which the above error codes are returned.\n\nHardt, et al. Expires 7 March 2027 [Page 53] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n If the request lacks any authentication information (e.g., the client\n was unaware that authentication is necessary or attempted using an\n unsupported authentication method), the resource server SHOULD NOT\n include an error code or other error information.\n\n For example:\n\n HTTP/1.1 401 Unauthorized\n WWW-Authenticate: Bearer realm=\"example\"\n\n And in response to a protected resource request with an\n authentication attempt using an expired access token:\n\n HTTP/1.1 401 Unauthorized\n WWW-Authenticate: Bearer realm=\"example\",\n error=\"invalid_token\",\n error_description=\"The access token expired\"\n\n6. Extensibility\n\n6.1. Defining Access Token Types\n\n Access token types can be defined in one of two ways: registered in\n the Access Token Types registry (following the procedures in\n Section 11.1 of [RFC6749]), or by using a unique absolute URI as its\n name.\n\n6.1.1. Registered Access Token Types\n\n [RFC6750] establishes a common registry in Section 11.4 of [RFC6749]\n for error values to be shared among OAuth token authentication\n schemes.\n\n New authentication schemes designed primarily for OAuth token\n authentication SHOULD define a mechanism for providing an error\n status code to the client, in which the error values allowed are\n registered in the error registry established by this specification.\n\n Such schemes MAY limit the set of valid error codes to a subset of\n the registered values. If the error code is returned using a named\n parameter, the parameter name SHOULD be error.\n\n Other schemes capable of being used for OAuth token authentication,\n but not primarily designed for that purpose, MAY bind their error\n values to the registry in the same manner.\n\nHardt, et al. Expires 7 March 2027 [Page 54] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n New authentication schemes MAY choose to also specify the use of the\n error_description and error_uri parameters to return error\n information in a manner parallel to their usage in this\n specification.\n\n Type names MUST conform to the type-name ABNF. If the type\n definition includes a new HTTP authentication scheme, the type name\n SHOULD be identical to the HTTP authentication scheme name (as\n defined by [RFC2617]). The token type example is reserved for use in\n examples.\n\n type-name = 1*name-char\n name-char = \"-\" / \".\" / \"_\" / DIGIT / ALPHA\n\n6.1.2. Vendor-Specific Access Token Types\n\n Types utilizing a URI name SHOULD be limited to vendor-specific\n implementations that are not commonly applicable, and are specific to\n the implementation details of the resource server where they are\n used.\n\n All other types MUST be registered.\n\n6.2. Defining New Endpoint Parameters\n\n New request or response parameters for use with the authorization\n endpoint or the token endpoint are defined and registered in the\n OAuth Parameters registry following the procedure in Section 11.2 of\n [RFC6749].\n\n Parameter names MUST conform to the param-name ABNF, and parameter\n values syntax MUST be well-defined (e.g., using ABNF, or a reference\n to the syntax of an existing parameter).\n\n param-name = 1*name-char\n name-char = \"-\" / \".\" / \"_\" / DIGIT / ALPHA\n\n Unregistered vendor-specific parameter extensions that are not\n commonly applicable and that are specific to the implementation\n details of the authorization server where they are used SHOULD\n utilize a vendor-specific prefix that is not likely to conflict with\n other registered values (e.g., begin with 'companyname_').\n\nHardt, et al. Expires 7 March 2027 [Page 55] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n6.3. Defining New Authorization Grant Types\n\n New authorization grant types can be defined by assigning them a\n unique absolute URI for use with the grant_type parameter. If the\n extension grant type requires additional token endpoint parameters,\n they MUST be registered in the OAuth Parameters registry as described\n by Section 11.2 of [RFC6749].\n\n6.4. Defining New Authorization Endpoint Response Types\n\n New response types for use with the authorization endpoint are\n defined and registered in the Authorization Endpoint Response Types\n registry following the procedure in Section 11.3 of [RFC6749].\n Response type names MUST conform to the response-type ABNF.\n\n response-type = response-name *( SP response-name )\n response-name = 1*response-char\n response-char = \"_\" / DIGIT / ALPHA\n\n If a response type contains one or more space characters (%x20), it\n is compared as a space-delimited list of values in which the order of\n values does not matter. Only one order of values can be registered,\n which covers all other arrangements of the same set of values.\n\n For example, an extension can define and register the code\n other_token response type. Once registered, the same combination\n cannot be registered as other_token code, but both values can be used\n to denote the same response type.\n\n6.5. Defining Additional Error Codes\n\n In cases where protocol extensions (i.e., access token types,\n extension parameters, or extension grant types) require additional\n error codes to be used with the authorization code grant error\n response (Section 4.1.2.1), the token error response (Section 3.2.4),\n or the resource access error response (Section 5.3), such error codes\n MAY be defined.\n\n Extension error codes MUST be registered (following the procedures in\n Section 11.4 of [RFC6749]) if the extension they are used in\n conjunction with is a registered access token type, a registered\n endpoint parameter, or an extension grant type. Error codes used\n with unregistered extensions MAY be registered.\n\n Error codes MUST conform to the error ABNF and SHOULD be prefixed by\n an identifying name when possible. For example, an error identifying\n an invalid value set to the extension parameter example SHOULD be\n named example_invalid.\n\nHardt, et al. Expires 7 March 2027 [Page 56] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n error = 1*error-char\n error-char = %x20-21 / %x23-5B / %x5D-7E\n\n7. Security Considerations\n\n As a flexible and extensible framework, OAuth's security\n considerations depend on many factors. The following sections\n provide implementers with security guidelines focused on the three\n client profiles described in Section 2.1: web application, browser-\n based application, and native application.\n\n A comprehensive OAuth security model and analysis, as well as\n background for the protocol design, is provided by [RFC6819] and\n [RFC9700].\n\n7.1. Access Token Security Considerations\n\n7.1.1. Security Threats\n\n The following list presents several common threats against protocols\n utilizing some form of tokens. This list of threats is based on NIST\n Special Publication 800-63 [NIST800-63].\n\n7.1.1.1. Access token manufacture/modification\n\n An attacker may generate a bogus access token or modify the token\n contents (such as the authentication or attribute statements) of an\n existing token, causing the resource server to grant inappropriate\n access to the client. For example, an attacker may modify the token\n to extend the validity period; a malicious client may modify the\n assertion to gain access to information that they should not be able\n to view.\n\n7.1.1.2. Access token information disclosure\n\n Access tokens may contain authentication and attribute statements\n that include sensitive information.\n\n If the client should be prevented from observing the contents of the\n access token, content encryption MUST be applied.\n\n Since cookies are by default transmitted in cleartext, any\n information contained in them is at risk of disclosure: Bearer tokens\n MUST NOT be stored in cookies that can be sent in the clear. See\n Section 7 and 8 of [RFC6265] for security considerations about\n cookies.\n\nHardt, et al. Expires 7 March 2027 [Page 57] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n7.1.1.3. Access token redirect\n\n An attacker uses an access token generated for consumption by one\n resource server to gain access to a different resource server that\n mistakenly believes the token to be for it.\n\n7.1.1.4. Access token replay\n\n An attacker attempts to use an access token that has already been\n used with that resource server in the past.\n\n7.1.2. Threat Mitigation\n\n A large range of threats can be mitigated by protecting the contents\n of the access token by using a digital signature, and by following\n best practices for signing key management such as periodic key\n rotation.\n\n Alternatively, a bearer token can contain a reference to\n authorization information, rather than encoding the information\n directly. Using a reference may require an extra interaction between\n a resource server and authorization server to resolve the reference\n to the authorization information. The mechanics of such an\n interaction are not defined by this specification, but one such\n mechanism is defined in Token Introspection [RFC7662].\n\n This document does not specify the encoding or the contents of the\n access token; hence, detailed recommendations about the means of\n guaranteeing access token integrity protection are outside the scope\n of this specification. One example of an encoding and signing\n mechanism for access tokens is described in JSON Web Token Profile\n for Access Tokens [RFC9068].\n\n To deal with access token redirects, it is important for the\n authorization server to include the identity of the intended\n recipients (the audience), typically a single resource server (or a\n list of resource servers), in the token. Restricting the use of the\n token to a specific scope is also RECOMMENDED.\n\n Section 1.5 provides information to protect against access token\n disclosure and providing confidentiality and integrity for the\n communications between client, resource server and authorization\n server.\n\n7.1.3. Summary of Recommendations\n\nHardt, et al. Expires 7 March 2027 [Page 58] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n7.1.3.1. Safeguard bearer tokens\n\n Client implementations MUST ensure that bearer tokens are not leaked\n to unintended parties, as they will be able to use them to gain\n access to protected resources. This is the primary security\n consideration when using bearer tokens and underlies all the more\n specific recommendations that follow.\n\n7.1.3.2. Validate TLS certificate chains\n\n The client MUST validate the TLS certificate chain when making\n requests to protected resources. Failing to do so may enable DNS\n hijacking attacks to steal the token and gain unintended access.\n\n7.1.3.3. Always use TLS (https)\n\n Clients MUST always use TLS (https) or equivalent transport security\n when making requests with bearer tokens. Failing to do so exposes\n the token to numerous attacks that could give attackers unintended\n access.\n\n7.1.3.4. Don't store bearer tokens in HTTP cookies\n\n Implementations MUST NOT store bearer tokens within cookies that can\n be sent in the clear (which is the default transmission mode for\n cookies). Implementations that do store bearer tokens in cookies\n MUST take precautions against cross-site request forgery.\n\n7.1.3.5. Issue short-lived bearer tokens\n\n Authorization servers SHOULD issue short-lived bearer tokens,\n particularly when issuing tokens to clients that run within a web\n browser or other environments where information leakage may occur.\n Using short-lived bearer tokens can reduce the impact of them being\n leaked.\n\n7.1.3.6. Issue scoped bearer tokens\n\n Authorization servers SHOULD issue bearer tokens that contain an\n audience restriction, scoping their use to the intended resource\n server or set of resource servers.\n\nHardt, et al. Expires 7 March 2027 [Page 59] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n7.1.3.7. Don't pass bearer tokens in page URLs\n\n Bearer tokens MUST NOT be passed in page URLs (for example, as query\n string parameters). Instead, bearer tokens SHOULD be passed in HTTP\n message headers or message bodies for which confidentiality measures\n are taken. Browsers, web servers, and other software may not\n adequately secure URLs in the browser history, web server logs, and\n other data structures. If bearer tokens are passed in page URLs,\n attackers might be able to steal them from the history data, logs, or\n other unsecured locations.\n\n7.1.4. Access Token Privilege Restriction\n\n The privileges associated with an access token SHOULD be restricted\n to the minimum required for the particular application or use case.\n This prevents clients from exceeding the privileges authorized by the\n resource owner. It also prevents users from exceeding their\n privileges authorized by the respective security policy. Privilege\n restrictions also help to reduce the impact of access token leakage.\n\n In particular, access tokens SHOULD be restricted to certain resource\n servers (audience restriction), preferably to a single resource\n server. To put this into effect, the authorization server associates\n the access token with certain resource servers and every resource\n server is obliged to verify, for every request, whether the access\n token sent with that request was meant to be used for that particular\n resource server. If not, the resource server MUST refuse to serve\n the respective request. Clients and authorization servers MAY\n utilize the parameters scope or resource as specified in this\n document and [RFC8707], respectively, to determine the resource\n server they want to access.\n\n Additionally, access tokens SHOULD be restricted to certain resources\n and actions on resource servers or resources. To put this into\n effect, the authorization server associates the access token with the\n respective resource and actions and every resource server is obliged\n to verify, for every request, whether the access token sent with that\n request was meant to be used for that particular action on the\n particular resource. If not, the resource server MUST refuse to\n serve the respective request. Clients and authorization servers MAY\n utilize the parameter scope and authorization_details as specified in\n [RFC9396] to determine those resources and/or actions.\n\n7.2. Client Authentication\n\n Depending on the overall process of client registration and\n credential lifecycle management, this may affect the confidence an\n authorization server has in a particular client.\n\nHardt, et al. Expires 7 March 2027 [Page 60] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n For example, authentication of a dynamically registered client does\n not prove the identity of the client, it only ensures that repeated\n requests to the authorization server were made from the same client\n instance. Such clients may be limited in terms of which scopes they\n are allowed to request, or may have other limitations such as shorter\n token lifetimes.\n\n In contrast, if there is a registered application whose developer's\n identity was verified, who signed a contract and is issued a client\n secret that is only used in a secure backend service, the\n authorization server might allow this client to request more\n sensitive scopes or to be issued longer-lasting tokens.\n\n7.3. Client Impersonation\n\n If a confidential client has its credentials stolen, a malicious\n client can impersonate the client and obtain access to protected\n resources.\n\n The authorization server SHOULD enforce explicit resource owner\n authentication and provide the resource owner with information about\n the client and the requested authorization scope and lifetime. It is\n up to the resource owner to review the information in the context of\n the current client and to authorize or deny the request.\n\n The authorization server SHOULD NOT process repeated authorization\n requests automatically (without active resource owner interaction)\n without authenticating the client or relying on other measures to\n ensure that the repeated request comes from the original client and\n not an impersonator.\n\n7.3.1. Impersonation of Native Apps\n\n As stated above, the authorization server SHOULD NOT process\n authorization requests automatically without user consent or\n interaction, except when the identity of the client can be assured.\n This includes the case where the user has previously approved an\n authorization request for a given client ID -- unless the identity of\n the client can be proven, the request SHOULD be processed as if no\n previous request had been approved.\n\n Measures such as claimed https scheme redirects MAY be accepted by\n authorization servers as identity proof. Some operating systems may\n offer alternative platform-specific identity features that MAY be\n accepted, as appropriate.\n\nHardt, et al. Expires 7 March 2027 [Page 61] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n7.3.2. Access Token Privilege Restriction\n\n The client SHOULD request access tokens with the minimal scope\n necessary. The authorization server SHOULD take the client identity\n into account when choosing how to honor the requested scope and MAY\n issue an access token with fewer scopes than requested.\n\n The privileges associated with an access token SHOULD be restricted\n to the minimum required for the particular application or use case.\n This prevents clients from exceeding the privileges authorized by the\n resource owner. It also prevents users from exceeding their\n privileges authorized by the respective security policy. Privilege\n restrictions also help to reduce the impact of access token leakage.\n\n In particular, access tokens SHOULD be restricted to certain resource\n servers (audience restriction), preferably to a single resource\n server. To put this into effect, the authorization server associates\n the access token with certain resource servers and every resource\n server is obliged to verify, for every request, whether the access\n token sent with that request was meant to be used for that particular\n resource server. If not, the resource server MUST refuse to serve\n the respective request. Clients and authorization servers MAY\n utilize the parameters scope or resource as specified in [RFC8707],\n respectively, to determine the resource server they want to access.\n\n7.4. Client Impersonating Resource Owner\n\n Resource servers may make access control decisions based on the\n identity of a resource owner for which an access token was issued, or\n based on the identity of a client in the client credentials grant.\n If both options are possible, depending on the details of the\n implementation, a client's identity may be mistaken for the identity\n of a resource owner. For example, if a client is able to choose its\n own client_id during registration with the authorization server, a\n malicious client may set it to a value identifying an end user (e.g.,\n a sub value if OpenID Connect is used). If the resource server\n cannot properly distinguish between access tokens issued to clients\n and access tokens issued to end users, the client may then be able to\n access resource of the end user.\n\nHardt, et al. Expires 7 March 2027 [Page 62] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n If the authorization server has a common namespace for client IDs and\n user identifiers, causing the resource server to be unable to\n distinguish an access token authorized by a resource owner from an\n access token authorized by a client itself, authorization servers\n SHOULD NOT allow clients to influence their client_id or any other\n Claim if that can cause confusion with a genuine resource owner.\n Where this cannot be avoided, authorization servers MUST provide\n other means for the resource server to distinguish between the two\n types of access tokens.\n\n7.5. Authorization Code Security Considerations\n\n7.5.1. Authorization Code Injection\n\n Authorization code injection is an attack where the client receives\n an authorization code from the attacker in its redirect URI instead\n of the authorization code from the legitimate authorization server.\n Without protections in place, there is no mechanism by which the\n client can know that the attack has taken place. Authorization code\n injection can lead to both the attacker obtaining access to a\n victim's account, as well as a victim accidentally gaining access to\n the attacker's account.\n\n7.5.1.1. Countermeasures\n\n To prevent injection of authorization codes into the client, using\n code_challenge and code_verifier is REQUIRED for clients, and\n authorization servers MUST enforce their use, unless both of the\n following criteria are met:\n\n * The client is a confidential client.\n\n * In the specific deployment and the specific request, there is\n reasonable assurance by the authorization server that the client\n implements the OpenID Connect nonce mechanism properly.\n\n In this case, using and enforcing code_challenge and code_verifier is\n still RECOMMENDED.\n\n The code_challenge or OpenID Connect nonce value MUST be transaction-\n specific and securely bound to the client and the user agent in which\n the transaction was started. If a transaction leads to an error,\n fresh values for code_challenge or nonce MUST be chosen.\n\n Relying on the client to validate the OpenID Connect nonce parameter\n means the authorization server has no way to confirm that the client\n has actually protected itself against authorization code injection\n attacks. If an attacker is able to inject an authorization code into\n\nHardt, et al. Expires 7 March 2027 [Page 63] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n a client, the client would still exchange the injected authorization\n code and obtain tokens, and would only later reject the ID token\n after validating the nonce and seeing that it doesn't match. In\n contrast, the authorization server enforcing the code_challenge and\n code_verifier parameters provides a higher security outcome, since\n the authorization server is able to recognize the authorization code\n injection attack pre-emptively and avoid issuing any tokens in the\n first place.\n\n Historic note: Although PKCE [RFC7636] (where the code_challenge and\n code_verifier parameters were created) was originally designed as a\n mechanism to protect native apps from authorization code exfiltration\n attacks, all kinds of OAuth clients, including web applications and\n other confidential clients, are susceptible to authorization code\n injection attacks, which are solved by the code_challenge and\n code_verifier mechanism.\n\n7.5.2. PKCE \"plain\" Code Challenge Method\n\n The plain code challenge method, defined in [RFC7636], is explicitly\n forbidden in OAuth 2.1. The plain method offers no protection\n against authorization code interception by attackers who can read the\n authorization request (Attacker A4 in [RFC9700]), as the code\n verifier is transmitted in plaintext in the authorization request.\n\n Historical arguments for supporting plain mode (devices lacking\n cryptographic hashing capabilities) are obsoleted by OAuth 2.1's\n requirement for TLS 1.2+, which mandates SHA-256 support for\n certificate validation. Any device capable of implementing OAuth 2.1\n necessarily supports SHA-256.\n\n Authorization servers that support plain code challenge method create\n an unverifiable downgrade attack vector, as servers cannot\n distinguish legitimate constrained clients from attacker-modified\n requests claiming to be constrained.\n\n Deployments with existing clients that cannot support S256 SHOULD\n issue extended-lifetime refresh tokens before discontinuing support\n for legacy authorization methods, as the refresh token grant\n (Section 4.3) does not require PKCE.\n\n7.5.3. Reuse of Authorization Codes\n\n Several types of attacks are possible if authorization codes are able\n to be used more than once.\n\nHardt, et al. Expires 7 March 2027 [Page 64] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n As described in Section 4.1.3, the authorization server must reject a\n token request and revoke any issued tokens when receiving a second\n valid request with an authorization code that has already been used\n to issue an access token. If an attacker is able to exfiltrate an\n authorization code and use it before the legitimate client, the\n attacker will obtain the access token and the legitimate client will\n not. Revoking any issued tokens means the attacker's tokens will\n then be revoked, stopping the attack from proceeding any further.\n\n However, the authorization server should only revoke issued tokens if\n the request containing the authorization code is also valid,\n including any other parameters such as the code_verifier and client\n authentication. The authorization server SHOULD NOT revoke any\n issued tokens when receiving a replayed authorization code that\n contains invalid parameters. If it were to do so, this would create\n a denial of service opportunity for an attacker who is able to obtain\n an authorization code but unable to obtain the client authentication\n or code_verifier by sending an invalid authorization code request\n before the legitimate client and thereby revoking the legitimate\n client's tokens once it makes the valid request.\n\n7.5.4. HTTP 307 Redirect\n\n An authorization server which redirects a request that potentially\n contains user credentials MUST NOT use the 307 status code\n (Section 15.4.8 of [RFC9110]) for redirection. If an HTTP\n redirection (and not, for example, JavaScript) is used for such a\n request, AS SHOULD use the status code 303 (\"See Other\").\n\n At the authorization endpoint, a typical protocol flow is that the AS\n prompts the user to enter their credentials in a form that is then\n submitted (using the POST method) back to the authorization server.\n The AS checks the credentials and, if successful, redirects the user\n agent to the client's redirect URI.\n\n If the status code 307 were used for redirection, the user agent\n would send the user credentials via a POST request to the client.\n\n This discloses the sensitive credentials to the client. If the\n client is malicious, it can use the credentials to impersonate the\n user at the AS.\n\n The behavior might be unexpected for developers, but is defined in\n Section 15.4.8 of [RFC9110]. This status code does not require the\n user agent to rewrite the POST request to a GET request and thereby\n drop the form data in the POST request content.\n\nHardt, et al. Expires 7 March 2027 [Page 65] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n In HTTP [RFC9110], only the status code 303 unambiguously enforces\n rewriting the HTTP POST request to an HTTP GET request. For all\n other status codes, including the popular 302, user agents can opt\n not to rewrite POST to GET requests and therefore reveal the user\n credentials to the client. (In practice, however, most user agents\n will only show this behaviour for 307 redirects.)\n\n7.6. Ensuring Endpoint Authenticity\n\n The risk related to man-in-the-middle attacks is mitigated by the\n mandatory use of channel security mechanisms such as [RFC9846] for\n communicating with the Authorization and Token Endpoints. See\n Section 1.5 for further details.\n\n7.7. Credentials-Guessing Attacks\n\n The authorization server MUST prevent attackers from guessing access\n tokens, authorization codes, refresh tokens, resource owner\n passwords, and client credentials.\n\n The probability of an attacker guessing generated tokens (and other\n credentials not intended for handling by end users) MUST be less than\n or equal to 2^(-128) and SHOULD be less than or equal to 2^(-160).\n\n The authorization server MUST utilize other means to protect\n credentials intended for end-user usage.\n\n7.8. Phishing Attacks\n\n Wide deployment of this and similar protocols may cause end users to\n become inured to the practice of being redirected to websites where\n they are asked to enter their passwords. If end users are not\n careful to verify the authenticity of these websites before entering\n their credentials, it will be possible for attackers to exploit this\n practice to steal resource owners' passwords, and other phishable\n credentials such as OTPs.\n\n Service providers should attempt to educate end users about the risks\n phishing attacks pose and should provide mechanisms that make it easy\n for end users to confirm the authenticity of their sites, such as\n using phishing-resistant authenticators, as phishing resistant\n authenticators will offer a credential to log in to a certain site to\n the user only if the platform has successfully verified the site's\n origin. Client developers should consider the security implications\n of how they interact with the user agent (e.g., external, embedded),\n and the ability of the end user to verify the authenticity of the\n authorization server.\n\nHardt, et al. Expires 7 March 2027 [Page 66] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n See Section 1.5 for further details on mitigating the risk of\n phishing attacks.\n\n7.9. Consent Phishing\n\n As authorization servers deploy phishing-resistant authentication\n methods, attackers may pivot to targeting the authorization step\n rather than the authentication step. In a consent phishing attack,\n an attacker registers an attacker-controlled client with the\n authorization server, crafts an authorization request with a scope\n value targeting the victim's resources, and delivers the resulting\n authorization endpoint URL to the victim through a phishing message.\n Because the authorization request is processed by the legitimate\n authorization server, the resource owner authenticates normally,\n including through any phishing-resistant factors, and is then\n presented with an authorization prompt that appears trustworthy. If\n the resource owner grants the request, the attacker receives an\n authorization code or access token granting access to the victim's\n resources.\n\n Critically, phishing-resistant authenticators do not protect against\n consent phishing. The resource owner successfully authenticates to\n the legitimate authorization server. The attack exploits the\n subsequent consent step, not the authentication step.\n\n Authorization servers SHOULD consider enforcing controls over client\n registration, including restricting which scopes a given client is\n permitted to request. Where possible, authorization servers SHOULD\n verify the identity of client developers prior to granting access to\n sensitive scopes.\n\n Authorization servers SHOULD present resource owners with clear and\n meaningful information during the authorization prompt, including the\n client name, the developer or organization that registered it, and\n the specific scopes being requested, so that resource owners can make\n an informed decision before granting access. In scenarios where\n client pre-registration is not possible, such as when using Dynamic\n Client Registration [RFC7591], or when the client metadata may be\n provided by an outside party such as when using Client ID Metadata\n Document [I-D.ietf-oauth-client-id-metadata-document], authorization\n servers SHOULD take additional measures to verify that the user\n understands the client they are authorizing.\n\n Authorization servers SHOULD allow administrators and resource owners\n to view the set of clients that have been granted access to their\n resources and to revoke those grants (see [RFC7009]), thereby\n limiting the window of exposure if a resource owner is deceived into\n approving a malicious authorization request.\n\nHardt, et al. Expires 7 March 2027 [Page 67] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n7.10. Cross-Site Request Forgery\n\n An attacker might attempt to inject a request to the redirect URI of\n the legitimate client on the victim's device, e.g., to cause the\n client to access resources under the attacker's control. This is a\n variant of an attack known as Cross-Site Request Forgery (CSRF).\n\n The traditional countermeasure is that clients pass a random value,\n also known as a CSRF Token, in the state parameter that links the\n request to the redirect URI to the user agent session as described.\n This countermeasure is described in detail in Section 5.3.5 of\n [RFC6819]. The same protection is provided by the code_verifier\n parameter or the OpenID Connect nonce value.\n\n When using code_verifier instead of state or nonce for CSRF\n protection, it is important to note that:\n\n * Clients MUST ensure that the AS supports the code_challenge_method\n intended to be used by the client. If an authorization server\n does not support the requested method, state or nonce MUST be used\n for CSRF protection instead.\n\n * If state is used for carrying application state, and integrity of\n its contents is a concern, clients MUST protect state against\n tampering and swapping. This can be achieved by binding the\n contents of state to the browser session and/or signed/encrypted\n state values [I-D.bradley-oauth-jwt-encoded-state].\n\n AS therefore MUST provide a way to detect their supported code\n challenge methods either via AS metadata according to [RFC8414] or\n provide a deployment-specific way to ensure or determine support.\n\n7.11. Clickjacking\n\n As described in Section 4.4.1.9 of [RFC6819], the authorization\n request is susceptible to clickjacking attacks, also called user\n interface redressing. In such an attack, an attacker embeds the\n authorization endpoint user interface in an innocuous context. A\n user believing to interact with that context, for example, clicking\n on buttons, inadvertently interacts with the authorization endpoint\n user interface instead. The opposite can be achieved as well: A user\n believing to interact with the authorization endpoint might\n inadvertently type a password into an attacker-provided input field\n overlaid over the original user interface. Clickjacking attacks can\n be designed such that users can hardly notice the attack, for example\n using almost invisible iframes overlaid on top of other elements.\n\nHardt, et al. Expires 7 March 2027 [Page 68] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n An attacker can use this vector to obtain the user's authentication\n credentials, change the scope of access granted to the client, and\n potentially access the user's resources.\n\n Authorization servers MUST prevent clickjacking attacks. Multiple\n countermeasures are described in [RFC6819], including the use of the\n X-Frame-Options HTTP response header field and frame-busting\n JavaScript. In addition to those, authorization servers SHOULD also\n use Content Security Policy (CSP) level 2 [CSP-2] or greater.\n\n To be effective, CSP must be used on the authorization endpoint and,\n if applicable, other endpoints used to authenticate the user and\n authorize the client (e.g., the device authorization endpoint, login\n pages, error pages, etc.). This prevents framing by unauthorized\n origins in user agents that support CSP. The client MAY permit being\n framed by some other origin than the one used in its redirection\n endpoint. For this reason, authorization servers SHOULD allow\n administrators to configure allowed origins for particular clients\n and/or for clients to register these dynamically.\n\n Using CSP allows authorization servers to specify multiple origins in\n a single response header field and to constrain these using flexible\n patterns (see [CSP-2] for details). Level 2 of this standard\n provides a robust mechanism for protecting against clickjacking by\n using policies that restrict the origin of frames (using frame-\n ancestors) together with those that restrict the sources of scripts\n allowed to execute on an HTML page (by using script-src). A non-\n normative example of such a policy is shown in the following listing:\n\n HTTP/1.1 200 OK\n Content-Security-Policy: frame-ancestors https://ext.example.org:8000\n Content-Security-Policy: script-src 'self'\n X-Frame-Options: ALLOW-FROM https://ext.example.org:8000\n ...\n\n Because some user agents do not support [CSP-2], this technique\n SHOULD be combined with others, including those described in\n [RFC6819], unless such legacy user agents are explicitly unsupported\n by the authorization server. Even in such cases, additional\n countermeasures SHOULD still be employed.\n\n7.12. Injection and Input Validation\n\n An injection attack occurs when an input or otherwise external\n variable is used by an application unsanitized and causes\n modification to the application logic. This may allow an attacker to\n gain access to the application device or its data, cause denial of\n service, or introduce a wide range of malicious side-effects.\n\nHardt, et al. Expires 7 March 2027 [Page 69] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n The authorization server and client MUST treat parameters received as\n potentially malicious external input and apply appropriate\n protections, in particular, the values of the state and redirect_uri\n parameters.\n\n7.13. Open Redirection\n\n An open redirector is an endpoint that forwards a user's browser to\n an arbitrary URI obtained from a query parameter. Such endpoints are\n sometimes implemented, for example, to show a message before a user\n is then redirected to an external website, or to redirect users back\n to a URL they were intending to visit before being interrupted, e.g.,\n by a login prompt.\n\n The following attacks can occur when an AS or client has an open\n redirector.\n\n7.13.1. Client as Open Redirector\n\n Clients MUST NOT expose open redirectors. Attackers may use open\n redirectors to produce URLs pointing to the client and utilize them\n to exfiltrate authorization codes, as described in Section 4.1.1 of\n [RFC9700]. Another abuse case is to produce URLs that appear to\n point to the client. This might trick users into trusting the URL\n and follow it in their browser. This can be abused for phishing.\n\n In order to prevent open redirection, clients should only redirect if\n the target URLs are whitelisted or if the origin and integrity of a\n request can be authenticated. Countermeasures against open\n redirection are described by OWASP [owasp_redir].\n\n7.13.2. Authorization Server as Open Redirector\n\n Just as with clients, attackers could try to utilize a user's trust\n in the authorization server (and its URL in particular) for\n performing phishing attacks. OAuth authorization servers regularly\n redirect users to other web sites (the clients), but must do so\n safely.\n\n Section 4.1.2.1 already prevents open redirects by stating that the\n authorization server MUST NOT automatically redirect the user agent\n in case of an invalid combination of client_id and redirect_uri.\n\n However, an attacker could also utilize a correctly registered\n redirect URI to perform phishing attacks. The attacker could, for\n example, register a client via dynamic client registration [RFC7591]\n and execute one of the following attacks:\n\nHardt, et al. Expires 7 March 2027 [Page 70] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n 1. Intentionally send an erroneous authorization request, e.g., by\n using an invalid scope value, thus instructing the authorization\n server to redirect the user agent to its phishing site.\n\n 2. Intentionally send a valid authorization request with client_id\n and redirect_uri controlled by the attacker. After the user\n authenticates, the authorization server prompts the user to\n provide consent to the request. If the user notices an issue\n with the request and declines the request, the authorization\n server still redirects the user agent to the phishing site. In\n this case, the user agent will be redirected to the phishing site\n regardless of the action taken by the user.\n\n 3. Intentionally send a valid silent authentication request\n (prompt=none) with client_id and redirect_uri controlled by the\n attacker. In this case, the authorization server will\n automatically redirect the user agent to the phishing site.\n\n The authorization server MUST take precautions to prevent these\n threats. The authorization server MUST always authenticate the user\n first and, with the exception of the silent authentication use case,\n prompt the user for credentials when needed, before redirecting the\n user. Based on its risk assessment, the authorization server needs\n to decide whether it can trust the redirect URI or not. It could\n take into account URI analytics done internally or through some\n external service to evaluate the credibility and trustworthiness\n content behind the URI, and the source of the redirect URI and other\n client data.\n\n The authorization server SHOULD only automatically redirect the user\n agent if it trusts the redirect URI. If the URI is not trusted, the\n authorization server MAY inform the user and rely on the user to make\n the correct decision.\n\n7.14. Transport Security\n\n In some deployments, including those utilizing load balancers, the\n TLS connection to the resource server terminates prior to the actual\n server that provides the resource. This could leave the token\n unprotected between the front-end server where the TLS connection\n terminates and the back-end server that provides the resource. In\n such deployments, sufficient measures MUST be employed to ensure\n confidentiality of the access token between the front-end and back-\n end servers; encryption of the token is one such possible measure.\n\n See Section 17.2 of [RFC9110] for further information.\n\nHardt, et al. Expires 7 March 2027 [Page 71] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n7.15. Authorization Server Mix-Up Mitigation\n\n Mix-up is an attack on scenarios where an OAuth client interacts with\n two or more authorization servers and at least one authorization\n server is under the control of the attacker. This can be the case,\n for example, if the attacker uses dynamic registration to register\n the client at his own authorization server or if an authorization\n server becomes compromised.\n\n When an OAuth client can only interact with one authorization server,\n a mix-up defense is not required. In scenarios where an OAuth client\n interacts with two or more authorization servers, however, clients\n MUST prevent mix-up attacks. Two different methods are discussed in\n the following.\n\n For both defenses, clients MUST store, for each authorization\n request, the issuer they sent the authorization request to, bind this\n information to the user agent, and check that the authorization\n response was received from the correct issuer. Clients MUST ensure\n that the subsequent access token request, if applicable, is sent to\n the same issuer. The issuer serves, via the associated metadata, as\n an abstract identifier for the combination of the authorization\n endpoint and token endpoint that are to be used in the flow. If an\n issuer identifier is not available, for example, if neither OAuth 2.0\n Authorization Server Metadata [RFC8414] nor OpenID Connect Discovery\n [OpenID.Discovery] are used, a different unique identifier for this\n tuple or the tuple itself can be used instead. For brevity of\n presentation, such a deployment-specific identifier will be subsumed\n under the issuer (or issuer identifier) in the following.\n\n Note: Just storing the authorization server URL is not sufficient to\n identify mix-up attacks. An attacker might declare an uncompromised\n AS's authorization endpoint URL as \"their\" AS URL, but declare a\n token endpoint under their own control.\n\n See Section 4.4 of [RFC9700] for a detailed description of several\n types of mix-up attacks.\n\n7.15.1. Mix-Up Defense via Issuer Identification\n\n This defense requires that the client compare the issuer identifier\n value that the authorization server sends in the authorization\n response to the client. When receiving the authorization response,\n the client MUST compare the received issuer identifier to the stored\n issuer identifier. If there is a mismatch, the client MUST abort the\n interaction.\n\nHardt, et al. Expires 7 March 2027 [Page 72] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n There are different ways this issuer identifier can be transported to\n the client:\n\n * The issuer information is transported via the response parameter\n iss (see Section 4.1.2).\n\n * When OpenID Connect is used and an ID Token is returned in the\n authorization response, the client can evaluate the iss claim in\n the ID Token.\n\n In both cases, the iss value MUST be evaluated according to\n [RFC9207].\n\n While this defense may require using an additional parameter to\n transport the issuer information, it is a robust and relatively\n simple defense against mix-up.\n\n7.15.2. Mix-Up Defense via Distinct Redirect URIs\n\n For this defense, clients MUST use a distinct redirect URI for each\n issuer they interact with.\n\n Clients MUST check that the authorization response was received from\n the correct issuer by comparing the distinct redirect URI for the\n issuer to the URI where the authorization response was received on.\n If there is a mismatch, the client MUST abort the flow.\n\n While this defense builds upon existing OAuth functionality, it\n cannot be used in scenarios where clients only register once for the\n use of many different issuers (as in some open banking schemes) and\n due to the tight integration with the client registration, it is\n harder to deploy automatically.\n\n Furthermore, an attacker might be able to circumvent the protection\n offered by this defense by registering a new client with the \"honest\"\n AS using the redirect URI that the client assigned to the attacker's\n AS. The attacker could then run the attack as described above,\n replacing the client ID with the client ID of his newly created\n client.\n\n This defense SHOULD therefore only be used if other options are not\n available.\n\nHardt, et al. Expires 7 March 2027 [Page 73] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n8. Native Applications\n\n Native applications are clients installed and executed on the device\n used by the resource owner (i.e., desktop applications or native\n mobile applications). Native applications require special\n consideration related to security, platform capabilities, and overall\n end-user experience.\n\n The guidance in this section is primarily in the context of native\n mobile apps as opposed to desktop apps. The native mobile platforms\n have matured more than the desktop platforms in terms of the\n capabilities provided to app developers relevant to the OAuth flows\n described here. While the guidance is primarily focused on mobile\n apps, much of it generally can apply to desktop apps as well.\n\n The authorization endpoint requires interaction between the client\n and the resource owner's user agent. The best current practice is to\n perform the OAuth authorization request in an external user agent\n (typically the browser) rather than an embedded user agent (such as\n one implemented with web-views).\n\n The native application can capture the response from the\n authorization server in several different ways with differing\n security properties of each. For example, using a redirect URI with\n an \"app-claimed URL\" or custom URL scheme registered with the\n operating system to invoke the client as the handler, manual copy-\n and-paste of the credentials, running a local web server, installing\n a user agent extension, or by providing a redirect URI identifying a\n server-hosted resource under the client's control, which in turn\n makes the response available to the native application.\n\n Previously, it was common for native apps to use embedded user agents\n (commonly implemented with web-views) for OAuth authorization\n requests. That approach has many drawbacks, including the host app\n being able to copy user credentials and cookies as well as the user\n needing to authenticate from scratch in each app. See Section 8.5.1\n for a deeper analysis of the drawbacks of using embedded user agents\n for OAuth.\n\n Native app authorization requests that use the system browser are\n more secure and can take advantage of the user's authentication state\n on the device. Being able to use the existing authentication session\n in the browser enables single sign-on, as users don't need to\n authenticate to the authorization server each time they use a new app\n (unless required by the authorization server policy).\n\nHardt, et al. Expires 7 March 2027 [Page 74] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Supporting authorization flows between a native app and the browser\n is possible without changing the OAuth protocol itself, as the OAuth\n authorization request and response are already defined in terms of\n URIs. This encompasses URIs that can be used for inter-app\n communication. Some OAuth server implementations that assume all\n clients are confidential web clients will need to add an\n understanding of public native app clients and the types of redirect\n URIs they use to support this best practice.\n\n8.1. Client Authentication of Native Apps\n\n Secrets that are statically included as part of an app distributed to\n multiple users are not confidential secrets, as one user may inspect\n their copy and learn the shared secret. For this reason,\n authorization servers MUST NOT require client authentication of\n native app clients using a shared secret, as this serves no value\n beyond client identification which is already provided by the\n client_id request parameter.\n\n Authorization servers that still require a statically included shared\n secret for native app clients MUST treat the client as a public\n client (as defined in Section 2.1), and not accept the secret as\n proof of the client's identity. Without additional measures, such\n clients are subject to client impersonation (see Section 7.3.1).\n\n8.1.1. Registration of Native App Clients\n\n Except when using a mechanism like Dynamic Client Registration\n [RFC7591] to provision per-instance credentials, native apps are\n classified as public clients, as defined in Section 2.1, and MUST be\n registered with the authorization server as such. Authorization\n servers MUST record the client type in the client registration\n details in order to identify and process requests accordingly.\n\n8.1.2. Native App Attestation\n\n The draft specification\n [I-D.ietf-oauth-attestation-based-client-auth] defines a mechanism\n that can be used by a native app to obtain a key-bound attestation to\n authenticate to an authorization server or resource server. This can\n provide a higher level of assurance of a mobile app's identity.\n\nHardt, et al. Expires 7 March 2027 [Page 75] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n8.2. Using Inter-App URI Communication for OAuth in Native Apps\n\n Just as URIs are used for OAuth on the web to initiate the\n authorization request and return the authorization response to the\n requesting website, URIs can be used by native apps to initiate the\n authorization request in the device's browser and return the response\n to the requesting native app.\n\n By adopting the same methods used on the web for OAuth, benefits seen\n in the web context like the usability of a single sign-on session and\n the security of a separate authentication context are likewise gained\n in the native app context. Reusing the same approach also reduces\n the implementation complexity and increases interoperability by\n relying on standards-based web flows that are not specific to a\n particular platform.\n\n Native apps MUST use an external user agent to perform OAuth\n authorization requests. This is achieved by opening the\n authorization request in the browser (detailed in Section 8.3) and\n using a redirect URI that will return the authorization response back\n to the native app (defined in Section 8.4).\n\n8.3. Initiating the Authorization Request from a Native App\n\n Native apps needing user authorization create an authorization\n request URI with the authorization code grant type per Section 4.1\n using a redirect URI capable of being received by the native app.\n\n The function of the redirect URI for a native app authorization\n request is similar to that of a web-based authorization request.\n Rather than returning the authorization response to the OAuth\n client's server, the redirect URI used by a native app returns the\n response to the app. Several options for a redirect URI that will\n return the authorization response to the native app in different\n platforms are documented in Section 8.4. Any redirect URI that\n allows the app to receive the URI and inspect its parameters is\n viable.\n\n After constructing the authorization request URI, the app uses\n platform-specific APIs to open the URI in an external user agent.\n Typically, the external user agent used is the default browser, that\n is, the application configured for handling http and https scheme\n URIs on the system; however, different browser selection criteria and\n other categories of external user agents MAY be used.\n\n This best practice focuses on the browser as the RECOMMENDED external\n user agent for native apps. An external user agent designed\n specifically for user authorization and capable of processing\n\nHardt, et al. Expires 7 March 2027 [Page 76] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n authorization requests and responses like a browser MAY also be used.\n Other external user agents, such as a native app provided by the\n authorization server may meet the criteria set out in this best\n practice, including using the same redirect URI properties, but their\n use is out of scope for this specification.\n\n Some platforms support a browser feature known as \"in-app browser\n tabs\", where an app can present a tab of the browser within the app\n context without switching apps, but still retain key benefits of the\n browser such as a shared authentication state and security context.\n On platforms where they are supported, it is RECOMMENDED, for\n usability reasons, that apps use in-app browser tabs for the\n authorization request.\n\n8.4. Receiving the Authorization Response in a Native App\n\n There are several redirect URI options available to native apps for\n receiving the authorization response from the browser, the\n availability and user experience of which varies by platform.\n\n8.4.1. Claimed \"https\" Scheme URI Redirection\n\n Some operating systems, in particular mobile operating systems, allow\n apps to claim https URIs (see Section 4.2.2 of [RFC9110]) in the\n domains they control. When the browser encounters a claimed URI,\n instead of the page being loaded in the browser, the native app is\n launched with the URI supplied as a launch parameter.\n\n Such URIs can be used as redirect URIs by native apps. They are\n indistinguishable to the authorization server from a regular web-\n based client redirect URI. An example is:\n\n https://app.example.com/oauth2redirect/example-provider\n\n As the redirect URI alone is not enough to distinguish public native\n app clients from confidential web clients, it is REQUIRED in\n Section 8.1.1 that the client type be recorded during client\n registration to enable the server to determine the client type and\n act accordingly.\n\n App-claimed https scheme redirect URIs have some advantages compared\n to other native app redirect options in that the identity of the\n destination app is guaranteed to the authorization server by the\n operating system. For this reason, native apps SHOULD use them over\n the other options where possible.\n\nHardt, et al. Expires 7 March 2027 [Page 77] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n8.4.2. Loopback Interface Redirection\n\n Native apps that are able to open a port on the loopback network\n interface without needing special permissions (typically, those on\n desktop operating systems) can use the loopback interface to receive\n the OAuth redirect.\n\n Loopback redirect URIs use the http scheme and are constructed with\n the loopback IP literal and whatever port the client is listening on.\n\n That is, http://127.0.0.1:{port}/{path} for IPv4, and\n http://[::1]:{port}/{path} for IPv6. An example redirect using the\n IPv4 loopback interface with a randomly assigned port:\n\n http://127.0.0.1:51004/oauth2redirect/example-provider\n\n An example redirect using the IPv6 loopback interface with a randomly\n assigned port:\n\n http://[::1]:61023/oauth2redirect/example-provider\n\n While redirect URIs using the name localhost (i.e.,\n http://localhost:{port}/{path}) function similarly to loopback IP\n redirects, the use of localhost is NOT RECOMMENDED. Specifying a\n redirect URI with the loopback IP literal rather than localhost\n avoids inadvertently listening on network interfaces other than the\n loopback interface. It is also less susceptible to client-side\n firewalls and misconfigured host name resolution on the user's\n device.\n\n The authorization server MUST allow any port to be specified at the\n time of the request for loopback IP redirect URIs, to accommodate\n clients that obtain an available ephemeral port from the operating\n system at the time of the request.\n\n Clients SHOULD NOT assume that the device supports a particular\n version of the Internet Protocol. It is RECOMMENDED that clients\n attempt to bind to the loopback interface using both IPv4 and IPv6\n and use whichever is available.\n\n8.4.3. Private-Use URI Scheme Redirection\n\n Many mobile and desktop computing platforms support inter-app\n communication via URIs by allowing apps to register private-use URI\n schemes (sometimes colloquially referred to as \"custom URL schemes\")\n like com.example.app. When the browser or another app attempts to\n load a URI with a private-use URI scheme, the app that registered it\n is launched to handle the request.\n\nHardt, et al. Expires 7 March 2027 [Page 78] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Many environments that support private-use URI schemes do not provide\n a mechanism to claim a scheme and prevent other parties from using\n another application's scheme. As such, clients using private-use URI\n schemes are vulnerable to potential attacks on their redirect URIs,\n so this option should only be used if the previously mentioned more\n secure options are not available.\n\n To perform an authorization request with a private-use URI scheme\n redirect, the native app launches the browser with a standard\n authorization request, but one where the redirect URI utilizes a\n private-use URI scheme it registered with the operating system.\n\n When choosing a URI scheme to associate with the app, apps MUST use a\n URI scheme based on a domain name under their control, expressed in\n reverse order, as recommended by Section 3.8 of [RFC7595] for\n private-use URI schemes.\n\n For example, an app that controls the domain name app.example.com can\n use com.example.app as their scheme. Some authorization servers\n assign client identifiers based on domain names, for example,\n client1234.usercontent.example.net, which can also be used as the\n domain name for the scheme when reversed in the same manner. A\n scheme such as myapp, however, would not meet this requirement, as it\n is not based on a domain name.\n\n When there are multiple apps by the same publisher, care must be\n taken so that each scheme is unique within that group. On platforms\n that use app identifiers based on reverse-order domain names, those\n identifiers can be reused as the private-use URI scheme for the OAuth\n redirect to help avoid this problem.\n\n Following the requirements of Section 3.2 of [RFC3986], as there is\n no naming authority for private-use URI scheme redirects, only a\n single slash (/) appears after the scheme component. A complete\n example of a redirect URI utilizing a private-use URI scheme is:\n\n com.example.app:/oauth2redirect/example-provider\n\n When the authorization server completes the request, it redirects to\n the client's redirect URI as it would normally. As the redirect URI\n uses a private-use URI scheme, it results in the operating system\n launching the native app, passing in the URI as a launch parameter.\n Then, the native app uses normal processing for the authorization\n response.\n\nHardt, et al. Expires 7 March 2027 [Page 79] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n8.5. Security Considerations in Native Apps\n\n8.5.1. Embedded User Agents in Native Apps\n\n Embedded user agents are a technically possible method for\n authorizing native apps. These embedded user agents are unsafe for\n use by third parties to the authorization server by definition, as\n the app that hosts the embedded user agent can access the user's full\n authentication credentials, not just the OAuth authorization grant\n that was intended for the app. They are also typically sandboxed by\n the operating system and mechanisms such as WebAuthn that rely on the\n web origin are disabled.\n\n In typical web-view-based implementations of embedded user agents,\n the host application can record every keystroke entered in the login\n form to capture usernames and passwords, automatically submit forms\n to bypass user consent, and copy session cookies and use them to\n perform authenticated actions as the user.\n\n Even when used by trusted apps belonging to the same party as the\n authorization server, embedded user agents violate the principle of\n least privilege by having access to more powerful credentials than\n they need, potentially increasing the attack surface.\n\n Encouraging users to enter credentials in an embedded user agent\n without the usual address bar and visible certificate validation\n features that browsers have makes it impossible for the user to know\n if they are signing in to the legitimate site; even when they are, it\n trains them that it's OK to enter credentials without validating the\n site first.\n\n Aside from the security concerns, embedded user agents do not share\n the authentication state with other apps or the browser, requiring\n the user to log in for every authorization request, which is often\n considered an inferior user experience.\n\n8.5.2. Fake External User-Agents in Native Apps\n\n The native app that is initiating the authorization request has a\n large degree of control over the user interface and can potentially\n present a fake external user agent, that is, an embedded user agent\n made to appear as an external user agent.\n\n When all good actors are using external user agents, the advantage is\n that it is possible for security experts to detect bad actors, as\n anyone faking an external user agent is provably bad. On the other\n hand, if good and bad actors alike are using embedded user agents,\n bad actors don't need to fake anything, making them harder to detect.\n\nHardt, et al. Expires 7 March 2027 [Page 80] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n Once a malicious app is detected, it may be possible to use this\n knowledge to blacklist the app's signature in malware scanning\n software, take removal action (in the case of apps distributed by app\n stores) and other steps to reduce the impact and spread of the\n malicious app.\n\n Authorization servers can also directly protect against fake external\n user agents by requiring an authentication factor only available to\n true external user agents.\n\n Users who are particularly concerned about their security when using\n in-app browser tabs may also take the additional step of opening the\n request in the full browser from the in-app browser tab and complete\n the authorization there, as most implementations of the in-app\n browser tab pattern offer such functionality.\n\n8.5.3. Malicious External User-Agents in Native Apps\n\n If a malicious app is able to configure itself as the default handler\n for https scheme URIs in the operating system, it will be able to\n intercept authorization requests that use the default browser and\n abuse this position of trust for malicious ends such as phishing the\n user.\n\n This attack is not confined to OAuth; a malicious app configured in\n this way would present a general and ongoing risk to the user beyond\n OAuth usage by native apps. Many operating systems mitigate this\n issue by requiring an explicit user action to change the default\n handler for http and https scheme URIs.\n\n8.5.4. Loopback Redirect Considerations in Native Apps\n\n Loopback interface redirect URIs MAY use the http scheme (i.e.,\n without TLS). This is acceptable for loopback interface redirect\n URIs as the HTTP request never leaves the device.\n\n Clients SHOULD open the network port only when starting the\n authorization request and close it once the response is returned.\n\n Clients SHOULD listen on the loopback network interface only, in\n order to avoid interference by other network actors.\n\n Clients SHOULD use loopback IP literals rather than the string\n localhost as described in Section 8.4.2.\n\nHardt, et al. Expires 7 March 2027 [Page 81] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n9. Browser-Based Apps\n\n Browser-based apps are clients that run in a web browser, typically\n written in JavaScript, also known as \"single-page apps\". These types\n of apps have particular security considerations similar to native\n apps.\n\n TODO: Bring in the normative text of the browser-based apps BCP when\n it is finalized.\n\n10. Differences from OAuth 2.0\n\n This draft consolidates the functionality in OAuth 2.0 [RFC6749],\n OAuth 2.0 for Native Apps [RFC8252], Proof Key for Code Exchange\n [RFC7636], OAuth 2.0 for Browser-Based Apps\n [I-D.ietf-oauth-browser-based-apps], OAuth Security Best Current\n Practice [RFC9700], and Bearer Token Usage [RFC6750].\n\n Where a later draft updates or obsoletes functionality found in the\n original [RFC6749], that functionality in this draft is updated with\n the normative changes described in a later draft, or removed\n entirely.\n\n A non-normative list of changes from OAuth 2.0 is listed below:\n\n * The authorization code grant is extended with the functionality\n from PKCE [RFC7636] such that the default method of using the\n authorization code grant according to this specification requires\n the addition of the PKCE parameters\n\n * Redirect URIs must be compared using exact string matching as per\n Section 4.1.3 of [RFC9700]\n\n * The Implicit grant (response_type=token) is omitted from this\n specification as per Section 2.1.2 of [RFC9700]\n\n * The Resource Owner Password Credentials grant is omitted from this\n specification as per Section 2.4 of [RFC9700]\n\n * Bearer token usage omits the use of bearer tokens in the query\n string of URIs as per Section 4.3.2 of [RFC9700]\n\n * Refresh tokens for public clients must either be sender-\n constrained or one-time use as per Section 4.14.2 of [RFC9700]\n\n * The token endpoint request containing an authorization code no\n longer contains the redirect_uri parameter\n\nHardt, et al. Expires 7 March 2027 [Page 82] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * Authorization servers must support client credentials in the\n request body\n\n * The PKCE plain method is removed\n\n10.1. Removal of the OAuth 2.0 Implicit grant\n\n The OAuth 2.0 Implicit grant is omitted from OAuth 2.1 as it was\n deprecated in [RFC9700].\n\n The intent of removing the Implicit grant is to no longer issue\n access tokens in the authorization response, as such tokens are\n vulnerable to leakage and injection, and are unable to be sender-\n constrained to a client. This behavior was indicated by clients\n using the response_type=token parameter. This value for the\n response_type parameter is no longer defined in OAuth 2.1.\n\n Removal of response_type=token does not have an effect on other\n extension response types returning other artifacts from the\n authorization endpoint, for example, response_type=id_token defined\n by [OpenID.Connect].\n\n10.2. Redirect URI Parameter in Token Request\n\n In OAuth 2.0, the request to the token endpoint in the authorization\n code flow (Section 4.1.3 of [RFC6749]) contains an optional\n redirect_uri parameter. The parameter was intended to prevent an\n authorization code injection attack, and was required if the\n redirect_uri parameter was sent in the original authorization\n request. The authorization request only required the redirect_uri\n parameter if multiple redirect URIs were registered to the specific\n client. However, in practice, many authorization server\n implementations required the redirect_uri parameter in the\n authorization request even if only one was registered, leading the\n redirect_uri parameter to be required at the token endpoint as well.\n\n In OAuth 2.1, authorization code injection is prevented by the\n code_challenge and code_verifier parameters, making the inclusion of\n the redirect_uri parameter serve no purpose in the token request. As\n such, it has been removed.\n\nHardt, et al. Expires 7 March 2027 [Page 83] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n For backwards compatibility of an authorization server wishing to\n support both OAuth 2.0 and OAuth 2.1 clients, the authorization\n server MUST allow clients to send the redirect_uri parameter in the\n token request (Section 4.1.3), and MUST enforce the parameter as\n described in [RFC6749]. The authorization server can use the\n client_id in the request to determine whether to enforce this\n behavior for the specific client that it knows will be using the\n older OAuth 2.0 behavior.\n\n A client following only the OAuth 2.1 recommendations will not send\n the redirect_uri in the token request, and therefore will not be\n compatible with an authorization server that expects the parameter in\n the token request.\n\n11. IANA Considerations\n\n This document does not require any IANA actions.\n\n All referenced registries are defined by [RFC6749] and related\n documents that this work is based upon. No changes to those\n registries are required by this specification.\n\n12. References\n\n12.1. Normative References\n\n [BCP195] Saint-Andre, P., \"Recommendations for Secure Use of\n Transport Layer Security (TLS)\", 2015.\n\n [RFC2119] Bradner, S., \"Key words for use in RFCs to Indicate\n Requirement Levels\", BCP 14, RFC 2119,\n DOI 10.17487/RFC2119, March 1997,\n .\n\n [RFC2617] Franks, J., Hallam-Baker, P., Hostetler, J., Lawrence, S.,\n Leach, P., Luotonen, A., and L. Stewart, \"HTTP\n Authentication: Basic and Digest Access Authentication\",\n RFC 2617, DOI 10.17487/RFC2617, June 1999,\n .\n\n [RFC3629] Yergeau, F., \"UTF-8, a transformation format of ISO\n 10646\", STD 63, RFC 3629, DOI 10.17487/RFC3629, November\n 2003, .\n\n [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, \"Uniform\n Resource Identifier (URI): Generic Syntax\", STD 66,\n RFC 3986, DOI 10.17487/RFC3986, January 2005,\n .\n\nHardt, et al. Expires 7 March 2027 [Page 84] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n [RFC4949] Shirey, R., \"Internet Security Glossary, Version 2\",\n FYI 36, RFC 4949, DOI 10.17487/RFC4949, August 2007,\n .\n\n [RFC5234] Crocker, D., Ed. and P. Overell, \"Augmented BNF for Syntax\n Specifications: ABNF\", STD 68, RFC 5234,\n DOI 10.17487/RFC5234, January 2008,\n .\n\n [RFC6749] Hardt, D., Ed., \"The OAuth 2.0 Authorization Framework\",\n RFC 6749, DOI 10.17487/RFC6749, October 2012,\n .\n\n [RFC6750] Jones, M. and D. Hardt, \"The OAuth 2.0 Authorization\n Framework: Bearer Token Usage\", RFC 6750,\n DOI 10.17487/RFC6750, October 2012,\n .\n\n [RFC7235] Fielding, R., Ed. and J. Reschke, Ed., \"Hypertext Transfer\n Protocol (HTTP/1.1): Authentication\", RFC 7235,\n DOI 10.17487/RFC7235, June 2014,\n .\n\n [RFC7521] Campbell, B., Mortimore, C., Jones, M., and Y. Goland,\n \"Assertion Framework for OAuth 2.0 Client Authentication\n and Authorization Grants\", RFC 7521, DOI 10.17487/RFC7521,\n May 2015, .\n\n [RFC7523] Jones, M., Campbell, B., and C. Mortimore, \"JSON Web Token\n (JWT) Profile for OAuth 2.0 Client Authentication and\n Authorization Grants\", RFC 7523, DOI 10.17487/RFC7523, May\n 2015, .\n\n [RFC7595] Thaler, D., Ed., Hansen, T., and T. Hardie, \"Guidelines\n and Registration Procedures for URI Schemes\", BCP 35,\n RFC 7595, DOI 10.17487/RFC7595, June 2015,\n .\n\n [RFC8174] Leiba, B., \"Ambiguity of Uppercase vs Lowercase in RFC\n 2119 Key Words\", BCP 14, RFC 8174, DOI 10.17487/RFC8174,\n May 2017, .\n\n [RFC8252] Denniss, W. and J. Bradley, \"OAuth 2.0 for Native Apps\",\n BCP 212, RFC 8252, DOI 10.17487/RFC8252, October 2017,\n .\n\nHardt, et al. Expires 7 March 2027 [Page 85] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n [RFC8259] Bray, T., Ed., \"The JavaScript Object Notation (JSON) Data\n Interchange Format\", STD 90, RFC 8259,\n DOI 10.17487/RFC8259, December 2017,\n .\n\n [RFC9110] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke,\n Ed., \"HTTP Semantics\", STD 97, RFC 9110,\n DOI 10.17487/RFC9110, June 2022,\n .\n\n [RFC9111] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke,\n Ed., \"HTTP Caching\", STD 98, RFC 9111,\n DOI 10.17487/RFC9111, June 2022,\n .\n\n [RFC9207] Meyer zu Selhausen, K. and D. Fett, \"OAuth 2.0\n Authorization Server Issuer Identification\", RFC 9207,\n DOI 10.17487/RFC9207, March 2022,\n .\n\n [RFC9700] Lodderstedt, T., Bradley, J., Labunets, A., and D. Fett,\n \"Best Current Practice for OAuth 2.0 Security\", BCP 240,\n RFC 9700, DOI 10.17487/RFC9700, January 2025,\n .\n\n [RFC9846] Rescorla, E., \"The Transport Layer Security (TLS) Protocol\n Version 1.3\", RFC 9846, DOI 10.17487/RFC9846, July 2026,\n .\n\n [USASCII] Institute, A. N. S., \"Coded Character Set -- 7-bit\n American Standard Code for Information Interchange, ANSI\n X3.4\", 1986.\n\n [W3C.REC-xml-20081126]\n Bray, T., Paoli, J., Sperberg-McQueen, C. M., Maler, E.,\n and F. Yergeau, \"Extensible Markup Language\", November\n 2008,\n .\n\n [WHATWG.CORS]\n WHATWG, \"Fetch Standard: CORS protocol\", June 2023,\n .\n\n [WHATWG.URL]\n WHATWG, \"URL\", May 2022, .\n\n12.2. Informative References\n\nHardt, et al. Expires 7 March 2027 [Page 86] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n [CSP-2] \"Content Security Policy Level 2\", December 2016,\n .\n\n [I-D.bradley-oauth-jwt-encoded-state]\n Bradley, J., Lodderstedt, T., and H. Zandbelt, \"Encoding\n claims in the OAuth 2 state parameter using a JWT\", Work\n in Progress, Internet-Draft, draft-bradley-oauth-jwt-\n encoded-state-09, 4 November 2018,\n .\n\n [I-D.ietf-oauth-attestation-based-client-auth]\n Looker, T., Bastian, P., and C. Bormann, \"OAuth 2.0\n Attestation-Based Client Authentication\", Work in\n Progress, Internet-Draft, draft-ietf-oauth-attestation-\n based-client-auth-10, 6 July 2026,\n .\n\n [I-D.ietf-oauth-browser-based-apps]\n Parecki, A., De Ryck, P., and D. Waite, \"OAuth 2.0 for\n Browser-Based Applications\", Work in Progress, Internet-\n Draft, draft-ietf-oauth-browser-based-apps-27, 6 July\n 2026, .\n\n [I-D.ietf-oauth-client-id-metadata-document]\n Parecki, A. and E. Smith, \"OAuth Client ID Metadata\n Document\", Work in Progress, Internet-Draft, draft-ietf-\n oauth-client-id-metadata-document-02, 6 July 2026,\n .\n\n [I-D.ietf-oauth-rfc7523bis]\n Jones, M. B., Campbell, B., Mortimore, C., and F. Skokan,\n \"Updates to OAuth 2.0 JSON Web Token (JWT) Client\n Authentication and Assertion-Based Authorization Grants\",\n Work in Progress, Internet-Draft, draft-ietf-oauth-\n rfc7523bis-11, 28 April 2026,\n .\n\n [NIST800-63]\n Burr, W., Dodson, D., Newton, E., Perlner, R., Polk, T.,\n Gupta, S., and E. Nabbus, \"NIST Special Publication\n 800-63-1, INFORMATION SECURITY\", December 2011,\n .\n\nHardt, et al. Expires 7 March 2027 [Page 87] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n [OMAP] Huff, J., Schlacht, D., Nadalin, A., Simmons, J.,\n Rosenberg, P., Madsen, P., Ace, T., Rickelton-Abdi, C.,\n and B. Boyer, \"Online Multimedia Authorization Protocol:\n An Industry Standard for Authorized Access to Internet\n Multimedia Resources\", August 2012,\n .\n\n [OpenID.Connect]\n Sakimura, N., Bradley, J., Jones, M., de Medeiros, B., and\n C. Mortimore, \"OpenID Connect Core 1.0 incorporating\n errata set 2\", December 2023,\n .\n\n [OpenID.Discovery]\n Sakimura, N., Bradley, J., Jones, M., and E. Jay, \"OpenID\n Connect Discovery 1.0 incorporating errata set 2\",\n December 2023, .\n\n [OpenID.Messages]\n Sakimura, N., Bradley, J., Jones, M., de Medeiros, B.,\n Mortimore, C., and E. Jay, \"OpenID Connect Messages 1.0\",\n June 2012, .\n\n [owasp_redir]\n \"OWASP Cheat Sheet Series - Unvalidated Redirects and\n Forwards\", 2020,\n .\n\n [RFC6265] Barth, A., \"HTTP State Management Mechanism\", RFC 6265,\n DOI 10.17487/RFC6265, April 2011,\n .\n\n [RFC6819] Lodderstedt, T., Ed., McGloin, M., and P. Hunt, \"OAuth 2.0\n Threat Model and Security Considerations\", RFC 6819,\n DOI 10.17487/RFC6819, January 2013,\n .\n\n [RFC7009] Lodderstedt, T., Ed., Dronia, S., and M. Scurtescu, \"OAuth\n 2.0 Token Revocation\", RFC 7009, DOI 10.17487/RFC7009,\n August 2013, .\n\n [RFC7519] Jones, M., Bradley, J., and N. Sakimura, \"JSON Web Token\n (JWT)\", RFC 7519, DOI 10.17487/RFC7519, May 2015,\n .\n\nHardt, et al. Expires 7 March 2027 [Page 88] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n [RFC7591] Richer, J., Ed., Jones, M., Bradley, J., Machulak, M., and\n P. Hunt, \"OAuth 2.0 Dynamic Client Registration Protocol\",\n RFC 7591, DOI 10.17487/RFC7591, July 2015,\n .\n\n [RFC7592] Richer, J., Ed., Jones, M., Bradley, J., and M. Machulak,\n \"OAuth 2.0 Dynamic Client Registration Management\n Protocol\", RFC 7592, DOI 10.17487/RFC7592, July 2015,\n .\n\n [RFC7636] Sakimura, N., Ed., Bradley, J., and N. Agarwal, \"Proof Key\n for Code Exchange by OAuth Public Clients\", RFC 7636,\n DOI 10.17487/RFC7636, September 2015,\n .\n\n [RFC7662] Richer, J., Ed., \"OAuth 2.0 Token Introspection\",\n RFC 7662, DOI 10.17487/RFC7662, October 2015,\n .\n\n [RFC8414] Jones, M., Sakimura, N., and J. Bradley, \"OAuth 2.0\n Authorization Server Metadata\", RFC 8414,\n DOI 10.17487/RFC8414, June 2018,\n .\n\n [RFC8628] Denniss, W., Bradley, J., Jones, M., and H. Tschofenig,\n \"OAuth 2.0 Device Authorization Grant\", RFC 8628,\n DOI 10.17487/RFC8628, August 2019,\n .\n\n [RFC8705] Campbell, B., Bradley, J., Sakimura, N., and T.\n Lodderstedt, \"OAuth 2.0 Mutual-TLS Client Authentication\n and Certificate-Bound Access Tokens\", RFC 8705,\n DOI 10.17487/RFC8705, February 2020,\n .\n\n [RFC8707] Campbell, B., Bradley, J., and H. Tschofenig, \"Resource\n Indicators for OAuth 2.0\", RFC 8707, DOI 10.17487/RFC8707,\n February 2020, .\n\n [RFC9068] Bertocci, V., \"JSON Web Token (JWT) Profile for OAuth 2.0\n Access Tokens\", RFC 9068, DOI 10.17487/RFC9068, October\n 2021, .\n\n [RFC9112] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke,\n Ed., \"HTTP/1.1\", STD 99, RFC 9112, DOI 10.17487/RFC9112,\n June 2022, .\n\nHardt, et al. Expires 7 March 2027 [Page 89] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n [RFC9126] Lodderstedt, T., Campbell, B., Sakimura, N., Tonge, D.,\n and F. Skokan, \"OAuth 2.0 Pushed Authorization Requests\",\n RFC 9126, DOI 10.17487/RFC9126, September 2021,\n .\n\n [RFC9396] Lodderstedt, T., Richer, J., and B. Campbell, \"OAuth 2.0\n Rich Authorization Requests\", RFC 9396,\n DOI 10.17487/RFC9396, May 2023,\n .\n\n [RFC9449] Fett, D., Campbell, B., Bradley, J., Lodderstedt, T.,\n Jones, M., and D. Waite, \"OAuth 2.0 Demonstrating Proof of\n Possession (DPoP)\", RFC 9449, DOI 10.17487/RFC9449,\n September 2023, .\n\n [RFC9470] Bertocci, V. and B. Campbell, \"OAuth 2.0 Step Up\n Authentication Challenge Protocol\", RFC 9470,\n DOI 10.17487/RFC9470, September 2023,\n .\n\n [W3C.REC-html401-19991224]\n Hors, A. L., Ed., Raggett, D., Ed., and I. Jacobs, Ed.,\n \"HTML 4.01 Specification\", W3C REC REC-html401-19991224,\n W3C REC-html401-19991224, 24 December 1999,\n .\n\nAppendix A. Augmented Backus-Naur Form (ABNF) Syntax\n\n This section provides Augmented Backus-Naur Form (ABNF) syntax\n descriptions for the elements defined in this specification using the\n notation of [RFC5234]. The ABNF below is defined in terms of Unicode\n code points [W3C.REC-xml-20081126]; these characters are typically\n encoded in UTF-8. Elements are presented in the order first defined.\n\n Some of the definitions that follow use the \"URI-reference\"\n definition from [RFC3986].\n\n Some of the definitions that follow use these common definitions:\n\n VSCHAR = %x20-7E\n NQCHAR = %x21 / %x23-5B / %x5D-7E\n NQSCHAR = %x20-21 / %x23-5B / %x5D-7E\n\nA.1. \"client_id\" Syntax\n\n The client_id element is defined in Section 2.4.1:\n\n client-id = *VSCHAR\n\nHardt, et al. Expires 7 March 2027 [Page 90] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\nA.2. \"client_secret\" Syntax\n\n The client_secret element is defined in Section 2.4.1:\n\n client-secret = *VSCHAR\n\nA.3. \"response_type\" Syntax\n\n The response_type element is defined in Section 4.1.1 and\n Section 6.4:\n\n response-type = response-name *( SP response-name )\n response-name = 1*response-char\n response-char = \"_\" / DIGIT / ALPHA\n\nA.4. \"scope\" Syntax\n\n The scope element is defined in Section 1.4.1:\n\n scope = scope-token *( SP scope-token )\n scope-token = 1*NQCHAR\n\nA.5. \"state\" Syntax\n\n The state element is defined in Section 4.1.1, Section 4.1.2, and\n Section 4.1.2.1:\n\n state = 1*VSCHAR\n\nA.6. \"redirect_uri\" Syntax\n\n The redirect_uri element is defined in Section 4.1.1, and\n Section 4.1.3:\n\n redirect-uri = URI-reference\n\nA.7. \"error\" Syntax\n\n The error element is defined in Sections Section 4.1.2.1,\n Section 3.2.4, and Section 5.3:\n\n error = 1*NQSCHAR\n\nA.8. \"error_description\" Syntax\n\n The error_description element is defined in Sections Section 4.1.2.1,\n Section 3.2.4, and Section 5.3:\n\nHardt, et al. Expires 7 March 2027 [Page 91] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n error-description = 1*NQSCHAR\n\nA.9. \"error_uri\" Syntax\n\n The error_uri element is defined in Sections Section 4.1.2.1,\n Section 3.2.4, and Section 5.3:\n\n error-uri = URI-reference\n\nA.10. \"grant_type\" Syntax\n\n The grant_type element is defined in Section 3.2.2:\n\n grant-type = grant-name / URI-reference\n grant-name = 1*name-char\n name-char = \"-\" / \".\" / \"_\" / DIGIT / ALPHA\n\nA.11. \"code\" Syntax\n\n The code element is defined in Section 4.1.3:\n\n code = 1*VSCHAR\n\nA.12. \"access_token\" Syntax\n\n The access_token element is defined in Section 3.2.3:\n\n access-token = 1*VSCHAR\n\nA.13. \"token_type\" Syntax\n\n The token_type element is defined in Section 3.2.3, and Section 6.1:\n\n token-type = type-name / URI-reference\n type-name = 1*name-char\n name-char = \"-\" / \".\" / \"_\" / DIGIT / ALPHA\n\nA.14. \"expires_in\" Syntax\n\n The expires_in element is defined in Section 3.2.3:\n\n expires-in = 1*DIGIT\n\nA.15. \"refresh_token\" Syntax\n\n The refresh_token element is defined in Section 3.2.3 and\n Section 4.3:\n\nHardt, et al. Expires 7 March 2027 [Page 92] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n refresh-token = 1*VSCHAR\n\nA.16. Endpoint Parameter Syntax\n\n The syntax for new endpoint parameters is defined in Section 6.2:\n\n param-name = 1*name-char\n name-char = \"-\" / \".\" / \"_\" / DIGIT / ALPHA\n\nA.17. \"code_verifier\" Syntax\n\n ABNF for code_verifier is as follows.\n\n code-verifier = 43*128unreserved\n unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n ALPHA = %x41-5A / %x61-7A\n DIGIT = %x30-39\n\nA.18. \"code_challenge\" Syntax\n\n ABNF for code_challenge is as follows.\n\n code-challenge = 43*128unreserved\n unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n ALPHA = %x41-5A / %x61-7A\n DIGIT = %x30-39\n\nAppendix B. Use of application/x-www-form-urlencoded Media Type\n\n At the time of publication of [RFC6749], the application/x-www-form-\n urlencoded media type was defined in Section 17.13.4 of\n [W3C.REC-html401-19991224] but not registered in the IANA MIME Media\n Types registry (http://www.iana.org/assignments/media-types\n (http://www.iana.org/assignments/media-types)). Furthermore, that\n definition is incomplete, as it does not consider non-US-ASCII\n characters.\n\n To address this shortcoming when generating contents using this media\n type, names and values MUST be encoded using the UTF-8 character\n encoding scheme [RFC3629] first; the resulting octet sequence then\n needs to be further encoded using the escaping rules defined in\n [W3C.REC-html401-19991224].\n\n When parsing data from a content using this media type, the names and\n values resulting from reversing the name/value encoding consequently\n need to be treated as octet sequences, to be decoded using the UTF-8\n character encoding scheme.\n\nHardt, et al. Expires 7 March 2027 [Page 93] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n For example, the value consisting of the six Unicode code points (1)\n U+0020 (SPACE), (2) U+0025 (PERCENT SIGN), (3) U+0026 (AMPERSAND),\n (4) U+002B (PLUS SIGN), (5) U+00A3 (POUND SIGN), and (6) U+20AC (EURO\n SIGN) would be encoded into the octet sequence below (using\n hexadecimal notation):\n\n 20 25 26 2B C2 A3 E2 82 AC\n\n and then represented in the content as:\n\n +%25%26%2B%C2%A3%E2%82%AC\n\nAppendix C. Serializations\n\n Various messages in this specification are serialized using one of\n the methods described below. This section describes the syntax of\n these serialization methods; other sections describe when they can\n and must be used. Note that not all methods can be used for all\n messages.\n\nC.1. Query String Serialization\n\n In order to serialize the parameters using the Query String\n Serialization, the Client constructs the string by adding the\n parameters and values to the query component of a URL using the\n application/x-www-form-urlencoded format as defined by [WHATWG.URL].\n Query String Serialization is typically used in HTTP GET requests.\n\nC.2. Form-Encoded Serialization\n\n Parameters and their values are Form Serialized by adding the\n parameter names and values to the entity body of the HTTP request\n using the application/x-www-form-urlencoded format as defined by\n Appendix B. Form Serialization is typically used in HTTP POST\n requests.\n\nC.3. JSON Serialization\n\n The parameters are serialized into a JSON [RFC8259] object structure\n by adding each parameter at the highest structure level. Parameter\n names and string values are represented as JSON strings. Numerical\n values are represented as JSON numbers. Boolean values are\n represented as JSON booleans. Omitted parameters and parameters with\n no value SHOULD be omitted from the object and not represented by a\n JSON null value, unless otherwise specified. A parameter MAY have a\n JSON object or a JSON array as its value. The order of parameters\n does not matter and can vary.\n\nHardt, et al. Expires 7 March 2027 [Page 94] Internet-Draft The OAuth 2.1 Authorization Framework September 2026 Appendix D. Extensions\n\n Below is a list of well-established extensions at the time of\n publication:\n\n * [RFC7009]: Token Revocation\n\n - The Token Revocation extension defines a mechanism for clients\n to indicate to the authorization server that an access token is\n no longer needed.\n\n * [RFC7591]: Dynamic Client Registration\n\n - Dynamic Client Registration provides a mechanism for\n programmatically registering clients with an authorization\n server.\n\n * [RFC7662]: Token Introspection\n\n - The Token Introspection extension defines a mechanism for\n resource servers to obtain information about access tokens.\n\n * [RFC8414]: Authorization Server Metadata\n\n - Authorization Server Metadata (also known as OAuth Discovery)\n defines an endpoint clients can use to look up the information\n needed to interact with a particular OAuth server, such as the\n location of the authorization and token endpoints and the\n supported grant types.\n\n * [RFC8628]: OAuth 2.0 Device Authorization Grant\n\n - The Device Authorization Grant (formerly known as the Device\n Flow) is an extension that enables devices with no browser or\n limited input capability to obtain an access token. This is\n commonly used by smart TV apps, or devices like hardware video\n encoders that can stream video to a streaming video service.\n\n * [RFC8705]: Mutual TLS\n\n - Mutual TLS describes a mechanism of binding tokens to the\n clients they were issued to, as well as a client authentication\n mechanism, via TLS certificate authentication.\n\n * [RFC8707]: Resource Indicators\n\nHardt, et al. Expires 7 March 2027 [Page 95] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n - Provides a way for the client to explicitly signal to the\n authorization server where it intends to use the access token\n it is requesting.\n\n * [RFC9068]: JSON Web Token (JWT) Profile for OAuth 2.0 Access\n Tokens\n\n - This specification defines a profile for issuing OAuth access\n tokens in JSON Web Token (JWT) format.\n\n * [RFC9126]: Pushed Authorization Requests\n\n - The Pushed Authorization Requests extension describes a\n technique of initiating an OAuth flow from the back channel,\n providing better security and more flexibility for building\n complex authorization requests.\n\n * [RFC9207]: Authorization Server Issuer Identification\n\n - The iss parameter in the authorization response indicates the\n identity of the authorization server to prevent mix-up attacks\n in the client.\n\n * [RFC9396]: Rich Authorization Requests\n\n - Rich Authorization Requests specifies a new parameter\n authorization_details that is used to carry fine-grained\n authorization data in the OAuth authorization request.\n\n * [RFC9449]: Demonstrating Proof of Possession (DPoP)\n\n - DPoP describes a mechanism for sender-constraining OAuth 2.0\n tokens via a proof-of-possession mechanism on the application\n level.\n\n * [RFC9470]: Step-Up Authentication Challenge Protocol\n\n - Step-Up Auth describes a mechanism that resource servers can\n use to signal to a client that the authentication event\n associated with the access token of the current request does\n not meet its authentication requirements.\n\nHardt, et al. Expires 7 March 2027 [Page 96] Internet-Draft The OAuth 2.1 Authorization Framework September 2026 Appendix E. Acknowledgements\n\n This specification is the work of the OAuth Working Group, and its\n starting point was based on the contents of the following\n specifications: OAuth 2.0 Authorization Framework (RFC 6749), OAuth\n 2.0 for Native Apps (RFC 8252), OAuth Security Best Current Practice,\n and OAuth 2.0 for Browser-Based Apps. The editors would like to\n thank everyone involved in the creation of those specifications upon\n which this is built.\n\n The editors would also like to thank the following individuals for\n their ideas, feedback, corrections, and wording that helped shape\n this version of the specification: Andrii Deinega, Bob Hamburg, Brian\n Campbell, Daniel Fett, Deng Chao, Emelia Smith, Falko, Filip Skokan,\n Goutam Adwant, Joseph Heenan, Justin Richer, Karsten Meyer zu\n Selhausen, Michael Jones, Michael Peck, Roberto Polli, Tim Würtele\n and Vittorio Bertocci.\n\n Discussions around this specification have also occurred at the OAuth\n Security Workshop in 2021 and 2022. The authors thank the organizers\n of the workshop (Guido Schmitz, Steinar Noem, and Daniel Fett) for\n hosting an event that's conducive to collaboration and community\n input.\n\nAppendix F. Document History\n\n [[ To be removed from the final specification ]]\n\n -16\n\n * Remove PKCE plain method\n\n * Mention PAR in the authorization endpoint definition section\n\n * Added security consideration section about OAuth consent phishing\n\n * Make iss response parameter required to be sent by the AS (let\n clients choose the mix-up mitigation still)\n\n * Consolidated text about lengths of values into a new \"Value Sizes\"\n section\n\n * Clarified authorization endpoint error response behavior\n\n -15\n\n * add additional context for JWT client authentication and\n specifically recommend RFC7523bis\n\nHardt, et al. Expires 7 March 2027 [Page 97] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * editorial clarifications and updates\n\n * clarify error responses in authorization endpoint and token\n endpoint\n\n * synced language from RFC9700 for AS open redirect considerations\n\n * applied RFC6750 erratas 3500 and 6613\n\n * resolved ambiguity around repeated parameters\n\n -14\n\n * Editorial clarifications\n\n * Corrected an instance of \"relying party\" vs \"resource server\"\n\n * Add references to client_secret_post and client_secret_basic terms\n from RFC7591\n\n * Replaced \"sanitize\" language with treating as untrusted input\n\n * Clarified that native apps guidance applies primarily to mobile\n app platforms\n\n * Clarify that there is no requirement that an AS supports public or\n confidential clients in particular\n\n -13\n\n * Updated references to RFC 9700\n\n * Updated and sorted list of OAuth extensions\n\n * Updated references to link to section numbers\n\n -12\n\n * Updated language around client registration to better reflect\n alternative registration methods such as those in use by OpenID\n Federation and open ecosystems\n\n * Added DPoP and Step-Up Auth to appendix of extensions\n\n * Updated reference for case insensitivity of auth scheme to HTTP\n instead of ABNF\n\n * Corrected an instance of \"relying party\" vs \"client\"\n\nHardt, et al. Expires 7 March 2027 [Page 98] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * Moved client_id requirement to the individual grant types\n\n * Consolidated the descriptions of serialization methods to the\n appendix\n\n -11\n\n * Explicitly mention that Bearer is case insensitive\n\n * Recommend against defining custom scopes that conflict with known\n scopes\n\n * Change client credentials to be required to be supported in the\n request body to avoid HTTP Basic authentication encoding interop\n issues\n\n -10\n\n * Clarify that the client id is an opaque string\n\n * Extensions may define additional error codes on a resource request\n\n * Improved formatting for error field definitions\n\n * Moved and expanded \"scope\" definition to introduction section\n\n * Split access token section into structure and request\n\n * Renamed b64token to token68 for consistency with RFC7235\n\n * Restored content from old appendix B about application/x-www-form-\n urlencoded\n\n * Clarified that clients must not parse access tokens\n\n * Expanded text around when redirect_uri parameter is required in\n the authorization request\n\n * Changed \"permissions\" to \"privileges\" in refresh token section for\n consistency\n\n * Consolidated authorization code flow security considerations\n\n * Clarified authorization code reuse - an authorization code can\n only obtain an access token once\n\n -09\n\nHardt, et al. Expires 7 March 2027 [Page 99] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * AS MUST NOT support CORS requests at authorization endpoint\n\n * more detail on asymmetric client authentication\n\n * sync CSRF description from security BCP\n\n * update and move sender-constrained access tokens section\n\n * sync client impersonating resource owner with security BCP\n\n * add reference to authorization request from redirect URI\n registration section\n\n * sync refresh rotation section from security BCP\n\n * sync redirect URI matching text from security BCP\n\n * updated references to RAR (RFC9396)\n\n * clarifications on URIs\n\n * removed redirect_uri from the token request\n\n * expanded security considerations around code_verifier\n\n * revised introduction section\n\n -08\n\n * Updated acknowledgments\n\n * Swap \"by a trusted party\" with \"by an outside party\" in client ID\n definition\n\n * Replaced \"verify the identity of the resource owner\" with\n \"authenticate\"\n\n * Clarified refresh token rotation to match RFC6819\n\n * Added appendix to hold application/x-www-form-urlencoded examples\n\n * Fixed references to entries in appendix\n\n * Incorporated new \"Phishing via AS\" section from Security BCP\n\n * Rephrase description of the motivation for client authentication\n\nHardt, et al. Expires 7 March 2027 [Page 100] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * Moved \"scope\" parameter in token request into specific grant types\n to match OAuth 2.0\n\n * Updated Clickjacking and Open Redirection description from the\n latest version of the Security BCP\n\n * Moved normative requirements out of authorization code security\n considerations section\n\n * Security considerations clarifications, and removed a duplicate\n section\n\n -07\n\n * Removed \"third party\" from abstract\n\n * Added MFA and passwordless as additional motiviations in\n introduction\n\n * Mention PAR as one way redirect URI registration can happen\n\n * Added a reference to requiring CORS headers on the token endpoint\n\n * Updated reference to OMAP extension\n\n * Fixed numbering in sequence diagram\n\n -06\n\n * Removed \"credentialed client\" term\n\n * Simplified definition of \"confidential\" and \"public\" clients\n\n * Incorporated the iss response parameter referencing RFC9207\n\n * Added section on access token validation by the RS\n\n * Removed requirement for authorization servers to support all 3\n redirect methods for native apps\n\n * Fixes for some references\n\n * Updates HTTP references to RFC 9110\n\n * Clarifies \"authorization grant\" term\n\n * Clarifies client credential grant usage\n\nHardt, et al. Expires 7 March 2027 [Page 101] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n * Clean up authorization code diagram\n\n * Updated reference for application/x-www-form-urlencoded and\n removed outdated note about it not being in the IANA registry\n\n -05\n\n * Added a section about the removal of the implicit flow\n\n * Moved many normative requirements from security considerations\n into the appropriate inline sections\n\n * Reorganized and consolidated TLS language\n\n * Require TLS on redirect URIs except for localhost/custom URL\n scheme\n\n * Updated refresh token guidance to match security BCP\n\n -04\n\n * Added explicit mention of not sending access tokens in URI query\n strings\n\n * Clarifications on definition of client types\n\n * Consolidated text around loopback vs localhost\n\n * Editorial clarifications throughout the document\n\n -03\n\n * refactoring to collect all the grant types under the same top-\n level header in section 4\n\n * Better split normative and security consideration text into the\n appropriate places, both moving text that was really security\n considerations out of the main part of the document, as well as\n pulling normative requirements from the security considerations\n sections into the appropriate part of the main document\n\n * Incorporated many of the published errata on RFC6749\n\n * Updated references to various RFCs\n\n * Editorial clarifications throughout the document\n\n -02\n\nHardt, et al. Expires 7 March 2027 [Page 102] Internet-Draft The OAuth 2.1 Authorization Framework September 2026\n\n -01\n\n -00\n\n * initial revision\n\nAuthors' Addresses\n\n Dick Hardt\n Hellō\n Email: dick.hardt@gmail.com\n\n Aaron Parecki\n Okta\n Email: aaron@parecki.com\n URI: https://aaronparecki.com\n\n Torsten Lodderstedt\n SPRIND\n Email: torsten@lodderstedt.net\n\nHardt, et al. Expires 7 March 2027 [Page 103] \n```", "znaku_textu": 217284, "slov": 33799, "odkazu": 124, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:29", "sha256": "62d369927607f8f4d37d63e66206c10f55064846a0f2e420b8bf04b5b9a5db7e", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.ietf.org/how/meetings/register/", "https://www.ietf.org/how/meetings/past/", "https://status.ietf.org/", "https://github.com/ietf-tools/datatracker/issues/new/choose", "https://mailman3.ietf.org/mailman3/lists/", "https://mailman3.irtf.org/mailman3/lists/", "https://mailman3.iab.org/mailman3/lists/", "https://mailman3.rfc-editor.org/mailman3/lists/", "https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.txt", "https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.html", "https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-16.xml", "https://mailarchive.ietf.org/arch/browse/oauth/?q=draft-ietf-oauth-v2-1", "https://author-tools.ietf.org/api/idnits?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-ietf-oauth-v2-1-16.txt", "https://author-tools.ietf.org/idnits3/results?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-ietf-oauth-v2-1-16.txt", "https://mailarchive.ietf.org/arch/search/?q=%22draft-ietf-oauth-v2-1%22", "https://www.ietf.org/", "https://www.ietf.org/iesg/", "https://www.iab.org/", "https://www.irtf.org/", "https://www.ietf.org/llc/", "https://trustee.ietf.org/", "https://www.rfc-editor.org/", "https://www.iana.org/", "https://www.ietf.org/privacy-statement/", "https://github.com/ietf-tools/datatracker/releases/tag/12.75.0"]} {"url": "https://dequeuniversity.com/", "titulek": "Deque University: Web Accessibility Training and Courses", "h1": "Digital Accessibility Courses& AccessibilityReference Library", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Digital Accessibility Courses& AccessibilityReference Library"}, {"uroven": 1, "text": "Digital Accessibility Courses& AccessibilityReference Library"}, {"uroven": 2, "text": "Accessibility Training with Expert Instructors"}, {"uroven": 2, "text": "IAAP Certification Prep"}], "markdown": "# Digital Accessibility Courses\n& Accessibility\nReference Library\n\n# Digital Accessibility Courses\n& Accessibility\nReference Library\n\nDeque University offers training and on-demand reference materials for every level and every area of expertise in digital accessibility.\n\n[Enroll Now](/online-courses/) [Login](ssologin/?context=web&uri=https%3A%2F%2Fdequeuniversity.com%2F)\n\n## Accessibility Training with Expert Instructors\n\nIf you have a team in need of accessibility training, check out our Instructor-Led courses and workshops. One of our experts will provide live training in person or via teleconference, giving your team a chance to engage with their instructor,\n ask questions, and address accessibility challenges specific to your organization.\n\n[Talk to a Deque Team Member about your training needs.](/contact)\n\n## IAAP Certification Prep\n\nInterested in getting certified with the International Association of Accessibility Professionals? Deque is an Approved Certification Preparation Provider, and we offer Deque University online courses for CPACC and WAS exam preparation.\n Deque U courses also apply as continuing education courses towards your existing IAAP certification.\n\n[Visit the IAAP website to learn more about the exams including exam dates and registration.](https://www.accessibilityassociation.org/certification-overview)", "znaku_textu": 1334, "slov": 168, "odkazu": 38, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:31", "sha256": "5369dcbcd3d8199980ca249ad00a204629110a4222f72d94a8c7cf944d163fac", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.deque.com/legal/", "https://www.deque.com/resources/type/webinars", "https://docs.deque.com/deque-university/", "https://docs.deque.com/", "https://www.deque.com/axe/assistant/", "https://www.accessibilityassociation.org/certification-overview", "https://www.deque.com/get-accessibility-help/", "https://accessibility.deque.com/hubfs/VPATs/DequeUniversity_VPAT_WCAG2.1AA.pdf", "https://www.deque.com/axe/browser-extensions/", "https://www.deque.com/", "https://docs.deque.com/deque-university/1.0/en/release-notes/release-notes"]} {"url": "https://dequeuniversity.com/resources/", "titulek": "Accessibility Resources and Code Examples", "h1": "Accessibility Resources and Code Examples", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Accessibility Resources and Code Examples"}, {"uroven": 1, "text": "Accessibility Resources and Code Examples"}, {"uroven": 2, "text": "WCAG (Web Content Accessibility Guidelines) 2.1"}, {"uroven": 2, "text": "WCAG (Web Content Accessibility Guidelines) 2.2"}, {"uroven": 2, "text": "Web Accessibility Checklist"}, {"uroven": 2, "text": "Screen Reader References"}, {"uroven": 2, "text": "IAAP Certification Exam Preparation"}, {"uroven": 2, "text": "Deque Accessibility Tools"}, {"uroven": 2, "text": "Other Accessibility Utilities"}, {"uroven": 2, "text": "ARIA Examples"}, {"uroven": 3, "text": "Cauldron Pattern Library"}, {"uroven": 3, "text": "Deque University Examples"}, {"uroven": 3, "text": "Note:"}, {"uroven": 2, "text": "Accessibility Support"}, {"uroven": 2, "text": "Disability Demographics"}], "markdown": "# Accessibility Resources and Code Examples\n\n# Accessibility Resources and Code Examples\n\n## WCAG (Web Content Accessibility Guidelines) 2.1\n\n[New success criteria in WCAG 2.1](/resources/wcag2.1/) — Learn how WCAG 2.1 differs from WCAG 2.0, with explanations and examples.\n\n## WCAG (Web Content Accessibility Guidelines) 2.2\n\n[9 new success criteria in WCAG 2.2](/resources/wcag-2.2/) (officially released in October 2023) — 1 criterion has also been deprecated.\n\n## Web Accessibility Checklist\n\n[Deque's Web Accessibility Checklist](/checklists/web/) — Based on WCAG 2.2 Level AA requirements.\n\n## Screen Reader References\n\n- Desktop\n - [Desktop Screen Readers Forms Guide](screenreaders/forms-guide)\n - [Desktop Screen Readers Survival Guide - Basic Keyboard Shortcuts](screenreaders/survival-guide)\n- Windows\n - [JAWS Keyboard Shortcuts](screenreaders/jaws-keyboard-shortcuts)\n - [JAWS Keyboard Shortcuts for Word](screenreaders/jaws-word)\n - [Narrator Keyboard Shortcuts](screenreaders/narrator-keyboard-shortcuts)\n - [NVDA Keyboard Shortcuts](screenreaders/nvda-keyboard-shortcuts)\n- Mac\n - [VoiceOver Keyboard Shortcuts on a Mac](screenreaders/voiceover-keyboard-shortcuts)\n - [Enabling Keyboard Accessibility on a Mac](mac/keyboard-access-mac)\n - [Using Windows Screen Readers on a Mac](mac/windows-screen-readers)\n- Mobile\n - [TalkBack Gestures on Android](screenreaders/talkback-shortcuts)\n - [VoiceOver Gestures on iOS](screenreaders/voiceover-ios-shortcuts)\n\n## IAAP Certification Exam Preparation\n\n- [IAAP Certification Quick Guide](/class/iaap-certification-quick-guide/)\n\n## Deque Accessibility Tools\n\n- [Axe Tools overview](https://www.deque.com/axe/) — Built on the world’s most popular accessibility testing library, Axe-core. Deque’s suite of axe tools offers full coverage for your testing and compliance needs.\n- [Axe DevTools](https://www.deque.com/axe/devtools/) — Empower development teams to find, prevent, and fix accessibility issues while they code.\n - Free — Fast, lightweight, automated accessibility testing browser extensions.\n - [Download for Chrome](https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)\n - [Download for Firefox](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/)\n - [Download for Edge](https://microsoftedge.microsoft.com/addons/detail/axe-devtools-web-access/kcenlimkmjjkdfcaleembgmldmnnlfkn)\n - Pro — Catch more issues with this Chrome extension upgrade. Learn more and [try it for free today](http://www.deque.com/axe-devtools-pro) .\n - Enterprise - Comprehensive testing at scale.\n- [Axe Auditor](https://www.deque.com/axe/auditor//) — Bring efficient, full-coverage auditing capabilities to your testing teams with this step-by-step manual accessibility testing tool.\n- [Axe Monitor](https://www.deque.com/axe/monitor/) — Dynamically scan, monitor and report on the accessibility status of your site across business and development teams.\n\n## Other Accessibility Utilities\n\n- [Online Color Contrast Analyzer](/color-contrast)\n- [HTML DOM Validator Bookmarklet](/validator) (to validate single-page apps, AJAX, dynamic content, password-protected pages, and more). Also on this page: a partial HTML page validator.\n\n## ARIA Examples\n\n### Cauldron Pattern Library\n\nDeque's open source [Cauldron pattern library](https://cauldron.dequelabs.com/), written in React, contains many good examples of accessible JavaScript and ARIA widgets.\n\n### Deque University Examples\n\nWithin the Deque University courses are several examples of accessible JavaScript and ARIA widgets, within an instructional context.\n\n### Note:\n\nFor more detailed explanations and instruction, subscribe to the [Custom JavaScript/ARIA Widgets](/online-courses/descriptions/custom-components) class, or other classes from the [Full Accessibility Curriculum](/online-courses/full-access).\n\n- [Shopping Cart](library/aria/shopping-cart)\n- [Accordion (Single)](library/aria/accordion-single)\n- [Accordion (Multiselect)](library/aria/accordion-multi)\n- [Alert](library/aria/alert)\n- [Radio and Radio Group](library/aria/radio-and-radio-group)\n- [Tabpanel](library/aria/tabpanel)\n- [Tree View](library/aria/tree-view)\n- [Tooltip Dialog](library/aria/tooltip-dialog)\n- [Tooltip](library/aria/tooltip)\n- [Table (Sortable)](library/aria/table-sortable)\n- [Table (Responsive, Collapsible)](library/aria/table-responsive)\n- [Slider (Multirange)](library/aria/slider-multirange)\n- [Slider](library/aria/slider)\n- [Progress Bar (Unbounded)](library/aria/progress-bar-unbounded)\n- [Progress Bar (Bounded)](library/aria/progress-bar-bounded)\n- [Predictive Text](library/aria/predictive-text)\n- [Navigation (Hierarchical) with Expand/Collapse](library/aria/navigation)\n- [Link](library/aria/link)\n- [Expand/Collapse (based on Details/Summary)](library/aria/expand-collapse-summary)\n- [Expand/Collapse](library/aria/expand-collapse)\n- [Dialog (Alert Dialog)](library/aria/simple-alert-dialog)\n- [Dialog](library/aria/simple-dialog)\n- [Checkbox (Tri-State)](library/aria/checkbox-tri)\n- [Checkbox (Single)](library/aria/checkbox-single)\n- [Carousel (based on a tabpanel)](library/aria/carousel)\n- [Button (Toggle)](library/aria/button-toggle)\n- [Button](library/aria/button)\n- [Live Region Playground](library/aria/liveregion-playground)\n- [Datepicker](library/aria/date-picker)\n- [Stepper](library/aria/stepper)\n\n## Accessibility Support\n\nCan you use it? The open source [Accessibility Support project (a11ysupport.io)](https://a11ysupport.io/) tracks support for accessibility features in ARIA and HTML across browsers and assistive technologies like screen readers. You can [contribute to a11ysupport.io via GitHub](https://github.com/accessibilitysupported/a11ysupport.io).\n\n## Disability Demographics\n\n- [Disability Statistics](/resources/disability-statistics)", "znaku_textu": 5698, "slov": 548, "odkazu": 90, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:32", "sha256": "ab27f931b7673e69b073eda530df29c0f0c3cab12cbc16aef2ff2d99c3a504fb", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.deque.com/legal/", "https://www.deque.com/resources/type/webinars", "https://docs.deque.com/deque-university/", "https://docs.deque.com/", "https://www.deque.com/axe/", "https://www.deque.com/axe/devtools/", "https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US", "https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/", "https://microsoftedge.microsoft.com/addons/detail/axe-devtools-web-access/kcenlimkmjjkdfcaleembgmldmnnlfkn", "http://www.deque.com/axe-devtools-pro", "https://www.deque.com/axe/auditor//", "https://www.deque.com/axe/monitor/", "https://cauldron.dequelabs.com/", "https://a11ysupport.io/", "https://github.com/accessibilitysupported/a11ysupport.io", "https://www.deque.com/get-accessibility-help/", "https://accessibility.deque.com/hubfs/VPATs/DequeUniversity_VPAT_WCAG2.1AA.pdf", "https://www.deque.com/axe/browser-extensions/", "https://www.deque.com/", "https://docs.deque.com/deque-university/1.0/en/release-notes/release-notes"]} {"url": "https://developer.bankid.cz/", "titulek": "Bank iD online identification solution | Bank iD", "h1": "Online identification and e-signing solution", "popis": "Bank iD developer portal for applications, documentation, support, and product integration.", "klicova_slova": "", "kanonicka": "https://developer.bankid.cz", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Bank iD online identification solution", "og:description": "Bank iD developer portal for applications, documentation, support, and product integration.", "og:url": "https://developer.bankid.cz", "og:site_name": "Bank iD", "og:locale": "en-US", "og:image": "https://developer.bankid.cz/logo.png"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Online identification and e-signing solution"}, {"uroven": 2, "text": "How to begin"}, {"uroven": 3, "text": "Create an account"}, {"uroven": 3, "text": "Go through technical documentation"}, {"uroven": 3, "text": "Invite your colleagues"}, {"uroven": 3, "text": "Let's play with Sandbox"}, {"uroven": 3, "text": "Get to production"}, {"uroven": 2, "text": "Introducing Bank Identity"}, {"uroven": 3, "text": "Bank iD use cases:"}, {"uroven": 4, "text": "Login"}, {"uroven": 4, "text": "User authentication"}, {"uroven": 4, "text": "Improve the UX of your customers"}, {"uroven": 4, "text": "Obtaining verified data"}, {"uroven": 4, "text": "User identification according to the AML Act."}, {"uroven": 4, "text": "Update data"}, {"uroven": 4, "text": "Electronic signing"}, {"uroven": 2, "text": "Participating banks"}, {"uroven": 2, "text": "Contact us"}], "markdown": "# Online identification and e-signing solution\n\nWelcome to Bank iD developer portal!\n\nStart integrating Bank iD into your business with the help of this developer portal.\n\n[Register](/register?locale=en)\n\n[Register](/register?locale=en)\n\n## How to begin\n\n1. Create an accountFirst before any production keys can be generated, you need to [register your developer account](https://developer.bankid.cz/docs/sep_get_started#1-creating-an-account). Do so in the upper right corner\n2. Go through technical documentationWe have prepared [complete technical documentation](https://developer.bankid.cz/docs) that will help you understand how to integrate Bank iD into your application. You can find additional tips and answers in the [FAQs](https://developer.bankid.cz/faq) section\n3. Invite your colleaguesDeveloping applications is great, however it can be even greater when done with like minded people. Invite your colleagues and collaborators into your application when it is created. You can specify access permissions for each person you invite.\n4. Let's play with SandboxYou can try out Bank iD without hassle or obligation in the Sandbox environment. Sandbox can be setup in just a few minutes so you can explore Bank iD as soon as possible\n5. Get to productionFollow the steps outlined in the [documentation](https://developer.bankid.cz/developers) to get your app to production.\n\n## Introducing Bank Identity\n\nBank Identity is an universal solution for authentication/identification and authorization in the on-line environment. It is quick and secure for you and your customers.\n\nYour customers does not have to do anything special to enable Bank Identity - they will simply use the credentials they already know and have.\n\nYou can find more information about Bank iD at [www.bankid.cz](https://www.bankid.cz)\n\n### Bank iD use cases:\n\n---\n\n- Login No more registration and no need to remember more information.\n- User authentication You will know exactly who you are dealing with.\n- Improve the UX of your customers You can use Bank iD to pre-fill forms.\n- Obtaining verified data You will not have to verify information from other sources, the banks have already done it for you.\n- User identification according to the AML Act. You will get all the data needed for identification according to the AML Act.\n- Update data We will let you know when the client changes their personal data. So you'll be always up-to-date.\n- Electronic signing Electronic signature that everyone is guaranteed to be able to use.\n\n## Participating banks\n\n## Contact us\n\nUse the contact form if you wish to ask Bank iD a question, report an issue or wish to offer suggestions for improvement.\n\n[Ask us a question](/contact-us)", "znaku_textu": 2666, "slov": 399, "odkazu": 18, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:32", "sha256": "87d80f334f1664d1ccfa2d37c55eff19a5fb5c7c8e78a60929f772432c7d3037", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/BankovniIdentita", "https://ux.bankid.cz/", "https://bankid.cz/", "https://www.bankid.cz/"]} {"url": "https://developer.chrome.com/docs/lighthouse/", "titulek": "Lighthouse | Chrome for Developers", "h1": "", "popis": "Automate web performance audits with Lighthouse", "klicova_slova": "", "kanonicka": "https://developer.chrome.com/docs/lighthouse", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Chrome for Developers", "og:type": "website", "og:title": "Lighthouse  |  Chrome for Developers", "og:description": "Automate web performance audits with Lighthouse", "og:url": "https://developer.chrome.com/docs/lighthouse", "og:locale": "en"}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "headline": "Lighthouse"}, {"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Docs", "item": "https://developer.chrome.com/docs"}, {"@type": "ListItem", "position": 2, "name": "Lighthouse", "item": "https://developer.chrome.com/docs/lighthouse"}]}], "drobecky": ["Docs", "Lighthouse"], "osnova": [{"uroven": 3, "text": "Lighthouse"}], "markdown": "Stay organized with collections\n \n \n Save and categorize content based on your preferences.\n \n \n \n Lighthouse\n \n \n Lighthouse has audits for performance, accessibility, progressive web apps, SEO, and more. You can run Lighthouse against any web page, public or requiring authentication. You can run Lighthouse as part of PageSpeed Insights, in Chrome DevTools, from the command line, or as a Node module. You give Lighthouse a URL to audit, it runs a series of audits against the page, and then it generates a report on how well the page did. From there, use the failing audits as indicators on how to improve the page. Each audit has a reference document explaining why the audit is important, as well as how to fix it. [Test a site](https://pagespeed.web.dev) [Overview](https://developer.chrome.com/docs/lighthouse/overview)", "znaku_textu": 827, "slov": 123, "odkazu": 78, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:33", "sha256": "48f2bab3b170dbc00d6ed8ee53765f03a2d10f08528ac7a7a995072ed4384bf3", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://web.dev/baseline", "https://web.dev/", "https://pagespeed.web.dev/", "https://issuetracker.google.com/issues/new?component=1400036&template=1897236", "https://issuetracker.google.com/issues?q=status%3Aopen+componentid%3A1400036&s=created_time%3Adesc", "https://blog.chromium.org/", "https://web.dev/shows", "https://twitter.com/ChromiumDev", "https://www.youtube.com/user/ChromeDevelopers", "https://www.linkedin.com/showcase/chrome-for-developers", "https://policies.google.com/terms", "https://policies.google.com/privacy"]} {"url": "https://dia.gov.cz/", "titulek": "Digitální informační agentura | DIA", "h1": "Digitální a informační agentura", "popis": "Digitální informační agentura nabízí inovativní digitální řešení, aktuální informace a technologické služby pro moderní dobu.", "klicova_slova": "", "kanonicka": "https://www.dia.gov.cz/cs", "jazyk": "cs", "robots_meta": "index,follow", "og": {"og:title": "Digitální informační agentura", "og:description": "Digitální informační agentura nabízí inovativní digitální řešení, aktuální informace a technologické služby pro moderní dobu.", "og:image": "https://www.dia.gov.cz/images/og.png", "og:site_name": "DIA", "og:url": "https://www.dia.gov.cz/cs"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Digitální a informační agentura"}, {"uroven": 2, "text": "Aktuality"}, {"uroven": 3, "text": "DIA poskytla návrh certifikačního schématu EUDIW ke stanovisku ostatním členským státům EU"}, {"uroven": 3, "text": "Digitalizace služeb veřejné správy směřuje k dokončení v zákonném termínu 1. 2. 2027. DIA pomůže úřadům s napojením na Registr zastupování"}, {"uroven": 2, "text": "Na čem pracujeme"}, {"uroven": 3, "text": "Portál občana"}, {"uroven": 3, "text": "Datové schránky"}, {"uroven": 3, "text": "Doklady v mobilním telefonu"}, {"uroven": 3, "text": "Czech POINT"}, {"uroven": 2, "text": "Představení Digitální a informační agentury"}, {"uroven": 2, "text": "Za co zodpovídáme"}, {"uroven": 3, "text": "Evropská peněženka digitální identity"}, {"uroven": 3, "text": "Katalog služeb"}, {"uroven": 3, "text": "Kontrola kvality"}, {"uroven": 3, "text": "Katalog cloud computingu"}, {"uroven": 3, "text": "Přístupnost internetových stránek a mobilních aplikací"}, {"uroven": 2, "text": "Nejčastěji navštěvované"}, {"uroven": 3, "text": "Portál občana"}, {"uroven": 3, "text": "Registr smluv"}, {"uroven": 3, "text": "Katalog cloud computingu"}, {"uroven": 3, "text": "Komponenta 1.7"}], "markdown": "# Digitální a informační agentura\n\n[Navštívit datovka.gov.cz](https://datovka.gov.cz)\n\n[Kontaktní centrum veřejné správy](/kcvs/cs)\n\n[Navštívit eakademie.dia.gov.cz](https://eakademie.dia.gov.cz/kurzy.php)\n\n[Navštívit eakademie.dia.gov.cz](https://eakademie.dia.gov.cz/kurzy.php?tema=portal-obcana)\n\nAktuality \n \n Zobrazit vše\n Aktuality [DIA poskytla návrh certifikačního schématu EUDIW ke stanovisku ostatním členským státům EU](https://www.dia.gov.cz/cs/aktuality/dia-poskytla-navrh-certifikacniho-schematu-eudiw-ke-stanovisku-ostatnim-clenskym-statum-eu) \n Publikováno: 10.09.2026 Česká republika se zařadila mezi první členské státy Evropské unie, které předložily ostat... \n Tiskové zprávy \n [Digitalizace služeb veřejné správy směřuje k dokončení v zákonném termínu 1. 2. 2027. DIA pomůže úřadům s napojením na Registr zastupování](https://www.dia.gov.cz/cs/aktuality/digitalizace-sluzeb-verejne-spravy-smeruje-k-dokonceni-v-zakonnem-terminu-1-2-2027-dia-pomuze-uradum-s-napojenim-na-registr-zastupovani) \n Publikováno: 04.09.2026 Digitalizace služeb veřejné správy podle zákona o právu na digitální služby pokračuje podl... \n Tiskové zprávy\n\nNa čem pracujeme Portál občana Portál občana je branou k elektronickým službám státu, samoobslužným místem pro bezpečnou a důvěrnou komunikaci mezi občanem a státem. [Více informací - Portál občana](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/portal-obcana) Datové schránky Cílem datových schránek je efektivnější – tedy rychlejší, levnější a spolehlivější veřejná správa, což pozitivně pocítí každý občan a podnikatel. [Více informací - Datové schránky](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/datove-schranky) Doklady v mobilním telefonu Mobilní aplikace eDoklady byla spuštěna v lednu 2024 a přináší zcela nový přístup v oblasti prokazování totožnosti nejen vůči veřejným orgánům, ale také vůči soukromoprávním subjektům. [Více informací - Doklady v mobilním telefonu](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/doklady-v-mobilnim-telefonu) Czech POINT Czech POINT přibližuje služby veřejné správy i těm, pro které digitální cesta není samozřejmostí. [Více informací - Czech POINT](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/czech-point)\n\nPředstavení Digitální a informační agentury\n\nZa co zodpovídáme \n Evropská peněženka digitální identity Evropské peněženky digitální identity jsou osobní digitální peněženky. Mají podobu například mobilní aplikace či webové aplikace v cloudu, díky které budeme všichni moci digitálně prokázat svou totožnost, ukládat a spravovat údaje vztahující se k naší osobě a uchovávat úřední a další doklady nebo potvrzení v digitální podobě. Příkladem takových dokladů a potvrzení bude v budoucnu například mobilní řidičský průkaz, recept na léky nebo doklad o získané kvalifikaci. Více informací najdete na webu [dia.gov.cz/eudiw.](https://dia.gov.cz/eudiw) Katalog služeb Katalog služeb veřejné správy slouží k evidenci a zpřístupnění služeb, které jednotlivé úřady veřejné správy poskytují široké veřejnosti. **Umožní jednotný pohled na to, co pro občana stát dělá – jaké služby, kdo a jakým způsobem poskytuje.**Portál občana už nyní poskytuje řadu často využívaných služeb, jako **online portály ČSSZ, službu Moje daně, online přístup na Úřad práce nebo Očkovací portál občana**. Dále mapujeme nejvíce používané či žádané služby a pracujeme na jejich zpřístupnění v digitální podobě. Kontrola kvality V **Digitální a informační agentuře vznikají expertní týmy**, které budou připraveny pomoci napříč resorty při překonávání překážek, při nastavování standardů i jejich aplikaci. **Zabrání tomu, aby vznikaly oddělené a finančně neefektivní systémy.**Posuzování revidovaných i právě vznikajících digitálních služeb je komplexní. Děje se tak z hlediska architektonického, ekonomického, technického, projektového, s ohledem na práci s daty, ale i uživatelského zážitku a potřeb eGovernmentu jako celku. Katalog cloud computingu Pokud chcete jako **orgán veřejné správy** využívat pro zajištění provozu svých informačních systémů veřejné správy (ISVS) cloud computing, musíte vybírat **pouze ze služeb, které jsou zapsané v [Katalogu cloud computingu](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/egovernment-cloud/katalog-cloud-computingu/nabidky-cloud-computingu).****Poskytovatelé cloud computingu**, kteří chcete nabízet své služby veřejné správě, **musíte projít**podle zákona č. 365/2000 Sb., o informačních systémech veřejné správy **procesem zápisu**. Bližší informace naleznete na našem [webu](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/egovernment-cloud). Přístupnost internetových stránek a mobilních aplikací Za přístupnou lze obecně považovat takovou internetovou stránku či mobilní aplikaci, kterou bude osoba se zdravotním postižením schopna i přes svůj zdravotní hendikep za pomocí asistivních technologie nebo specializované programy Internetové stránky a mobilní aplikace subjektů veřejné správy musí být pro své uživatele **vnímatelné**, **ovladatelné**, **srozumitelné** a **stabilní**. Digitální a informační agentura je gestorem zákona o přístupnosti. Více informací naleznete [zde](https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/pristupnost-internetovych-stranek-a-mobilnich-aplikaci).\n\nNejčastěji navštěvované Portál občana Registr smluv Katalog cloud computingu Komponenta 1.7", "znaku_textu": 5317, "slov": 643, "odkazu": 61, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:34", "sha256": "7314ed42cde7bead3e4d767da1e60ed50172c9f9b674ac6e4d0580e7d7489680", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.dia.gov.cz/cs/o-nas", "https://www.dia.gov.cz/cs/o-nas/zpravy-o-cinnosti-digitalni-a-informacni-agentury", "https://www.dia.gov.cz/cs/o-nas/zivotopisy-vedoucich-pracovniku-dia", "https://www.dia.gov.cz/cs/o-nas/mezinarodni-spoluprace", "https://www.dia.gov.cz/cs/o-nas/informace-k-internimu-protikorupcnimu-programu", "https://www.dia.gov.cz/cs/o-nas/propagacnimaterialy", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/portal-obcana", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/caais", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/doklady-v-mobilnim-telefonu", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/datove-schranky", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/czech-point", "https://portal.dia.gov.cz/", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/egovernment-cloud", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/design-system", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/data", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/pristupnost-internetovych-stranek-a-mobilnich-aplikaci", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/portal-verejne-spravy", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/registr-smluv", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/datahub", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/agendovy-informacni-system-vyrozumivaci", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/aktuality", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/registr-osob", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/registr-obyvatel", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/registr-prav-a-povinnosti", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/registr-uzemni-identifikace-adres-a-nemovitosti", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/registr-zastupovani", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-to-bezi/navody-ke-stazeni", "https://www.dia.gov.cz/cs/kontakty", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu/uvodni-informace-kontakty-a-faq", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu/legislativa-a-strategicke-dokumenty", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu/architektura-egovernmentu", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu/schvalovani-ict-projektu-ze-strany-oha", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu/efakturace", "https://www.dia.gov.cz/cs/nase-cinnosti/architektura-digitalnich-sluzeb-statu/atestace-a-akreditace", "https://www.dia.gov.cz/cs/nase-cinnosti/projekty", "https://www.dia.gov.cz/cs/nase-cinnosti/projekty/narodni-plan-obnovy-vlastnik-komponenty-1-7", "https://www.dia.gov.cz/cs/nase-cinnosti/projekty/narodni-plan-obnovy-vlastnik-komponenty-1-2", "https://www.dia.gov.cz/cs/nase-cinnosti/projekty/projekty-fondy-eu", "https://www.dia.gov.cz/cs/legislativa/eidas-sluzby-vytvarejici-duveru-a-elektronicka-identifikace", "https://www.dia.gov.cz/cs/legislativa/schemata-pro-strojove-citelnou-vrstvu-dle-zakona-499-2004-sb", "https://www.dia.gov.cz/cs/legislativa/zakon-c-12-2020-sb-o-pravu-na-digitalni-sluzby", "https://www.dia.gov.cz/cs/legislativa/zakon-c-179-2006-sb-o-uznavani-vysledku-dalsiho-vzdelavani", "https://www.dia.gov.cz/cs/legislativa/zakon-c-60/2026-sb-o-sprave-dat-a-rizenem-pristupu-k-datum", "https://www.dia.gov.cz/cs/legislativa/pracovni-skupina-pro-jednaci-rizeni-bez-uverejneni", "https://www.dia.gov.cz/cs/aktuality", "https://www.dia.gov.cz/cs/kariera", "https://datovka.gov.cz/", "https://eakademie.dia.gov.cz/kurzy.php", "https://eakademie.dia.gov.cz/kurzy.php?tema=portal-obcana", "https://www.dia.gov.cz/cs/aktuality/dia-poskytla-navrh-certifikacniho-schematu-eudiw-ke-stanovisku-ostatnim-clenskym-statum-eu", "https://www.dia.gov.cz/cs/aktuality/digitalizace-sluzeb-verejne-spravy-smeruje-k-dokonceni-v-zakonnem-terminu-1-2-2027-dia-pomuze-uradum-s-napojenim-na-registr-zastupovani", "https://www.dia.gov.cz/cs/nase-cinnosti/na-cem-pracujeme/egovernment-cloud/katalog-cloud-computingu/nabidky-cloud-computingu", "https://designsystem.gov.cz/"]} {"url": "https://digital-markets-act.ec.europa.eu/gatekeepers-portal_en", "titulek": "DMA designated Gatekeepers", "h1": "Gatekeepers Portal", "popis": "European Commission designated for the first time six gatekeepers - Alphabet, Amazon, Apple, ByteDance, Meta, Microsoft - under the Digital Markets Act (DMA). In total, 22 core platform services provided by those gatekeepers have been designated.", "klicova_slova": "digital single market", "kanonicka": "https://digital-markets-act.ec.europa.eu/gatekeepers-portal_en", "jazyk": "en", "robots_meta": "", "og": {"og:determiner": "auto", "og:site_name": "Digital Markets Act (DMA)", "og:type": "website", "og:url": "https://digital-markets-act.ec.europa.eu/gatekeepers-portal_en", "og:title": "DMA designated Gatekeepers", "og:description": "European Commission designated for the first time six gatekeepers - Alphabet, Amazon, Apple, ByteDance, Meta, Microsoft - under the Digital Markets Act (DMA). In total, 22 core platform services provided by those gatekeepers have been designated.", "og:image": "https://digital-markets-act.ec.europa.eu/profiles/contrib/ewcms/modules/ewcms_seo/assets/images/ec-socialmedia-fallback.png", "og:image:alt": "Digital Markets Act (DMA)"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://digital-markets-act.ec.europa.eu/index_en", "name": "Home"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://digital-markets-act.ec.europa.eu/gatekeepers-portal_en", "name": "Gatekeepers Portal"}}]}, {"@context": "https://schema.org", "@type": "CreativeWork", "name": "Gatekeepers Portal", "description": "list of gatekeepers for the digital markets act", "url": "https://digital-markets-act.ec.europa.eu/gatekeepers-portal", "about": [{"@type": "DefinedTerm", "name": "digital single market", "inDefinedTermSet": {"@type": "DefinedTermSet", "name": "Digital Europa Thesaurus", "alternateName": "DET", "url": "http://publications.europa.eu/resource/dataset/det", "description": "Multilingual thesaurus for digital Europe covering EU policy areas.", "publisher": {"@type": "GovernmentOrganization", "name": "Publications Office of the European Union", "url": "http://publications.europa.eu/resource/authority/corporate-body/PUBL"}}, "@id": "http://data.europa.eu/uxp/c_6f7bbe63"}], "publisher": [{"@type": ["GovernmentOrganization", "DefinedTerm"], "identifier": {"@type": "PropertyValue", "propertyID": "http://publications.europa.eu/resource/authority/corporate-body", "value": "COMP", "url": "http://publications.europa.eu/resource/authority/corporate-body/COMP"}, "name": "Directorate-General for Competition", "alternateName": "COMP", "inDefinedTermSet": {"@type": "DefinedTermSet", "name": "Corporate body", "url": "http://publications.europa.eu/resource/authority/corporate-body", "description": "Authority table for EU corporate bodies and organizations", "publisher": {"@type": "GovernmentOrganization", "name": "Publications Office of the European Union", "url": "http://publications.europa.eu/resource/authority/corporate-body/PUBL"}}, "@id": "http://publications.europa.eu/resource/authority/corporate-body/COMP"}, {"@type": ["GovernmentOrganization", "DefinedTerm"], "identifier": {"@type": "PropertyValue", "propertyID": "http://publications.europa.eu/resource/authority/corporate-body", "value": "CNECT", "url": "http://publications.europa.eu/resource/authority/corporate-body/CNECT"}, "name": "Directorate-General for Communications Networks, Content and Technology", "alternateName": "CNECT", "inDefinedTermSet": {"@type": "DefinedTermSet", "name": "Corporate body", "url": "http://publications.europa.eu/resource/authority/corporate-body", "description": "Authority table for EU corporate bodies and organizations", "publisher": {"@type": "GovernmentOrganization", "name": "Publications Office of the European Union", "url": "http://publications.europa.eu/resource/authority/corporate-body/PUBL"}}, "@id": "http://publications.europa.eu/resource/authority/corporate-body/CNECT"}]}], "drobecky": ["Home", "Gatekeepers Portal"], "osnova": [], "markdown": "On [6 September 2023](http://europa.eu/rapid/pressReleasesAction.do?reference=IP_23_4328) the European Commission designated for the first time six **gatekeepers** - **Alphabet, Amazon, Apple, ByteDance, Meta, Microsoft**- under the Digital Markets Act (DMA). On [29 April 2024](https://ec.europa.eu/commission/presscorner/detail/en/ip_24_2363), the Commission designated Apple with respect to its iPadOS, its operating system for tablets, as a gatekeeper under the DMA. On [13 May 2024](https://ec.europa.eu/commission/presscorner/detail/en/ip_24_2561), the Commission also designated under the DMA, **Booking**as a gatekeeper for its online intermediation service Booking.com. On [23 April 2025](https://ec.europa.eu/commission/presscorner/detail/en/ip_25_1085), Meta was undesignated for its online intermediation service Facebook Marketplace. In total, 23 core platform services provided by those gatekeepers are currently designated.\n\nFor more information on submissions, the designation process, how to submit information on acquisitions (Article 14) and how to contact the DMA team if you are a Gatekeeper or potential gatekeeper, please consult [Resources for gatekeepers and potential gatekeepers](/gatekeepers-portal/resources-gatekeepers-and-potential-gatekeepers_en).", "znaku_textu": 1264, "slov": 142, "odkazu": 105, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:35", "sha256": "8b06ece054fea26fd0f93b0f5c89994e8355b44183d4b23792ea1890b12e4bf2", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commission.europa.eu/index_en", "https://digital-markets-act-cases.ec.europa.eu/reports/compliance-reports", "https://digital-markets-act-cases.ec.europa.eu/acquisitions", "https://digital-markets-act-cases.ec.europa.eu/reports/consumer-profiling-reports", "https://digital-markets-act-cases.ec.europa.eu/search", "http://europa.eu/rapid/pressReleasesAction.do?reference=IP_23_4328", "https://ec.europa.eu/commission/presscorner/detail/en/ip_24_2363", "https://ec.europa.eu/commission/presscorner/detail/en/ip_24_2561", "https://ec.europa.eu/commission/presscorner/detail/en/ip_25_1085", "https://ec.europa.eu/competition/digital_markets_act/cases/202344/DMA_100002_145.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100002", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100011", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100004", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100005", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100009", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100010", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100008", "https://ec.europa.eu/competition/digital_markets_act/cases/202346/DMA_100016_104.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100018", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100016", "https://ec.europa.eu/competition/digital_markets_act/cases/202344/DMA_100013_215.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100013", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100025", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100027", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100047", "https://ec.europa.eu/competition/digital_markets_act/cases/202442/DMA_100019_191.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100019", "https://ec.europa.eu/competition/digital_markets_act/cases/202344/DMA_100040_141.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100040", "https://ec.europa.eu/competition/digital_markets_act/cases/202346/DMA_100044_138.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100020", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100024", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100035", "https://ec.europa.eu/competition/digital_markets_act/cases/202344/DMA_100017_183.pdf", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100017", "https://digital-markets-act-cases.ec.europa.eu/cases/DMA.100026", "https://digital-strategy.ec.europa.eu/en/policies/digital-services-act-package", "https://competition-policy.ec.europa.eu/index_en", "https://digital-strategy.ec.europa.eu/en", "https://ec.social-network.europa.eu/@EUCommission", "http://www.linkedin.com/company/european-commission", "https://bsky.app/profile/ec.europa.eu", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://commission.europa.eu/about/contact_en", "https://commission.europa.eu/legal-notice/vulnerability-disclosure-policy_en", "https://commission.europa.eu/languages-our-websites_en", "https://commission.europa.eu/cookies-policy_en", "https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en", "https://commission.europa.eu/legal-notice_en"]} {"url": "https://digital-strategy.ec.europa.eu/en/policies/cra-reporting", "titulek": "Cyber Resilience Act - Reporting obligations | Shaping Europe’s digital future", "h1": "Cyber Resilience Act - Reporting obligations", "popis": "As of 11 September 2026, manufacturers are required to report actively exploited vulnerabilities and severe incidents impacting the security of products with digital elements. In accordance with Article 71(2) of the CRA, open-source software stewards are subject to reporting obligations (Article 24(3)) from 11 December 2027.", "klicova_slova": "", "kanonicka": "https://digital-strategy.ec.europa.eu/en/policies/cra-reporting", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Shaping Europe’s digital future", "og:type": "Policy", "og:title": "Cyber Resilience Act - Reporting obligations", "og:description": "As of 11 September 2026, manufacturers are required to report actively exploited vulnerabilities and severe incidents impacting the security of products with digital elements. In accordance with Article 71(2) of the CRA, open-source software stewards are subject to reporting obligations (Article 24(3)) from 11 December 2027.", "og:locale:alternate": "sv_SE"}, "jsonld": [], "drobecky": ["Home", "Policies", "Cybersecurity", "EU cybersecurity policies", "Cyber Resilience Act", "Cyber Resilience Act - Reporting obligations"], "osnova": [{"uroven": 2, "text": "What are the main rules?"}, {"uroven": 2, "text": "Where should manufacturers submit their notifications?"}, {"uroven": 2, "text": "Where can further information on reporting obligations and the SRP be found?"}, {"uroven": 2, "text": "Relevant cooperation bodies"}, {"uroven": 2, "text": "Reference documents and links"}, {"uroven": 2, "text": "Related Content"}, {"uroven": 3, "text": "Big Picture"}], "markdown": "## What are the main rules?\n\nThe CRA requires manufacturers to notify actively exploited vulnerabilities and severe incidents having an impact on the security of their product with digital elements. They need to submit an early warning within 24 hours of becoming aware, and a full notification within 72 hours. A final report needs to be submitted no later than 14 days after a corrective measure is available for actively exploited vulnerabilities and within a month from the 72-hour notification for severe incidents. Reporting obligations are also foreseen for open-source software stewards in accordance with Article 24(3) of the CRA.\n\nManufacturers report only once through the [CRA Single Reporting Platform (SRP)](https://www.enisa.europa.eu/topics/product-security/single-reporting-platform-srp). The notification is addressed to the Computer Security Incident Response Team (CSIRT) where they have their main establishment and, unless particularly exceptional circumstances apply, the information is made available simultaneously to ENISA. The CSIRT initially receiving the notification will share without delay the notification with all the other CSIRTs on the territory of which the product with digital elements has been made available.\n\nIn exceptional circumstances and based on justified cybersecurity-related grounds, the CSIRT may decide to delay dissemination to other CSIRTs: on 11 December 2025, the Commission adopted a [delegated act](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32026R0881) further specifying the terms and conditions for applying such cybersecurity-related grounds.\n\n## Where should manufacturers submit their notifications?\n\nPursuant to Article 16 of the CRA, and in close cooperation with the CSIRT Network, ENISA has established the CRA Single Reporting Platform (SRP), operational as of 11 September 2026. Manufacturers and open-source software stewards are required to submit their notifications through that platform.\n\nThe link to ENISA's Single Reporting Platform can be found on [ENISA's Single Reporting Platform (SRP) webpage](https://www.enisa.europa.eu/topics/product-security/single-reporting-platform-srp).\n\n## Where can further information on reporting obligations and the SRP be found?\n\nENISA has published a range of resources on how to use the CRA SRP, including FAQs, user guidance, a CRA SRP glossary and training materials. All such resources can be accessed on [ENISA's Single Reporting Platform (SRP) webpage](https://www.enisa.europa.eu/topics/product-security/single-reporting-platform-srp).\n\nFurther clarifications on reporting obligations are also contained in Section 9.1 of the [Commission guidance](https://digital-strategy.ec.europa.eu/en/library/commission-publishes-new-guidance-support-timely-cyber-resilience-act-implementation) on the CRA, as well as in Section 5 of the Commission's [Frequently Asked Questions](https://ec.europa.eu/newsroom/dae/redirection/document/122331) on the CRA implementation.\n\n## Relevant cooperation bodies\n\n- [ENISA](https://www.enisa.europa.eu/)\n- [CSIRT Network](https://csirtsnetwork.eu/)\n\n## Reference documents and links\n\n[ENISA’s webpage on the Single Reporting Platform](https://www.enisa.europa.eu/topics/product-security/single-reporting-platform-srp)\n\n[Frequently Asked Questions](https://ec.europa.eu/newsroom/dae/redirection/document/122331) on the CRA implementation\n\n[Commission guidance](https://digital-strategy.ec.europa.eu/en/library/commission-publishes-new-guidance-support-timely-cyber-resilience-act-implementation) on the CRA\n\n[Delegated act](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32026R0881) on CSIRTs withholding notifications to be disseminated through the Single Reporting Platform\n\n## Related Content\n\n### Big Picture\n\n[Cyber Resilience Act](/en/policies/cyber-resilience-act)\n\nThe Cyber Resilience Act (CRA) aims to make sure all digital products are safe from cyber threats. This rulebook requires that devices and software are designed, updated, and maintained to protect users in our increasingly digital world.", "znaku_textu": 4044, "slov": 498, "odkazu": 73, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:35", "sha256": "f92ffd1384ac3c54dd210ef9e5ae3b1231366bf5a7c0051564433b6a2c3604c5", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commission.europa.eu/index_en", "https://www.enisa.europa.eu/topics/product-security/single-reporting-platform-srp", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32026R0881", "https://ec.europa.eu/newsroom/dae/redirection/document/122331", "https://www.enisa.europa.eu/", "https://csirtsnetwork.eu/", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32024R2847", "https://ec.social-network.europa.eu/@digitaleu", "https://www.linkedin.com/showcase/digital-eu/", "https://www.facebook.com/DigitalEU", "https://www.youtube.com/c/DigitalEU", "https://www.instagram.com/DigitalEU/", "https://x.com/DigitalEU", "https://ec.europa.eu/info/departments/communications-networks-content-and-technology_en", "https://ec.social-network.europa.eu/@EUCommission", "http://www.linkedin.com/company/european-commission", "https://bsky.app/profile/ec.europa.eu", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://commission.europa.eu/about/contact_en", "https://commission.europa.eu/legal-notice/vulnerability-disclosure-policy_en", "https://commission.europa.eu/languages-our-websites_en", "https://commission.europa.eu/cookies-policy_en", "https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en", "https://commission.europa.eu/legal-notice_en"]} {"url": "https://digital-strategy.ec.europa.eu/en/policies/dsa-vlops", "titulek": "DSA: Very large online platforms and search engines | Shaping Europe’s digital future", "h1": "DSA: Very large online platforms and search engines", "popis": "Very large online platforms and search engines are those with over 45 million users in the EU. They must comply with the most stringent rules of the DSA.", "klicova_slova": "", "kanonicka": "https://digital-strategy.ec.europa.eu/en/policies/dsa-vlops", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Shaping Europe’s digital future", "og:type": "Policy", "og:title": "DSA: Very large online platforms and search engines", "og:description": "Very large online platforms and search engines are those with over 45 million users in the EU. They must comply with the most stringent rules of the DSA.", "og:locale:alternate": "sv_SE"}, "jsonld": [], "drobecky": ["Home", "Policies", "Online platforms and e-commerce", "The Digital Services Act", "The impact of the Digital Services Act on digital platforms", "DSA: Very large online platforms and search engines"], "osnova": [{"uroven": 2, "text": "Obligations for VLOPs and VLOSEs"}, {"uroven": 2, "text": "Latest News"}, {"uroven": 2, "text": "Related Content"}, {"uroven": 3, "text": "Big Picture"}], "markdown": "The DSA classifies platforms or search engines that have more than 45 million users per month in the EU as very large online platforms (VLOPs) or very large online search engines (VLOSEs). The Commission has begun to designate VLOPs or VLOSEs based on user numbers provided by platforms and search engines, which regardless of size, they were [required to publish by 17 February 2023](https://digital-strategy.ec.europa.eu/en/news/digital-services-act-commission-starts-collecting-platforms-user-numbers-and-consults-its).\n\nPlatforms and search engines will need to update these figures at least every 6 months as explained on [DSA: Guidance on the requirement to publish user numbers](https://digital-strategy.ec.europa.eu/en/library/dsa-guidance-requirement-publish-user-numbers).\n\nOnce the Commission designates a platform as a VLOP or a search engine as a VLOSE, the designated online service has 4 months to comply with the DSA. The designation triggers specific rules that tackle the particular risks such large services pose to Europeans and society when it comes to illegal content, and their impact on fundamental rights, public security, and wellbeing.\n\nThe Commission will revoke its decision if the platform or search engine does not reach the threshold of 45 million monthly users anymore during one full year.\n\n## Obligations for VLOPs and VLOSEs\n\nOnce the Commission has designated a platform or a search engine, it has four months to comply with the DSA.\n\nFor example it needs to:\n\n- establish a point of contact for authorities and users\n- report criminal offenses\n- have user-friendly terms and conditions\n- be transparent as regards advertising, recommender systems or content moderation decisions\n\nThey also must follow the rules that focus only on VLOPs and VLOSEs due to their size and the potential impact they can have on society. This means that they must identify, analyse, and assess systemic risks that are linked to their services. They should look, in particular, to risks related to:\n\n- illegal content\n- fundamental rights, such as freedom of expression, media freedom and pluralism, discrimination, consumer protection and children’s rights\n- public security and electoral processes\n- gender-based violence, public health, protection of minors, and mental and physical wellbeing\n\nOnce the risks are identified and reported to the Commission for oversight, VLOPs and VLOSEs are obliged to put measures in place that mitigate these risks. This could mean adapting the design or functioning of their services or changing their recommender systems. They could also consist of reinforcing the platform internally with more resources to better identify systemic risks.\n\nThose designated as VLOPs or VLOSEs will also have to:\n\n- establish an internal compliance function that ensures that the risks identified are mitigated\n- be audited by an independent auditor at least once a year and adopt measures that respond to the auditor’s recommendations\n- share their data with the Commission and national authorities so that they can monitor and assess compliance with the DSA\n- allow vetted researchers to access platform data when the research contributes to the detection, identification and understanding of systemic risks in the EU\n- provide an option in their recommender systems that is not based on user profiling\n- have a publicly available repository of advertisements\n\n## Latest News\n\n- Press release\n- 31 August 2026\n\n[Commission designates ChatGPT, Reddit, Roblox under Digital Services Act](/en/news/commission-designates-chatgpt-reddit-roblox-under-digital-services-act)\n\nThe Commission has designated ChatGPT as a Very Large Online Search Engine (VLOSE), as well as Reddit and Roblox as Very Large Online Platforms (VLOPs), under the Digital Services Act (DSA).\n\n- Press release\n- 24 July 2026\n\n[Commission preliminary finds TikTok in breach of Digital Services Act for failing to ensure safe accounts for minors](/en/news/commission-preliminary-finds-tiktok-breach-digital-services-act-failing-ensure-safe-accounts-minors)\n\nThe European Commission has sent TikTok preliminary findings indicating that TikTok accounts of minors do not meet the safety standards required under the Digital Services Act (DSA).\n\n- Press release\n- 20 July 2026\n\n[Commission fines AliExpress €550 million for breaching the Digital Services Act](/en/news/commission-fines-aliexpress-eu550-million-breaching-digital-services-act)\n\nThe European Commission fined AliExpress €550 million for breaching its obligations under the Digital Services Act (DSA) to diligently assess and mitigate risks relating to the sale of illegal, unsafe or counterfeit products on its e-commerce platform.\n\n- Press release\n- 16 July 2026\n\n[Commission accepts X’s action plan to comply with Digital Services Act](/en/news/commission-accepts-xs-action-plan-comply-digital-services-act)\n\nThe European Commission has accepted X’s action plan to comply with transparency obligations and researchers’ access to data, under the Digital Services Act.\n\n[Browse DSA - Digital Services Act](/en/related-content?topic=193)\n\n## Related Content\n\n### Big Picture\n\n[The impact of the Digital Services Act on digital platforms](/en/policies/dsa-impact-platforms)\n\nWith the Digital Services Act (DSA) platforms have already changed their systems and interfaces to provide a safer online experience for all Europeans.", "znaku_textu": 5327, "slov": 783, "odkazu": 76, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:36", "sha256": "bb0e8e2ad0997be693931cf15b954ff30db81c3b2463db1a3692b6b8bd9237ab", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commission.europa.eu/index_en", "https://www.linkedin.com/showcase/digital-eu/", "https://www.facebook.com/DigitalEU", "https://www.youtube.com/c/DigitalEU", "https://www.instagram.com/DigitalEU/", "https://twitter.com/DigitalEU", "https://ec.social-network.europa.eu/@digitaleu", "https://x.com/DigitalEU", "https://ec.europa.eu/info/departments/communications-networks-content-and-technology_en", "https://ec.social-network.europa.eu/@EUCommission", "http://www.linkedin.com/company/european-commission", "https://bsky.app/profile/ec.europa.eu", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://commission.europa.eu/about/contact_en", "https://commission.europa.eu/legal-notice/vulnerability-disclosure-policy_en", "https://commission.europa.eu/languages-our-websites_en", "https://commission.europa.eu/cookies-policy_en", "https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en", "https://commission.europa.eu/legal-notice_en"]} {"url": "https://digital-strategy.ec.europa.eu/en/policies/eidas-regulation", "titulek": "eIDAS Regulation | Shaping Europe’s digital future", "h1": "eIDAS Regulation", "popis": "The eIDAS regulation facilitates secure cross-border transactions by establishing a framework for digital identity and authentication. It aims to create confidence in electronic interactions and promote seamless digital services in the EU.", "klicova_slova": "", "kanonicka": "https://digital-strategy.ec.europa.eu/en/policies/eidas-regulation", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Shaping Europe’s digital future", "og:type": "Policy", "og:title": "eIDAS Regulation", "og:description": "The eIDAS regulation facilitates secure cross-border transactions by establishing a framework for digital identity and authentication. It aims to create confidence in electronic interactions and promote seamless digital services in the EU.", "og:locale:alternate": "sv_SE"}, "jsonld": [], "drobecky": ["Home", "Policies", "Digital public services and environments", "eGovernment and digital public services", "Electronic identification - eID", "eIDAS - electronic identification and trust services", "eIDAS Regulation"], "osnova": [{"uroven": 2, "text": "Benefits of eIDAS"}, {"uroven": 2, "text": "Reviewing the eIDAS regulation"}, {"uroven": 2, "text": "Related Content"}, {"uroven": 3, "text": "Big Picture"}], "markdown": "The [Regulation on electronic identification and trust services](http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:OJ.L_.2014.257.01.0073.01.ENG) was a milestone towards creating a predictable regulatory environment. Its primary objective was to instill confidence in electronic transactions across borders, while enhancing the effectiveness of online services and e-commerce platforms. This regulation specifically targets electronic identification (eID) and trust service providers, aiming to dismantle existing barriers hindering seamless use of trust services and eID usage across EU member states.\n\nOne of the pivotal aspects of the eIDAS Regulation was the establishment of mutual recognition for eIDs issued by EU countries, provided they meet the specified regulatory criteria and have been duly notified to the Commission. This recognition enables secure electronic transactions by ensuring that an eID issued in one member state is valid and acknowledged in all others. Notably, mutual recognition becomes compulsory for eIDs meeting certain assurance levels, thereby streamlining cross-border interactions and bolstering trust in online services.\n\nThe eIDAS Regulation provides for the interoperability of national eID schemes among EU member states. This requires the development of a technology-neutral framework that does not favour any particular technical solution for eID implementation. Procedural and technical standards have been set to facilitate cooperation among EU countries, aimed at ensuring the seamless exchange of electronic identification data and fostering a cohesive digital ecosystem across the EU.\n\nAt the same time, eIDAS created a level playing field for a number of trusted services, that have become indispensable in todays digital value chains: Electronic Registered Delivery Services (ERDS). These ensure secure and reliable delivery of electronic messages, data, or documents and provide evidence of the time of sending, receipt, and content integrity.\n\nNatural persons can also use certificates for electronic signatures and express consent. Similar to electronic seals, these certificates serve to verify data integrity and origin, making them usable for automated transactions. Additionally, Electronic Time Stamping provides trusted timestamps, which can be beneficial for legal purposes, archiving, and maintaining data integrity. Website Authentication Certificates further verify the origin of websites and ensure secure communication between the browser and the website.\n\nThe notion of ‘qualified’ trust services is also introduced in the eIDAS regulation. These services must comply with legal requirements and be recognized across EU Member States. In 2021, the Commission proposed new qualified trust services for electronic archiving, electronic ledgers, and the management of remote signatures and seals. Simultaneously, eIDAS established a European internal market for these qualified trust services, ensuring that they function seamlessly across borders and hold the same legal status as their traditional paper-based equivalents.\n\nIn line with the eIDAS Regulation, the Commission has enacted a series of measures to delineate [procedural arrangements](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015D0296), [technical specifications](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R0806), and [operational requirements](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R1501) for electronic identification and trust services. These encompass [specifications for the EU trust mark](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R0806), technical [requirements for assurance levels of eID means](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R1502), [formats of trusted lists](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015D1505), and [procedures for notification of eID schemes](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015D1984). Such comprehensive guidelines are instrumental in promoting harmonization and interoperability across diverse national eID systems within the EU.\n\n## Benefits of eIDAS\n\nWith eIDAS, the EU has managed to lay down the right foundations and a clear legal framework for people, companies and public administrations to safely access services and carry out transactions online. Indeed, rolling out eIDAS means higher security and more convenience for any online activity such submitting tax declarations, enrolling in a foreign university, setting up a business in another Member State, bidding to online calls for tenders. In the future uses will be extend to authenticating to internet payments and remotely opening a bank account.\n\neIDAS brings benefits to European businesses, citizens and government services. Download the infographics below to explore how eIDAS can benefit you.\n\n- [eIDAS solutions for citizens](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54410) (.pdf)\n - [eIDAS - for filing taxes](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54415) (.pdf)\n - [eIDAS - for the 'once only' principle](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54414) (.pdf)\n - [eIDAS - for student mobility](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54411) (.pdf)\n - [eIDAS - for opening bank accounts](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54412) (.pdf)\n- [eIDAS solutions for SMEs](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53856) (.pdf)\n - [eIDAS in professional services](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53855) (.pdf)\n - [eIDAS in the transport sector](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53857) (.pdf)\n - [eIDAS in online retail](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53858) (.pdf)\n - [eIDAS in financial services](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53859) (.pdf)\n- [eIDAS checklist for businesses](http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53854) (.pdf)\n\n## Reviewing the eIDAS regulation\n\nDespite its benefits, the eIDAS framework faced challenges, including discrepancies between Member States in the development and interoperability of national electronic identification schemes. In July 2020, the Commission opened a [consultation](https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12528-EU-digital-ID-scheme-for-online-transactions-across-Europe/public-consultation_en) to collect feedback on drivers and barriers to the development and uptake of eID trust services in the EU.\n\nThe [consultation results](https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12528-EU-digital-ID-scheme-for-online-transactions-across-Europe_en) include insights from various stakeholders such as businesses, academic institutions, public authorities, and associations. They addressed topics like the nature of digital identity, the need for multiple digital identities, extending the use of digital identification to the private sector, enhancing the eIDAS framework, harmonizing certifications and security requirements, expanding cross-border frameworks for trusted digital identities, and addressing legal harmonization issues related to e-signatures. Overall, stakeholders expressed support for measures to improve the effectiveness, accessibility, and trustworthiness of digital identities across Europe.\n\nTo address these shortcomings, in 2021 the Commission proposed a new [Regulation establishing a framework for a European Digital Identity](https://digital-strategy.ec.europa.eu/en/policies/eudi-regulation) and amending the eIDAS regulation.\n\n## Related Content\n\n### Big Picture\n\n[eIDAS - electronic identification and trust services](/en/policies/discover-eidas)\n\nTake advantage of cross-border business opportunities to increase the efficiency and security of your business and improve user experience.", "znaku_textu": 7855, "slov": 903, "odkazu": 91, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:37", "sha256": "9898125acf17ebe3de4b911ef50124d2bf984415643bd758e134a7cb361a14d6", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commission.europa.eu/index_en", "http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%3AOJ.L_.2014.257.01.0073.01.ENG", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015D0296", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R0806", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R1501", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015R1502", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015D1505", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32015D1984", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54410", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54415", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54414", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54411", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=54412", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53856", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53855", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53857", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53858", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53859", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=53854", "https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12528-EU-digital-ID-scheme-for-online-transactions-across-Europe/public-consultation_en", "https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12528-EU-digital-ID-scheme-for-online-transactions-across-Europe_en", "http://ec.europa.eu/newsroom/dae/document.cfm?doc_id=61682", "http://europa.eu/rapid/press-release_MEMO-14-586_en.htm", "https://eidas.ec.europa.eu/efda/home", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%3AOJ.L_.2014.257.01.0073.01.ENG", "https://ec.social-network.europa.eu/@digitaleu", "https://www.linkedin.com/showcase/digital-eu/", "https://www.facebook.com/DigitalEU", "https://www.youtube.com/c/DigitalEU", "https://www.instagram.com/DigitalEU/", "https://x.com/DigitalEU", "https://ec.europa.eu/info/departments/communications-networks-content-and-technology_en", "https://ec.social-network.europa.eu/@EUCommission", "http://www.linkedin.com/company/european-commission", "https://bsky.app/profile/ec.europa.eu", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://commission.europa.eu/about/contact_en", "https://commission.europa.eu/legal-notice/vulnerability-disclosure-policy_en", "https://commission.europa.eu/languages-our-websites_en", "https://commission.europa.eu/cookies-policy_en", "https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en", "https://commission.europa.eu/legal-notice_en"]} {"url": "https://digital-strategy.ec.europa.eu/en/policies/guidelines-transparency-ai-generated-content", "titulek": "Guidelines on transparency obligations for providers and deployers of certain AI systems | Shaping Europe’s digital future", "h1": "Guidelines on transparency obligations for providers and deployers of certain AI systems", "popis": "These guidelines help providers and deployers of AI systems and competent authorities in ensuring compliance with the transparency obligations under Article 50 of the AI Act.", "klicova_slova": "", "kanonicka": "https://digital-strategy.ec.europa.eu/en/policies/guidelines-ai-transparency-obligations", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Shaping Europe’s digital future", "og:type": "Policy", "og:title": "Guidelines on transparency obligations for providers and deployers of certain AI systems", "og:description": "These guidelines help providers and deployers of AI systems and competent authorities in ensuring compliance with the transparency obligations under Article 50 of the AI Act.", "og:locale:alternate": "sv_SE"}, "jsonld": [], "drobecky": ["Home", "Policies", "Artificial Intelligence", "European approach to artificial intelligence", "Guidelines on transparency obligations for providers and deployers of certain AI systems"], "osnova": [{"uroven": 2, "text": "Transparency obligations for AI providers and deployers"}, {"uroven": 2, "text": "Content of the guidelines"}, {"uroven": 2, "text": "Related Content"}, {"uroven": 3, "text": "Big Picture"}], "markdown": "The guidelines clarify these obligations, providing legal certainty about the scope and complementing the [Code of Practice on Transparency of AI-generated Content](https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content). The guidelines were developed with input provided by Member States, the AI Board and other stakeholders through a [public consultation](https://with regard to the obligations for marking and labelling of AI-generated content).\n\n[Download the Guidelines on transparency obligations for providers and deployers of AI systems](https://digital-strategy.ec.europa.eu/en/library/guidelines-transparency-obligations-providers-and-deployers-ai-systems)\n\n## Transparency obligations for AI providers and deployers\n\nThe rapid development of generative and interactive AI systems is making it increasingly difficult to distinguish AI interactions and AI-generated content from human-created and authentic content. Individuals are also increasingly being exposed to emotion recognition and biometric categorisation without their knowledge. This is raising new risks of misinformation and manipulation at scale, fraud, impersonation, and consumer deception.\n\n[Article 50 of the AI Act](https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-50) applies from 2 August 2026. It sets out transparency obligations for providers and deployers of certain AI systems, including generative and interactive AI systems and deepfakes.\n\nProviders must:\n\n- Design AI systems in a way that ensures individuals are explicitly informed whenever they interact with an AI system directly\n- Add machine-readable marks to enable the detection of AI-generated or manipulated content\n\nDeployers of AI systems must inform individuals when they are exposed to:\n\n- Emotion recognition and biometric categorisation tools\n- Deepfakes\n- Text publications on matters of public interest without human review or editorial control\n\nThese obligations are intended to foster trust and integrity in the information ecosystem. People should know when they are interacting with AI or exposed to AI-generated content. This will help them make informed decisions, calibrate their trust and reliance on AI and avoid mis information or deception.\n\nThe [National market surveillance authorities](https://digital-strategy.ec.europa.eu/en/policies/market-surveillance-authorities-under-ai-act), the [AI Office](https://digital-strategy.ec.europa.eu/en/policies/ai-office) (for systems under its supervision), and the [European Data Protection Supervisor](https://www.edps.europa.eu/_en) (when EU institutions are providers/deployers) are responsible for enforcing these rules.\n\n## Content of the guidelines\n\nThe guidelines clarify the notion of ‘providers and deployers of AI systems’ setting clear expectations regarding which transparency obligations apply to each stakeholder along the value chain. They provide definitions of certain concepts and outline exemptions and diverse, practical examples of what is in and out of scope. These include definitions of directly interactive AI systems, synthetic content, deepfakes, AI-generated text on matters of public interest and examples of exceptions, such as standard editing.\n\nThe guidelines also explain how compliance with the transparency obligations of the AI Act may be demonstrated, including through adherence to the [Code of Practice on Transparency of AI-generated Content](https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content). Providers and deployers of generative AI systems that decide not to adhere to the code will have to demonstrate compliance with obligations for marking and labelling of AI-generated content through alternative equivalently adequate means. For the other transparency obligations (e.g. regarding AI systems interacting with individuals), providers and deployers can determine adequate measures themselves, while taking into account the guidelines.\n\n## Related Content\n\n### Big Picture\n\n[European approach to artificial intelligence](/en/policies/european-approach-artificial-intelligence)\n\nThe EU’s approach to artificial intelligence promotes excellence and trust, by boosting research and industrial capacity while ensuring safety and fundamental rights.", "znaku_textu": 4244, "slov": 548, "odkazu": 75, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:38", "sha256": "00335468dd3b6139eee6da89aa1782198174300cebf800ff68188dd2e8e2b51f", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commission.europa.eu/index_en", "https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-50", "https://www.edps.europa.eu/_en", "https://ec.social-network.europa.eu/@digitaleu", "https://www.linkedin.com/showcase/digital-eu/", "https://www.facebook.com/DigitalEU", "https://www.youtube.com/c/DigitalEU", "https://www.instagram.com/DigitalEU/", "https://x.com/DigitalEU", "https://ec.europa.eu/info/departments/communications-networks-content-and-technology_en", "https://ec.social-network.europa.eu/@EUCommission", "http://www.linkedin.com/company/european-commission", "https://bsky.app/profile/ec.europa.eu", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://commission.europa.eu/about/contact_en", "https://commission.europa.eu/legal-notice/vulnerability-disclosure-policy_en", "https://commission.europa.eu/languages-our-websites_en", "https://commission.europa.eu/cookies-policy_en", "https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en", "https://commission.europa.eu/legal-notice_en"]} {"url": "https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai", "titulek": "AI Act | Shaping Europe’s digital future", "h1": "AI Act", "popis": "The AI Act is the first-ever legal framework on AI, which addresses the risks of AI and positions Europe to play a leading role globally.", "klicova_slova": "", "kanonicka": "https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Shaping Europe’s digital future", "og:type": "Policy", "og:title": "AI Act", "og:description": "The AI Act is the first-ever legal framework on AI, which addresses the risks of AI and positions Europe to play a leading role globally.", "og:locale:alternate": "sv_SE"}, "jsonld": [], "drobecky": ["Home", "Policies", "Artificial Intelligence", "European approach to artificial intelligence", "AI Act"], "osnova": [{"uroven": 2, "text": "Why do we need rules on AI?"}, {"uroven": 2, "text": "A Risk-based Approach"}, {"uroven": 3, "text": "Unacceptable risk"}, {"uroven": 3, "text": "High risk"}, {"uroven": 3, "text": "Transparency risk"}, {"uroven": 3, "text": "Minimal or no risk"}, {"uroven": 2, "text": "How does it all work in practice for providers of high-risk AI systems?"}, {"uroven": 2, "text": "What are the rules for General-Purpose AI models?"}, {"uroven": 2, "text": "Supporting compliance"}, {"uroven": 2, "text": "Governance and enforcement"}, {"uroven": 2, "text": "Application timeline"}, {"uroven": 2, "text": "How has the Commission simplified the implementation of the AI Act?"}, {"uroven": 2, "text": "Latest News"}, {"uroven": 2, "text": "Policy and legislation"}, {"uroven": 2, "text": "Report / Study"}, {"uroven": 2, "text": "Factsheet / infographic"}, {"uroven": 2, "text": "Brochure"}, {"uroven": 2, "text": "Related Content"}, {"uroven": 3, "text": "Big Picture"}], "markdown": "The [AI Act](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32024R1689) (Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence) is the first-ever comprehensive legal framework on AI worldwide. The aim of the rules is to foster trustworthy AI in Europe. For any **questions on the AI Act**, check out the [**AI Act Single Information platform**](https://ai-act-service-desk.ec.europa.eu/en).\n\nThe AI Act sets out a risk-based rules for AI developers and deployers regarding specific uses of AI. It is part of a wider package of policy measures to support the development of trustworthy AI, which includes the [AI Continent Action Plan](https://digital-strategy.ec.europa.eu/en/factpages/ai-continent-action-plan), the [AI Innovation Package](https://ec.europa.eu/commission/presscorner/detail/en/ip_24_383) and the launch of [AI Factories](https://digital-strategy.ec.europa.eu/en/policies/ai-factories). Together, these measures guarantee safety, fundamental rights and human-centric AI, and strengthen uptake, investment and innovation in AI across the EU.\n\nTo facilitate the transition to the new regulatory framework, the Commission has launched the [AI Pact](https://digital-strategy.ec.europa.eu/en/policies/ai-pact), a voluntary initiative that seeks to support the future implementation, engage with stakeholders and invite AI providers and deployers from Europe and beyond to comply with the key obligations of the AI Act. In parallel, the [AI Act Service Desk](https://ai-act-service-desk.ec.europa.eu/en) is also providing information and support for a smooth and effective implementation of the AI Act across the EU.\n\n## Why do we need rules on AI?\n\nThe AI Act ensures that Europeans can trust what AI has to offer. While most AI systems pose limited to no risk and can contribute to solving many societal challenges, certain AI systems create risks that we must address to avoid undesirable outcomes.\n\nFor example, it is often not possible to find out why an AI system has made a decision or prediction and taken a particular action. So, it may become difficult to assess whether someone has been unfairly disadvantaged, such as in a hiring decision or in an application for a public benefit scheme.\n\nAlthough existing legislation provides some protection, it is insufficient to address the specific challenges AI systems may bring.\n\n## A Risk-based Approach\n\nThe AI Act defines 4 levels of risk for AI systems:\n\n### Unacceptable risk\n\nAll AI systems considered a clear threat to the safety, livelihoods and rights of people are banned. The **AI Act prohibits nine practices**, namely:\n\n1. harmful AI-based manipulation and deception\n2. harmful AI-based exploitation of vulnerabilities\n3. social scoring\n4. Individual criminal offence risk assessment or prediction\n5. untargeted scraping of the internet or CCTV material to create or expand facial recognition databases\n6. emotion recognition in workplaces and education institutions\n7. biometric categorisation to deduce certain protected characteristics\n8. real-time remote biometric identification for law enforcement purposes in publicly accessible spaces\n9. AI systems that generate non-consensual sexually explicit and intimate content or child sexual abuse (CSAM) material, such as AI ‘nudification' apps\n\nProhibitions 1-8 became effective in February 2025. The Commission published 2 key documents to support the practical application of the prohibited practices:\n\n- The [guidelines on prohibited AI practices under the AI Act](https://digital-strategy.ec.europa.eu/en/library/commission-publishes-guidelines-prohibited-artificial-intelligence-ai-practices-defined-ai-act) , which offer legal explanations and practical examples to help stakeholders understand and comply with the prohibitions.\n- The [guidelines on the AI system definition of the AI Act](https://digital-strategy.ec.europa.eu/en/library/commission-publishes-guidelines-ai-system-definition-facilitate-first-ai-acts-rules-application) , to assist stakeholders in determining the scope of the AI Act\n\nProhibition 9 comes into effect in December 2026 and was introduced as a part of the AI Omnibus.\n\n### High risk\n\nAI use cases that can pose serious risks to health, safety or fundamental rights are classified as high-risk. These **high-risk**use-cases include:\n\n- AI safety components in critical infrastructures (e.g. transport), the failure of which could put the life and health of citizens at risk\n- AI solutions used in education institutions, that may determine the access to education and course of someone’s professional life (e.g. scoring of exams)\n- AI-based safety components of products (e.g. AI application in robot-assisted surgery)\n- AI tools for employment, management of workers and access to self-employment (e.g. CV-sorting software for recruitment)\n- Certain AI use-cases utilised to give access to essential private and public services (e.g. credit scoring denying citizens opportunity to obtain a loan)\n- AI systems used for remote biometric identification, emotion recognition and biometric categorisation (e.g. AI system to retroactively identify a shoplifter)\n- AI use-cases in law enforcement that may interfere with people’s fundamental rights (e.g. evaluation of the reliability of evidence)\n- AI use-cases in migration, asylum and border control management (e.g. automated examination of visa applications)\n- AI solutions used in the administration of justice and democratic processes (e.g. AI solutions to prepare court rulings)\n\nStarting on 2 December 2027,**high-risk AI systems** will be subject to **strict obligations** before they can be put on the market:\n\n- adequate risk assessment and mitigation systems\n- high-quality of the datasets feeding the system to minimise risks of discriminatory outcomes\n- logging of activity to ensure traceability of results\n- detailed documentation providing all information necessary on the system and its purpose for authorities to assess its compliance\n- clear and adequate information to the deployer\n- appropriate human oversight measures\n- high level of robustness, cybersecurity and accuracy\n\n### Transparency risk\n\nThis refers to the risks associated with a need for transparency around the use of AI. The AI Act introduces specific disclosure obligations to ensure that humans are informed when necessary to preserve trust. For instance, when using AI systems such as chatbots, humans should be made aware that they are interacting with a machine so they can take an informed decision.\n\nMoreover, providers of generative AI have to ensure that AI-generated content is identifiable. On top of that, certain AI-generated content should be clearly and visibly labelled, namely deep fakes and text published with the purpose to inform the public on matters of public interest.\n\nThe transparency rules of the AI Act will come into effect in August 2026.\n\n### Minimal or no risk\n\nThe AI Act does not introduce rules for AI that is deemed minimal or no risk. The vast majority of AI systems currently used in the EU fall into this category. This includes applications such as AI-enabled video games or spam filters.\n\n## How does it all work in practice for providers of high-risk AI systems?\n\nOnce an AI system is on the market, authorities are in charge of market surveillance, deployers ensure human oversight and monitoring, and providers have a post-market monitoring system in place. Providers and deployers will also report serious incidents and malfunctioning.\n\n## What are the rules for General-Purpose AI models?\n\nGeneral-purpose AI (GPAI) models can perform a wide range of tasks and are becoming the basis for many AI systems in the EU. Some of these models could carry systemic risks if they are very capable or widely used. To ensure safe and trustworthy AI, the AI Act puts in place rules – e.g. on transparency and copyright – for providers of GPAI models. For GPAI models that may pose systemic risks, providers should assess and mitigate those risks. The AI Act rules on GPAI became effective in August 2025.\n\n## Supporting compliance\n\nIn July 2025, the Commission published 3 instruments to support the responsible development and deployment of GPAI models:\n\n- The [Guidelines on the scope of the obligations for providers of GPAI models](https://digital-strategy.ec.europa.eu/en/library/guidelines-scope-obligations-providers-general-purpose-ai-models-under-ai-act) clarify the scope of the GPAI obligations under the AI Act, helping actors along the AI value chain understand who must comply with these obligations.\n- The [GPAI Code of Practice](https://digital-strategy.ec.europa.eu/en/policies/contents-code-gpai) is a voluntary compliance tool submitted to the Commission by independent experts, which offers practical guidance to help providers comply with their obligations under the AI Act related to transparency, copyright, and safety & security.\n- The [Template for the public summary of training content of GPAI models](https://digital-strategy.ec.europa.eu/en/library/explanatory-notice-and-template-public-summary-training-content-general-purpose-ai-models) requires providers to give an overview of the data used to train their models. This includes the sources from which the data was obtained (comprising large datasets and top domain names).The template also requests information about data processing aspects to enable parties with legitimate interests to exercise their rights under EU law.\n\nThese tools are designed to work hand-in-hand. Together, they provide a clear and actionable framework for providers of GPAI models to comply with the AI Act, reducing administrative burden, and fostering innovation while safeguarding fundamental rights and public trust.\n\nThe Commission has also developed other guidance to support compliance with the AI Act’s transparency rules:\n\n- The [Code of Practice on Marking and Labelling of AI-generated Content](https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content) is a voluntary tool to guide providers and deployers of generative AI systems to comply with transparency obligations. These include a [set of icons](https://digital-strategy.ec.europa.eu/en/policies/eu-icons-labelling-ai-generated-content) that creators, publishers and other deployers of generative AI systems may use to disclose the artificial nature of certain images, audio – including deepfakes – and text.\n- The [Guidelines on transparency obligations for providers and deployers of certain AI systems](https://digital-strategy.ec.europa.eu/en/policies/guidelines-transparency-ai-generated-content) clarify the scope of application, relevant legal definitions, the transparency obligations and the exceptions.\n\nFind out more about [other guidelines supporting the implementation of the AI Act](https://digital-strategy.ec.europa.eu/en/news/supporting-implementation-ai-act-clear-guidelines).\n\n## Governance and enforcement\n\nFrom 2 August 2026, the AI Office and authorities of the Member States are responsible for implementing, [supervising and enforcing the AI Act](https://digital-strategy.ec.europa.eu/en/policies/enforcement-ai-act). The AI Office holds enforcement powers over GPAI models. It can request technical documentation, evaluate models, require corrective measures and issue fines for non-compliance.\n\nSupporting enforcement, the [AI Board](https://digital-strategy.ec.europa.eu/en/policies/ai-board), the [Scientific Panel](https://digital-strategy.ec.europa.eu/en/policies/ai-scientific-panel) and the [Advisory Forum](https://digital-strategy.ec.europa.eu/en/policies/ai-advisory-forum) steer and advise the [AI Act’s governance](https://digital-strategy.ec.europa.eu/en/policies/ai-act-governance-and-enforcement).\n\nThe July 2026 [action plan on Cybersecurity and AI](https://digital-strategy.ec.europa.eu/en/library/eu-action-plan-cybersecurity-and-artificial-intelligence) sets out a coordinated approach to help Member States, businesses and public authorities address cybersecurity and resilience challenges posed by the most advanced AI models. The Commission will launch a call to increase EU evaluation capacity of AI models, before they are placed in the EU market. Expected to be operational by 2027, this will strengthen third-party assessment of AI capabilities and risks and contribute to the regulatory function of the AI Office.\n\nThe Commission and the [European Union Agency for Cybersecurity (ENISA)](https://www.enisa.europa.eu/) will also create a blueprint to secure access to advanced AI systems for cybersecurity purposes and establish a secure testing platform to help organisations in critical sectors - such as energy, transport, health, finance and public administration - safely test and deploy AI solutions.\n\n## Application timeline\n\nThe AI Act entered into force on 1 August 2024 and became applicable on 2 August 2026, with some exceptions:\n\n- prohibited AI practices and AI literacy obligations entered into application from 2 February 2025\n- the governance rules and the obligations for GPAI models became applicable on 2 August 2025\n- the rules for high-risk AI systems embedded into regulated products ( [Annex I](https://ai-act-service-desk.ec.europa.eu/en/ai-act/annex-1) ) have an extended transition period until 2 August 2028 and the rules for high-risk use cases in certain sensitive areas ( [Annex III](https://ai-act-service-desk.ec.europa.eu/en/ai-act/annex-3) ) have been extended to 2 December 2027 as a result of the political agreement on the proposal to simplify the AI Act – ' [AI Omnibus](https://digital-strategy.ec.europa.eu/en/library/digital-omnibus-ai-regulation-proposal) '\n\n## How has the Commission simplified the implementation of the AI Act?\n\nThe [Digital Package on Simplification](https://digital-strategy.ec.europa.eu/en/policies/digital-rulebook) proposed amendments to simplify the AI Act implementation and ensure the rules remain clear, simple, and innovation-friendly. This legislative proposal (dubbed as the '[AI Omnibus](https://digital-strategy.ec.europa.eu/en/library/digital-omnibus-ai-regulation-proposal)') was adopted on 19 November 2025, a [political agreement](https://digital-strategy.ec.europa.eu/en/news/eu-agrees-simplify-ai-rules-boost-innovation-and-ban-nudification-apps-protect-citizens) was reached on 7 May 2026 and [entered into force on 27 July 2026](https://digital-strategy.ec.europa.eu/en/news/ai-omnibus-enters-force). Find the final text of the [AI Omnibus Regulation](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ:L_202601744).\n\nAs a result, a **clear implementation timeline** is set for the rules governing**high-risk AI systems**:\n\n- Rules for **systems used in certain high-risk areas** — including biometrics, critical infrastructure, education, employment, migration, asylum and border control — will **apply from 2 December 2027** .\n- For **systems integrated into products** such as lifts or toys, the rules will **apply from 2 August 2028** .\n\nThis ensures the rules apply when companies have the right support tools to facilitate implementation, such as standards.\n\nThese **amendments**were also added to the AI Act:\n\n- **Prohibition of AI systems that generate non-consensual sexually explicit and intimate content** or child sexual abuse material, such as AI ‘nudification' apps\n- **Reinforce the AI Office’s powers** and centralise oversight of AI systems built on GPAI models, reducing governance fragmentation\n- **Certain simplified requirements** granted to small and medium-sized enterprises are extended to small mid-cap companies (SMEs and SMCs), including simplified technical documentation requirements\n- More innovators will gain access to **regulatory sandboxes** , including an EU-level sandbox, to test their AI solutions in real-world conditions\n- The **interplay between the AI Act and EU product safety laws** , in particular the Machinery Regulation, is clarified, avoiding duplication between sectoral and AI rules.\n\nAll this complements AI Office's actions already in place to provide clarity for businesses and national authorities. For instance, through guidelines, codes of practice, and the [AI Act Service Desk](https://ai-act-service-desk.ec.europa.eu/en).\n\n## Latest News\n\nPRESS RELEASE \n | 31 August 2026\n\n[Executive Vice-President Virkkunen in the US for G20 Ministerial meetings](/en/news/executive-vice-president-virkkunen-us-g20-ministerial-meetings)\n\nPRESS RELEASE \n | 31 July 2026\n\n[Commission starts enforcing AI Act rules and new transparency requirements on 2 August](/en/news/commission-starts-enforcing-ai-act-rules-and-new-transparency-requirements-2-august)\n\nPRESS RELEASE \n | 30 July 2026\n\n[EU launches AI Gigafactories call to boost Europe's computing capacity and unlock more than €30 billion in investment](/en/news/eu-launches-ai-gigafactories-call-boost-europes-computing-capacity-and-unlock-more-eu30-billion)\n\nPRESS RELEASE \n | 20 July 2026\n\n[Commission publishes guidelines on transparency obligations for providers and deployers of certain AI systems](/en/news/commission-publishes-guidelines-transparency-obligations-providers-and-deployers-certain-ai-systems)\n\nPRESS RELEASE \n | 07 July 2026\n\n[Commission presents EU Action Plan on Cybersecurity and Artificial Intelligence](/en/news/commission-presents-eu-action-plan-cybersecurity-and-artificial-intelligence)\n\nPRESS RELEASE \n | 19 June 2026\n\n[Commission selects EUROPA consortium as the winner of the Frontier AI Grand Challenge, a project to build European open-source frontier AI model in all 24 EU languages](/en/news/commission-selects-europa-consortium-winner-frontier-ai-grand-challenge-project-build-european-open)\n\n[Browse Artificial intelligence](/en/related-content?topic=119)\n\n## Policy and legislation\n\n- 20-07-2026 [Guidelines on transparency obligations for providers and deployers of AI systems](/en/library/guidelines-transparency-obligations-providers-and-deployers-ai-systems)\n- 09-07-2026 [Commission opinion on the assessment of the Code of Practice on Transparency of AI-generated Content](/en/library/commission-opinion-assessment-code-practice-transparency-ai-generated-content)\n- 07-07-2026 [EU Action Plan on Cybersecurity and Artificial Intelligence](/en/library/eu-action-plan-cybersecurity-and-artificial-intelligence)\n\n[More](/en/related-content?topic=119&type=25)\n\n## Report / Study\n\n- 15-07-2026 [AI Office publishes frontier AI expert findings on EU competitiveness, sovereignty and security](/en/library/ai-office-publishes-frontier-ai-expert-findings-eu-competitiveness-sovereignty-and-security)\n- 13-07-2026 [New feasibility study for introducing an EU-level registry of Text and Data Mining opt-out](/en/library/new-feasibility-study-introducing-eu-level-registry-text-and-data-mining-opt-out)\n- 19-05-2026 [European Commission and OECD collaborate on monitoring national AI strategies and AI investments](/en/library/european-commission-and-oecd-collaborate-monitoring-national-ai-strategies-and-ai-investments)\n\n[More](/en/related-content?topic=119&type=28)\n\n## Factsheet / infographic\n\n- 07-07-2026 [Factsheet - Action Plan on Cybersecurity and Artificial Intelligence](/en/library/factsheet-action-plan-cybersecurity-and-artificial-intelligence)\n- 08-10-2025 [The Commission internal use of Artificial Intelligence](/en/library/commission-internal-use-artificial-intelligence)\n- 05-06-2025 [Factsheet on the International Digital Strategy for the European Union](/en/library/factsheet-international-digital-strategy-european-union)\n\n[More](/en/related-content?topic=119&type=21)\n\n## Brochure\n\n- 22-12-2025 [The rise of the intelligent edge – Insights into MetaOS](/en/library/rise-intelligent-edge-insights-metaos)\n- 04-02-2025 [Living repository to foster learning and exchange on AI literacy](/en/library/living-repository-foster-learning-and-exchange-ai-literacy)\n- 04-03-2024 [Horizon Europe: new projects in AI, Data and Robotics - 2024 Edition](/en/library/horizon-europe-new-projects-ai-data-and-robotics-2024-edition)\n\n[More](/en/related-content?topic=119&type=17)\n\n## Related Content\n\n### Big Picture\n\n[European approach to artificial intelligence](/en/policies/european-approach-artificial-intelligence)\n\nThe EU’s approach to artificial intelligence promotes excellence and trust, by boosting research and industrial capacity while ensuring safety and fundamental rights.\n\n- [The enforcement framework of the AI Act](/en/policies/enforcement-ai-act)The enforcement of the AI Act is shared between the European Commission’s AI Office, the European...\n- [AI talent, skills and literacy](/en/policies/ai-talent-skills-and-literacy)The Commission aims to increase the number of AI experts by training and attracting more researchers...\n- [Standardisation of the AI Act](/en/policies/ai-act-standardisation)Harmonised standards will offer legal certainty under the AI Act, support innovation, and position...\n- [AI Act Whistleblower Tool](/en/policies/ai-act-whistleblower-tool)The AI Act Whistleblower Tool empowers individuals to securely submit a report and contribute...\n- [AI Act complaints tool](/en/policies/ai-act-complaints-tool)The AI Act Complaint Tool allows individuals and organisations to submit complaints to the AI...", "znaku_textu": 20993, "slov": 2887, "odkazu": 130, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:39", "sha256": "cf2d07f80006c7a9c9d8cdbc750265b2c7447ff3d17d5efb655a4fb4625fa2e3", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://commission.europa.eu/index_en", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32024R1689", "https://ai-act-service-desk.ec.europa.eu/en", "https://ec.europa.eu/commission/presscorner/detail/en/ip_24_383", "https://www.enisa.europa.eu/", "https://ai-act-service-desk.ec.europa.eu/en/ai-act/annex-1", "https://ai-act-service-desk.ec.europa.eu/en/ai-act/annex-3", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ%3AL_202601744", "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ%3AL_202401689", "https://ec.social-network.europa.eu/@digitaleu", "https://www.linkedin.com/showcase/digital-eu/", "https://www.facebook.com/DigitalEU", "https://www.youtube.com/c/DigitalEU", "https://www.instagram.com/DigitalEU/", "https://x.com/DigitalEU", "https://ec.europa.eu/info/departments/communications-networks-content-and-technology_en", "https://ec.social-network.europa.eu/@EUCommission", "http://www.linkedin.com/company/european-commission", "https://bsky.app/profile/ec.europa.eu", "https://www.facebook.com/EuropeanCommission", "https://www.youtube.com/user/eutube", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://commission.europa.eu/about/contact_en", "https://commission.europa.eu/legal-notice/vulnerability-disclosure-policy_en", "https://commission.europa.eu/languages-our-websites_en", "https://commission.europa.eu/cookies-policy_en", "https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en", "https://commission.europa.eu/legal-notice_en"]} {"url": "https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/retry-backoff.html", "titulek": "Retry with backoff pattern - AWS Prescriptive Guidance", "h1": "Retry with backoff pattern", "popis": "Modernization pattern that improves application stability by transparently retrying operations that fail.", "klicova_slova": "AWS prescriptive guidance,Modernization,ContainersAndMicroservices,Serverless,Migration,ApiGateway,DynamoDB,Lambda,StepFunctions", "kanonicka": "https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/retry-backoff.html", "jazyk": "en-US", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "AWS", "item": "https://aws.amazon.com"}, {"@type": "ListItem", "position": 2, "name": "AWS Prescriptive Guidance", "item": "https://aws.amazon.com/prescriptive-guidance/"}, {"@type": "ListItem", "position": 3, "name": "Cloud design patterns, architectures, and implementations", "item": "https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns"}, {"@type": "ListItem", "position": 4, "name": "Retry with backoff pattern", "item": "https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/retry-backoff.html"}]}], "drobecky": ["AWS", "AWS Prescriptive Guidance", "Cloud design patterns, architectures, and implementations", "Retry with backoff pattern"], "osnova": [{"uroven": 1, "text": "Retry with backoff pattern"}, {"uroven": 2, "text": "Intent"}, {"uroven": 2, "text": "Motivation"}, {"uroven": 2, "text": "Applicability"}, {"uroven": 2, "text": "Issues and considerations"}, {"uroven": 2, "text": "Implementation"}, {"uroven": 3, "text": "High-level architecture"}, {"uroven": 3, "text": "Implementation using AWS services"}, {"uroven": 3, "text": "Sample code"}, {"uroven": 3, "text": "GitHub repository"}, {"uroven": 2, "text": "Related content"}], "markdown": "Retry with backoff pattern - AWS Prescriptive GuidanceIntentMotivationApplicabilityIssues and considerationsImplementationRelated contentRetry with backoff patternIntentThe retry with backoff pattern improves application stability by transparently retrying operations that fail due to transient errors.MotivationIn distributed architectures, transient errors might be caused by service throttling, temporary loss of network connectivity, or temporary service unavailability. Automatically retrying operations that fail because of these transient errors improves the user experience and application resilience. However, frequent retries can overload network bandwidth and cause contention. Exponential backoff is a technique where operations are retried by increasing wait times for a specified number of retry attempts.ApplicabilityUse the retry with backoff pattern when:Your services frequently throttle the request to prevent overload, resulting in a *429 Too many requests* exception to the calling process.The network is an unseen participant in distributed architectures, and temporary network issues result in failures.The service being called is temporarily unavailable, causing failures. Frequent retries might cause service degradation unless you introduce a backoff timeout by using this pattern.Issues and considerations**Idempotency**: If multiple calls to the method have the same effect as a single call on the system state, the operation is considered idempotent. Operations should be idempotent when you use the retry with backoff pattern. Otherwise, partial updates might corrupt the system state.**Network bandwidth**: Service degradation can occur if too many retries occupy network bandwidth, leading to slow response times.**Fail fast scenarios**: For non-transient errors, if you can determine the cause of the failure, it is more efficient to fail fast by using the circuit breaker pattern.**Backoff rate**: Introducing exponential backoff can have an impact on the service timeout, resulting in longer wait times for the end user.ImplementationHigh-level architectureThe following diagram illustrates how Service A can retry the calls to Service B until a successful response is returned. If Service B doesn't return a successful response after a few tries, Service A can stop retrying and return a failure to its caller.Implementation using AWS servicesThe following diagram shows a ticket processing workflow on a customer support platform. Tickets from unhappy customers are expedited by automatically escalating the ticket priority. The `Ticket info` Lambda function extracts the ticket details and calls the `Get sentiment` Lambda function. The `Get sentiment` Lambda function checks the customer sentiments by passing the description to [Amazon Comprehend](https://aws.amazon.com/comprehend/) (not shown).If the call to the `Get sentiment` Lambda function fails, the workflow retries the operation three times. AWS Step Functions allows exponential backoff by letting you configure the backoff value.In this example, a maximum of three retries are configured with an increase multiplier of 1.5 seconds. If the first retry occurs after 3 seconds, the second retry occurs after 3 x 1.5 seconds = 4.5 seconds, and the third retry occurs after 4.5 x 1.5 seconds = 6.75 seconds. If the third retry is unsuccessful, the workflow fails. The backoff logic doesn't require any custom code―it's provided as a configuration by AWS Step Functions.Sample codeThe following code shows the implementation of the retry with backoff pattern.`public async Task DoRetriesWithBackOff()\n {\n int retries = 0;\n bool retry;\n do\n {\n //Sample object for sending parameters\n var parameterObj = new InputParameter { SimulateTimeout = \"false\" };\n var content = new StringContent(JsonConvert.SerializeObject(parameterObj), \n System.Text.Encoding.UTF8, \"application/json\");\n var waitInMilliseconds = Convert.ToInt32((Math.Pow(2, retries) - 1) * 100);\n System.Threading.Thread.Sleep(waitInMilliseconds);\n var response = await _client.PostAsync(_baseURL, content);\n switch (response.StatusCode)\n {\n //Success\n case HttpStatusCode.OK:\n retry = false;\n Console.WriteLine(response.Content.ReadAsStringAsync().Result);\n break;\n //Throttling, timeouts \n case HttpStatusCode.TooManyRequests:\n case HttpStatusCode.GatewayTimeout:\n retry = true;\n break;\n //Some other error occured, so stop calling the API\n default:\n retry = false;\n break;\n }\n retries++;\n } while (retry && retries < MAX_RETRIES);\n }`GitHub repositoryFor a complete implementation of the sample architecture for this pattern, see the GitHub repository at [https://github.com/aws-samples/retry-with-backoff](https://github.com/aws-samples/retry-with-backoff).Related content[Timeouts, retries, and backoff with jitter](https://aws.amazon.com/builders-library/timeouts-retries-and-backoff-with-jitter/) (Amazon Builders' Library)[Document Conventions](/general/latest/gr/docconventions.html)Publish-subscribe patternSaga patternsDid this page help you? - YesThanks for letting us know we're doing a good job!If you've got a moment, please tell us what we did right so we can do more of it.Did this page help you? - NoThanks for letting us know this page needs work. We're sorry we let you down.If you've got a moment, please tell us how we can make the documentation better.", "znaku_textu": 5302, "slov": 703, "odkazu": 15, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:40", "sha256": "225667f6523f714395dc23e97be1717f3e2fc6ff9c230f545eb9d837ea46e677", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://aws.amazon.com/prescriptive-guidance/", "https://aws.amazon.com/comprehend/", "https://github.com/aws-samples/retry-with-backoff", "https://aws.amazon.com/builders-library/timeouts-retries-and-backoff-with-jitter/"]} {"url": "https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html", "titulek": "AWS Well-Architected Framework - AWS Well-Architected Framework", "h1": "AWS Well-Architected Framework", "popis": "The AWS Well-Architected Framework helps you understand the pros and cons of decisions you make while building systems on AWS. By using the Framework you will learn architectural best practices for designing and operating reliable, secure, efficient, and cost-effective systems in the cloud.", "klicova_slova": "", "kanonicka": "https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html", "jazyk": "en-US", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "AWS", "item": "https://aws.amazon.com"}, {"@type": "ListItem", "position": 2, "name": "AWS Well-Architected", "item": "https://aws.amazon.com/architecture/well-architected/"}, {"@type": "ListItem", "position": 3, "name": "Framework", "item": "https://docs.aws.amazon.com/wellarchitected/latest/framework"}, {"@type": "ListItem", "position": 4, "name": "AWS Well-Architected Framework", "item": "https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html"}]}], "drobecky": ["AWS", "AWS Well-Architected", "Framework", "AWS Well-Architected Framework"], "osnova": [{"uroven": 1, "text": "AWS Well-Architected Framework"}, {"uroven": 2, "text": "Introduction"}], "markdown": "AWS Well-Architected Framework - AWS Well-Architected FrameworkIntroductionAWS Well-Architected FrameworkPublication date: **November 6, 2024** ([Document revisions](./document-revisions.html))The AWS Well-Architected Framework helps you understand the pros and cons of decisions you \n make while building systems on AWS. By using the Framework you will learn architectural best \n practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems in the cloud. Introduction The AWS Well-Architected Framework helps you understand the pros and cons of decisions\n you make while building systems on AWS. Using the Framework helps you learn architectural\n best practices for designing and operating secure, reliable, efficient, cost-effective, and\n sustainable workloads in the AWS Cloud. It provides a way for you to consistently measure\n your architectures against best practices and identify areas for improvement. The process for\n reviewing an architecture is a constructive conversation about architectural decisions, and is\n not an audit mechanism. We believe that having well-architected systems greatly increases the\n likelihood of business success. AWS Solutions Architects have years of experience architecting solutions across a wide\n variety of business verticals and use cases. We have helped design and review thousands of\n customers’ architectures on AWS. From this experience, we have identified best practices and\n core strategies for architecting systems in the cloud. The AWS Well-Architected Framework documents a set of foundational questions that help\n you to understand if a specific architecture aligns well with cloud best practices. The\n framework provides a consistent approach to evaluating systems against the qualities you expect\n from modern cloud-based systems, and the remediation that would be required to achieve those\n qualities. As AWS continues to evolve, and we continue to learn more from working with our\n customers, we will continue to refine the definition of well-architected. This framework is intended for those in technology roles, such as chief technology\n officers (CTOs), architects, developers, and operations team members. It describes AWS best\n practices and strategies to use when designing and operating a cloud workload, and provides\n links to further implementation details and architectural patterns. For more information, see\n the [AWS\n Well-Architected homepage](https://aws.amazon.com/architecture/well-architected/?ref=wellarchitected-wp). AWS also provides a service for reviewing your workloads at no charge. The [AWS Well-Architected\n Tool](https://aws.amazon.com/well-architected-tool/?ref=wellarchitected-wp) (AWS WA Tool) is a service in the cloud that provides a consistent process for\n you to review and measure your architecture using the AWS Well-Architected Framework. The AWS WA\n Tool provides recommendations for making your workloads more reliable, secure, efficient, and\n cost-effective. To help you apply best practices, we have created [AWS Well-Architected\n Labs](https://www.wellarchitectedlabs.com/?ref=wellarchitected-wp), which provides you with a repository of code and documentation to give you\n hands-on experience implementing best practices. We also have teamed up with select AWS Partner\n Network (APN) Partners, who are members of the [AWS Well-Architected\n Partner program](https://aws.amazon.com/architecture/well-architected/partners/?ref=wellarchitected-wp). These AWS Partners have deep AWS knowledge, and can help you review\n and improve your workloads. [Document Conventions](/general/latest/gr/docconventions.html)DefinitionsDid this page help you? - YesThanks for letting us know we're doing a good job!If you've got a moment, please tell us what we did right so we can do more of it.Did this page help you? - NoThanks for letting us know this page needs work. We're sorry we let you down.If you've got a moment, please tell us how we can make the documentation better.", "znaku_textu": 3997, "slov": 555, "odkazu": 12, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:41", "sha256": "00307549a1ed178139a39148be987336b304cce5866159938af78b5780ed507a", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://aws.amazon.com/architecture/well-architected/", "https://aws.amazon.com/well-architected-tool/", "https://www.wellarchitectedlabs.com/", "https://aws.amazon.com/architecture/well-architected/partners/"]} {"url": "https://docs.getdbt.com/", "titulek": "dbt Developer Hub", "h1": "The dbt Developer Hub", "popis": "", "klicova_slova": "", "kanonicka": "https://docs.getdbt.com/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "dbt Developer Hub", "og:image": "https://docs.getdbt.com/img/avatar.png", "og:url": "https://docs.getdbt.com/", "og:locale": "en"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 2, "text": "Read the developer blog"}, {"uroven": 4, "text": "The dbt MCP server comes to Claude: governed context, one sign-in away"}, {"uroven": 4, "text": "No babysitting, not today"}, {"uroven": 4, "text": "How dbt State actually works to save your compute costs"}], "markdown": "From the team\n\n## Read the developer blog\n\nDeep dives, changelogs, best practices, and new feature highlights from dbt Labs.\n\n[The dbt MCP server comes to Claude: governed context, one sign-in away](/blog/dbt-mcp-server-claude)\n\nThe governed definitions you build in dbt now flow directly into the workflows where the work actually happens.[ai](/blog/tags/ai)[data ecosystem](/blog/tags/data-ecosystem)[Read more](/blog/dbt-mcp-server-claude)\n\n[No babysitting, not today](/blog/wizard-use-cases)\n\ndbt Wizard is a coding harness purpose built for analytics engineering, Developer experience advocate Alex Noonan uses Wizard to solve a...[analytics craft](/blog/tags/analytics-craft)[ai](/blog/tags/ai)[Read more](/blog/wizard-use-cases)\n\n[How dbt State actually works to save your compute costs](/blog/how-dbt-state-works)\n\ndbt State reuses any model it can prove hasn't meaningfully changed — and unlike its predecessor, it works in dbt Core, in development,...[analytics craft](/blog/tags/analytics-craft)[Read more](/blog/how-dbt-state-works)", "znaku_textu": 1034, "slov": 133, "odkazu": 71, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:41", "sha256": "273c0a64559576430cf2dd481a7f49ac5a6d516342add0f4c94e73498a03857c", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.getdbt.com/dbt-summit/", "https://learn.getdbt.com/", "https://discourse.getdbt.com/", "https://www.getdbt.com/resources/webinars", "https://www.getdbt.com/events", "https://login.dbt.com/", "https://www.getdbt.com/signup", "https://www.getdbt.com/community/join-the-community/", "https://github.com/dbt-labs/docs.getdbt.com", "https://www.getdbt.com/learn/newsletter", "https://learn.getdbt.com/catalog", "https://marketplace.visualstudio.com/items?itemName=dbtLabsInc.dbt", "https://www.getdbt.com/contact", "https://www.getdbt.com/resources", "https://www.getdbt.com/dbt-learn", "https://www.getdbt.com/dbt-certification", "https://hub.getdbt.com/", "https://www.getdbt.com/services", "https://www.getdbt.com/partner-directory", "https://status.getdbt.com/", "https://www.linkedin.com/company/dbtlabs/mycompany/", "https://www.youtube.com/channel/UCVpBwKK-ecMEV75y1dYLE5w", "https://www.instagram.com/dbt_labs/", "https://x.com/dbt_labs", "https://bsky.app/profile/getdbt.com", "https://www.getdbt.com/terms-of-use/", "https://www.getdbt.com/cloud/privacy-policy/", "https://www.getdbt.com/security/"]} {"url": "https://docs.github.com/actions", "titulek": "GitHub Actions documentation - GitHub Docs", "h1": "GitHub Actions documentation", "popis": "Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "GitHub Docs", "og:title": "GitHub Actions documentation - GitHub Docs", "og:type": "article", "og:url": "https://docs-internal.github.com/en/actions", "og:image": "https://docs.github.com/assets/cb-345/images/social-cards/actions.png"}, "jsonld": [], "drobecky": ["Scroll breadcrumbs left", "Home", "GitHub Actions", "Scroll breadcrumbs right"], "osnova": [{"uroven": 1, "text": "GitHub Actions documentation"}, {"uroven": 3, "text": "Quickstart for GitHub Actions"}, {"uroven": 3, "text": "Understanding GitHub Actions"}, {"uroven": 3, "text": "Using GitHub-hosted runners"}, {"uroven": 2, "text": "Articles"}, {"uroven": 3, "text": "About custom actions"}, {"uroven": 3, "text": "About GitHub Actions metrics"}, {"uroven": 3, "text": "Actions limits"}, {"uroven": 3, "text": "Actions Runner Controller"}, {"uroven": 3, "text": "Adding a workflow status badge"}, {"uroven": 3, "text": "Adding labels to issues"}, {"uroven": 3, "text": "Adding scripts to your workflow"}, {"uroven": 3, "text": "Adding self-hosted runners"}, {"uroven": 3, "text": "Approving workflow runs from forks"}], "markdown": "# GitHub Actions documentation\n\nAutomate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow.\n\n[Overview](/actions/get-started/understand-github-actions) [Quickstart](/actions/get-started/quickstart)\n\n### [Quickstart for GitHub Actions](/en/free-pro-team@latest/actions/get-started/quickstart)\n\nTry out the core features of GitHub Actions in minutes.\n\n### [Understanding GitHub Actions](/en/free-pro-team@latest/actions/get-started/understand-github-actions)\n\nLearn the basics of core concepts and essential terminology in GitHub Actions.\n\n### [Using GitHub-hosted runners](/en/free-pro-team@latest/actions/how-tos/manage-runners/github-hosted-runners/use-github-hosted-runners)\n\nYou can assign a job to run on a virtual machine hosted by GitHub.\n\n## Articles\n\nReuse and share automations\n\n### [About custom actions](/en/actions/concepts/workflows-and-actions/custom-actions)\n\nActions are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, or use and customize actions shared by the GitHub community.\n\nAdminister GitHub Actions\n\n### [About GitHub Actions metrics](/en/actions/concepts/metrics)\n\nLearn about the GitHub Actions metrics available for your organizations and repositories.\n\nAdminister GitHub Actions\n\n### [Actions limits](/en/actions/reference/limits)\n\nThere are limits in GitHub Actions which you may hit as you scale up, some may be increased by contacting support.\n\nSet up runners\n\n### [Actions Runner Controller](/en/actions/concepts/runners/actions-runner-controller)\n\nYou can host your own runners and customize the environment used to run jobs in your GitHub Actions workflows.\n\nManage and monitor workflow runs\n\n### [Adding a workflow status badge](/en/actions/how-tos/monitor-workflows/add-a-status-badge)\n\nYou can display a status badge in your repository to indicate the status of your workflows.\n\nReuse and share automations\n\n### [Adding labels to issues](/en/actions/tutorials/manage-your-work/add-labels-to-issues)\n\nYou can use GitHub Actions to automatically label issues.\n\nWrite workflows\n\n### [Adding scripts to your workflow](/en/actions/how-tos/write-workflows/choose-what-workflows-do/add-scripts)\n\nYou can use GitHub Actions workflows to run scripts.\n\nSet up runners\n\n### [Adding self-hosted runners](/en/actions/how-tos/manage-runners/self-hosted-runners/add-runners)\n\nYou can add a self-hosted runner to a repository, an organization, or an enterprise.\n\nManage and monitor workflow runs\n\n### [Approving workflow runs from forks](/en/actions/how-tos/manage-workflow-runs/approve-runs-from-forks)\n\nYou can manually approve workflow runs triggered by a contributor's pull request.\n\nShowing 1-9 of 200", "znaku_textu": 2821, "slov": 360, "odkazu": 226, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:42", "sha256": "e81253ed343ef2d12d040059bfb8404b13b86f970e2fd54ef62aaa2ef318a63c", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/", "https://github.com/github/docs/blob/main/content/actions/index.md", "https://github.com/orgs/community/discussions", "https://support.github.com/", "https://services.github.com/", "https://github.blog/", "https://www.githubstatus.com/", "https://github.com/pricing"]} {"url": "https://docs.github.com/en/webhooks/using-webhooks/best-practices-for-using-webhooks", "titulek": "Best practices for using webhooks - GitHub Docs", "h1": "Best practices for using webhooks", "popis": "Follow these best practices to improve security and performance when using webhooks.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "GitHub Docs", "og:title": "Best practices for using webhooks - GitHub Docs", "og:type": "article", "og:url": "https://docs-internal.github.com/en/webhooks/using-webhooks/best-practices-for-using-webhooks", "og:image": "https://docs.github.com/assets/cb-345/images/social-cards/webhooks.png"}, "jsonld": [], "drobecky": ["Scroll breadcrumbs left", "Home", "Webhooks", "Using webhooks", "Best practices", "Scroll breadcrumbs right"], "osnova": [{"uroven": 1, "text": "Best practices for using webhooks"}, {"uroven": 2, "text": "In this article"}, {"uroven": 2, "text": "Use a webhook secret"}, {"uroven": 2, "text": "Use HTTPS and SSL verification"}, {"uroven": 2, "text": "Allow GitHub's IP addresses"}, {"uroven": 2, "text": "Respond within 10 seconds"}, {"uroven": 2, "text": "Check the event type and action before processing the event"}, {"uroven": 2, "text": "Redeliver missed deliveries"}, {"uroven": 2, "text": "Further reading"}], "markdown": "# Best practices for using webhooks\n\nFollow these best practices to improve security and performance when using webhooks.\n\n## In this article\n\nYou should only subscribe to the webhook events that you need. This will reduce the amount of work your server needs to do. For more information about subscribing to events, see [Creating webhooks](/en/webhooks/using-webhooks/creating-webhooks) and [Editing webhooks](/en/webhooks/using-webhooks/editing-webhooks).\n\n## Use a webhook secret\n\nWarning\n\nTo avoid accidental exposure of sensitive information, do **not** include sensitive information in your payload URL.\nThis includes your own API keys and other authentication credentials. Instead, to validate that webhook deliveries were sent by GitHub and have not been tampered with, use a webhook secret. For more information, see [Validating webhook deliveries](/en/webhooks/using-webhooks/validating-webhook-deliveries).\n\nThe webhook secret should be a random string of text with high entropy. You should securely store your webhook secret in a way that your server can access.\n\n## Use HTTPS and SSL verification\n\nYou should ensure that your server uses an HTTPS connection. By default, GitHub will verify SSL certificates when delivering webhooks. GitHub recommends that you leave SSL verification enabled.\n\n## Allow GitHub's IP addresses\n\nYou can set up an IP allow list for your server, and add the IP addresses that GitHub uses for webhook deliveries. This can block spoofed requests to your server.\n\nYou can use the `GET /meta` endpoint to find the current list of GitHub's IP addresses. For more information, see [REST API endpoints for meta data](/en/rest/meta/meta#get-github-meta-information). GitHub occasionally makes changes to its IP addresses, so you should update your IP allow list periodically.\n\nFor more information, see [About GitHub's IP addresses](/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses).\n\n## Respond within 10 seconds\n\nYour server should respond with a 2XX response within 10 seconds of receiving a webhook delivery. If your server takes longer than that to respond, then GitHub terminates the connection and considers the delivery a failure.\n\nIn order to respond in a timely manner, you may want to set up a queue to process webhook payloads asynchronously. Your server can respond when it receives the webhook, and then process the payload in the background without blocking future webhook deliveries. For example, you can use services like [Hookdeck](https://hookdeck.com) or libraries like [Resque](https://github.com/resque/resque/) (Ruby), [RQ](http://python-rq.org/) (Python), or [RabbitMQ](http://www.rabbitmq.com/) (Java).\n\n## Check the event type and action before processing the event\n\nThere are multiple webhook event types, and many events can have multiple action types. GitHub continues to add new event types and new actions to existing event types. Your application should check the event type and action of a webhook payload before processing the payload. To determine the event type, you can use the `X-GitHub-Event` request header. To determine the action type, you can use the top-level `action` key in the event payload.\n\n## Redeliver missed deliveries\n\nIf your server goes down, you should redeliver missed webhooks once your server is back up. For more information, see [Redelivering webhooks](/en/webhooks/testing-and-troubleshooting-webhooks/redelivering-webhooks).\n\nIn a replay attack, a bad actor intercepts a webhook delivery and re-sends the delivery. To protect against replay attacks, you can use the `X-GitHub-Delivery` header to ensure that each delivery is unique per event.\n\nNote\n\nIf you request a redelivery, the `X-GitHub-Delivery` header will be the same as in the original delivery.\n\n## Further reading\n\n- [Best practices for using the REST API](/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api)\n- [Best practices for creating a GitHub App](/en/apps/creating-github-apps/about-creating-github-apps/best-practices-for-creating-a-github-app)", "znaku_textu": 4000, "slov": 590, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:43", "sha256": "994cbcf30abac7f457738c2b9ff721db9d78ac4bf13341af67b3651bb392ed71", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://hookdeck.com/", "https://github.com/resque/resque/", "http://python-rq.org/", "http://www.rabbitmq.com/", "https://github.com/", "https://github.com/github/docs/blob/main/content/webhooks/using-webhooks/best-practices-for-using-webhooks.md", "https://github.com/orgs/community/discussions", "https://support.github.com/", "https://services.github.com/", "https://github.blog/", "https://www.githubstatus.com/", "https://github.com/pricing"]} {"url": "https://docs.gitlab.com/ee/ci/", "titulek": "Get started with GitLab CI/CD | GitLab Docs", "h1": "Get started with GitLab CI/CD", "popis": "Build and test your application.", "klicova_slova": "", "kanonicka": "https://docs.gitlab.com/ci/", "jazyk": "en-us", "robots_meta": "", "og": {"og:site_name": "GitLab Docs"}, "jsonld": [], "drobecky": ["GitLab Docs /", "GitLab Docs", "Use GitLab /", "Use GitLab", "Use CI/CD to build your … /", "Use CI/CD to build your …", "Getting started"], "osnova": [{"uroven": 1, "text": "Get started with GitLab CI/CD"}, {"uroven": 2, "text": "Step 1: Configure your pipeline"}, {"uroven": 2, "text": "Step 2: Find or create runners"}, {"uroven": 2, "text": "Step 3: Use CI/CD variables and expressions"}, {"uroven": 3, "text": "CI/CD variables"}, {"uroven": 3, "text": "CI/CD expressions"}, {"uroven": 2, "text": "Step 4: Use CI/CD components"}], "markdown": "Help us learn about your current experience with the documentation. [Take the survey](https://gitlab.fra1.qualtrics.com/jfe/form/SV_e5Ig7YiRmL0RSm2) .\n\n---\n\n# Get started with GitLab CI/CD\n\n- Tier : Free, Premium, Ultimate\n- Offering : GitLab.com, GitLab Self-Managed, GitLab Dedicated\n\nCI/CD is a continuous method of software development, where you continuously build,\ntest, deploy, and monitor iterative code changes.\n\nThis iterative process helps reduce the chance that you develop new code based on\nbuggy or failed previous versions. GitLab CI/CD can catch bugs early in the development cycle,\nand help ensure that the code deployed to production complies with your established code standards.\n\nThis process is part of a larger workflow:\n\n## Step 1: Configure your pipeline\n\nTo use GitLab CI/CD, add a `.gitlab-ci.yml` file to the root of your project.\nThe `.gitlab-ci.yml` file defines the stages, jobs, and scripts that make up your CI/CD\npipeline, including variables, job dependencies, and when and how each job runs.\n\nBy default, the filename must be `.gitlab-ci.yml`. Filenames are case-sensitive.\nYou can also use a custom filename.\n\nPipelines are made up of stages and jobs:\n\n- Stages define the order of execution. Typical stages might be `build` , `test` , and `deploy` .\n- Jobs specify the tasks to be performed in each stage. For example, a job can compile or test code.\n\nFor example, a `.gitlab-ci.yml` file with a build stage and a test stage might look like this:\n\n```\nstages: - build - test build-job: stage: build script: - echo \"Compiling the code...\" test-job: stage: test script: - echo \"Running tests...\"\n```\n\nGitLab creates a pipeline each time it’s triggered, for example, by a commit, a merge\nrequest, on a schedule, or when you manually run one. A runner then executes the\npipeline’s jobs. In your pipeline, you can integrate with a wide range of tools and platforms.\n\nFor more information, see:\n\n- [Tutorial: Create and run your first GitLab CI/CD pipeline](/ci/quick_start/#create-a-gitlab-ciyml-file)\n- [Specify a custom CI/CD configuration file](/ci/pipelines/settings/#specify-a-custom-cicd-configuration-file)\n- [Pipelines](/ci/pipelines/)\n\n## Step 2: Find or create runners\n\nRunners are the agents that run your jobs. These agents can run on physical machines or virtual instances.\nIn your `.gitlab-ci.yml` file, you can specify a container image you want to use when running the job.\nThe runner loads the image, clones your project, and runs the job either locally or in the container.\n\nIf you use GitLab.com, runners on Linux, Windows, and macOS are already available for use.\nIf needed, you can also register your own runners.\n\nIf you don’t use GitLab.com, you can:\n\n- Register runners or use runners already registered for your GitLab Self-Managed instance.\n- Create a runner on your local machine.\n\nFor more information, see:\n\n- [Create, register, and run your own project runner](/tutorials/create_register_first_runner/)\n\n## Step 3: Use CI/CD variables and expressions\n\nGitLab CI/CD variables are key-value pairs you use to store and pass configuration settings\nand sensitive information, like passwords or API keys, to jobs in a pipeline.\n\nGitLab CI/CD expressions allow you to inject data dynamically into your pipeline configuration.\nThe data available depends on the expression context.\nFor example, the `inputs` context allows you to access information passed into the\nconfiguration file from a parent file or when a pipeline is run.\n\n### CI/CD variables\n\nUse CI/CD variables to customize jobs by making values defined elsewhere accessible to jobs.\nYou can hard-code CI/CD variables in your `.gitlab-ci.yml` file, set them in your project settings,\nor generate them dynamically. You can define them for the project, group, or instance.\n\nThe following types of variables are available:\n\n- Custom variables: Variables that you create and manage in the UI, API, or configuration files.\n- Predefined variables: Variables that GitLab automatically sets to provide information about the current job, pipeline, and environment.\n\nYou can configure variables with security settings:\n\n- Protected variables: Restrict access to jobs running on protected branches or tags.\n- Masked variables: Hide variable values in job logs to prevent sensitive information from being exposed.\n\nFor more information, see:\n\n- [CI/CD variables](/ci/variables/)\n\n### CI/CD expressions\n\nCI/CD expressions use the `$[[ ]]` syntax and are validated when you create a pipeline.\nYou can also validate expressions in the pipeline editor before committing changes.\n\nExpressions enable dynamic configuration based on different contexts:\n\n- **Inputs context** ( `$[[ inputs.INPUT_NAME ]]` ): Access typed parameters passed into configuration files with `include:inputs` or when a new pipeline is run\n- **Matrix context** ( `$[[ matrix.IDENTIFIER ]]` ): Access matrix values in job dependencies to create 1:1 mappings between matrix jobs\n\nFor more information, see:\n\n- [CI expressions](/ci/yaml/expressions/)\n\n## Step 4: Use CI/CD components\n\nA CI/CD component is a reusable pipeline configuration unit.\nUse a CI/CD component to compose an entire pipeline configuration or a small part of a larger pipeline.\n\nYou can add a component to your pipeline configuration with `include:component`.\n\nReusable components help reduce duplication, improve maintainability, and promote consistency across projects.\nCreate a component project and publish it to the CI/CD Catalog to share your component across multiple projects.\n\nGitLab also has CI/CD component templates for common tasks and integrations.\n\nFor more information, see:\n\n- [CI/CD components](/ci/components/)", "znaku_textu": 5537, "slov": 837, "odkazu": 81, "kodovani": "utf-8", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:43", "sha256": "ae668ade01f783d23e18362fef83c3049a81430c5b407772376c081a7a6243bb", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://about.gitlab.com/releases/whats-new/", "https://gitlab.com/-/trial_registrations/new?amp%3Bglm_content=navigation-cta-docs&glm_source=docs.gitlab.com", "https://gitlab.fra1.qualtrics.com/jfe/form/SV_e5Ig7YiRmL0RSm2", "https://www.facebook.com/gitlab", "https://www.linkedin.com/company/gitlab-com", "https://twitter.com/gitlab", "https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg", "https://creativecommons.org/licenses/by-sa/4.0/", "https://about.gitlab.com/company/", "https://about.gitlab.com/pricing/", "https://about.gitlab.com/free-trial/", "https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/ci/_index.md", "https://gitlab.com/-/ide/project/gitlab-org/gitlab/edit/master/-/doc/ci/_index.md", "https://about.gitlab.com/community/contribute/", "https://gitlab.com/gitlab-org/gitlab/-/issues/new?issuable_template=Documentation", "https://university.gitlab.com/pages/certifications", "https://about.gitlab.com/support/", "https://forum.gitlab.com/new-topic?body=topic+body&tags=docs-feedback&title=topic+title", "https://about.gitlab.com/terms/", "https://about.gitlab.com/privacy/"]} {"url": "https://docs.perplexity.ai/", "titulek": "Overview - Perplexity", "h1": "", "popis": "Perplexity API Platform - build with the Router, Agent, Search, and Embeddings APIs. Real-time, web-wide research and Q&A capabilities for your products.", "klicova_slova": "", "kanonicka": "https://docs.perplexity.ai/docs/getting-started/overview", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Overview - Perplexity", "og:description": "Perplexity API Platform - build with the Router, Agent, Search, and Embeddings APIs. Real-time, web-wide research and Q&A capabilities for your products.", "og:url": "https://docs.perplexity.ai/docs/getting-started/overview", "og:site_name": "Perplexity", "og:image": "https://perplexity.mintlify.app/mintlify-assets/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGetting%2BStarted%26title%3DOverview%26description%3DPerplexity%2BAPI%2BPlatform%2B-%2Bbuild%2Bwith%2Bthe%2BRouter%252C%2BAgent%252C%2BSearch%252C%2Band%2BEmbeddings%2BAPIs.%2BReal-time%252C%2Bweb-wide%2Bresearch%2Band%2BQ%2526A%2Bcapabilities%2Bfor%2Byour%2Bproducts.%26theme%3D820be4ec62923f2d29093b0d&w=1200&q=100", "og:image:width": "1200", "og:image:height": "630", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@graph": [{"@type": "Organization", "@id": "https://docs.perplexity.ai/#organization", "name": "Perplexity", "url": "https://docs.perplexity.ai", "logo": {"@type": "ImageObject", "url": "https://mintcdn.com/perplexity/gHf_T6roVjp3yaJv/logo/Perplexity_API_Platform.svg?fit=max&auto=format&n=gHf_T6roVjp3yaJv&q=85&s=07cab879ca2ce031bbc3da8b20f7ab90"}}, {"@type": "WebSite", "@id": "https://docs.perplexity.ai#website", "name": "Perplexity", "url": "https://docs.perplexity.ai", "publisher": {"@id": "https://docs.perplexity.ai/#organization"}}, {"@type": "WebPage", "@id": "https://docs.perplexity.ai/docs/getting-started/overview#webpage", "url": "https://docs.perplexity.ai/docs/getting-started/overview", "name": "Overview", "description": "Perplexity API Platform - build with the Router, Agent, Search, and Embeddings APIs. Real-time, web-wide research and Q&A capabilities for your products.", "dateModified": "2026-08-27T17:11:54.711Z", "isPartOf": {"@id": "https://docs.perplexity.ai#website"}, "breadcrumb": {"@id": "https://docs.perplexity.ai/docs/getting-started/overview#breadcrumb"}}, {"@type": "BreadcrumbList", "@id": "https://docs.perplexity.ai/docs/getting-started/overview#breadcrumb", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Perplexity", "item": "https://docs.perplexity.ai"}, {"@type": "ListItem", "position": 2, "name": "Overview", "item": "https://docs.perplexity.ai/docs/getting-started/overview"}]}, {"@type": ["Article", "TechArticle"], "@id": "https://docs.perplexity.ai/docs/getting-started/overview#article", "headline": "Overview", "name": "Overview", "description": "Perplexity API Platform - build with the Router, Agent, Search, and Embeddings APIs. Real-time, web-wide research and Q&A capabilities for your products.", "url": "https://docs.perplexity.ai/docs/getting-started/overview", "mainEntityOfPage": {"@id": "https://docs.perplexity.ai/docs/getting-started/overview#webpage"}, "dateModified": "2026-08-27T17:11:54.711Z", "publisher": {"@id": "https://docs.perplexity.ai/#organization"}, "isPartOf": {"@id": "https://docs.perplexity.ai#website"}}]}], "drobecky": ["Perplexity", "Overview"], "osnova": [{"uroven": 2, "text": "Documentation Index"}], "markdown": "> ## Documentation Index\n> \n> Fetch the complete documentation index at: [/llms.txt](/llms.txt)\n> \n> Use this file to discover all available pages before exploring further.\n\nSkip to main content", "znaku_textu": 184, "slov": 24, "odkazu": 40, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:44", "sha256": "515843cb6d8caa39d499858cfcc1b38d6afd3c600ff4f22b142b42aea4224297", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://console.perplexity.ai/", "https://community.perplexity.ai/", "https://research.perplexity.ai/articles"]} {"url": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers", "titulek": "Perplexity Crawlers - Perplexity", "h1": "Perplexity Crawlers", "popis": "We strive to improve our service every day by delivering the best search experience possible. To achieve this, we collect data using web crawlers (\"robots\") and user agents that gather and index information from the internet, operating either automatically or in response to user requests. Webmasters can use the following robots.txt tags to manage how their sites and content interact with Perplexity. Each setting works independently, and it may take up to 24 hours for our systems to reflect changes.", "klicova_slova": "", "kanonicka": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Perplexity Crawlers - Perplexity", "og:description": "We strive to improve our service every day by delivering the best search experience possible. To achieve this, we collect data using web crawlers (\"robots\") and user agents that gather and index information from the internet, operating either automatically or in response to user requests. Webmasters can use the following robots.txt tags to manage how their sites and content interact with Perplexity. Each setting works independently, and it may take up to 24 hours for our systems to reflect changes.", "og:url": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers", "og:site_name": "Perplexity", "og:image": "https://perplexity.mintlify.app/mintlify-assets/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DResources%26title%3DPerplexity%2BCrawlers%26description%3DWe%2Bstrive%2Bto%2Bimprove%2Bour%2Bservice%2Bevery%2Bday%2Bby%2Bdelivering%2Bthe%2Bbest%2Bsearch%2Bexperience%2Bpossible.%2BTo%2Bachieve%2Bthis%252C%2Bwe%2Bcollect%2Bdata%2Busing%2Bweb%2Bcrawlers%2B%2528%2522robots%2522%2529%2Band%26theme%3D820be4ec62923f2d29093b0d&w=1200&q=100", "og:image:width": "1200", "og:image:height": "630", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@graph": [{"@type": "Organization", "@id": "https://docs.perplexity.ai/#organization", "name": "Perplexity", "url": "https://docs.perplexity.ai", "logo": {"@type": "ImageObject", "url": "https://mintcdn.com/perplexity/gHf_T6roVjp3yaJv/logo/Perplexity_API_Platform.svg?fit=max&auto=format&n=gHf_T6roVjp3yaJv&q=85&s=07cab879ca2ce031bbc3da8b20f7ab90"}}, {"@type": "WebSite", "@id": "https://docs.perplexity.ai#website", "name": "Perplexity", "url": "https://docs.perplexity.ai", "publisher": {"@id": "https://docs.perplexity.ai/#organization"}}, {"@type": "WebPage", "@id": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers#webpage", "url": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers", "name": "Perplexity Crawlers", "description": "We strive to improve our service every day by delivering the best search experience possible. To achieve this, we collect data using web crawlers (\"robots\") and user agents that gather and index information from the internet, operating either automatically or in response to user requests. Webmasters can use the following robots.txt tags to manage how their sites and content interact with Perplexity. Each setting works independently, and it may take up to 24 hours for our systems to reflect changes.", "dateModified": "2026-01-29T00:36:17.588Z", "isPartOf": {"@id": "https://docs.perplexity.ai#website"}, "breadcrumb": {"@id": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers#breadcrumb"}}, {"@type": "BreadcrumbList", "@id": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers#breadcrumb", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Resources", "item": "https://docs.perplexity.ai/docs/getting-started/integrations/ag2"}, {"@type": "ListItem", "position": 2, "name": "Perplexity Crawlers", "item": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers"}]}, {"@type": ["Article", "TechArticle"], "@id": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers#article", "headline": "Perplexity Crawlers", "name": "Perplexity Crawlers", "description": "We strive to improve our service every day by delivering the best search experience possible. To achieve this, we collect data using web crawlers (\"robots\") and user agents that gather and index information from the internet, operating either automatically or in response to user requests. Webmasters can use the following robots.txt tags to manage how their sites and content interact with Perplexity. Each setting works independently, and it may take up to 24 hours for our systems to reflect changes.", "url": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers", "mainEntityOfPage": {"@id": "https://docs.perplexity.ai/docs/resources/perplexity-crawlers#webpage"}, "dateModified": "2026-01-29T00:36:17.588Z", "publisher": {"@id": "https://docs.perplexity.ai/#organization"}, "isPartOf": {"@id": "https://docs.perplexity.ai#website"}}]}], "drobecky": ["Resources", "Perplexity Crawlers"], "osnova": [{"uroven": 2, "text": "Documentation Index"}], "markdown": "> ## Documentation Index\n> \n> Fetch the complete documentation index at: [/llms.txt](/llms.txt)\n> \n> Use this file to discover all available pages before exploring further.\n\nSkip to main content", "znaku_textu": 184, "slov": 24, "odkazu": 50, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:45", "sha256": "8b6664633a0a1c6f343e3daaacf1259d7cf4cd7669a4e91a1525fffa0e1effa2", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://console.perplexity.ai/", "https://community.perplexity.ai/", "https://research.perplexity.ai/articles", "https://www.perplexity.com/perplexitybot.json", "https://www.perplexity.com/perplexity-user.json", "https://x.com/perplexitydevs", "https://discord.com/invite/perplexity-ai"]} {"url": "https://docs.snowplow.io/", "titulek": "Snowplow Documentation", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://docs.snowplow.io/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Snowplow Documentation", "og:url": "https://docs.snowplow.io/", "og:locale": "en", "og:image": "https://cdn.prod.website-files.com/661fd4aa0185c5022e931990/66714f936876397066d5fba7_thumbnail-post-category.avif"}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:45", "sha256": "35d31659b0b964002db5949296fa9a44c7737bdfb3181be302965a4741186b81", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://docs.snowplow.io/docs/fundamentals/events/", "titulek": "Introduction to Snowplow events | Snowplow Documentation", "h1": "Introduction to Snowplow events", "popis": "An event is a central concept in Snowplow that represents something that occurred at a particular point in time", "klicova_slova": "events,self-describing events,baked-in events,event types", "kanonicka": "https://docs.snowplow.io/docs/fundamentals/events/", "jazyk": "en", "robots_meta": "", "og": {"og:url": "https://docs.snowplow.io/docs/fundamentals/events/", "og:locale": "en", "og:title": "Introduction to Snowplow events | Snowplow Documentation", "og:description": "An event is a central concept in Snowplow that represents something that occurred at a particular point in time", "og:image": "https://cdn.prod.website-files.com/661fd4aa0185c5022e931990/66714f936876397066d5fba7_thumbnail-post-category.avif"}, "jsonld": [], "drobecky": ["Data Infrastructure", "Fundamentals", "Events"], "osnova": [{"uroven": 2, "text": "Snowplow event types​"}, {"uroven": 3, "text": "Baked-in events​"}, {"uroven": 3, "text": "Self-describing events​"}, {"uroven": 2, "text": "How to track events​"}, {"uroven": 3, "text": "Want to see a custom demo?"}], "markdown": "Events are the primary way to capture data with Snowplow. Every time something happens that you want to track, you can send an event to your Snowplow pipeline. Each event is a JSON object that describes what happened. Events flow through your pipeline where they're validated, enriched, and loaded into your data warehouse or lake for analysis.\n\n## Snowplow event types​\n\nAll Snowplow events have the same underlying structure and [standard fields](/docs/fundamentals/canonical-event/). However, there are two types of events in Snowplow:\n\n- Schema-less **baked-in** events\n - The baked-in event types are page views, page pings, and structured events\n- **Self-describing** events that are based on a [JSON schema](/docs/fundamentals/schemas/)\n - All other events are self-describing events\n - This includes out-of-the-box events that come with Snowplow, and custom events that you define yourself\n\nWhether an event is baked-in or self-describing affects how you'll model the data.\n\nAll Snowplow events are by default tracked with schema-defined [entities](/docs/fundamentals/entities/) attached to them.\n\n### Baked-in events​\n\nThe following events are \"baked in\":\n\n- [Page views](/docs/events/ootb-data/page-and-screen-view-events/)\n- [Page pings](/docs/events/ootb-data/page-activity-tracking/)\n- [Structured events](/docs/events/custom-events/#structured-events)\n\nIn the data warehouse, any event-specific information will be in standard columns in the Snowplow `events` table. You can find those listed [here](/docs/fundamentals/canonical-event/#baked-in-event-fields).\n\nFind out more about how to track and model page view and page ping events [here](/docs/events/ootb-data/page-activity-tracking/).\n\nLegacy structured events\n\nWe recommend using self-describing events instead of structured events whenever possible. Structured event tracking is a legacy format used to track events that were not natively supported by Snowplow.\n\nLegacy transaction events\n\nThe legacy `transaction` and `transaction_item` events are also \"baked-in\". Several Snowplow trackers provide [ecommerce tracking](/docs/events/ootb-data/ecommerce-events/) APIs; we recommend using these instead, as they support current Snowplow best practise, and are compatible with the [Snowplow ecommerce dbt package](/docs/modeling-your-data/modeling-your-data-with-dbt/dbt-models/dbt-ecommerce-data-model/).\n\n### Self-describing events​\n\nSelf-describing events can include arbitrarily complex data, as defined by the event's [data structure](/docs/fundamentals/schemas/) or schema. We call them \"self-describing\" because these events include a reference to their underlying [JSON Schema](/docs/api-reference/json-schema-reference/) data structure.\n\nEach self-describing event consists of two parts:\n\n- `schema` : a reference to a [schema](/docs/fundamentals/schemas/) that describes the name, version and structure of the event\n- `data` : the event data as a set of key-value properties in JSON format\n\nBecause the event references a specific version of its schema, it's always clear to downstream users and applications what each field in the event means, even if your definition of the event changes over time.\n\nSnowplow provides a large number of self-describing events out-of-the-box, for example:\n\n- [Link clicks](/docs/events/ootb-data/links-and-referrers/#link-clicks)\n- [Form submissions](/docs/sources/web-trackers/tracking-events/form-tracking/)\n- [Ecommerce transactions](/docs/events/ootb-data/ecommerce-events/)\n\nCheck out the full range of included events [here](/docs/events/ootb-data/).\n\nYou can also create [custom self-describing events](/docs/events/custom-events/) to match your business requirements. Snowplow provides [tooling](/docs/event-studio/) to help you define and track custom events.\n\nFind out in the [warehouse tables fundamentals](/docs/fundamentals/warehouse-tables/) page about how self-describing events are structured in the data warehouse.\n\nTerminology\n\nWe originally called self-describing events \"unstructured events\", to distinguish them from structured events. This was misleading, because these events are actually more structured than structured events. The old term is deprecated, but you might still see it in some docs, APIs and database column names, such as `unstruct_event` or `ue`.\n\n## How to track events​\n\nTrack events in your applications using one of the [Snowplow tracking SDKs](/docs/sources/). Each SDK provides built-in APIs to track [different types of events](/docs/events/ootb-data/).\n\nAll the trackers also support custom tracking, so you can define the events that are relevant to your business.\n\nYou can also use [webhooks](/docs/sources/webhooks/) to track automated actions. The Snowplow [Collector endpoint](/docs/pipeline/collector/) accepts all [valid](/docs/fundamentals/canonical-event/) Snowplow event payloads, regardless of their source.\n\nOn this page\n\n- Snowplow event types\n - Baked-in events\n - Self-describing events\n- How to track events\n\n### Want to see a custom demo?\n\nOur technical experts are here to help.\n\n[Book a demo](https://snowplow.io/get-started/book-a-demo-of-snowplow-bdp/)", "znaku_textu": 5044, "slov": 689, "odkazu": 65, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:46", "sha256": "dc45eea9faf8a0a385a21f63a94da5e07110f71336f53e18f5343166ef7520f0", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://snowplow.io/get-started/snowplow-free-trial", "https://community.snowplow.io/", "https://github.com/snowplow/documentation/tree/main/docs/fundamentals/events/index.md", "https://snowplow.io/get-started/book-a-demo-of-snowplow-bdp/", "https://github.com/snowplow/", "https://snowplow.io/", "https://support.snowplow.io/"]} {"url": "https://docs.stripe.com/api/idempotent_requests", "titulek": "Idempotent requests | Stripe API Reference", "h1": "Idempotent requests", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-US", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Idempotent requests"}, {"uroven": 1, "text": "Include-dependent response values (API v2)"}, {"uroven": 1, "text": "Metadata"}, {"uroven": 2, "text": "Sample metadata use cases"}], "markdown": "# [Idempotent requests](/api/idempotent_requests)\n\nThe API supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. When creating or updating an object, use an idempotency key. Then, if a connection error occurs, you can safely repeat the request without risk of creating a second object or performing the update twice.\n\nTo perform an idempotent request, provide an additional `IdempotencyKey` element to the request options.\n\nStripe’s idempotency works by saving the resulting status code and body of the first request made for any given idempotency key, regardless of whether it succeeds or fails. Subsequent requests with the same key return the same result, including `500` errors.\n\nA client generates an idempotency key, which is a unique key that the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys are up to 255 characters long. Avoid using sensitive data (for example, email addresses or personal identifiers) as idempotency keys.\n\nYou can remove keys from the system automatically after they’re at least 24 hours old. We generate a new request if a key is reused after the original is pruned. The idempotency layer compares incoming parameters to those of the original request and errors if they’re not the same to prevent accidental misuse.\n\nWe save results only after the execution of an endpoint begins. If incoming parameters fail validation, or the request conflicts with another request that’s executing concurrently, we don’t save the idempotent result because no API endpoint initiates the execution. You can retry these requests. Learn more about when you can [retry idempotent requests](/error-low-level#idempotency).\n\nAll `POST` requests accept idempotency keys. Don’t send idempotency keys in `GET` and `DELETE` requests because it has no effect. These requests are idempotent by definition.\n\nWas this section helpful?YesNo\n\n# [Include-dependent response values (API v2)](/api/include_dependent_response_values)\n\nSome API v2 responses contain null values for certain properties by default, regardless of their actual values. That reduces the size of response payloads while maintaining the basic response structure. To retrieve the actual values for those properties, specify them in the `include` array request parameter.\n\nTo determine whether you need to use the `include` parameter in a given request, look at the request description. The `include` parameter’s enum values represent the response properties that depend on the `include` parameter.\n\nNote\n\nWhether a response property defaults to null depends on the request endpoint, not the object that the endpoint references. If multiple endpoints return data from the same object, a particular property can depend on `include` in one endpoint and return its actual value by default for a different endpoint.\n\nA hash property can depend on a single `include` value, or on multiple `include` values associated with its child properties. For example, when updating an Account, to return actual values for the entire `identity` hash, specify `identity` in the `include` parameter. Otherwise, the `identity` hash is null in the response. However, to return actual values for the `configuration` hash, you must specify individual configurations in the request. If you specify at least one configuration, but not all of them, specified configurations return actual values and unspecified configurations return null. If you don’t specify any configurations, the `configuration` hash is null in the response.\n\n- Related guide: [Include-dependent response values](/api-includable-response-values)\n\n# [Metadata](/api/metadata)\n\nUpdateable Stripe objects—including [Account](/api/accounts), [Charge](/api/charges), [Customer](/api/customers), [PaymentIntent](/api/payment_intents), [Refund](/api/refunds), [Subscription](/api/subscriptions), and [Transfer](/api/transfers) have a `metadata` parameter. You can use this parameter to attach key-value data to these Stripe objects.\n\nYou can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Keys and values are stored as strings and can contain any characters with one exception: you can’t use square brackets ([ and ]) in keys.\n\nYou can use metadata to store additional, structured information on an object. For example, you could store your user’s full name and corresponding unique identifier from your system on a Stripe [Customer](/api/customers) object. Stripe doesn’t use metadata—for example, we don’t use it to authorize or decline a charge and it won’t be seen by your users unless you choose to show it to them.\n\nSome of the objects listed above also support a `description` parameter. You can use the `description` parameter to annotate a charge-for example, a human-readable description such as `2 shirts for test@example.com`. Unlike `metadata`, `description` is a single string, which your users might see (for example, in email receipts Stripe sends on your behalf).\n\nDon’t store any sensitive information (bank account numbers, card details, and so on) as metadata or in the `description` parameter.\n\n- Related guide: [Metadata](/metadata)\n\n## Sample metadata use cases\n\n- **Link IDs** : Attach your system’s unique IDs to a Stripe object to simplify lookups. For example, add your order number to a charge, your user ID to a customer or recipient, or a unique receipt number to a transfer.\n- **Refund papertrails** : Store information about the reason for a refund and the individual responsible for its creation.\n- **Customer details** : Annotate a customer by storing an internal ID for your future use.\n\nWas this section helpful?YesNo", "znaku_textu": 5823, "slov": 865, "odkazu": 128, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:48", "sha256": "f6b0e3eee379ddb6bed965a6ddcc9a595d3eae3eb49c07ff85c690b905fbebf8", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://support.stripe.com/", "https://dashboard.stripe.com/login?redirect=https%3A%2F%2Fdocs.stripe.com%2Fapi%2Fidempotent_requests", "https://en.wikipedia.org/wiki/Idempotence", "https://stripe.com/go/developer-chat", "https://stripe.com/contact/sales", "https://markdoc.dev/"]} {"url": "https://dom.spec.whatwg.org/", "titulek": "DOM Standard", "h1": "DOM", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "DOM"}, {"uroven": 2, "text": "Abstract"}, {"uroven": 2, "text": "1. Infrastructure"}, {"uroven": 3, "text": "1.1. Trees"}, {"uroven": 3, "text": "1.2. Ordered sets"}, {"uroven": 3, "text": "1.3. Selectors"}, {"uroven": 3, "text": "1.4. Name validation"}, {"uroven": 2, "text": "2. Events"}, {"uroven": 3, "text": "2.1. Introduction to \"DOM Events\""}, {"uroven": 3, "text": "2.2. Interface Event"}, {"uroven": 3, "text": "2.3. Legacy extensions to the Window interface"}, {"uroven": 3, "text": "2.4. Interface CustomEvent"}, {"uroven": 3, "text": "2.5. Constructing events"}, {"uroven": 3, "text": "2.6. Defining event interfaces"}, {"uroven": 3, "text": "2.7. Interface EventTarget"}, {"uroven": 3, "text": "2.8. Observing event listeners"}, {"uroven": 3, "text": "2.9. Dispatching events"}, {"uroven": 3, "text": "2.10. Firing events"}, {"uroven": 3, "text": "2.11. Action versus occurrence"}, {"uroven": 2, "text": "3. Aborting ongoing activities"}, {"uroven": 3, "text": "3.1. Interface AbortController"}, {"uroven": 3, "text": "3.2. Interface AbortSignal"}, {"uroven": 4, "text": "3.2.1. Garbage collection"}, {"uroven": 3, "text": "3.3. Using AbortController and AbortSignal objects in\nAPIs"}, {"uroven": 2, "text": "4. Nodes"}, {"uroven": 3, "text": "4.1. Introduction to \"The DOM\""}, {"uroven": 3, "text": "4.2. Node tree"}, {"uroven": 4, "text": "4.2.1. Document tree"}, {"uroven": 4, "text": "4.2.2. Shadow tree"}, {"uroven": 5, "text": "4.2.2.1. Slots"}, {"uroven": 5, "text": "4.2.2.2. Slottables"}, {"uroven": 5, "text": "4.2.2.3. Finding slots and slottables"}, {"uroven": 5, "text": "4.2.2.4. Assigning slottables and slots"}, {"uroven": 5, "text": "4.2.2.5. Signaling slot change"}, {"uroven": 4, "text": "4.2.3. Mutation algorithms"}, {"uroven": 4, "text": "4.2.4. Mixin NonElementParentNode"}, {"uroven": 4, "text": "4.2.5. Mixin DocumentOrShadowRoot"}, {"uroven": 4, "text": "4.2.6. Mixin ParentNode"}, {"uroven": 4, "text": "4.2.7. Mixin NonDocumentTypeChildNode"}, {"uroven": 4, "text": "4.2.8. Mixin ChildNode"}, {"uroven": 4, "text": "4.2.9. Mixin Slottable"}, {"uroven": 4, "text": "4.2.10. Old-style collections: NodeList and HTMLCollection"}, {"uroven": 5, "text": "4.2.10.1. Interface NodeList"}, {"uroven": 5, "text": "4.2.10.2. Interface HTMLCollection"}, {"uroven": 3, "text": "4.3. Mutation observers"}, {"uroven": 4, "text": "4.3.1. Interface MutationObserver"}, {"uroven": 4, "text": "4.3.2. Queuing a mutation record"}, {"uroven": 4, "text": "4.3.3. Interface MutationRecord"}, {"uroven": 3, "text": "4.4. Interface Node"}, {"uroven": 3, "text": "4.5. Interface Document"}, {"uroven": 4, "text": "4.5.1. Interface DOMImplementation"}, {"uroven": 3, "text": "4.6. Interface DocumentType"}, {"uroven": 3, "text": "4.7. Interface DocumentFragment"}, {"uroven": 3, "text": "4.8. Interface ShadowRoot"}, {"uroven": 3, "text": "4.9. Interface Element"}, {"uroven": 4, "text": "4.9.1. Interface NamedNodeMap"}, {"uroven": 4, "text": "4.9.2. Interface Attr"}, {"uroven": 3, "text": "4.10. Interface CharacterData"}, {"uroven": 3, "text": "4.11. Interface Text"}, {"uroven": 3, "text": "4.12. Interface CDATASection"}, {"uroven": 3, "text": "4.13. Interface ProcessingInstruction"}, {"uroven": 2, "text": "5. Ranges"}, {"uroven": 3, "text": "5.1. Introduction to \"DOM Ranges\""}, {"uroven": 3, "text": "5.2. Boundary points"}, {"uroven": 3, "text": "5.3. Interface AbstractRange"}, {"uroven": 3, "text": "5.4. Interface StaticRange"}, {"uroven": 3, "text": "5.5. Interface Range"}, {"uroven": 2, "text": "6. Traversal"}, {"uroven": 3, "text": "6.1. Interface NodeIterator"}, {"uroven": 3, "text": "6.2. Interface TreeWalker"}, {"uroven": 3, "text": "6.3. Interface NodeFilter"}, {"uroven": 2, "text": "7. Sets"}, {"uroven": 3, "text": "7.1. Interface DOMTokenList"}, {"uroven": 2, "text": "8. XPath"}, {"uroven": 3, "text": "8.1. Interface XPathResult"}, {"uroven": 3, "text": "8.2. Interface XPathExpression"}, {"uroven": 3, "text": "8.3. Mixin XPathEvaluatorBase"}, {"uroven": 3, "text": "8.4. Interface XPathEvaluator"}, {"uroven": 2, "text": "9. XSLT"}, {"uroven": 3, "text": "9.1. Interface XSLTProcessor"}, {"uroven": 2, "text": "10. Security and privacy considerations"}, {"uroven": 2, "text": "11. Historical"}, {"uroven": 2, "text": "Acknowledgments"}, {"uroven": 2, "text": "Intellectual property rights"}, {"uroven": 2, "text": "Index"}, {"uroven": 3, "text": "Terms defined by this specification"}, {"uroven": 3, "text": "Terms defined by reference"}, {"uroven": 2, "text": "References"}, {"uroven": 3, "text": "Normative References"}, {"uroven": 3, "text": "Non-Normative References"}, {"uroven": 2, "text": "IDL Index"}], "markdown": "DOM Living Standard — Last Updated 25 August 2026\n\nParticipate:\n [GitHub whatwg/dom](https://github.com/whatwg/dom) ([new issue](https://github.com/whatwg/dom/issues/new/choose), [open issues](https://github.com/whatwg/dom/issues))\n [Chat on Matrix](https://whatwg.org/chat)\n\nCommits:\n [GitHub whatwg/dom/commits](https://github.com/whatwg/dom/commits) [Snapshot as of this commit](/commit-snapshots/a2331a45360129e8645ef7e0a04740241b6e3726/)\n\nTests:\n [web-platform-tests dom/](https://github.com/web-platform-tests/wpt/tree/master/dom) ([ongoing work](https://github.com/web-platform-tests/wpt/labels/dom))\n\nTranslations (non-normative):\n [日本語](https://triple-underscore.github.io/DOM4-ja.html) [简体中文](https://htmlspecs.com/dom/) [한국어](https://ko.htmlspecs.com/dom/)\n\n## Abstract\n\nDOM defines a platform-neutral model for events, aborting activities, and node trees.\n\n## 1. Infrastructure\n\nThis specification depends on the Infra Standard. [INFRA]\n\nSome of the terms used in this specification are defined in Encoding,\nSelectors, Trusted Types, Web IDL, XML,\nNamespaces in XML, and Associating Style Sheets with XML documents.\n[ENCODING] [SELECTORS4] [TRUSTED-TYPES] [WEBIDL] [XML] [XML-NAMES] [XML-STYLESHEET]\n\nWhen extensions are needed, the DOM Standard can be updated accordingly, or a new standard\ncan be written that hooks into the provided extensibility hooks for\napplicable specifications.\n\n### 1.1. Trees\n\nA tree is a finite hierarchical tree structure. In\ntree order is preorder, depth-first traversal of a\ntree.\n\nAn object that\nparticipates\nin a tree has a parent, which is either\nnull or an object, and has\nchildren, which is an\n[ordered set](https://infra.spec.whatwg.org/#ordered-set) of objects. An object A whose parent is object\nB is a child of B.\n\nThe root of an object is itself, if its\nparent is null, or else it is the root of its\nparent. The root of a tree is any object\nparticipating in that tree whose parent is null.\n\nAn object A is called a\ndescendant of an object B, if\neither A is a child of B or A is a\nchild of an object C that is a descendant of\nB.\n\nAn inclusive descendant is an\nobject or one of its descendants.\n\nAn object A is called an ancestor\nof an object B if and only if B is a descendant of\nA.\n\nAn inclusive ancestor is an object\nor one of its ancestors.\n\nAn object A is called a sibling of\nan object B, if and only if B and A share the same non-null\nparent.\n\nAn inclusive sibling is an object or\none of its siblings.\n\nAn object A is preceding an\nobject B if A and B are in the same tree and A\ncomes before B in tree order.\n\nAn object A is following an\nobject B if A and B are in the same tree and A\ncomes after B in tree order.\n\nThe first child of an object is its first\nchild or null if it has no children.\n\nThe last child of an object is its last\nchild or null if it has no children.\n\nThe previous sibling of an object is\nits first preceding sibling or null if it has no\npreceding sibling.\n\nThe next sibling of an object is its\nfirst following sibling or null if it has no following sibling.\n\nThe index of an object is its number of\npreceding siblings, or 0 if it has none.\n\n### 1.2. Ordered sets\n\nThe ordered set parser takes a string\ninput and then runs these steps:\n\n1. Let inputTokens be the result of\n [splitting input on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace).\n2. Let tokens be a new [ordered set](https://infra.spec.whatwg.org/#ordered-set).\n3. [For each](https://infra.spec.whatwg.org/#list-iterate) token of inputTokens: [append](https://infra.spec.whatwg.org/#set-append) token to tokens.\n4. Return tokens .\n\nThe ordered set serializer takes a\nset and returns the [concatenation](https://infra.spec.whatwg.org/#string-concatenate) of set using U+0020 SPACE.\n\n### 1.3. Selectors\n\nTo scope-match a selectors string given a string selectors against a\nnode node:\n\n1. Let selector be the result of [parse a selector](https://drafts.csswg.org/selectors-4/#parse-a-selector) selectors.\n [SELECTORS4]\n2. If selector is failure, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n3. Return the result of [match a selector against a tree](https://drafts.csswg.org/selectors-4/#match-a-selector-against-a-tree) with selector and\n node’s root using [scoping root](https://drafts.csswg.org/selectors-4/#scoping-root) node. [SELECTORS4].\n\nSupport for namespaces within selectors is not planned and will not be added.\n\n### 1.4. Name validation\n\nA [string](https://infra.spec.whatwg.org/#string) is a valid namespace prefix if its [length](https://infra.spec.whatwg.org/#string-length) is at least 1 and it\ndoes not contain [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), U+0000 NULL, U+002F (/), or U+003E (>).\n\nA [string](https://infra.spec.whatwg.org/#string) is a valid attribute local name if its [length](https://infra.spec.whatwg.org/#string-length) is at least 1\nand it does not contain [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), U+0000 NULL, U+002F (/), U+003D (=), or U+003E (>).\n\nA [string](https://infra.spec.whatwg.org/#string) name is a valid element local name if the following steps return true:\n\n1. If name’s [length](https://infra.spec.whatwg.org/#string-length) is 0, then return false.\n2. If name’s 0th [code point](https://infra.spec.whatwg.org/#code-point) is an [ASCII alpha](https://infra.spec.whatwg.org/#ascii-alpha):\n 1. If name contains [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), U+0000 NULL, U+002F (/), or U+003E (>), then\n return false.\n 2. Return true.\n3. If name’s 0th [code point](https://infra.spec.whatwg.org/#code-point) is not U+003A (:), U+005F (_), or in the range U+0080\n to U+10FFFF, inclusive, then return false.\n4. If name’s subsequent [code points](https://infra.spec.whatwg.org/#code-point), if any, are not [ASCII alphas](https://infra.spec.whatwg.org/#ascii-alpha), [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit),\n U+002D (-), U+002E (.), U+003A (:), U+005F (_), or in the range U+0080 to U+10FFFF, inclusive, then\n return false.\n5. Return true.\n\nThis concept is used to validate element local names, when\nconstructed by DOM APIs. The intention is to allow any name that is possible to construct using the\nHTML parser (the branch where the first [code point](https://infra.spec.whatwg.org/#code-point) is an [ASCII alpha](https://infra.spec.whatwg.org/#ascii-alpha)), plus some additional\npossibilities. For those additional possibilities, the ASCII range is restricted for historical\nreasons, but beyond ASCII anything is allowed.\n\nThe following JavaScript-compatible regular expression is an implementation of\n valid element local name:\n\n```\n/^(?:[A-Za-z][^\\0\\t\\n\\f\\r\\u0020/>]*|[:_\\u0080-\\u{10FFFF}][A-Za-z0-9-.:_\\u0080-\\u{10FFFF}]*)$/u \n```\n\nA [string](https://infra.spec.whatwg.org/#string) is a valid doctype name if it does not contain [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace),\nU+0000 NULL, or U+003E (>).\n\nThe empty string is a valid doctype name.\n\nTo validate and extract a namespace and qualifiedName, given a\ncontext:\n\n1. If namespace is the empty string, then set it to null.\n2. Let prefix be null.\n3. Let localName be qualifiedName.\n4. If qualifiedName contains a U+003A (:):\n 1. Set prefix to the part of qualifiedName before the first U+003A (:).\n 2. Set localName to the part of qualifiedName after the first U+003A (:).\n 3. If prefix is not a valid namespace prefix, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n5. [Assert](https://infra.spec.whatwg.org/#assert): prefix is either null or a valid namespace prefix.\n6. If context is \"`attribute`\" and localName is not a\n valid attribute local name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n7. If context is \"`element`\" and localName is not a\n valid element local name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n8. If prefix is non-null and namespace is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NamespaceError](https://webidl.spec.whatwg.org/#namespaceerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n9. If prefix is \"`xml`\" and namespace is not the\n [XML namespace](https://infra.spec.whatwg.org/#xml-namespace), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NamespaceError](https://webidl.spec.whatwg.org/#namespaceerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n10. If either qualifiedName or prefix is \"`xmlns`\" and\n namespace is not the [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NamespaceError](https://webidl.spec.whatwg.org/#namespaceerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n11. If namespace is the [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace) and neither qualifiedName\n nor prefix is \"`xmlns`\", then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NamespaceError](https://webidl.spec.whatwg.org/#namespaceerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n12. Return (namespace, prefix, localName).\n\nVarious APIs in this specification used to validate namespace prefixes, attribute local names,\n element local names, and doctype names more strictly. This was done in a way that aligned with\n various XML-related specifications. (Although not all rules from the those specifications were\n enforced.)\n\nThis was found to be annoying for web developers, especially since it meant there were some\n names that could be created by the HTML parser, but not by DOM APIs. So, the validations have been\n loosened to just those described above.\n\n## 2. Events\n\n### 2.1. Introduction to \"DOM Events\"\n\nThroughout the web platform events are dispatched to objects to signal an\noccurrence, such as network activity or user interaction. These objects implement the\n`EventTarget` interface and can therefore add event listeners to observe\nevents by calling `addEventListener()`:\n\n```\nobj.addEventListener(\"load\", imgFetched) function imgFetched(ev) { // great success\n …\n} \n```\n\nEvent listeners can be removed\nby utilizing the\n`removeEventListener()`\nmethod, passing the same arguments.\n\nAlternatively, event listeners can be removed by passing an `AbortSignal` to\n`addEventListener()` and calling `abort()` on the controller\nowning the signal.\n\nEvents are objects too and implement the\n`Event` interface (or a derived interface). In the example above\nev is the event. ev is\npassed as an argument to the\nevent listener’s callback\n(typically a JavaScript Function as shown above).\nEvent listeners key off the\nevent’s\n`type` attribute value\n(\"`load`\" in the above example). The\nevent’s\n`target` attribute value returns the\nobject to which the event was\ndispatched\n(obj above).\n\nAlthough events are typically dispatched by the user agent\nas the result of user interaction or the completion of some task, applications can dispatch events themselves by using what are commonly known as synthetic events:\n\n```\n// add an appropriate event listener\nobj.addEventListener(\"cat\", function(e) { process(e.detail) }) // create and dispatch the event var event = new CustomEvent(\"cat\", {\"detail\":{\"hazcheeseburger\":true}})\nobj.dispatchEvent(event) \n```\n\nApart from signaling, events are\nsometimes also used to let an application control what happens next in an\noperation. For instance as part of form submission an\nevent whose\n`type` attribute value is\n\"`submit`\" is\ndispatched. If this\nevent’s\n`preventDefault()` method is\ninvoked, form submission will be terminated. Applications who wish to make\nuse of this functionality through events dispatched by the application\n(synthetic events) can make use of the return value of the\n`dispatchEvent()` method:\n\n```\nif(obj.dispatchEvent(event)) { // event was not canceled, time for some magic\n …\n} \n```\n\nWhen an event is dispatched to an object that participates in a tree\n(e.g., an element), it can reach event listeners on that object’s\nancestors too. Effectively, all the object’s inclusive ancestor event listeners whose capture is true are invoked, in\ntree order. And then, if event’s `bubbles` is true, all the object’s\ninclusive ancestor event listeners whose capture is false\nare invoked, now in reverse tree order.\n\nLet’s look at an example of how events work in a tree:\n\n```\n Boring example

Hello world!

\n```\n\nThe `debug` function will be invoked twice. Each time the event’s\n`target` attribute value will be the `span` element. The first time\n`currentTarget` attribute’s value will be the document, the second time the\n`body` element. `eventPhase` attribute’s value switches from\n`CAPTURING_PHASE` to `BUBBLING_PHASE`. If an event listener was registered\nfor the `span` element, `eventPhase` attribute’s value would have\nbeen `AT_TARGET`.\n\n### 2.2. Interface `Event`\n\n```\n[Exposed=*]\ninterface Event {\n constructor(DOMString type, optional EventInit eventInitDict = {});\n\n readonly attribute DOMString type;\n readonly attribute EventTarget? target;\n readonly attribute EventTarget? srcElement; // legacy\n readonly attribute EventTarget? currentTarget;\n sequence composedPath();\n\n const unsigned short NONE = 0;\n const unsigned short CAPTURING_PHASE = 1;\n const unsigned short AT_TARGET = 2;\n const unsigned short BUBBLING_PHASE = 3;\n readonly attribute unsigned short eventPhase;\n\n undefined stopPropagation();\n attribute boolean cancelBubble; // legacy alias of .stopPropagation()\n undefined stopImmediatePropagation();\n\n readonly attribute boolean bubbles;\n readonly attribute boolean cancelable;\n attribute boolean returnValue; // legacy\n undefined preventDefault();\n readonly attribute boolean defaultPrevented;\n readonly attribute boolean composed;\n\n [LegacyUnforgeable] readonly attribute boolean isTrusted;\n readonly attribute DOMHighResTimeStamp timeStamp;\n\n undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // legacy\n};\n\ndictionary EventInit {\n boolean bubbles = false;\n boolean cancelable = false;\n boolean composed = false;\n};\n```\n\nAn `Event` object is simply named an event. It allows for\nsignaling that something has occurred, e.g., that an image has completed downloading.\n\nA potential event target is null or an `EventTarget` object.\n\nAn event has an associated target (a\npotential event target). Unless stated otherwise it is null.\n\nAn event has an associated relatedTarget (a\npotential event target). Unless stated otherwise it is null.\n\nOther specifications use relatedTarget to define a\n`relatedTarget` attribute. [UIEVENTS]\n\nAn event has an associated touch target list (a\n[list](https://infra.spec.whatwg.org/#list) of zero or more potential event targets). Unless stated otherwise it is the\nempty list.\n\nThe touch target list is for the exclusive use of defining the\n`[TouchEvent](https://w3c.github.io/touch-events/#idl-def-touchevent)` interface and related interfaces. [TOUCH-EVENTS]\n\nAn event has an associated path. A path is a\n[list](https://infra.spec.whatwg.org/#list) of event path items. An event path item is a [struct](https://infra.spec.whatwg.org/#struct)\nconsisting of an invocation target\n(an `EventTarget` object), an\ninvocation-target-in-shadow-tree\n(a boolean), a\nshadow-adjusted target (a\npotential event target), a\nrelatedTarget (a\npotential event target), a\ntouch target list (a\n[list](https://infra.spec.whatwg.org/#list) of potential event targets), a\nroot-of-closed-tree (a boolean),\nand a slot-in-closed-tree (a\nboolean). A path is initially the empty list.\n\n`event = new Event(type [, eventInitDict])` Returns a new event whose\n `type` attribute value is set to\n type. The eventInitDict argument\n allows for setting the `bubbles` and\n `cancelable` attributes via object\n members of the same name.\n\n`event . `type`` Returns the type of event, e.g.\n \"`click`\", \"`hashchange`\", or\n \"`submit`\".\n\n`event . `target`` Returns the object to which event is dispatched (its\n target).\n\n`event . `currentTarget`` Returns the object whose event listener’s callback is currently being\n invoked.\n\n`event . `composedPath()`` Returns the invocation target objects of event’s\n path (objects on which listeners will be invoked), except for any\n nodes in shadow trees of which the shadow root’s\n mode is \"`closed`\" that are not reachable from event’s\n `currentTarget`.\n\n`event . `eventPhase`` Returns the event’s phase, which is one of `NONE`,\n `CAPTURING_PHASE`,\n `AT_TARGET`, and\n `BUBBLING_PHASE`.\n\n`event . stopPropagation()` When dispatched in a tree, invoking this method prevents\n event from reaching any objects other than the current object.\n\n`event . stopImmediatePropagation()` Invoking this method prevents event from reaching\n any registered event listeners after the current one finishes running and, when\n dispatched in a tree, also prevents event from reaching any\n other objects.\n\n`event . `bubbles`` Returns true or false depending on how event was initialized. True if\n event goes through its target’s ancestors in reverse\n tree order; otherwise false.\n\n`event . `cancelable`` Returns true or false depending on how event was initialized. Its return\n value does not always carry meaning, but true can indicate that part of the operation\n during which event was dispatched, can be canceled by invoking the\n `preventDefault()` method.\n\n`event . preventDefault()` If invoked when the `cancelable` attribute value is true, and while executing a\n listener for the event with `passive` set to false, signals to\n the operation that caused event to be dispatched that it needs to be canceled.\n\n`event . `defaultPrevented`` Returns true if `preventDefault()` was invoked successfully to indicate cancelation;\n otherwise false.\n\n`event . `composed`` Returns true or false depending on how event was initialized. True if\n event invokes listeners past a `ShadowRoot` node that is the\n root of its target; otherwise false.\n\n`event . `isTrusted`` Returns true if event was\n dispatched by the user agent, and\n false otherwise.\n\n`event . `timeStamp`` Returns the event’s timestamp as the number of milliseconds measured relative to\n the occurrence.\n\nThe `type` attribute must return the value it was\ninitialized to. When an event is created the attribute must be initialized to the empty\nstring.\n\nThe `target` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\ntarget.\n\nThe `srcElement` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s target.\n\nThe `currentTarget` attribute must return the value it\nwas initialized to. When an event is created the attribute must be initialized to null.\n\nThe `composedPath()` method steps are:\n\n1. Let composedPath be an empty [list](https://infra.spec.whatwg.org/#list).\n2. Let path be [this](https://webidl.spec.whatwg.org/#this)’s path.\n3. If path [is empty](https://infra.spec.whatwg.org/#list-is-empty), then return composedPath.\n4. Let currentTarget be [this](https://webidl.spec.whatwg.org/#this)’s `currentTarget` attribute value.\n5. [Assert](https://infra.spec.whatwg.org/#assert): currentTarget is an `EventTarget` object.\n6. [Append](https://infra.spec.whatwg.org/#list-append) currentTarget to composedPath.\n7. Let currentTargetIndex be 0.\n8. Let currentTargetHiddenSubtreeLevel be 0.\n9. Let index be path’s [size](https://infra.spec.whatwg.org/#list-size) − 1.\n10. While index is greater than or equal to 0:\n 1. If path[index]'s root-of-closed-tree is\n true, then increase currentTargetHiddenSubtreeLevel by 1.\n 2. If path[index]'s invocation target is\n currentTarget, then set currentTargetIndex to index and\n [break](https://infra.spec.whatwg.org/#iteration-break).\n 3. If path[index]'s slot-in-closed-tree is\n true, then decrease currentTargetHiddenSubtreeLevel by 1.\n 4. Decrease index by 1.\n11. Let currentHiddenLevel and maxHiddenLevel be\n currentTargetHiddenSubtreeLevel.\n12. Set index to currentTargetIndex − 1.\n13. While index is greater than or equal to 0:\n 1. If path[index]'s root-of-closed-tree is\n true, then increase currentHiddenLevel by 1.\n 2. If currentHiddenLevel is less than or equal to maxHiddenLevel, then\n [prepend](https://infra.spec.whatwg.org/#list-prepend) path[index]'s\n invocation target to composedPath.\n 3. If path[index]'s slot-in-closed-tree is\n true:\n 1. Decrease currentHiddenLevel by 1.\n 2. If currentHiddenLevel is less than maxHiddenLevel, then set\n maxHiddenLevel to currentHiddenLevel.\n 4. Decrease index by 1.\n14. Set currentHiddenLevel and maxHiddenLevel to\n currentTargetHiddenSubtreeLevel.\n15. Set index to currentTargetIndex + 1.\n16. While index is less than path’s [size](https://infra.spec.whatwg.org/#list-size):\n 1. If path[index]'s slot-in-closed-tree is\n true, then increase currentHiddenLevel by 1.\n 2. If currentHiddenLevel is less than or equal to maxHiddenLevel, then\n [append](https://infra.spec.whatwg.org/#list-append) path[index]'s\n invocation target to composedPath.\n 3. If path[index]'s root-of-closed-tree is\n true:\n 1. Decrease currentHiddenLevel by 1.\n 2. If currentHiddenLevel is less than maxHiddenLevel, then set\n maxHiddenLevel to currentHiddenLevel.\n 4. Increase index by 1.\n17. Return composedPath.\n\nThe `eventPhase` attribute must return the value it was\ninitialized to, which must be one of the following:\n\n`NONE` (numeric value 0)\n \n Events not currently\n dispatched are in this phase.\n\n`CAPTURING_PHASE` (numeric value 1)\n \n When an event is dispatched to an object that participates in a\n tree it will be in this phase before it reaches its target.\n\n`AT_TARGET` (numeric value 2)\n \n When an event is dispatched it will be in this phase on its\n target.\n\n`BUBBLING_PHASE` (numeric value 3)\n \n When an event is dispatched to an object that participates in a\n tree it will be in this phase after it reaches its target.\n\nInitially the attribute must be initialized to `NONE`.\n\n---\n\nEach event has the following associated flags that are all initially unset:\n\n- stop propagation flag\n- stop immediate propagation flag\n- canceled flag\n- in passive listener flag\n- composed flag\n- initialized flag\n- dispatch flag\n\nThe `stopPropagation()` method steps are to set\n[this](https://webidl.spec.whatwg.org/#this)’s stop propagation flag.\n\nThe `cancelBubble` getter steps are to return true if\n[this](https://webidl.spec.whatwg.org/#this)’s stop propagation flag is set; otherwise false.\n\nThe `cancelBubble` setter steps are to set [this](https://webidl.spec.whatwg.org/#this)’s stop propagation flag if\nthe given value is true; otherwise do nothing.\n\nThe `stopImmediatePropagation()` method steps are to set\n[this](https://webidl.spec.whatwg.org/#this)’s stop propagation flag and [this](https://webidl.spec.whatwg.org/#this)’s\nstop immediate propagation flag.\n\nThe `bubbles` and\n`cancelable` attributes must return the values they were\ninitialized to.\n\nTo set the canceled flag, given an event event, if\nevent’s `cancelable` attribute value is true and event’s\nin passive listener flag is unset, then set event’s canceled flag, and do\nnothing otherwise.\n\nThe `returnValue` getter steps are to return false if\n[this](https://webidl.spec.whatwg.org/#this)’s canceled flag is set; otherwise true.\n\nThe `returnValue` setter steps are to set the canceled flag with [this](https://webidl.spec.whatwg.org/#this) if\nthe given value is false; otherwise do nothing.\n\nThe `preventDefault()` method steps are to\nset the canceled flag with [this](https://webidl.spec.whatwg.org/#this).\n\nThere are scenarios where invoking `preventDefault()` has no\neffect. User agents are encouraged to log the precise cause in a developer console, to aid\ndebugging.\n\nThe `defaultPrevented` getter steps are to return true\nif [this](https://webidl.spec.whatwg.org/#this)’s canceled flag is set; otherwise false.\n\nThe `composed` getter steps are to return true if\n[this](https://webidl.spec.whatwg.org/#this)’s composed flag is set; otherwise false.\n\n---\n\nThe `isTrusted` attribute must return the value it was\ninitialized to. When an event is created the attribute must be initialized to false.\n\n`isTrusted` is a convenience that indicates whether an\nevent is dispatched by the user agent (as opposed to using\n`dispatchEvent()`). The sole legacy exception is `[click()](https://html.spec.whatwg.org/multipage/interaction.html#dom-click)`, which causes\nthe user agent to dispatch an event whose `isTrusted` attribute is initialized to\nfalse.\n\nThe `timeStamp` attribute must return the value it was\ninitialized to.\n\n---\n\nTo initialize an event, with\ntype, bubbles, and cancelable, run these steps:\n\n1. Set event’s initialized flag.\n2. Unset event’s stop propagation flag,\n stop immediate propagation flag, and canceled flag.\n3. Set event’s `isTrusted` attribute to false.\n4. Set event’s target to null.\n5. Set event’s `type` attribute to type.\n6. Set event’s `bubbles` attribute to bubbles.\n7. Set event’s `cancelable` attribute to cancelable.\n\nThe\n`initEvent(type, bubbles, cancelable)`\nmethod steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this)’s dispatch flag is set, then return.\n2. Initialize [this](https://webidl.spec.whatwg.org/#this) with type, bubbles, and\n cancelable.\n\n`initEvent()` is redundant with event constructors and\nincapable of setting `composed`. It has to be supported for legacy content.\n\n### 2.3. Legacy extensions to the `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` interface\n\n```\npartial interface Window {\n [Replaceable] readonly attribute (Event or undefined) event; // legacy\n};\n```\n\nEach `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object has an associated current event (undefined or an\n`Event` object). Unless stated otherwise it is undefined.\n\nThe `event` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\ncurrent event.\n\nWeb developers are strongly encouraged to instead rely on the `Event` object passed\nto event listeners, as that will result in more portable code. This attribute is not available in\nworkers or worklets, and is inaccurate for events dispatched in shadow trees.\n\n### 2.4. Interface `CustomEvent`\n\n```\n[Exposed=*]\ninterface CustomEvent : Event {\n constructor(DOMString type, optional CustomEventInit eventInitDict = {});\n\n readonly attribute any detail;\n\n undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null); // legacy\n};\n\ndictionary CustomEventInit : EventInit {\n any detail = null;\n};\n```\n\nEvents using the\n`CustomEvent` interface can be used to carry custom data.\n\n`event = new CustomEvent(type [, eventInitDict])` Works analogously to the constructor for `Event` except\n that the eventInitDict argument now\n allows for setting the `detail` attribute\n too.\n\n`event . `detail`` Returns any custom data event was created with.\n Typically used for synthetic events.\n\nThe `detail` attribute must return the value it\nwas initialized to.\n\nThe\n`initCustomEvent(type, bubbles, cancelable, detail)`\nmethod steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this)’s dispatch flag is set, then return.\n2. Initialize [this](https://webidl.spec.whatwg.org/#this) with type, bubbles, and\n cancelable.\n3. Set [this](https://webidl.spec.whatwg.org/#this)’s `detail` attribute to detail.\n\n### 2.5. Constructing events\n\nSpecifications may define\nevent constructing steps for all or some\nevents. The algorithm is passed an event event and an `EventInit` eventInitDict as indicated in the inner event creation steps.\n\nThis construct can be used by `Event` subclasses that have a more complex structure\nthan a simple 1:1 mapping between their initializing dictionary members and IDL attributes.\n\nWhen a constructor of the `Event`\ninterface, or of an interface that inherits from the `Event` interface, is invoked, these steps\nmust be run, given the arguments type and eventInitDict:\n\n1. Let event be the result of running the inner event creation steps with\n this interface, null, now, and eventInitDict.\n2. Initialize event’s `type` attribute to type.\n3. Return event.\n\nTo\ncreate an event\nusing eventInterface, which must be either `Event` or an interface that inherits from\nit, and optionally given a [realm](https://tc39.es/ecma262/#realm) realm, run these steps:\n\n1. If realm is not given, then set it to null.\n2. Let dictionary be the result of [converting](https://webidl.spec.whatwg.org/#dfn-convert-ecmascript-to-idl-value)\n the JavaScript value undefined to the dictionary type accepted by eventInterface’s\n constructor. (This dictionary type will either be `EventInit` or a dictionary that inherits from\n it.) This does not work if members are required; see\n [whatwg/dom#600](https://github.com/whatwg/dom/issues/600).\n3. Let event be the result of running the inner event creation steps with\n eventInterface, realm, the time of the occurrence that the event is\n signaling, and dictionary. In macOS the time of the occurrence for input\n actions is available via the `timestamp` property of `NSEvent` objects.\n4. Initialize event’s `isTrusted` attribute to true.\n5. Return event.\n\nCreate an event is meant to be used by other specifications which need to\nseparately create and dispatch events, instead of simply\nfiring them. It ensures the event’s attributes are initialized to the\ncorrect defaults.\n\nThe inner event creation steps, given an eventInterface,\nrealm, time, and dictionary, are as follows:\n\n1. Let event be the result of creating a new object using eventInterface. If\n realm is non-null, then use that realm; otherwise, use the default behavior defined in\n Web IDL. As of the time of this writing Web IDL does not yet define any default behavior;\n see [whatwg/webidl#135](https://github.com/whatwg/webidl/issues/135).\n2. Set event’s initialized flag.\n3. Initialize event’s `timeStamp` attribute to the\n [relative high resolution coarse time](https://w3c.github.io/hr-time/#dfn-relative-high-resolution-coarse-time) given time and event’s\n [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global).\n4. [For each](https://infra.spec.whatwg.org/#map-iterate) member → value of dictionary: if\n event has an attribute whose [identifier](https://webidl.spec.whatwg.org/#dfn-identifier) is member, then\n initialize that attribute to value.\n5. Run the event constructing steps with event and dictionary.\n6. Return event.\n\n### 2.6. Defining event interfaces\n\nIn general, when defining a new interface that inherits from `Event` please always ask\nfeedback from the [WHATWG](https://whatwg.org/) or the\n[W3C WebApps WG](https://www.w3.org/2008/webapps/) community.\n\nThe `CustomEvent` interface can be used as starting point.\nHowever, do not introduce any `init*Event()`\nmethods as they are redundant with constructors. Interfaces that inherit\nfrom the `Event` interface that have such a method only have it\nfor historical reasons.\n\n### 2.7. Interface `EventTarget`\n\n```\n[Exposed=*]\ninterface EventTarget {\n constructor();\n\n undefined addEventListener(DOMString type, EventListener? callback, optional (AddEventListenerOptions or boolean) options = {});\n undefined removeEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options = {});\n boolean dispatchEvent(Event event);\n};\n\ncallback interface EventListener {\n undefined handleEvent(Event event);\n};\n\ndictionary EventListenerOptions {\n boolean capture = false;\n};\n\ndictionary AddEventListenerOptions : EventListenerOptions {\n boolean passive;\n boolean once = false;\n AbortSignal signal;\n};\n```\n\nAn `EventTarget` object represents a target to which an event can be dispatched\nwhen something has occurred.\n\nEach `EventTarget` object has an associated event listener list (a\n[list](https://infra.spec.whatwg.org/#list) of zero or more event listeners). It is initially the empty list.\n\nAn event listener can be used to observe a specific\nevent and consists of:\n\n- type (a string)\n- callback (null or an `EventListener` object)\n- capture (a boolean, initially false)\n- passive (null or a boolean, initially null)\n- once (a boolean, initially false)\n- signal (null or an `AbortSignal` object)\n- removed (a boolean for bookkeeping purposes, initially false)\n\nAlthough callback is an `EventListener`\nobject, an event listener is a broader concept as can be seen above.\n\nEach `EventTarget` object also has an associated get the parent algorithm,\nwhich takes an event event, and returns an `EventTarget` object. Unless\nspecified otherwise it returns null.\n\nNodes, shadow roots, and documents override the\nget the parent algorithm.\n\nEach `EventTarget` object can have an associated\nactivation behavior algorithm. The\nactivation behavior algorithm is passed an event, as indicated in the\ndispatch algorithm.\n\nThis exists because user agents perform certain actions for certain\n`EventTarget` objects, e.g., the `[area](https://html.spec.whatwg.org/multipage/image-maps.html#the-area-element)` element, in response to synthetic `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` events whose `type` attribute is `click`. Web compatibility prevented it\nfrom being removed and it is now the enshrined way of defining an activation of something. [HTML]\n\nEach `EventTarget` object that has activation behavior, can additionally\nhave both (not either) a legacy-pre-activation behavior algorithm\nand a legacy-canceled-activation behavior algorithm.\n\nThese algorithms only exist for checkbox and radio `[input](https://html.spec.whatwg.org/multipage/input.html#the-input-element)` elements and\nare not to be used for anything else. [HTML]\n\n`target = new EventTarget();` Creates a new `EventTarget` object, which can be used by developers to dispatch and\n listen for events.\n\n`target . addEventListener(type, callback [, options])` Appends an event listener for events whose `type` attribute value is\n type. The callback argument sets the callback\n that will be invoked when the event is dispatched.\n\n The options argument sets listener-specific options. For compatibility this can be a\n boolean, in which case the method behaves exactly as if the value was specified as\n options’s `capture`.\n\n When set to true, options’s `capture` prevents\n callback from being invoked when the event’s\n `eventPhase` attribute value is `BUBBLING_PHASE`. When false (or not present),\n callback will not be invoked when event’s `eventPhase`\n attribute value is `CAPTURING_PHASE`. Either way, callback\n will be invoked if event’s `eventPhase` attribute value is `AT_TARGET`.\n\n When set to true, options’s `passive` indicates that the\n callback will not cancel the event by invoking\n `preventDefault()`. This is used to enable performance optimizations described in\n § 2.8 Observing event listeners.\n\n When set to true, options’s `once` indicates that the\n callback will only be invoked once after which the event listener will\n be removed.\n\n If an `AbortSignal` is passed for options’s `signal`,\n then the event listener will be removed when signal is aborted.\n\n The event listener is appended to target’s\n event listener list and is not appended if it has the same\n type, callback, and\n capture.\n\n`target . removeEventListener(type, callback [, options])` Removes the event listener in target’s\n event listener list with the same type, callback, and\n options.\n\n`target . dispatchEvent(event)` Dispatches a synthetic event event to target and returns true\n if either event’s `cancelable` attribute value is false or its\n `preventDefault()` method was not invoked; otherwise false.\n\nTo flatten options, run these\nsteps:\n\n1. If options is a boolean, then return options.\n2. Return options[\"`capture`\"].\n\nTo flatten more options, run these\nsteps:\n\n1. Let capture be the result of flattening options.\n2. Let once be false.\n3. Let passive and signal be null.\n4. If options is a [dictionary](https://webidl.spec.whatwg.org/#dfn-dictionary):\n 1. Set once to options[\"`once`\"].\n 2. If options[\"`passive`\"] [exists](https://infra.spec.whatwg.org/#map-exists), then set passive to\n options[\"`passive`\"].\n 3. If options[\"`signal`\"] [exists](https://infra.spec.whatwg.org/#map-exists), then set signal to\n options[\"`signal`\"].\n5. Return capture, passive, once, and signal.\n\nThe `new EventTarget()`\nconstructor steps are to do nothing.\n\nBecause of the defaults stated elsewhere, the returned `EventTarget`’s\nget the parent algorithm will return null, and it will have no\nactivation behavior, legacy-pre-activation behavior,\nor legacy-canceled-activation behavior.\n\nIn the future we could allow custom get the parent algorithms. If this would be\nuseful, support [issue #583](https://github.com/whatwg/dom/issues/583). For now, all\nauthor-created `EventTarget`s do not participate in a tree structure.\n\nThe default passive value, given an event type type and an `EventTarget` eventTarget, is determined as follows:\n\n1. Return true if all of the following are true:\n - type is one of \"`touchstart`\", \"`touchmove`\",\n \"`wheel`\", or \"`mousewheel`\". [TOUCH-EVENTS] [UIEVENTS]\n - eventTarget is a `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object, or is a node whose node document\n is eventTarget, or is a node whose node document’s document element\n is eventTarget, or is a node whose node document’s\n [body element](https://html.spec.whatwg.org/multipage/dom.html#the-body-element-2) is eventTarget. [HTML]\n2. Return false.\n\nTo add an event listener, given an `EventTarget` object\neventTarget and an event listener listener, run these steps:\n\n1. If eventTarget is a `[ServiceWorkerGlobalScope](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope)` object, its\n [service worker](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope-service-worker)’s\n [script resource](https://w3c.github.io/ServiceWorker/#dfn-script-resource)’s\n [has ever been evaluated flag](https://w3c.github.io/ServiceWorker/#dfn-has-ever-been-evaluated-flag) is set, and listener’s\n type matches the `type` attribute value of any of the\n [service worker events](https://w3c.github.io/ServiceWorker/#dfn-service-worker-events), then [report a warning to the console](https://console.spec.whatwg.org/#report-a-warning-to-the-console) that this might not give\n the expected results. [SERVICE-WORKERS]\n2. If listener’s signal is non-null and is\n aborted, then return.\n3. If listener’s callback is null, then return.\n4. If listener’s passive is null, then set it to the\n default passive value given listener’s type and\n eventTarget.\n5. If eventTarget’s event listener list does not [contain](https://infra.spec.whatwg.org/#list-contain) an\n event listener whose type is listener’s\n type, callback is listener’s\n callback, and capture is\n listener’s capture, then [append](https://infra.spec.whatwg.org/#list-append) listener to eventTarget’s event listener list.\n6. If listener’s signal is non-null, then\n add the following abort steps to it:\n 1. Remove an event listener with eventTarget and listener .\n\nThe add an event listener concept exists to ensure [event handlers](https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers) use\nthe same code path. [HTML]\n\nThe\n`addEventListener(type, callback, options)`\nmethod steps are:\n\n1. Let capture, passive, once, and signal be the\n result of flattening more options.\n2. Add an event listener with [this](https://webidl.spec.whatwg.org/#this) and an event listener whose\n type is type, callback is\n callback, capture is capture,\n passive is passive, once is\n once, and signal is signal.\n\nTo remove an event listener, given an `EventTarget` object\neventTarget and an event listener listener, run these steps:\n\n1. If eventTarget is a `[ServiceWorkerGlobalScope](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope)` object and its\n [service worker](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope-service-worker)’s\n [set of event types to handle](https://w3c.github.io/ServiceWorker/#dfn-set-of-event-types-to-handle) [contains](https://infra.spec.whatwg.org/#list-contain) listener’s type, then [report a warning to the console](https://console.spec.whatwg.org/#report-a-warning-to-the-console)\n that this might not give the expected results. [SERVICE-WORKERS]\n2. Set listener’s removed to true and\n [remove](https://infra.spec.whatwg.org/#list-remove) listener from eventTarget’s\n event listener list.\n\nHTML needs this to define event handlers. [HTML]\n\nTo remove all event listeners, given an `EventTarget` object\neventTarget: [for each](https://infra.spec.whatwg.org/#list-iterate) listener of eventTarget’s\nevent listener list: remove an event listener with\neventTarget and listener.\n\nHTML needs this to define `document.open()`. [HTML]\n\nThe\n`removeEventListener(type, callback, options)`\nmethod steps are:\n\n1. Let capture be the result of flattening options.\n2. If [this](https://webidl.spec.whatwg.org/#this)’s event listener list [contains](https://infra.spec.whatwg.org/#list-contain) an\n event listener whose type is type,\n callback is callback, and\n capture is capture, then remove an event listener\n with [this](https://webidl.spec.whatwg.org/#this) and that event listener.\n\nThe event listener list will not contain multiple event listeners with equal\ntype, callback, and capture, as add an event listener\nprevents that.\n\nThe `dispatchEvent(event)` method steps\nare:\n\n1. If event’s dispatch flag is set, or if its initialized flag is not\n set, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidStateError](https://webidl.spec.whatwg.org/#invalidstateerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n2. Initialize event’s `isTrusted` attribute to false.\n3. Return the result of dispatching event to [this](https://webidl.spec.whatwg.org/#this).\n\n### 2.8. Observing event listeners\n\nIn general, developers do not expect the presence of an event listener to be observable.\nThe impact of an event listener is determined by its callback. That is, a developer\nadding a no-op event listener would not expect it to have any side effects.\n\nUnfortunately, some event APIs have been designed such that implementing them efficiently\nrequires observing event listeners. This can make the presence of listeners observable in\nthat even empty listeners can have a dramatic performance impact on the behavior of the application.\nFor example, touch and wheel events which can be used to block asynchronous scrolling. In some cases\nthis problem can be mitigated by specifying the event to be `cancelable` only when there is\nat least one non-`passive` listener. For example,\nnon-`passive` `[TouchEvent](https://w3c.github.io/touch-events/#idl-def-touchevent)` listeners must block scrolling, but if all\nlisteners are `passive` then scrolling can be allowed to start\n[in parallel](https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel) by making the `[TouchEvent](https://w3c.github.io/touch-events/#idl-def-touchevent)` uncancelable (so that calls to\n`preventDefault()` are ignored). So code dispatching an event is able to observe the absence\nof non-`passive` listeners, and use that to clear the `cancelable`\nproperty of the event being dispatched.\n\nIdeally, any new event APIs are defined such that they do not need this property. (Use\n[whatwg/dom](https://github.com/whatwg/dom/issues) for discussion.)\n\nTo legacy-obtain service worker fetch event listener callbacks given a\n`[ServiceWorkerGlobalScope](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope)` global, run these steps. They return a [list](https://infra.spec.whatwg.org/#list) of\n`EventListener` objects.\n\n1. Let callbacks be « ».\n2. [For each](https://infra.spec.whatwg.org/#list-iterate) listener of global’s\n event listener list: if listener’s type is\n \"`fetch`\" and listener’s callback is non-null,\n then [append](https://infra.spec.whatwg.org/#list-append) listener’s callback to\n callbacks.\n3. Return callbacks.\n\n### 2.9. Dispatching events\n\nTo dispatch an event event to an\n`EventTarget` object target, with an optional legacy target override flag and\nan optional legacyOutputDidListenersThrowFlag:\n\n1. Set event’s dispatch flag.\n2. Let targetOverride be target, if legacy target override flag\n is not given, and target’s [associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window) otherwise.\n [HTML] legacy target override flag is only used by HTML and only when\n target is a `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object.\n3. Let activationTarget be null.\n4. Let relatedTarget be the result of retargeting event’s\n relatedTarget against target.\n5. Let clearTargets be false.\n6. If target is not relatedTarget or target is event’s\n relatedTarget:\n 1. Let touchTargets be a new [list](https://infra.spec.whatwg.org/#list).\n 2. [For each](https://infra.spec.whatwg.org/#list-iterate) touchTarget of event’s\n touch target list: [append](https://infra.spec.whatwg.org/#list-append) the result of retargeting touchTarget against target to touchTargets.\n 3. Append to an event path with event, target,\n targetOverride, relatedTarget, touchTargets, and false.\n 4. Let isActivationEvent be true, if event is a `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` object\n and event’s `type` attribute is \"`click`\"; otherwise false.\n 5. If isActivationEvent is true and target has\n activation behavior, then set activationTarget to\n target.\n 6. Let slottable be target, if target is a slottable\n and is assigned, and null otherwise.\n 7. Let slotInClosedTree be false.\n 8. Let parent be the result of invoking target’s get the parent\n with event.\n 9. While parent is non-null:\n 1. If slottable is non-null:\n 1. Assert: parent is a slot.\n 2. Set slottable to null.\n 3. If parent’s root is a shadow root whose\n mode is \"`closed`\", then set slotInClosedTree\n to true.\n 2. If parent is a slottable and is assigned, then\n set slottable to parent.\n 3. Let relatedTarget be the result of retargeting event’s\n relatedTarget against parent.\n 4. Let touchTargets be a new [list](https://infra.spec.whatwg.org/#list).\n 5. [For each](https://infra.spec.whatwg.org/#list-iterate) touchTarget of event’s\n touch target list: [append](https://infra.spec.whatwg.org/#list-append) the result of retargeting touchTarget against parent to touchTargets.\n 6. If parent is a `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object, or parent is a node\n and target’s root is a shadow-including inclusive ancestor\n of parent:\n 1. If isActivationEvent is true, event’s `bubbles`\n attribute is true, activationTarget is null, and parent has\n activation behavior, then set activationTarget to\n parent.\n 2. Append to an event path with event, parent, null,\n relatedTarget, touchTargets, and slotInClosedTree.\n 7. Otherwise, if parent is relatedTarget, then set parent\n to null.\n 8. Otherwise:\n 1. Set target to parent.\n 2. If isActivationEvent is true, activationTarget is null, and\n target has activation behavior, then set\n activationTarget to target.\n 3. Append to an event path with event, parent,\n target, relatedTarget, touchTargets, and\n slotInClosedTree.\n 9. If parent is non-null, then set parent to the result of invoking\n parent’s get the parent with event.\n 10. Set slotInClosedTree to false.\n 10. Let clearTargetsItem be the last event path item in event’s\n path whose shadow-adjusted target is non-null.\n 11. If clearTargetsItem’s shadow-adjusted target,\n clearTargetsItem’s relatedTarget, or an `EventTarget` object\n in clearTargetsItem’s touch target list is a node\n whose root is a shadow root: set clearTargets to true.\n 12. If activationTarget is non-null and activationTarget has\n legacy-pre-activation behavior, then run activationTarget’s\n legacy-pre-activation behavior.\n 13. [For each](https://infra.spec.whatwg.org/#list-iterate) item of event’s path, in\n reverse order:\n 1. If item’s shadow-adjusted target is non-null, then\n set event’s `eventPhase` attribute to `AT_TARGET`.\n 2. Otherwise, set event’s `eventPhase` attribute to\n `CAPTURING_PHASE`.\n 3. Invoke with item, event, \"`capturing`\", and\n legacyOutputDidListenersThrowFlag if given.\n 14. [For each](https://infra.spec.whatwg.org/#list-iterate) item of event’s path:\n 1. If item’s shadow-adjusted target is non-null, then\n set event’s `eventPhase` attribute to `AT_TARGET`.\n 2. Otherwise:\n 1. If event’s `bubbles` attribute is false, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 2. Set event’s `eventPhase` attribute to `BUBBLING_PHASE`.\n 3. Invoke with item, event, \"`bubbling`\", and\n legacyOutputDidListenersThrowFlag if given.\n7. Set event’s `eventPhase` attribute to `NONE`.\n8. Set event’s `currentTarget` attribute to null.\n9. Set event’s path to the empty list.\n10. Unset event’s dispatch flag, stop propagation flag, and\n stop immediate propagation flag.\n11. If clearTargets is true:\n 1. Set event’s target to null.\n 2. Set event’s relatedTarget to null.\n 3. Set event’s touch target list to the empty list.\n12. If activationTarget is non-null:\n 1. If event’s canceled flag is unset, then run\n activationTarget’s activation behavior with event.\n 2. Otherwise, if activationTarget has\n legacy-canceled-activation behavior, then run\n activationTarget’s legacy-canceled-activation behavior.\n13. Return false if event’s canceled flag is set; otherwise true.\n\nTo append to an event path, given an\nevent event, an `EventTarget` object invocationTarget, a\npotential event target shadowAdjustedTarget, a potential event target relatedTarget, a [list](https://infra.spec.whatwg.org/#list) of potential event targets touchTargets, and a boolean slotInClosedTree:\n\n1. Let invocationTargetInShadowTree be false.\n2. If invocationTarget is a node and its root is a\n shadow root, then set invocationTargetInShadowTree to true.\n3. Let rootOfClosedTree be false.\n4. If invocationTarget is a shadow root whose mode\n is \"`closed`\", then set rootOfClosedTree to true.\n5. [Append](https://infra.spec.whatwg.org/#list-append) a new event path item to event’s\n path whose\n invocation target is invocationTarget,\n invocation-target-in-shadow-tree is invocationTargetInShadowTree,\n shadow-adjusted target is shadowAdjustedTarget,\n relatedTarget is relatedTarget,\n touch target list is touchTargets,\n root-of-closed-tree is rootOfClosedTree, and\n slot-in-closed-tree is slotInClosedTree.\n\nTo invoke, given an event path item pathItem, an event event, a string phase, and an optional\nlegacyOutputDidListenersThrowFlag:\n\n1. Let targetItem be pathItem.\n2. While targetItem’s shadow-adjusted target is null: set\n targetItem to the event path item preceding targetItem in\n event’s path.\n3. Set event’s target to targetItem’s\n shadow-adjusted target.\n4. Set event’s relatedTarget to pathItem’s\n relatedTarget.\n5. Set event’s touch target list to pathItem’s\n touch target list.\n6. If event’s stop propagation flag is set, then return.\n7. Initialize event’s `currentTarget` attribute to pathItem’s\n invocation target.\n8. Let listeners be a [clone](https://infra.spec.whatwg.org/#list-clone) of event’s\n `currentTarget` attribute value’s event listener list. This avoids event listeners added after this point from being\n run. Note that removal still has an effect due to the removed field.\n9. Let invocationTargetInShadowTree be pathItem’s\n invocation-target-in-shadow-tree.\n10. Let found be the result of running inner invoke with event,\n listeners, phase, invocationTargetInShadowTree, and\n legacyOutputDidListenersThrowFlag if given.\n11. If found is false and event’s `isTrusted` attribute is true:\n 1. Let originalEventType be event’s `type` attribute value.\n 2. If event’s `type` attribute value is a match for any of the strings in the\n first column in the following table, set event’s `type` attribute value to\n the string in the second column on the same row as the matching string, and return otherwise. Event type\n Legacy event type\n \n \"`animationend`\"\n \"`webkitAnimationEnd`\"\n \n \"`animationiteration`\"\n \"`webkitAnimationIteration`\"\n \n \"`animationstart`\"\n \"`webkitAnimationStart`\"\n \n \"`transitionend`\"\n \"`webkitTransitionEnd`\"\n 3. Inner invoke with event, listeners, phase,\n invocationTargetInShadowTree, and legacyOutputDidListenersThrowFlag\n if given.\n 4. Set event’s `type` attribute value to originalEventType.\n\nTo inner invoke, given an\nevent event, a [list](https://infra.spec.whatwg.org/#list) of event listeners listeners, a\nstring phase, a boolean invocationTargetInShadowTree, and an optional\nlegacyOutputDidListenersThrowFlag:\n\n1. Let found be false.\n2. [For each](https://infra.spec.whatwg.org/#list-iterate) listener of listeners, whose\n removed is false:\n 1. If event’s `type` attribute value is not listener’s\n type, then [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 2. Set found to true.\n 3. If phase is \"`capturing`\" and listener’s\n capture is false, then [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 4. If phase is \"`bubbling`\" and listener’s\n capture is true, then [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 5. If listener’s once is true, then\n remove an event listener given event’s `currentTarget` attribute value\n and listener.\n 6. Let global be listener callback’s\n [associated realm](https://webidl.spec.whatwg.org/#dfn-associated-realm)’s [global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global).\n 7. Let currentEvent be undefined.\n 8. If global is a `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object:\n 1. Set currentEvent to global’s current event.\n 2. If invocationTargetInShadowTree is false, then set global’s\n current event to event.\n 9. If listener’s passive is true, then set\n event’s in passive listener flag.\n 10. If global is a `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object, then\n [record timing info for event listener](https://w3c.github.io/long-animation-frames/#record-timing-info-for-event-listener) given event and listener.\n 11. [Call a user object’s operation](https://webidl.spec.whatwg.org/#call-a-user-objects-operation) with listener’s\n callback, \"`handleEvent`\", « event », and\n event’s `currentTarget` attribute value. If this throws an exception\n exception:\n 1. [Report](https://html.spec.whatwg.org/multipage/webappapis.html#report-an-exception) exception for listener’s\n callback’s corresponding JavaScript object’s\n [associated realm](https://webidl.spec.whatwg.org/#dfn-associated-realm)’s [global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global).\n 2. Set legacyOutputDidListenersThrowFlag if given. The legacyOutputDidListenersThrowFlag is only used by Indexed\n Database API. [INDEXEDDB]\n 12. Unset event’s in passive listener flag.\n 13. If global is a `[Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#window)` object, then set global’s\n current event to currentEvent.\n 14. If event’s stop immediate propagation flag is set, then\n [break](https://infra.spec.whatwg.org/#iteration-break).\n3. Return found.\n\n### 2.10. Firing events\n\nTo fire an event named e at target,\noptionally using an eventConstructor, with a description of how IDL attributes are to be\ninitialized, and a legacy target override flag, run these steps:\n\n1. If eventConstructor is not given, then let eventConstructor be\n `Event`.\n2. Let event be the result of creating an event given\n eventConstructor, in the [relevant realm](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-realm) of target.\n3. Initialize event’s `type` attribute to e.\n4. Initialize any other IDL attributes of event as described in the invocation of this\n algorithm. This also allows for the `isTrusted` attribute to be set to false.\n5. Return the result of dispatching event at target, with\n legacy target override flag set if set.\n\nFire in the context of DOM is short for\ncreating, initializing, and dispatching an event.\nFire an event makes that process easier to write down.\n\nIf the event needs its `bubbles` or `cancelable` attribute initialized,\n one could write \"fire an event named `submit` at target with its\n `cancelable` attribute initialized to true\".\n\nOr, when a custom constructor is needed, \"fire an event named `click` at\n target using `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` with its `[detail](https://w3c.github.io/uievents/#dom-uievent-detail)` attribute initialized to 1\".\n\nOccasionally the return value is important:\n\n1. Let doAction be the result of firing an event named\n `like` at target.\n2. If doAction is true, then …\n\n### 2.11. Action versus occurrence\n\nAn event signifies an occurrence, not an action. Phrased differently, it\nrepresents a notification from an algorithm and can be used to influence the future course\nof that algorithm (e.g., through invoking `preventDefault()`). Events must not be\nused as actions or initiators that cause some algorithm to start running. That is not what\nthey are for.\n\nThis is called out here specifically because previous\niterations of the DOM had a concept of \"default actions\" associated with events\nthat gave folks all the wrong ideas. Events do not represent or cause actions, they\ncan only be used to influence an ongoing one.\n\n## 3. Aborting ongoing activities\n\nThough promises do not have a built-in aborting mechanism, many APIs using them require abort\nsemantics. `AbortController` is meant to support these requirements by providing an\n`abort()` method that toggles the state of a corresponding `AbortSignal` object.\nThe API which wishes to support aborting can accept an `AbortSignal` object, and use its state to\ndetermine how to proceed.\n\nAPIs that rely upon `AbortController` are encouraged to respond to `abort()`\nby rejecting any unsettled promise with the `AbortSignal`’s abort reason.\n\nA hypothetical `doAmazingness({ ... })` method could accept an `AbortSignal` object\n to support aborting as follows:\n\n```\nconst controller = new AbortController(); const signal = controller.signal;\n\nstartSpinner();\n\ndoAmazingness({ ..., signal }) .then(result => ...) .catch(err => { if (err.name == 'AbortError') return;\n showUserErrorMessage(); }) .then(() => stopSpinner()); // …\n\ncontroller.abort();\n```\n\n`doAmazingness` could be implemented as follows:\n\n```\nfunction doAmazingness({signal}) { return new Promise((resolve, reject) => {\n signal.throwIfAborted(); // Begin doing amazingness, and call resolve(result) when done. // But also, watch for signals:\n signal.addEventListener('abort', () => { // Stop doing amazingness, and:\n reject(signal.reason); }); }); } \n```\n\nAPIs that do not return promises can either react in an equivalent manner or opt to not surface\nthe `AbortSignal`’s abort reason at all. `addEventListener()` is an\nexample of an API where the latter made sense.\n\nAPIs that require more granular control could extend both `AbortController` and\n`AbortSignal` objects according to their needs.\n\n### 3.1. Interface `AbortController`\n\n```\n[Exposed=*]\ninterface AbortController {\n constructor();\n\n [SameObject] readonly attribute AbortSignal signal;\n\n undefined abort(optional any reason);\n};\n```\n\n`controller = new AbortController()` Returns a new controller whose `signal` is set to a newly\n created `AbortSignal` object.\n\n`controller . signal` Returns the `AbortSignal` object associated with this object.\n\n`controller . abort(reason)` Invoking this method will store reason in this object’s `AbortSignal`’s\n abort reason, and signal to any observers that the associated activity is to be\n aborted. If reason is undefined, then an \"`[AbortError](https://webidl.spec.whatwg.org/#aborterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`\n will be stored.\n\nAn `AbortController` object has an associated signal (an\n`AbortSignal` object).\n\nThe\n`new AbortController()`\nconstructor steps are:\n\n1. Let signal be a new `AbortSignal` object.\n2. Set [this](https://webidl.spec.whatwg.org/#this)’s signal to signal.\n\nThe `signal` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s signal.\n\nThe `abort(reason)` method steps are\nto signal abort on [this](https://webidl.spec.whatwg.org/#this) with reason if it is given.\n\nTo signal abort on an `AbortController` controller with an optional reason, signal abort on\ncontroller’s signal with reason if it is given.\n\n### 3.2. Interface `AbortSignal`\n\n```\n[Exposed=*]\ninterface AbortSignal : EventTarget {\n [NewObject] static AbortSignal abort(optional any reason);\n [Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);\n [NewObject] static AbortSignal _any(sequence signals);\n\n readonly attribute boolean aborted;\n readonly attribute any reason;\n undefined throwIfAborted();\n\n attribute EventHandler onabort;\n};\n```\n\n`AbortSignal . abort(reason)` Returns an `AbortSignal` instance whose abort reason is set to\n reason if not undefined; otherwise to an \"`[AbortError](https://webidl.spec.whatwg.org/#aborterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n`AbortSignal . any(signals)` Returns an `AbortSignal` instance which will be aborted once any of signals is\n aborted. Its abort reason will be set to whichever one of signals\n caused it to be aborted.\n\n`AbortSignal . timeout(milliseconds)` Returns an `AbortSignal` instance which will be aborted in milliseconds\n milliseconds. Its abort reason will be set to a\n \"`[TimeoutError](https://webidl.spec.whatwg.org/#timeouterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n`signal . aborted` Returns true if signal’s `AbortController` has signaled to abort; otherwise false.\n\n`signal . reason` Returns signal’s abort reason.\n\n`signal . throwIfAborted()` Throws signal’s abort reason, if signal’s\n `AbortController` has signaled to abort; otherwise, does nothing.\n\nAn `AbortSignal` object has an associated abort reason (a\nJavaScript value), which is initially undefined.\n\nAn `AbortSignal` object has associated abort algorithms, (a\n[set](https://infra.spec.whatwg.org/#ordered-set) of algorithms which are to be executed when it is aborted),\nwhich is initially empty.\n\nThe abort algorithms enable APIs with complex\nrequirements to react in a reasonable way to `abort()`. For example, a given API’s\nabort reason might need to be propagated to a cross-thread environment, such as a\nservice worker.\n\nAn `AbortSignal` object has a dependent (a boolean), which is\ninitially false.\n\nAn `AbortSignal` object has associated source signals (a weak\n[set](https://infra.spec.whatwg.org/#ordered-set) of `AbortSignal` objects that the object is dependent on for its\naborted state), which is initially empty.\n\nAn `AbortSignal` object has associated dependent signals (a weak\n[set](https://infra.spec.whatwg.org/#ordered-set) of `AbortSignal` objects that are dependent on the object for their\naborted state), which is initially empty.\n\n---\n\nThe static `abort(reason)` method steps\nare:\n\n1. Let signal be a new `AbortSignal` object.\n2. Set signal’s abort reason to reason if it is given;\n otherwise to a new \"`[AbortError](https://webidl.spec.whatwg.org/#aborterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n3. Return signal .\n\nThe static `timeout(milliseconds)` method\nsteps are:\n\n1. Let signal be a new `AbortSignal` object.\n2. Let global be signal’s [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global).\n3. [Run steps after a timeout](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#run-steps-after-a-timeout) given global, \"`AbortSignal-timeout`\",\n milliseconds, and the following step: For the duration of this timeout, if signal has any event listeners registered for\n its `abort` event, there must be a strong reference from global to\n signal.\n 1. [Queue a global task](https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-global-task) on the [timer task source](https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timer-task-source) given global to\n signal abort given signal and a new\n \"`[TimeoutError](https://webidl.spec.whatwg.org/#timeouterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n4. Return signal.\n\nThe static `any(signals)` method\nsteps are to return the result of creating a dependent abort signal from signals\nusing `AbortSignal` and the [current realm](https://tc39.es/ecma262/#current-realm).\n\nThe `aborted` getter steps are to return true if [this](https://webidl.spec.whatwg.org/#this)\nis aborted; otherwise false.\n\nThe `reason` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nabort reason.\n\nThe `throwIfAborted()` method steps are to throw [this](https://webidl.spec.whatwg.org/#this)’s\nabort reason, if [this](https://webidl.spec.whatwg.org/#this) is aborted.\n\nThis method is primarily useful for when functions accepting `AbortSignal`s want to throw (or\n return a rejected promise) at specific checkpoints, instead of passing along the `AbortSignal`\n to other methods. For example, the following function allows aborting in between each attempt to\n poll for a condition. This gives opportunities to abort the polling process, even though the\n actual asynchronous operation (i.e., `await func()`) does not\n accept an `AbortSignal`.\n\n```\nasync function waitForCondition(func, targetValue, { signal } = {}) { while (true) {\n signal?.throwIfAborted(); const result = await func(); if (result === targetValue) { return; } } } \n```\n\nThe `onabort` attribute is an\n[event handler IDL attribute](https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-idl-attributes) for the `onabort` [event handler](https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers), whose [event handler event type](https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-event-type) is\n`abort`.\n\nChanges to an `AbortSignal` object represent the wishes of the corresponding\n`AbortController` object, but an API observing the `AbortSignal` object can choose to ignore\nthem. For instance, if the operation has already completed.\n\n---\n\nAn `AbortSignal` object is aborted when its\nabort reason is not undefined.\n\nTo add an algorithm algorithm to an `AbortSignal`\nobject signal:\n\n1. If signal is aborted, then return.\n2. [Append](https://infra.spec.whatwg.org/#set-append) algorithm to signal’s\n abort algorithms.\n\nTo remove an algorithm algorithm from an\n`AbortSignal` signal, [remove](https://infra.spec.whatwg.org/#list-remove) algorithm from\nsignal’s abort algorithms.\n\nTo signal abort, given an `AbortSignal` object signal and\nan optional reason:\n\n1. If signal is aborted, then return.\n2. Set signal’s abort reason to reason if it is given;\n otherwise to a new \"`[AbortError](https://webidl.spec.whatwg.org/#aborterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n3. Let dependentSignalsToAbort be a new [list](https://infra.spec.whatwg.org/#list).\n4. [For each](https://infra.spec.whatwg.org/#list-iterate) dependentSignal of signal’s\n dependent signals:\n 1. If dependentSignal is not aborted:\n 1. Set dependentSignal’s abort reason to signal’s\n abort reason.\n 2. [Append](https://infra.spec.whatwg.org/#list-append) dependentSignal to\n dependentSignalsToAbort.\n5. Run the abort steps for signal.\n6. [For each](https://infra.spec.whatwg.org/#list-iterate) dependentSignal of dependentSignalsToAbort,\n run the abort steps for dependentSignal.\n\nTo run the abort steps for an `AbortSignal` signal:\n\n1. [For each](https://infra.spec.whatwg.org/#list-iterate) algorithm of signal’s\n abort algorithms: run algorithm.\n2. [Empty](https://infra.spec.whatwg.org/#list-empty) signal’s abort algorithms.\n3. Fire an event named `abort` at signal.\n\nTo create a dependent abort signal from a list of `AbortSignal` objects\nsignals, using signalInterface, which must be either `AbortSignal` or an\ninterface that inherits from it, and a realm:\n\n1. Let resultSignal be a [new](https://webidl.spec.whatwg.org/#new) object implementing\n signalInterface using realm.\n2. [For each](https://infra.spec.whatwg.org/#list-iterate) signal of signals: if signal is\n aborted, then set resultSignal’s abort reason to\n signal’s abort reason and return resultSignal.\n3. Set resultSignal’s dependent to true.\n4. [For each](https://infra.spec.whatwg.org/#list-iterate) signal of signals:\n 1. If signal’s dependent is false:\n 1. [Append](https://infra.spec.whatwg.org/#set-append) signal to resultSignal’s\n source signals.\n 2. [Append](https://infra.spec.whatwg.org/#set-append) resultSignal to signal’s\n dependent signals.\n 2. Otherwise, [for each](https://infra.spec.whatwg.org/#list-iterate) sourceSignal of signal’s\n source signals:\n 1. Assert: sourceSignal is not aborted and not\n dependent.\n 2. [Append](https://infra.spec.whatwg.org/#set-append) sourceSignal to resultSignal’s\n source signals.\n 3. [Append](https://infra.spec.whatwg.org/#set-append) resultSignal to sourceSignal’s\n dependent signals.\n5. Return resultSignal.\n\n#### 3.2.1. Garbage collection\n\nA non-aborted dependent `AbortSignal` object must not be\ngarbage collected while its source signals is non-empty and it has registered event\nlisteners for its `abort` event or its abort algorithms is non-empty.\n\n### 3.3. Using `AbortController` and `AbortSignal` objects in\nAPIs\n\nAny web platform API using promises to represent operations that can be aborted must adhere to\nthe following:\n\n- Accept `AbortSignal` objects through a `signal` dictionary member.\n- Convey that the operation got aborted by rejecting the promise with `AbortSignal` object’s abort reason .\n- Reject immediately if the `AbortSignal` is already aborted , otherwise:\n- Use the abort algorithms mechanism to observe changes to the `AbortSignal` object and do so in a manner that does not lead to clashes with other observers.\n\nThe method steps for a promise-returning method `doAmazingness(options)`\n could be as follows:\n\n1. Let global be [this](https://webidl.spec.whatwg.org/#this)’s [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global).\n2. Let p be [a new promise](https://webidl.spec.whatwg.org/#a-new-promise).\n3. If options[\"`signal`\"] [exists](https://infra.spec.whatwg.org/#map-exists):\n 1. Let signal be options[\"`signal`\"].\n 2. If signal is aborted, then [reject](https://webidl.spec.whatwg.org/#reject) p with signal’s\n abort reason and return p.\n 3. Add the following abort steps to signal:\n 1. Stop doing amazing things.\n 2. [Reject](https://webidl.spec.whatwg.org/#reject) p with signal’s abort reason.\n4. Run these steps [in parallel](https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel):\n 1. Let amazingResult be the result of doing some amazing things.\n 2. [Queue a global task](https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-global-task) on the amazing task source given global to [resolve](https://webidl.spec.whatwg.org/#resolve) p\n with amazingResult.\n5. Return p.\n\nAPIs not using promises should still adhere to the above as much as possible.\n\n## 4. Nodes\n\n### 4.1. Introduction to \"The DOM\"\n\nIn its original sense, \"The DOM\" is an API for\naccessing and manipulating documents (in particular, HTML and XML\ndocuments). In this specification, the term \"document\" is used for any\nmarkup-based resource, ranging from short static documents to long essays or\nreports with rich multimedia, as well as to fully-fledged interactive\napplications.\n\nEach such document is represented as a node tree. Some of the nodes in a\ntree can have children, while others are always leaves.\n\nTo illustrate, consider this HTML document:\n\n```\n Aliens? Why yes. \n```\n\nIt is represented as follows:\n\n- Document\n - Doctype : `html`\n - `Element` : `html` `class`=\"`e`\"\n - `Element` : `head`\n - `Element` : `title`\n - `Text` : Aliens?\n - `Text` : ⏎␣\n - `Element` : `body`\n - `Text` : Why yes.⏎\n\nNote that, due to the magic that is [HTML parsing](https://html.spec.whatwg.org/multipage/parsing.html#html-parser), not all\n[ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) were turned into `Text` nodes, but the general concept is\nclear. Markup goes in, a tree of nodes comes out.\n\nThe most excellent\n[Live DOM Viewer](https://software.hixie.ch/utilities/js/live-dom-viewer/)\ncan be used to explore this matter in more detail.\n\n### 4.2. Node tree\n\nNodes are objects that [implement](https://webidl.spec.whatwg.org/#implements) `Node`.\nNodes participate in a tree, which is known as the\nnode tree.\n\nIn practice you deal with more specific objects.\n\nObjects that [implement](https://webidl.spec.whatwg.org/#implements) `Node` also implement an inherited interface: `Document`,\n `DocumentType`, `DocumentFragment`, `Element`, `CharacterData`, or `Attr`.\n\nObjects that implement `DocumentFragment` sometimes implement `ShadowRoot`.\n\nObjects that implement `Element` also typically implement an inherited interface, such as\n `[HTMLAnchorElement](https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement)`.\n\nObjects that implement `CharacterData` also implement an inherited interface: `Text`,\n `ProcessingInstruction`, or .\n\nObjects that implement `Text` sometimes implement `CDATASection`.\n\nThus, every node’s [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface) is one of: `Document`, `DocumentType`,\n `DocumentFragment`, `ShadowRoot`, `Element` or an inherited interface of `Element`,\n `Attr`, `Text`, `CDATASection`, `ProcessingInstruction`, or `Comment`.\n\nFor brevity, this specification refers to an object that [implements](https://webidl.spec.whatwg.org/#implements) `Node` and an\ninherited interface `NodeInterface`, as a\n`NodeInterface` node.\n\nA node tree is constrained as follows, expressed as a relationship between a\nnode and its potential children:\n\n`Document` In tree order:\n Zero or more `ProcessingInstruction` or `Comment` nodes.\n Optionally one `DocumentType` node.\n Zero or more `ProcessingInstruction` or `Comment` nodes.\n Optionally one `Element` node.\n Zero or more `ProcessingInstruction` or `Comment` nodes.\n\n`DocumentFragment`\n\n`Element` Zero or more `Element` or `CharacterData` nodes.\n\n`DocumentType`\n\n`CharacterData`\n\n`Attr` No children.\n\n`Attr` nodes participate in a tree for historical\nreasons; they never have a (non-null) parent or any children and are\ntherefore alone in a tree.\n\nTo determine the length of a node node, run these steps:\n\n1. If node is a `DocumentType` or `Attr` node, then return 0.\n2. If node is a `CharacterData` node, then return node’s\n data’s [length](https://infra.spec.whatwg.org/#string-length).\n3. Return the number of node’s children.\n\nA node is considered empty if its\nlength is 0.\n\n#### 4.2.1. Document tree\n\nA document tree is a node tree whose\nroot is a document.\n\nThe document element of a document is the element\nwhose parent is that document, if it exists; otherwise null.\n\nPer the node tree constraints, there can be only one such\nelement.\n\nA node is in a document tree if its root is a\ndocument.\n\nA node is in a document if it is in a document tree.\nThe term in a document is no longer supposed to be used. It indicates that\nthe standard using it has not been updated to account for shadow trees.\n\n#### 4.2.2. Shadow tree\n\nA shadow tree is a node tree whose\nroot is a shadow root.\n\nA shadow root is always attached to another node tree through its\nhost. A shadow tree is therefore never alone. The\nnode tree of a shadow root’s host is sometimes\nreferred to as the light tree.\n\nA shadow tree’s corresponding light tree can be a shadow tree\nitself.\n\nA node is connected if its\nshadow-including root is a document.\n\n##### 4.2.2.1. Slots\n\nA shadow tree contains zero or more elements that are\nslots.\n\nA slot can only be created through HTML’s `[slot](https://html.spec.whatwg.org/multipage/scripting.html#the-slot-element)` element.\n\nA slot has an associated name (a string). Unless stated\notherwise it is the empty string.\n\nUse these attribute change steps to update a slot’s name:\n\n1. If element is a slot, localName is `name`, and\n namespace is null:\n 1. If value is oldValue, then return.\n 2. If value is null and oldValue is the empty string, then return.\n 3. If value is the empty string and oldValue is null, then return.\n 4. If value is null or the empty string, then set element’s\n name to the empty string.\n 5. Otherwise, set element’s name to value.\n 6. Run assign slottables for a tree with element’s root.\n\nThe first slot in a shadow tree, in tree order, whose\nname is the empty string, is sometimes known as the \"default slot\".\n\nA slot has an associated assigned nodes (a list of\nslottables). Unless stated otherwise it is empty.\n\n##### 4.2.2.2. Slottables\n\n`Element` and `Text` nodes are\nslottables.\n\nA slot can be a slottable.\n\nA slottable has an associated name (a\nstring). Unless stated otherwise it is the empty string.\n\nUse these attribute change steps to update a slottable’s name:\n\n1. If localName is `slot` and namespace is null:\n 1. If value is oldValue, then return.\n 2. If value is null and oldValue is the empty string, then return.\n 3. If value is the empty string and oldValue is null, then return.\n 4. If value is null or the empty string, then set element’s\n name to the empty string.\n 5. Otherwise, set element’s name to value.\n 6. If element is assigned, then run assign slottables\n for element’s assigned slot.\n 7. Run assign a slot for element.\n\nA slottable has an associated\nassigned slot (null or a slot).\nUnless stated otherwise it is null. A slottable is\nassigned if its assigned slot is\nnon-null.\n\nA slottable has an associated manual slot assignment (null\nor a slot). Unless stated otherwise, it is null.\n\nA slottable’s manual slot assignment can be implemented using a weak\nreference to the slot, because this variable is not directly accessible from script.\n\n##### 4.2.2.3. Finding slots and slottables\n\nTo find a slot for a given slottable slottable and an optional\nboolean open (default false):\n\n1. If slottable’s parent is null, then return null.\n2. Let shadow be slottable’s parent’s\n shadow root.\n3. If shadow is null, then return null.\n4. If open is true and shadow’s mode is not\n \"`open`\", then return null.\n5. If shadow’s slot assignment is \"`manual`\", then\n return the slot in shadow’s descendants whose\n [manually assigned nodes](https://html.spec.whatwg.org/multipage/scripting.html#manually-assigned-nodes) [contains](https://infra.spec.whatwg.org/#list-contain) slottable, if any; otherwise\n null.\n6. Return the first slot in tree order in shadow’s\n descendants whose name is slottable’s\n name, if any; otherwise null.\n\nTo find slottables for a given slot slot:\n\n1. Let result be « ».\n2. Let root be slot’s root.\n3. If root is not a shadow root, then return result.\n4. Let host be root’s host.\n5. If root’s slot assignment is \"`manual`\":\n 1. [For each](https://infra.spec.whatwg.org/#list-iterate) slottable slottable of slot’s\n [manually assigned nodes](https://html.spec.whatwg.org/multipage/scripting.html#manually-assigned-nodes), if slottable’s parent is\n host, [append](https://infra.spec.whatwg.org/#list-append) slottable to result.\n6. Otherwise, for each slottable child slottable of\n host, in tree order:\n 1. Let foundSlot be the result of finding a slot given\n slottable.\n 2. If foundSlot is slot, then [append](https://infra.spec.whatwg.org/#list-append) slottable to result.\n7. Return result.\n\nTo find flattened slottables for a given\nslot slot:\n\n1. Let result be « ».\n2. If slot’s root is not a shadow root, then return\n result.\n3. Let slottables be the result of finding slottables given\n slot.\n4. If slottables is the empty list, then append each slottable child of slot, in tree order, to slottables.\n5. For each node of slottables:\n 1. If node is a slot whose root is a shadow root:\n 1. Let temporaryResult be the result of finding flattened slottables given\n node.\n 2. Append each slottable in temporaryResult, in order, to\n result.\n 2. Otherwise, append node to result.\n6. Return result.\n\n##### 4.2.2.4. Assigning slottables and slots\n\nTo assign slottables for a slot slot:\n\n1. Let slottables be the result of finding slottables for slot.\n2. If slottables and slot’s assigned nodes are not\n identical, then run signal a slot change for slot.\n3. Set slot’s assigned nodes to slottables.\n4. For each slottable of slottables: set slottable’s\n assigned slot to slot.\n\nTo assign slottables for a tree, given a\nnode root, run assign slottables for each slot of\nroot’s inclusive descendants, in tree order.\n\nTo assign a slot, given a slottable slottable:\n\n1. Let slot be the result of finding a slot with slottable.\n2. If slot is non-null, then run assign slottables for slot.\n\n##### 4.2.2.5. Signaling slot change\n\nEach [similar-origin window agent](https://html.spec.whatwg.org/multipage/webappapis.html#similar-origin-window-agent) has signal slots\n(a [set](https://infra.spec.whatwg.org/#ordered-set) of slots), which is initially empty. [HTML]\n\nTo signal a slot change, for a slot slot:\n\n1. [Append](https://infra.spec.whatwg.org/#set-append) slot to slot’s [relevant agent](https://html.spec.whatwg.org/multipage/webappapis.html#relevant-agent)’s\n signal slots.\n2. Queue a mutation observer microtask.\n\n#### 4.2.3. Mutation algorithms\n\nTo ensure pre-insert validity given a\nnode node, a node parent, null or a\nnode child, and a [list](https://infra.spec.whatwg.org/#list) of nodes childrenToExclude:\n\n1. If parent is not a `Document`, `DocumentFragment`, or `Element` node, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n2. If node is a host-including inclusive ancestor of parent, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n3. If child is non-null and its parent is not parent,\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotFoundError](https://webidl.spec.whatwg.org/#notfounderror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n4. If node is not a `DocumentFragment`, `DocumentType`, `Element`, or\n `CharacterData` node, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n5. If parent is not a document:\n 1. If node is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n 2. Return.\n6. If node is a `Text` node, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n7. If node is a `CharacterData` node, then return.\n8. If node is a `DocumentFragment` node:\n 1. If node has more than one element child or has a\n `Text` node child, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n 2. If node has no element child, then return.\n9. If node is a `DocumentFragment` or `Element` node:\n 1. If any of the following are true: then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n - parent has an element child that\n childrenToExclude does not [contain](https://infra.spec.whatwg.org/#list-contain);\n - child is non-null and a doctype is following child;\n or\n - child is a doctype that childrenToExclude does not\n [contain](https://infra.spec.whatwg.org/#list-contain),\n 2. Return.\n10. [Assert](https://infra.spec.whatwg.org/#assert): node is a doctype.\n11. If any of the following are true: then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n - parent has a doctype child that\n childrenToExclude does not [contain](https://infra.spec.whatwg.org/#list-contain);\n - child is non-null and an element is preceding child; or\n - child is null and parent has an element child that childrenToExclude does not [contain](https://infra.spec.whatwg.org/#list-contain),\n\nTo pre-insert a node node\ninto a node parent before null or node child:\n\n1. Ensure pre-insert validity given node, parent,\n child, and « ».\n2. Let referenceChild be child.\n3. If referenceChild is node, then set referenceChild to\n node’s next sibling.\n4. Insert node into parent before referenceChild.\n5. Return node.\n\nSpecifications may define\ninsertion steps for all or some nodes. The\nalgorithm is passed insertedNode, as indicated in the insert algorithm\nbelow. These steps must not modify the node tree that insertedNode participates in, create [browsing contexts](https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context),\nfire events, or otherwise execute JavaScript. These steps may\n[queue tasks](https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-global-task) to do these things asynchronously, however.\n\nWhile the insertion steps cannot execute JavaScript (among other things), they will\n indeed have script-observable consequences. Consider the below example:\n\n```\nconst h1 = document.querySelector('h1'); const fragment = new DocumentFragment(); const script = fragment.appendChild(document.createElement('script')); const style = fragment.appendChild(document.createElement('style'));\n\nscript.innerText= 'console.log(getComputedStyle(h1).color)'; // Logs 'rgb(255, 0, 0)'\nstyle.innerText = 'h1 {color: rgb(255, 0, 0);}';\n\ndocument.body.append(fragment); \n```\n\nThe script in the above example logs `'rgb(255, 0, 0)'` because\n the following happen in order:\n\n1. The insert algorithm runs, which will insert the `[script](https://html.spec.whatwg.org/multipage/scripting.html#script)` and `[style](https://html.spec.whatwg.org/multipage/semantics.html#the-style-element)` elements in order.\n 1. The HTML Standard’s insertion steps run for the `[script](https://html.spec.whatwg.org/multipage/scripting.html#script)` element; they do\n nothing. [HTML]\n 2. The HTML Standard’s insertion steps run for the `[style](https://html.spec.whatwg.org/multipage/semantics.html#the-style-element)` element; they immediately apply its style rules to the\n document. [HTML]\n 3. The HTML Standard’s post-connection steps run for the `[script](https://html.spec.whatwg.org/multipage/scripting.html#script)` element; they run\n the script, which immediately observes the style rules that were applied in the above step.\n [HTML]\n\nSpecifications may also define\npost-connection steps for all or some\nnodes. The algorithm is passed connectedNode, as indicated in the\ninsert algorithm below.\n\nThe purpose of the post-connection steps is to provide an opportunity for\nnodes to perform any connection-related operations that modify the node tree\nthat connectedNode participates in, create [browsing contexts](https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context),\nor otherwise execute JavaScript. These steps allow a batch of nodes to be\ninserted *atomically* with respect to script, with all major side effects\noccurring *after* the batch insertions into the node tree is complete. This ensures\nthat all pending node tree insertions completely finish before more insertions can occur.\n\nSpecifications may define\nchildren changed steps for all or some\nnodes. The algorithm is passed no argument and is called from insert,\nremove, and replace data.\n\nTo insert a node node into a\nnode parent before null or a node child, with an\noptional boolean suppressObservers (default false):\n\n1. Let nodes be node’s children, if node is a\n `DocumentFragment` node; otherwise « node ».\n2. Let count be nodes’s [size](https://infra.spec.whatwg.org/#list-size).\n3. If count is 0, then return.\n4. If node is a `DocumentFragment` node:\n 1. Remove its children with\n *suppressObservers* set to true.\n 2. Queue a tree mutation record for node with « », nodes, null, and\n null. This step intentionally does not pay attention to suppressObservers.\n5. If child is non-null:\n 1. For each live range whose start node is parent and\n start offset is greater than child’s index: increase\n its start offset by count.\n 2. For each live range whose end node is parent and\n end offset is greater than child’s index: increase\n its end offset by count.\n6. Let previousSibling be child’s previous sibling or\n parent’s last child if child is null.\n7. For each node in nodes, in tree order:\n 1. Adopt node into parent’s node document.\n 2. If child is null, then [append](https://infra.spec.whatwg.org/#set-append) node to\n parent’s children.\n 3. Otherwise, [insert](https://infra.spec.whatwg.org/#list-insert) node into parent’s\n children before child’s index.\n 4. If parent is a shadow host whose shadow root’s\n slot assignment is \"`named`\" and node is a\n slottable, then assign a slot for node.\n 5. If parent’s root is a shadow root, and\n parent is a slot whose assigned nodes is the empty list,\n then run signal a slot change for parent.\n 6. Run assign slottables for a tree with node’s root.\n 7. For each shadow-including inclusive descendant inclusiveDescendant of\n node, in shadow-including tree order:\n 1. Run the insertion steps with inclusiveDescendant.\n 2. If inclusiveDescendant is not connected, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 3. If inclusiveDescendant is an element and\n inclusiveDescendant’s custom element registry is non-null:\n 1. If inclusiveDescendant’s custom element registry’s\n [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is true, then [append](https://infra.spec.whatwg.org/#set-append) inclusiveDescendant’s node document to\n inclusiveDescendant’s custom element registry’s\n [scoped document set](https://html.spec.whatwg.org/multipage/custom-elements.html#scoped-document-set).\n 2. If inclusiveDescendant is custom, then\n [enqueue a custom element callback reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-callback-reaction) with inclusiveDescendant,\n callback name \"`connectedCallback`\", and « ».\n 3. Otherwise, [try to upgrade](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-try-upgrade) inclusiveDescendant. If this successfully upgrades inclusiveDescendant, its\n `connectedCallback` will be enqueued automatically during the\n [upgrade an element](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-upgrade-an-element) algorithm.\n 4. Otherwise, if inclusiveDescendant is a shadow root,\n inclusiveDescendant’s custom element registry is non-null, and\n inclusiveDescendant’s custom element registry’s\n [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is true, then [append](https://infra.spec.whatwg.org/#set-append) inclusiveDescendant’s node document to\n inclusiveDescendant’s custom element registry’s\n [scoped document set](https://html.spec.whatwg.org/multipage/custom-elements.html#scoped-document-set).\n8. If suppressObservers is false, then queue a tree mutation record for\n parent with nodes, « », previousSibling, and child.\n9. Run the children changed steps for parent.\n10. Let staticNodeList be a [list](https://infra.spec.whatwg.org/#list) of nodes, initially « ». We collect all nodes *before* calling the\n post-connection steps on any one of them, instead of calling the\n post-connection steps *while* we’re traversing the node tree. This is because\n the post-connection steps can modify the tree’s structure, making live traversal unsafe,\n possibly leading to the post-connection steps being called multiple times on the same\n node.\n11. For each node of nodes, in tree order:\n 1. For each shadow-including inclusive descendant inclusiveDescendant of\n node, in shadow-including tree order: [append](https://infra.spec.whatwg.org/#list-append) inclusiveDescendant to staticNodeList.\n12. [For each](https://infra.spec.whatwg.org/#list-iterate) node of staticNodeList: if node is\n connected, then run the post-connection steps with node.\n\nTo append a node node to a\nnode parent: pre-insert node into parent before\nnull.\n\n---\n\nSpecifications may define\nmoving steps for all or some nodes. The\nalgorithm is passed a node movedNode, a boolean\nisSubtreeRoot, and a node oldAncestor\nas indicated in the move algorithm below. Like the\ninsertion steps, these steps must not modify the node tree that\nmovedNode participates in, create [browsing contexts](https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context),\nfire events, or otherwise execute JavaScript. These steps may queue tasks\nto do these things asynchronously, however.\n\nTo move a node node into a node newParent before null or a node child:\n\n1. If newParent’s shadow-including root is not the same as\n node’s shadow-including root, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`. This has the side effect of ensuring that a move is only performed if\n newParent’s connected is node’s connected.\n2. If node is a host-including inclusive ancestor of newParent,\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n3. If child is non-null and its parent is not newParent,\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotFoundError](https://webidl.spec.whatwg.org/#notfounderror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n4. If node is not an `Element` or a `CharacterData` node, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n5. If node is a `Text` node and newParent is a\n document, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n6. If newParent is a document, node is an `Element` node, and either newParent has an element child, child is a doctype, or child is non-null and a\n doctype is following child then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n7. Let oldParent be node’s parent.\n8. [Assert](https://infra.spec.whatwg.org/#assert): oldParent is non-null.\n9. Run the live range pre-remove steps, given node.\n10. For each `NodeIterator` object iterator whose\n root’s node document is node’s\n node document: run the `NodeIterator` pre-remove steps given\n node and iterator.\n11. Let oldPreviousSibling be node’s previous sibling.\n12. Let oldNextSibling be node’s next sibling.\n13. [Remove](https://infra.spec.whatwg.org/#list-remove) node from oldParent’s children.\n14. If node is assigned, then run assign slottables for\n node’s assigned slot.\n15. If oldParent’s root is a shadow root, and\n oldParent is a slot whose assigned nodes [is empty](https://infra.spec.whatwg.org/#list-is-empty), then run signal a slot change for oldParent.\n16. If node has an inclusive descendant that is a slot:\n 1. Run assign slottables for a tree with oldParent’s root.\n 2. Run assign slottables for a tree with node.\n17. If child is non-null:\n 1. For each live range whose start node is newParent and\n start offset is greater than child’s index: increase\n its start offset by 1.\n 2. For each live range whose end node is newParent and\n end offset is greater than child’s index: increase\n its end offset by 1.\n18. Let newPreviousSibling be child’s previous sibling if\n child is non-null, and newParent’s last child otherwise.\n19. If child is null, then [append](https://infra.spec.whatwg.org/#set-append) node to\n newParent’s children.\n20. Otherwise, [insert](https://infra.spec.whatwg.org/#list-insert) node into newParent’s\n children before child’s index.\n21. If newParent is a shadow host whose shadow root’s\n slot assignment is \"`named`\" and node is a\n slottable, then assign a slot for node.\n22. If newParent’s root is a shadow root, and\n newParent is a slot whose assigned nodes [is empty](https://infra.spec.whatwg.org/#list-is-empty), then run signal a slot change for newParent.\n23. Run assign slottables for a tree with node’s root.\n24. For each shadow-including inclusive descendant inclusiveDescendant of\n node, in shadow-including tree order:\n 1. Let isSubtreeRoot be true if inclusiveDescendant is\n node; otherwise false.\n 2. Run the moving steps with inclusiveDescendant, isSubtreeRoot,\n and oldParent. Because the move algorithm is a separate primitive from\n insert and remove, it does not invoke the insertion steps\n or removing steps for inclusiveDescendant.\n 3. If inclusiveDescendant is custom and newParent is\n connected, then [enqueue a custom element callback reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-callback-reaction) with\n inclusiveDescendant, callback name \"`connectedMoveCallback`\", and « ».\n25. Queue a tree mutation record for oldParent with « », « node »,\n oldPreviousSibling, and oldNextSibling.\n26. Queue a tree mutation record for newParent with « node », « »,\n newPreviousSibling, and child.\n\n---\n\nTo replace a node child with\na node node within a node parent:\n\n1. Ensure pre-insert validity given node, parent,\n child, and « child ».\n2. Let referenceChild be child’s next sibling.\n3. If referenceChild is node, then set referenceChild to\n node’s next sibling.\n4. Let previousSibling be child’s previous sibling.\n5. Let removedNodes be the empty set.\n6. Adopt node into parent’s node document.\n7. If child’s parent is non-null: The above can only be false if child is node.\n 1. Set removedNodes to « child ».\n 2. Remove child with *suppressObservers* set\n to true.\n8. Let nodes be node’s children if node is a\n `DocumentFragment` node; otherwise « node ».\n9. Insert node into parent before referenceChild\n with *suppressObservers* set to true.\n10. Queue a tree mutation record for parent with nodes,\n removedNodes, previousSibling, and referenceChild.\n11. Return child.\n\nTo replace all with a node or\nnull node within a node parent:\n\n1. Let removedNodes be parent’s children.\n2. Let addedNodes be the empty set.\n3. If node is a `DocumentFragment` node, then set\n addedNodes to node’s children.\n4. Otherwise, if node is non-null, set addedNodes to « node ».\n5. Remove all parent’s children, in tree order,\n with *suppressObservers* set to true.\n6. If node is non-null, then insert node into\n parent before null with *suppressObservers* set to true.\n7. If either addedNodes or removedNodes [is not empty](https://infra.spec.whatwg.org/#list-is-empty),\n then queue a tree mutation record for parent with addedNodes,\n removedNodes, null, and null.\n\nThis algorithm does not make any checks with regards to the\nnode tree constraints. Specification authors need to use it wisely.\n\n---\n\nTo pre-remove a node child\nfrom a node parent:\n\n1. If child’s parent is not parent, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotFoundError](https://webidl.spec.whatwg.org/#notfounderror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n2. Remove child.\n3. Return child.\n\nSpecifications may define\nremoving steps for all or some nodes. The\nalgorithm is passed a node removedNode, a boolean\nisSubtreeRoot, and a node oldAncestor as indicated\nin the remove algorithm below.\n\nTo remove a node node, with an\noptional boolean suppressObservers (default false):\n\n1. Let parent be node’s parent.\n2. Assert: parent is non-null.\n3. Run the live range pre-remove steps, given node.\n4. For each `NodeIterator` object iterator whose\n root’s node document is node’s\n node document: run the `NodeIterator` pre-remove steps given\n node and iterator.\n5. Let oldPreviousSibling be node’s previous sibling.\n6. Let oldNextSibling be node’s next sibling.\n7. [Remove](https://infra.spec.whatwg.org/#list-remove) node from its parent’s children.\n8. If node is assigned, then run assign slottables for\n node’s assigned slot.\n9. If parent’s root is a shadow root, and\n parent is a slot whose assigned nodes is the empty list,\n then run signal a slot change for parent.\n10. If node has an inclusive descendant that is a slot:\n 1. Run assign slottables for a tree with parent’s root.\n 2. Run assign slottables for a tree with node.\n11. Run the removing steps with node, true, and parent.\n12. Let isParentConnected be parent’s connected.\n13. If node is custom and isParentConnected is true, then\n [enqueue a custom element callback reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-callback-reaction) with node, callback name\n \"`disconnectedCallback`\", and « ». It is intentional for now that custom elements do\n not get parent passed. This might change in the future if there is a need.\n14. For each shadow-including descendant descendant of node, in\n shadow-including tree order:\n 1. Run the removing steps with descendant, false, and parent.\n 2. If descendant is custom and isParentConnected\n is true, then [enqueue a custom element callback reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-callback-reaction) with descendant,\n callback name \"`disconnectedCallback`\", and « ».\n15. For each inclusive ancestor inclusiveAncestor of\n parent, and then [for each](https://infra.spec.whatwg.org/#list-iterate) registered of\n inclusiveAncestor’s registered observer list, if registered’s\n options[\"`subtree`\"] is true, then\n [append](https://infra.spec.whatwg.org/#list-append) a new transient registered observer whose\n observer is registered’s\n observer, options is\n registered’s options, and\n source is registered to node’s\n registered observer list.\n16. If suppressObservers is false, then queue a tree mutation record for\n parent with « », « node », oldPreviousSibling, and\n oldNextSibling.\n17. Run the children changed steps for parent.\n\n#### 4.2.4. Mixin `NonElementParentNode`\n\nWeb compatibility prevents the `getElementById()`\nmethod from being exposed on elements (and therefore on `ParentNode`).\n\n```\ninterface mixin NonElementParentNode {\n Element? getElementById(DOMString elementId);\n};\nDocument includes NonElementParentNode;\nDocumentFragment includes NonElementParentNode;\n```\n\n`node . getElementById(elementId)` Returns the first element within node’s descendants\n whose ID is elementId.\n\nTo get an element by ID, given a node node and a\nstring elementId, return the first element, in tree order, within\nnode’s descendants, whose ID is elementId;\notherwise, if there is no such element, null.\n\nThe `getElementById(elementId)`\nmethod steps are to return the result of getting an element by ID given [this](https://webidl.spec.whatwg.org/#this) and\nelementId.\n\n#### 4.2.5. Mixin `DocumentOrShadowRoot`\n\n```\ninterface mixin DocumentOrShadowRoot {\n readonly attribute CustomElementRegistry? customElementRegistry;\n};\nDocument includes DocumentOrShadowRoot;\nShadowRoot includes DocumentOrShadowRoot;\n```\n\n`registry = documentOrShadowRoot . `customElementRegistry`` Returns documentOrShadowRoot’s `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object, if any;\n otherwise null.\n\nThe `customElementRegistry` getter steps\nare:\n\n1. If [this](https://webidl.spec.whatwg.org/#this) is a document, then return [this](https://webidl.spec.whatwg.org/#this)’s\n custom element registry.\n2. [Assert](https://infra.spec.whatwg.org/#assert): [this](https://webidl.spec.whatwg.org/#this) is a `ShadowRoot` node.\n3. Return [this](https://webidl.spec.whatwg.org/#this)’s custom element registry.\n\nThe `DocumentOrShadowRoot` mixin is also expected to be used by other\nstandards that want to define APIs shared between documents and\nshadow roots.\n\n#### 4.2.6. Mixin `ParentNode`\n\nTo convert nodes into a node, given a [list](https://infra.spec.whatwg.org/#list) of nodes and\nstrings nodes, and document document:\n\n1. Replace each string in nodes with the result of creating a text node given\n document and the string.\n2. If nodes’s [size](https://infra.spec.whatwg.org/#list-size) is 1, then return nodes[0].\n3. Let fragment be the result of creating a document fragment given\n document.\n4. For each node of nodes: append node to\n fragment.\n5. Return fragment.\n\n```\ninterface mixin ParentNode {\n [SameObject] readonly attribute HTMLCollection children;\n readonly attribute Element? firstElementChild;\n readonly attribute Element? lastElementChild;\n readonly attribute unsigned long childElementCount;\n\n [CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);\n\n [CEReactions] undefined moveBefore(Node node, Node? child);\n\n Element? querySelector(DOMString selectors);\n [NewObject] NodeList querySelectorAll(DOMString selectors);\n};\nDocument includes ParentNode;\nDocumentFragment includes ParentNode;\nElement includes ParentNode;\n```\n\n`collection = node . `children`` Returns the child elements.\n\n`element = node . `firstElementChild`` Returns the first child that is an element; otherwise null.\n\n`element = node . `lastElementChild`` Returns the last child that is an element; otherwise null.\n\n`node . prepend(nodes)` Inserts nodes before the first child of node, while\n replacing strings in nodes with equivalent `Text` nodes.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated.\n\n`node . append(nodes)` Inserts nodes after the last child of node, while replacing\n strings in nodes with equivalent `Text` nodes.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated.\n\n`node . replaceChildren(nodes)` Replace all children of node with nodes,\n while replacing strings in nodes with equivalent `Text` nodes.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated.\n\n`node . moveBefore(movedNode, child)` Moves, without first removing, movedNode into node after child\n if child is non-null; otherwise after the last child of node. This\n method preserves state associated with movedNode.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated, or the state associated with the moved node cannot be\n preserved.\n\n`node . querySelector(selectors)` Returns the first element that is a descendant of\n node that matches selectors.\n\n`node . querySelectorAll(selectors)` Returns all element descendants of node that match\n selectors.\n\nThe `children` getter steps are to return an\n`HTMLCollection` collection rooted at [this](https://webidl.spec.whatwg.org/#this) matching only element children.\n\nThe `firstElementChild` getter steps are to return\nthe first child that is an element; otherwise null.\n\nThe `lastElementChild` getter steps are to return\nthe last child that is an element; otherwise null.\n\nThe `childElementCount` getter steps are to return\nthe number of children of [this](https://webidl.spec.whatwg.org/#this) that are elements.\n\nThe `prepend(nodes)` method steps are:\n\n1. Let node be the result of converting nodes into a node given\n nodes and [this](https://webidl.spec.whatwg.org/#this)’s node document.\n2. Pre-insert node into [this](https://webidl.spec.whatwg.org/#this) before [this](https://webidl.spec.whatwg.org/#this)’s\n first child.\n\nThe `append(nodes)` method steps are:\n\n1. Let node be the result of converting nodes into a node given\n nodes and [this](https://webidl.spec.whatwg.org/#this)’s node document.\n2. Append node to [this](https://webidl.spec.whatwg.org/#this).\n\nThe `replaceChildren(nodes)` method steps\nare:\n\n1. Let node be the result of converting nodes into a node given\n nodes and [this](https://webidl.spec.whatwg.org/#this)’s node document.\n2. Ensure pre-insert validity given node, [this](https://webidl.spec.whatwg.org/#this), null, and\n [this](https://webidl.spec.whatwg.org/#this)’s children.\n3. Replace all with node within [this](https://webidl.spec.whatwg.org/#this).\n\nThe `moveBefore(node, child)`\nmethod steps are:\n\n1. Let referenceChild be child.\n2. If referenceChild is node, then set referenceChild to\n node’s next sibling.\n3. Move node into [this](https://webidl.spec.whatwg.org/#this) before referenceChild.\n\nThe `querySelector(selectors)` method\nsteps are to return the first result of running scope-match a selectors string selectors against [this](https://webidl.spec.whatwg.org/#this), if the result is not an empty list; otherwise null.\n\nThe `querySelectorAll(selectors)` method\nsteps are to return the static result of running\nscope-match a selectors string selectors against [this](https://webidl.spec.whatwg.org/#this).\n\n#### 4.2.7. Mixin `NonDocumentTypeChildNode`\n\nWeb compatibility prevents the `previousElementSibling` and\n`nextElementSibling` attributes from being exposed on doctypes (and therefore on\n`ChildNode`).\n\n```\ninterface mixin NonDocumentTypeChildNode {\n readonly attribute Element? previousElementSibling;\n readonly attribute Element? nextElementSibling;\n};\nElement includes NonDocumentTypeChildNode;\nCharacterData includes NonDocumentTypeChildNode;\n```\n\n`element = node . `previousElementSibling`` Returns the first preceding sibling that is an element;\n otherwise null.\n\n`element = node . `nextElementSibling`` Returns the first following sibling that is an element;\n otherwise null.\n\nThe `previousElementSibling` getter\nsteps are to return the first preceding sibling that is an\nelement; otherwise null.\n\nThe `nextElementSibling` getter\nsteps are to return the first following sibling that is an\nelement; otherwise null.\n\n#### 4.2.8. Mixin `ChildNode`\n\n```\ninterface mixin ChildNode {\n [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined remove();\n};\nDocumentType includes ChildNode;\nElement includes ChildNode;\nCharacterData includes ChildNode;\n```\n\n`node . `before(...nodes)`` Inserts nodes just before node, while replacing strings in\n nodes with equivalent `Text` nodes.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated.\n\n`node . `after(...nodes)`` Inserts nodes just after node, while replacing strings in\n nodes with equivalent `Text` nodes.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated.\n\n`node . `replaceWith(...nodes)`` Replaces node with nodes, while replacing strings in nodes\n with equivalent `Text` nodes.\n\n [Throws](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if the constraints of\n the node tree are violated.\n\n`node . `remove()`` Removes node.\n\nThe `before(nodes)` method steps are:\n\n1. Let parent be [this](https://webidl.spec.whatwg.org/#this)’s parent.\n2. If parent is null, then return.\n3. Let viablePreviousSibling be [this](https://webidl.spec.whatwg.org/#this)’s first preceding sibling not in nodes; otherwise null.\n4. Let node be the result of converting nodes into a node, given\n nodes and [this](https://webidl.spec.whatwg.org/#this)’s node document.\n5. If viablePreviousSibling is null, then set it to parent’s\n first child; otherwise to viablePreviousSibling’s\n next sibling.\n6. Pre-insert node into parent before\n viablePreviousSibling.\n\nThe `after(nodes)` method steps are:\n\n1. Let parent be [this](https://webidl.spec.whatwg.org/#this)’s parent.\n2. If parent is null, then return.\n3. Let viableNextSibling be [this](https://webidl.spec.whatwg.org/#this)’s first following sibling not in nodes; otherwise null.\n4. Let node be the result of converting nodes into a node, given\n nodes and [this](https://webidl.spec.whatwg.org/#this)’s node document.\n5. Pre-insert node into parent before\n viableNextSibling.\n\nThe `replaceWith(nodes)` method steps are:\n\n1. Let parent be [this](https://webidl.spec.whatwg.org/#this)’s parent.\n2. If parent is null, then return.\n3. Let viableNextSibling be [this](https://webidl.spec.whatwg.org/#this)’s first following sibling not in nodes; otherwise null.\n4. Let node be the result of converting nodes into a node, given\n nodes and [this](https://webidl.spec.whatwg.org/#this)’s node document.\n5. If [this](https://webidl.spec.whatwg.org/#this)’s parent is parent, replace [this](https://webidl.spec.whatwg.org/#this) with\n node within parent. [This](https://webidl.spec.whatwg.org/#this) could have been inserted into node.\n6. Otherwise, pre-insert node into parent before\n viableNextSibling.\n\nThe `remove()` method steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this)’s parent is null, then return.\n2. Remove [this](https://webidl.spec.whatwg.org/#this).\n\n#### 4.2.9. Mixin `Slottable`\n\n```\ninterface mixin Slottable {\n readonly attribute HTMLSlotElement? assignedSlot;\n};\nElement includes Slottable;\nText includes Slottable;\n```\n\nThe `assignedSlot`\ngetter steps are to return the result of find a slot given [this](https://webidl.spec.whatwg.org/#this) and true.\n\n#### 4.2.10. Old-style collections: `NodeList` and `HTMLCollection`\n\nA collection is an object that represents a list of\nnodes. A collection can be either\nlive\nor static.\nUnless otherwise stated, a collection must be live.\n\nIf a collection is live, then the attributes and methods\non that object must operate on the actual underlying data, not a snapshot of\nthe data.\n\nWhen a collection is created, a\nfilter and a root are associated with it.\n\nThe collection then\nrepresents\na view of the subtree rooted at the collection’s root, containing only nodes that match the\ngiven filter. The view is linear. In the absence of specific requirements to the contrary, the nodes\nwithin the collection must be sorted in tree order.\n\n##### 4.2.10.1. Interface `NodeList`\n\nA `NodeList` object is a collection of nodes.\n\n```\n[Exposed=Window]\ninterface NodeList {\n getter Node? item(unsigned long index);\n readonly attribute unsigned long length;\n iterable;\n};\n```\n\ncollection . `length` Returns the number of nodes in the collection.\n\nelement = collection . `item(index)`\n\nelement = collection[index]\n \n Returns the node with index index from the collection. The\n nodes are sorted in tree order.\n\nThe object’s [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are the numbers in the range zero to one less than\nthe number of nodes represented by the collection. If there are no such\nelements, then there are no [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices).\n\nThe `length` attribute must return the number of nodes\nrepresented by the collection.\n\nThe `item(index)` method must return the\nindexth node in the collection. If there is no\nindexth node in the collection, then the method must\nreturn null.\n\n##### 4.2.10.2. Interface `HTMLCollection`\n\n```\n[Exposed=Window, LegacyUnenumerableNamedProperties]\ninterface HTMLCollection {\n readonly attribute unsigned long length;\n getter Element? item(unsigned long index);\n getter Element? namedItem(DOMString name);\n};\n```\n\nAn `HTMLCollection` object is a collection of elements.\n\n`HTMLCollection` is a historical artifact we cannot rid the web of.\nWhile developers are of course welcome to keep using it, new API standard designers ought not to use\nit (use `sequence` in IDL instead).\n\ncollection . `length` \n Returns the number of elements in\n the collection.\n\nelement = collection . `item(index)`\n\nelement = collection[index]\n \n \n Returns the element with index\n index from the collection.\n The elements are sorted in tree order.\n\nelement = collection . `namedItem(name)`\n\nelement = collection[name]\n \n \n Returns the first element with ID or name name\n from the collection.\n\nThe object’s [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are the numbers in the range zero to one less than\nthe number of elements represented by the collection. If there are no such\nelements, then there are no [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices).\n\nThe `length` getter steps are to return the\nnumber of nodes represented by the collection.\n\nThe `item(index)` method steps are to\nreturn the indexth element in the collection. If there\nis no indexth element in the collection, then the method\nmust return null.\n\nThe [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) are the values from the list returned by these steps:\n\n1. Let result be an empty list.\n2. For each element represented by the collection, in\n tree order:\n 1. If element has an ID which is not in result,\n append element’s ID to result.\n 2. If element is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and has\n a `name` attribute whose value is neither\n the empty string nor is in result, append element’s\n `name` attribute value to\n result.\n3. Return result.\n\nThe `namedItem(key)` method steps are:\n\n1. If key is the empty string, return null.\n2. Return the first element in the collection for which at least one of\n the following is true: or null if there is no such element.\n - it has an ID which is key ;\n - it is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and has a `name` attribute whose value is key ;\n\n### 4.3. Mutation observers\n\nEach [similar-origin window agent](https://html.spec.whatwg.org/multipage/webappapis.html#similar-origin-window-agent) has a\nmutation observer microtask queued\n(a boolean), which is initially false. [HTML]\n\nEach [similar-origin window agent](https://html.spec.whatwg.org/multipage/webappapis.html#similar-origin-window-agent) also has\npending mutation observers (a [set](https://infra.spec.whatwg.org/#ordered-set) of zero or more\n`MutationObserver` objects), which is initially empty.\n\nTo\nqueue a mutation observer microtask:\n\n1. If the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s mutation observer microtask queued is true, then\n return.\n2. Set the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s mutation observer microtask queued to true.\n3. [Queue](https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-microtask) a [microtask](https://html.spec.whatwg.org/multipage/webappapis.html#microtask) to notify mutation observers.\n\nTo notify mutation observers:\n\n1. Set the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s mutation observer microtask queued to false.\n2. Let notifySet be a [clone](https://infra.spec.whatwg.org/#list-clone) of the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n pending mutation observers.\n3. [Empty](https://infra.spec.whatwg.org/#list-empty) the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s pending mutation observers.\n4. Let signalSet be a [clone](https://infra.spec.whatwg.org/#list-clone) of the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n signal slots.\n5. [Empty](https://infra.spec.whatwg.org/#list-empty) the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s signal slots.\n6. [For each](https://infra.spec.whatwg.org/#list-iterate) mo of notifySet:\n 1. Let records be a [clone](https://infra.spec.whatwg.org/#list-clone) of mo’s\n record queue.\n 2. [Empty](https://infra.spec.whatwg.org/#list-empty) mo’s record queue.\n 3. [For each](https://infra.spec.whatwg.org/#list-iterate) node of mo’s\n node list: [remove](https://infra.spec.whatwg.org/#list-remove) all\n transient registered observers whose observer is\n mo from node’s registered observer list.\n 4. If records [is not empty](https://infra.spec.whatwg.org/#list-is-empty), then [invoke](https://webidl.spec.whatwg.org/#invoke-a-callback-function) mo’s callback with « records, mo »\n and \"`report`\", and with [callback this value](https://webidl.spec.whatwg.org/#dfn-callback-this-value) mo.\n7. [For each](https://infra.spec.whatwg.org/#list-iterate) slot of signalSet: fire an event named\n `slotchange`, with its `bubbles` attribute set to true,\n at slot.\n\n---\n\nEach node has a registered observer list (a [list](https://infra.spec.whatwg.org/#list) of\nzero or more registered observers), which is initially empty.\n\nA registered observer consists of an\nobserver (a `MutationObserver` object) and\noptions (a `MutationObserverInit` dictionary).\n\nA transient registered observer is a\nregistered observer that also consists of a\nsource (a registered observer).\n\nTransient registered observers are used to track mutations within\na given node’s descendants after node has been removed so\nthey do not get lost when `subtree` is set to true on node’s\nparent.\n\n#### 4.3.1. Interface `MutationObserver`\n\n```\n[Exposed=Window]\ninterface MutationObserver {\n constructor(MutationCallback callback);\n\n undefined observe(Node target, optional MutationObserverInit options = {});\n undefined disconnect();\n sequence takeRecords();\n};\n\ncallback MutationCallback = undefined (sequence mutations, MutationObserver observer);\n\ndictionary MutationObserverInit {\n boolean childList = false;\n boolean attributes;\n boolean characterData;\n boolean subtree = false;\n boolean attributeOldValue;\n boolean characterDataOldValue;\n sequence attributeFilter;\n};\n```\n\nA `MutationObserver` object can be used to observe mutations to the tree of\nnodes.\n\nEach `MutationObserver` object has these associated concepts:\n\n- A callback set on creation.\n- A node list (a [list](https://infra.spec.whatwg.org/#list) of weak references to nodes ), which is initially empty.\n- A record queue (a [queue](https://infra.spec.whatwg.org/#queue) of\n zero or more `MutationRecord` objects), which is initially empty.\n\n`observer = new `MutationObserver(callback)`` Constructs a `MutationObserver` object and sets its callback to\n callback. The callback is invoked with a list of `MutationRecord` objects\n as first argument and the constructed `MutationObserver` object as second argument. It is\n invoked after nodes registered with the `observe()` method, are\n mutated.\n\n`observer . `observe(target, options)`` \n \n Instructs the user agent to observe a given target\n (a node) and report any mutations based on\n the criteria given by options (an object).\n\n The options argument allows for setting mutation\n observation options via object members. These are the object members that\n can be used:\n\n`childList` Set to true if mutations to target’s children are to be observed.\n\n`attributes` Set to true if mutations to target’s\n attributes are to be observed. Can be omitted if\n `attributeOldValue` or\n `attributeFilter` is\n specified.\n\n`characterData` Set to true if mutations to target’s\n data are to be observed. Can be omitted if\n `characterDataOldValue`\n is specified.\n\n`subtree` Set to true if mutations to not just target, but\n also target’s\n descendants are to be\n observed.\n\n`attributeOldValue` Set to true if\n `attributes` is true or omitted\n and target’s\n attribute value before the mutation\n needs to be recorded.\n\n`characterDataOldValue` Set to true if\n `characterData`\n is set to true or omitted and target’s\n data before the mutation\n needs to be recorded.\n\n`attributeFilter` Set to a list of attribute local names (without namespace) if not all\n attribute mutations need to be\n observed and `attributes` is true\n or omitted.\n\n`observer . `disconnect()`` Stops observer from observing any mutations. Until the `observe()` method is used\n again, observer’s callback will not be invoked.\n\n`observer . `takeRecords()`` Empties the record queue and\n returns what was in there.\n\n The\n`new MutationObserver(callback)`\nconstructor steps are to set [this](https://webidl.spec.whatwg.org/#this)’s callback to\ncallback.\n The\n`observe(target, options)`\nmethod steps are:\n\n If either options[\"`attributeOldValue`\"] or\n options[\"`attributeFilter`\"] [exists](https://infra.spec.whatwg.org/#map-exists), and\n options[\"`attributes`\"] does not [exist](https://infra.spec.whatwg.org/#map-exists), then set\n options[\"`attributes`\"] to true.\n\n If options[\"`characterDataOldValue`\"]\n [exists](https://infra.spec.whatwg.org/#map-exists) and options[\"`characterData`\"] does not\n [exist](https://infra.spec.whatwg.org/#map-exists), then set options[\"`characterData`\"] to\n true.\n\n If none of options[\"`childList`\"],\n options[\"`attributes`\"], and\n options[\"`characterData`\"] is true, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n `TypeError`.\n\n If options[\"`attributeOldValue`\"] is true and\n options[\"`attributes`\"] is false, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n `TypeError`.\n\n If options[\"`attributeFilter`\"] [exists](https://infra.spec.whatwg.org/#map-exists) and\n options[\"`attributes`\"] is false, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n `TypeError`.\n\n If options[\"`characterDataOldValue`\"] is true and\n options[\"`characterData`\"] is false, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n `TypeError`.\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) registered of target’s\n registered observer list: if registered’s\n observer is [this](https://webidl.spec.whatwg.org/#this):\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) node of [this](https://webidl.spec.whatwg.org/#this)’s\n node list: [remove](https://infra.spec.whatwg.org/#list-remove) all\n transient registered observers whose source is\n registered from node’s registered observer list.\n\n Set registered’s options to\n options.\n Otherwise:\n\n [Append](https://infra.spec.whatwg.org/#list-append) a new registered observer whose\n observer is [this](https://webidl.spec.whatwg.org/#this) and\n options is options to target’s\n registered observer list.\n\n [Append](https://infra.spec.whatwg.org/#list-append) a weak reference to target to [this](https://webidl.spec.whatwg.org/#this)’s\n node list.\n The `disconnect()` method steps are:\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) node of [this](https://webidl.spec.whatwg.org/#this)’s\n node list: [remove](https://infra.spec.whatwg.org/#list-remove) any registered observer from\n node’s registered observer list for which [this](https://webidl.spec.whatwg.org/#this) is the\n observer.\n\n [Empty](https://infra.spec.whatwg.org/#list-empty) [this](https://webidl.spec.whatwg.org/#this)’s record queue.\n The `takeRecords()` method steps are:\n\n Let records be a [clone](https://infra.spec.whatwg.org/#list-clone) of [this](https://webidl.spec.whatwg.org/#this)’s\n record queue.\n\n [Empty](https://infra.spec.whatwg.org/#list-empty) [this](https://webidl.spec.whatwg.org/#this)’s record queue.\n\n Return records.\n 4.3.2. Queuing a mutation record To queue a mutation record of type for target with\nname, namespace, oldValue, addedNodes,\nremovedNodes, previousSibling, and nextSibling:\n\n Let interestedObservers be an empty [map](https://infra.spec.whatwg.org/#ordered-map).\n\n Let nodes be the inclusive ancestors of target.\n\n For each node of nodes, and then [for each](https://infra.spec.whatwg.org/#list-iterate) registered of node’s registered observer list:\n\n Let options be registered’s\n options.\n\n If none of the following are true\n\n node is not target and\n options[\"`subtree`\"] is false\n\n \n type is \"`attributes`\" and\n options[\"`attributes`\"] either does not [exist](https://infra.spec.whatwg.org/#map-exists)\n or is false\n\n \n type is \"`attributes`\",\n options[\"`attributeFilter`\"] [exists](https://infra.spec.whatwg.org/#map-exists), and\n options[\"`attributeFilter`\"] does not [contain](https://infra.spec.whatwg.org/#list-contain) name or namespace is non-null\n\n \n type is \"`characterData`\" and\n options[\"`characterData`\"] either does not\n [exist](https://infra.spec.whatwg.org/#map-exists) or is false\n\n \n type is \"`childList`\" and\n options[\"`childList`\"] is false\n \n then:\n\n Let mo be registered’s observer.\n\n If interestedObservers[mo] does not [exist](https://infra.spec.whatwg.org/#map-exists), then\n [set](https://infra.spec.whatwg.org/#map-set) interestedObservers[mo] to null.\n\n If either type is \"`attributes`\" and\n options[\"`attributeOldValue`\"] is true, or type is\n \"`characterData`\" and\n options[\"`characterDataOldValue`\"] is true, then\n [set](https://infra.spec.whatwg.org/#map-set) interestedObservers[mo] to oldValue.\n [For each](https://infra.spec.whatwg.org/#map-iterate) observer → mappedOldValue of\n interestedObservers:\n\n Let record be a new `MutationRecord` object with its `type`\n set to type, `target` set to target,\n `attributeName` set to name, `attributeNamespace`\n set to namespace, `oldValue` set to mappedOldValue,\n `addedNodes` set to addedNodes,\n `removedNodes` set to removedNodes,\n `previousSibling` set to previousSibling, and\n `nextSibling` set to nextSibling.\n\n [Enqueue](https://infra.spec.whatwg.org/#queue-enqueue) record to observer’s\n record queue.\n\n [Append](https://infra.spec.whatwg.org/#set-append) observer to the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n pending mutation observers.\n Queue a mutation observer microtask.\n To queue a tree mutation record for target with addedNodes,\nremovedNodes, previousSibling, and nextSibling:\n\n [Assert](https://infra.spec.whatwg.org/#assert): either addedNodes or removedNodes [is not empty](https://infra.spec.whatwg.org/#list-is-empty).\n\n Queue a mutation record of \"`childList`\" for target with\n null, null, null, addedNodes, removedNodes, previousSibling,\n and nextSibling.\n 4.3.3. Interface `MutationRecord` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `MutationRecord` {\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) type;\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute Node target;\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute NodeList addedNodes;\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute NodeList removedNodes;\n readonly attribute Node? previousSibling;\n readonly attribute Node? nextSibling;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? attributeName;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? attributeNamespace;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? oldValue;\n};\n\n`record . `type`` Returns \"`attributes`\" if it was an\n attribute mutation.\n \"`characterData`\" if it was a mutation to a\n `CharacterData` node. And\n \"`childList`\" if it was a mutation to the\n tree of\n nodes.\n\n`record . `target`` Returns the node the mutation\n affected, depending on the `type`.\n For \"`attributes`\", it is the\n element whose\n attribute changed. For\n \"`characterData`\", it is the `CharacterData` node. For \"`childList`\",\n it is the node whose\n children changed.\n\n`record . `addedNodes``\n\n`record . `removedNodes`` Return the nodes added and removed\n respectively.\n\n`record . `previousSibling``\n\n`record . `nextSibling`` Return the previous and next sibling respectively\n of the added or removed nodes; otherwise null.\n\n`record . `attributeName`` Returns the local name of the changed attribute; otherwise null.\n\n`record . `attributeNamespace`` Returns the namespace of the changed attribute; otherwise null.\n\n`record . `oldValue`` The return value depends on\n `type`. For\n \"`attributes`\", it is the\n value of the\n changed attribute before the change.\n For \"`characterData`\", it is the\n data of the changed\n node before the change. For\n \"`childList`\", it is null.\n\n The `type`, `target`,\n`addedNodes`,\n`removedNodes`,\n`previousSibling`,\n`nextSibling`,\n`attributeName`,\n`attributeNamespace`, and\n`oldValue` attributes must return the values they were\ninitialized to.\n\n 4.4. Interface `Node` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `Node` : EventTarget {\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) ELEMENT_NODE = 1;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) ATTRIBUTE_NODE = 2;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) TEXT_NODE = 3;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) CDATA_SECTION_NODE = 4;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `ENTITY_REFERENCE_NODE` = 5; // legacy\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `ENTITY_NODE` = 6; // legacy\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) PROCESSING_INSTRUCTION_NODE = 7;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) = 8;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_NODE = 9;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_TYPE_NODE = 10;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_FRAGMENT_NODE = 11;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `NOTATION_NODE` = 12; // legacy\n readonly attribute [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) nodeType;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) nodeName;\n\n readonly attribute [USVString](https://webidl.spec.whatwg.org/#idl-USVString) baseURI;\n\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) isConnected;\n readonly attribute Document? ownerDocument;\n Node getRootNode(optional GetRootNodeOptions `options` = {});\n readonly attribute Node? parentNode;\n readonly attribute Element? parentElement;\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasChildNodes();\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute NodeList childNodes;\n readonly attribute Node? firstChild;\n readonly attribute Node? lastChild;\n readonly attribute Node? previousSibling;\n readonly attribute Node? nextSibling;\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? nodeValue;\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? textContent;\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) normalize();\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [NewObject](https://webidl.spec.whatwg.org/#NewObject)] Node cloneNode(optional [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `subtree` = false);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) isEqualNode(Node? `otherNode`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) isSameNode(Node? `otherNode`); // legacy alias of ===\n\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_POSITION_DISCONNECTED = 0x01;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_POSITION_PRECEDING = 0x02;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_POSITION_FOLLOWING = 0x04;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_POSITION_CONTAINS = 0x08;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_POSITION_CONTAINED_BY = 0x10;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;\n [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) compareDocumentPosition(Node `other`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) contains(Node? `other`);\n\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? lookupPrefix([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`);\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? lookupNamespaceURI([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `prefix`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) isDefaultNamespace([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`);\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Node insertBefore(Node `node`, Node? `child`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Node appendChild(Node `node`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Node replaceChild(Node `node`, Node `child`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Node removeChild(Node `child`);\n};\n\ndictionary `GetRootNodeOptions` {\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `composed` = false;\n};\n `Node` is an abstract interface that is used by all nodes. You cannot\nget a direct instance of it.\n\n Each node has an associated\nnode document, set upon creation, that is a\ndocument.\n\n A node’s node document can be changed by the\nadopt algorithm.\n\n A node’s get the parent algorithm, given an event, returns the\nnode’s assigned slot, if node is assigned; otherwise\nnode’s parent.\n\n Each node also has a registered observer list.\n\n To create a node that implements an interface interface, given a\ndocument document:\n\n [Assert](https://infra.spec.whatwg.org/#assert): interface is neither `Document` nor an interface that\n inherits from `Document`. To create a document, use\n create a document instead. Return a new node that [implements](https://webidl.spec.whatwg.org/#implements) interface, in\n document’s [relevant realm](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-realm), with its node document set to\n document.\n\n`node . `nodeType`` Returns a number appropriate for the type of node, as follows:\n\n`Element` ``Node` . `ELEMENT_NODE`` (1).\n\n`Attr` ``Node` . `ATTRIBUTE_NODE`` (2).\n\nAn exclusive `Text` node ``Node` . `TEXT_NODE`` (3).\n\n`CDATASection` ``Node` . `CDATA_SECTION_NODE`` (4).\n\n`ProcessingInstruction` ``Node` . `PROCESSING_INSTRUCTION_NODE`` (7).\n\n`Comment` ``Node` .` (8).\n\n`Document` ``Node` . `DOCUMENT_NODE`` (9).\n\n`DocumentType` ``Node` . `DOCUMENT_TYPE_NODE`` (10).\n\n`DocumentFragment` ``Node` . `DOCUMENT_FRAGMENT_NODE`` (11).\n\n`node . `nodeName`` Returns a string appropriate for the type of node, as follows:\n\n`Element` Its HTML-uppercased qualified name.\n\n`Attr` Its qualified name.\n\nAn exclusive `Text` node \"`#text`\".\n\n`CDATASection` \"`#cdata-section`\".\n\n`ProcessingInstruction` Its target.\n\n`Comment` \"`#comment`\".\n\n`Document` \"`#document`\".\n\n`DocumentType` Its name.\n\n`DocumentFragment` \"`#document-fragment`\".\n \n The `nodeType` getter steps are to return the first matching\nstatement, switching on the interface [this](https://webidl.spec.whatwg.org/#this) [implements](https://webidl.spec.whatwg.org/#implements):\n\n`Element` `ELEMENT_NODE` (1)\n\n`Attr` `ATTRIBUTE_NODE` (2);\n\nAn exclusive `Text` node `TEXT_NODE` (3);\n\n`CDATASection` `CDATA_SECTION_NODE` (4);\n\n`ProcessingInstruction` `PROCESSING_INSTRUCTION_NODE` (7);\n\n`Comment` (8);\n\n`Document` `DOCUMENT_NODE` (9);\n\n`DocumentType` `DOCUMENT_TYPE_NODE` (10);\n\n`DocumentFragment` `DOCUMENT_FRAGMENT_NODE` (11).\n\n The `nodeName` getter steps are to return the first matching\nstatement, switching on the interface [this](https://webidl.spec.whatwg.org/#this) [implements](https://webidl.spec.whatwg.org/#implements):\n\n`Element` Its HTML-uppercased qualified name.\n\n`Attr` Its qualified name.\n\nAn exclusive `Text` node \"`#text`\".\n\n`CDATASection` \"`#cdata-section`\".\n\n`ProcessingInstruction` Its target.\n\n`Comment` \"`#comment`\".\n\n`Document` \"`#document`\".\n\n`DocumentType` Its name.\n\n`DocumentFragment` \"`#document-fragment`\".\n\n`node . `baseURI`` Returns node’s node document’s [document base URL](https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url).\n\n The `baseURI` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nnode document’s [document base URL](https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url), [serialized](https://url.spec.whatwg.org/#concept-url-serializer).\n\n`node . `isConnected`` Returns true if node is connected; otherwise false.\n\n`node . `ownerDocument`` \n Returns the node document.\n Returns null for documents.\n\n`node . `getRootNode()`` Returns node’s root.\n\n`node . getRootNode({ composed:true })` Returns node’s shadow-including root.\n\n`node . `parentNode`` Returns the parent.\n\n`node . `parentElement`` Returns the parent element.\n\n`node . `hasChildNodes()`` Returns whether node has\n children.\n\n`node . `childNodes`` Returns the children.\n\n`node . `firstChild`` Returns the first child.\n\n`node . `lastChild`` Returns the last child.\n\n`node . `previousSibling`` Returns the\n previous sibling.\n\n`node . `nextSibling`` Returns the\n next sibling.\n\n The `isConnected` getter steps are to return true,\nif [this](https://webidl.spec.whatwg.org/#this) is connected; otherwise false.\n\n The `ownerDocument` getter steps are to return null,\nif [this](https://webidl.spec.whatwg.org/#this) is a document; otherwise [this](https://webidl.spec.whatwg.org/#this)’s node document.\n\n The node document of a document is that\ndocument itself. All nodes have a node document at all\ntimes.\n\n The `getRootNode(options)` method steps are to\nreturn [this](https://webidl.spec.whatwg.org/#this)’s shadow-including root if\noptions[\"`composed`\"] is true; otherwise [this](https://webidl.spec.whatwg.org/#this)’s\nroot.\n\n The `parentNode` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s parent.\n\n The `parentElement` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s parent element.\n\n The `hasChildNodes()` method steps are to return true if\n[this](https://webidl.spec.whatwg.org/#this) has children; otherwise false.\n\n The `childNodes` getter steps are to return a\n`NodeList` rooted at [this](https://webidl.spec.whatwg.org/#this) matching only children.\n\n The `firstChild` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s first child.\n\n The `lastChild` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nlast child.\n\n The `previousSibling` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s previous sibling.\n\n The `nextSibling` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s next sibling.\n\n The `nodeValue` getter steps are to return the following, switching\non the interface [this](https://webidl.spec.whatwg.org/#this) [implements](https://webidl.spec.whatwg.org/#implements):\n\n`Attr` [this](https://webidl.spec.whatwg.org/#this)’s value.\n\n`CharacterData` [this](https://webidl.spec.whatwg.org/#this)’s data.\n\nOtherwise\n \n Null.\n\n The `nodeValue` setter steps are to, if the given value is null, act as if it was the\nempty string instead, and then do as described below, switching on the interface [this](https://webidl.spec.whatwg.org/#this) [implements](https://webidl.spec.whatwg.org/#implements):\n\n`Attr` Set an existing attribute value with [this](https://webidl.spec.whatwg.org/#this) and the given value.\n\n`CharacterData` Replace data of [this](https://webidl.spec.whatwg.org/#this) with 0, [this](https://webidl.spec.whatwg.org/#this)’s length, and\n the given value.\n\nOtherwise\n \n Do nothing.\n To get text content with a node node,\nreturn the following, switching on the interface node [implements](https://webidl.spec.whatwg.org/#implements):\n\n`DocumentFragment`\n\n`Element` The descendant text content of node.\n\n`Attr` node’s value.\n\n`CharacterData` node’s data.\n\nOtherwise\n \n Null.\n\n The `textContent` getter steps are to\nreturn the result of running get text content with [this](https://webidl.spec.whatwg.org/#this).\n\n To string replace all with a string string within a\nnode parent, run these steps:\n\n Let node be null.\n\n If string is not the empty string, then set node to the result of\n creating a text node given parent’s node document and\n string.\n\n Replace all with node within parent.\n To set text content with a node node and a string value,\ndo as defined below, switching on the interface node [implements](https://webidl.spec.whatwg.org/#implements):\n\n`DocumentFragment`\n\n`Element` String replace all with value within node.\n\n`Attr` Set an existing attribute value with node and value.\n\n`CharacterData` Replace data of node with 0, node’s length, and\n value.\n\nOtherwise\n \n Do nothing.\n The `textContent` setter steps are to, if the given value is null, act as if it was the\nempty string instead, and then run set text content with [this](https://webidl.spec.whatwg.org/#this) and the given value.\n\n`node . `normalize()`` Removes empty exclusive `Text` nodes and concatenates the\n data of remaining contiguous exclusive `Text` nodes\n into the first of their nodes.\n\n The `normalize()` method steps are to run these steps for\neach descendant exclusive `Text` node node of\n[this](https://webidl.spec.whatwg.org/#this):\n\n Let length be node’s length.\n\n If length is zero, then remove node and continue with the\n next exclusive `Text` node, if any.\n\n Let data be the [concatenation](https://infra.spec.whatwg.org/#string-concatenate) of the\n data of node’s\n contiguous exclusive `Text` nodes (excluding itself), in tree order.\n\n Replace data of node with length, 0, and data.\n\n Let currentNode be node’s next sibling.\n\n While currentNode is an exclusive `Text` node:\n\n For each live range whose start node is currentNode:\n add length to its start offset and set its\n start node to node.\n\n For each live range whose end node is currentNode: add\n length to its end offset and set its end node to\n node.\n\n For each live range whose start node is currentNode’s\n parent and start offset is currentNode’s\n index: set its start node to node and its\n start offset to length.\n\n For each live range whose end node is currentNode’s\n parent and end offset is currentNode’s\n index: set its end node to node and its\n end offset to length.\n\n Add currentNode’s length to length.\n\n Set currentNode to its next sibling.\n Remove node’s contiguous exclusive `Text` nodes\n (excluding itself), in tree order.\n\n`node . cloneNode([subtree = false])` Returns a copy of node. If\n subtree is true, the copy also includes the\n node’s descendants.\n\n`node . isEqualNode(otherNode)` Returns whether node and otherNode\n have the same properties.\n\n Specifications may define\ncloning steps for all or some nodes. The\nalgorithm is passed node, copy, and subtree as\nindicated in the clone a node algorithm.\n\n HTML defines cloning steps for several elements, such as `[input](https://html.spec.whatwg.org/multipage/input.html#the-input-element)`, `[script](https://html.spec.whatwg.org/multipage/scripting.html#script)`,\nand `[template](https://html.spec.whatwg.org/multipage/scripting.html#the-template-element)`. SVG ought to do the same for its `[script](https://html.spec.whatwg.org/multipage/scripting.html#script)` elements, but does not.\n To clone a node given a node node\nand an optional document document\n(default node’s node document), boolean\nsubtree (default false), node-or-null\nparent (default null), and null or a\n`[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object fallbackRegistry\n(default null):\n\n [Assert](https://infra.spec.whatwg.org/#assert): node is not a document or node is\n document.\n\n Let copy be the result of cloning a single node given node,\n document, and fallbackRegistry.\n\n Run any cloning steps defined for node in\n other applicable specifications and pass node, copy, and\n subtree as parameters.\n\n If parent is non-null, then append copy to\n parent.\n\n If subtree is true, then for each child of node’s\n children, in tree order: clone a node given child with\n *document* set to document,\n *subtree* set to subtree,\n *parent* set to copy, and\n *fallbackRegistry* set to fallbackRegistry.\n\n If node is an element, node is a\n shadow host, and node’s shadow root’s\n clonable is true:\n\n [Assert](https://infra.spec.whatwg.org/#assert): copy is not a shadow host.\n\n Let shadowRootRegistry be node’s shadow root’s\n custom element registry.\n\n If shadowRootRegistry is a global custom element registry, then set\n shadowRootRegistry to document’s\n custom element registry’s effective global custom element registry.\n\n Attach a shadow root with copy, node’s\n shadow root’s mode, node’s\n shadow root’s delegates focus, node’s\n shadow root’s serializable, node’s\n shadow root’s slot assignment, true, and\n shadowRootRegistry.\n\n Set copy’s shadow root’s declarative\n to node’s shadow root’s declarative.\n\n Set copy’s shadow root’s\n keep custom element registry null to node’s\n shadow root’s keep custom element registry null.\n\n For each child of node’s shadow root’s\n children, in tree order: clone a node given child with\n *document* set to document,\n *subtree* set to true, and\n *parent* set to copy’s shadow root.\n\n This intentionally does not pass the\n *fallbackRegistry* argument.\n Return copy.\n To clone a single node given a node node,\ndocument document, and null or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object\nfallbackRegistry:\n\n Let copy be null.\n\n If node is an element:\n\n Let registry be node’s custom element registry.\n\n If registry is null, then set registry to\n fallbackRegistry.\n\n If registry is a global custom element registry, then set\n registry to document’s custom element registry’s\n effective global custom element registry.\n\n Set copy to the result of creating an element, given\n document, node’s local name, node’s\n namespace, node’s namespace prefix,\n node’s `is` value, false, and registry.\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) attribute of node’s\n attribute list:\n\n Let copyAttribute be the result of cloning a single node given\n attribute, document, and null.\n\n Append copyAttribute to copy.\n Otherwise, if node is a document, set copy to the result\n of creating a document that implements the same interfaces as node, given\n document’s [relevant realm](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-realm).\n\n Otherwise, set copy to the result of creating a node that\n [implements](https://webidl.spec.whatwg.org/#implements) the same interfaces as node, given document.\n\n Fulfill these additional requirements, switching on the interface node [implements](https://webidl.spec.whatwg.org/#implements):\n\n `Document` Set copy’s encoding, content type,\n URL, origin, type,\n mode, and allow declarative shadow roots, to those of\n node.\n\n If node’s custom element registry’s\n [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is true, then set copy’s\n custom element registry to node’s\n custom element registry.\n `DocumentType` Set copy’s name, public ID, and\n system ID to those of node.\n\n `Attr` Set copy’s namespace, namespace prefix,\n local name, and value to those of node.\n\n `Text` `Comment` Set copy’s data to that of node.\n\n `ProcessingInstruction` Set copy’s target and\n data to those of node.\n\n Otherwise\n \n Do nothing.\n [Assert](https://infra.spec.whatwg.org/#assert): copy is a node.\n\n If node is a document, then set document to\n copy.\n\n Set copy’s node document to document.\n\n Return copy.\n The `cloneNode(subtree)` method steps are:\n\n If [this](https://webidl.spec.whatwg.org/#this) is a shadow root, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Return the result of cloning a node given [this](https://webidl.spec.whatwg.org/#this) with\n *subtree* set to subtree.\n A node A equals a\nnode B if all of the following conditions are true:\n\n A and B [implement](https://webidl.spec.whatwg.org/#implements) the same interfaces.\n\n The following are equal, switching on the interface A [implements](https://webidl.spec.whatwg.org/#implements):\n\n `DocumentType` Its name, public ID, and system ID.\n\n \n `Element` Its namespace, namespace prefix,\n local name, and its attribute list’s [size](https://infra.spec.whatwg.org/#list-size).\n\n \n `Attr` Its namespace, local name, and value.\n\n \n `ProcessingInstruction` Its target and data.\n\n \n `Text` `Comment` Its data.\n\n \n Otherwise\n \n —\n \n If A is an element, each attribute in its\n attribute list equals an attribute in B’s\n attribute list.\n\n A and B have the same number of children.\n\n Each child of A equals the child\n of B at the identical index.\n The `isEqualNode(otherNode)` method steps are to\nreturn true if otherNode is non-null and [this](https://webidl.spec.whatwg.org/#this) equals otherNode; otherwise false.\n The `isSameNode(otherNode)` method steps are to\nreturn true if otherNode is [this](https://webidl.spec.whatwg.org/#this); otherwise false.\n\n`node . `compareDocumentPosition(other)`` \n \n Returns a bitmask indicating the position of other\n relative to node. These are the bits that can be set:\n\n``Node` . `DOCUMENT_POSITION_DISCONNECTED`` (1)\n \n Set when node and other are not in the\n same tree.\n\n``Node` . `DOCUMENT_POSITION_PRECEDING`` (2)\n \n Set when other is\n preceding node.\n\n``Node` . `DOCUMENT_POSITION_FOLLOWING`` (4)\n \n Set when other is\n following node.\n\n``Node` . `DOCUMENT_POSITION_CONTAINS`` (8)\n \n Set when other is an ancestor of node.\n\n``Node` . `DOCUMENT_POSITION_CONTAINED_BY`` (16, 10 in hexadecimal)\n \n Set when other is a descendant of node.\n\n`node . `contains(other)`` Returns true if other is an inclusive descendant of node;\n otherwise false.\n\n These are the constants `compareDocumentPosition()` returns as mask:\n\n `DOCUMENT_POSITION_DISCONNECTED` (1);\n \n `DOCUMENT_POSITION_PRECEDING` (2);\n \n `DOCUMENT_POSITION_FOLLOWING` (4);\n \n `DOCUMENT_POSITION_CONTAINS` (8);\n \n `DOCUMENT_POSITION_CONTAINED_BY` (16, 10 in hexadecimal);\n \n `DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC` (32, 20 in hexadecimal).\n\n The `compareDocumentPosition(other)` method\nsteps are:\n\n If [this](https://webidl.spec.whatwg.org/#this) is other, then return zero.\n\n Let node1 be other and node2 be [this](https://webidl.spec.whatwg.org/#this).\n\n Let attr1 and attr2 be null.\n\n If node1 is an attribute, then set attr1 to node1\n and node1 to attr1’s element.\n\n If node2 is an attribute:\n\n Set attr2 to node2 and node2 to attr2’s\n element.\n\n If attr1 and node1 are non-null, and node2 is\n node1:\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) attr of node2’s\n attribute list:\n\n If attr equals attr1, then return the result of\n adding `DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC` and\n `DOCUMENT_POSITION_PRECEDING`.\n\n If attr equals attr2, then return the result of\n adding `DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC` and\n `DOCUMENT_POSITION_FOLLOWING`.\n If node1 or node2 is null, or node1’s root is\n not node2’s root, then return the result of adding\n `DOCUMENT_POSITION_DISCONNECTED`, `DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC`, and\n either `DOCUMENT_POSITION_PRECEDING` or `DOCUMENT_POSITION_FOLLOWING`, with the\n constraint that this is to be consistent, together.\n\n Whether to return `DOCUMENT_POSITION_PRECEDING` or\n `DOCUMENT_POSITION_FOLLOWING` is typically implemented via pointer comparison. In\n JavaScript implementations a cached `Math.random()` value can\n be used.\n\n If node1 is an ancestor of node2 and attr1\n is null, or node1 is node2 and attr2 is non-null, then return the\n result of adding `DOCUMENT_POSITION_CONTAINS` to `DOCUMENT_POSITION_PRECEDING`.\n\n If node1 is a descendant of node2 and attr2\n is null, or node1 is node2 and attr1 is non-null, then return the\n result of adding `DOCUMENT_POSITION_CONTAINED_BY` to `DOCUMENT_POSITION_FOLLOWING`.\n\n If node1 is preceding node2, then return\n `DOCUMENT_POSITION_PRECEDING`.\n\n Due to the way attributes are handled in this algorithm this results in a\n node’s attributes counting as preceding that node’s\n children, despite attributes not participating in the same\n tree.\n\n Return `DOCUMENT_POSITION_FOLLOWING`.\n The `contains(other)` method steps are to return\ntrue if other is an inclusive descendant of [this](https://webidl.spec.whatwg.org/#this); otherwise false\n(including when other is null).\n\n To\nlocate a namespace prefix\nfor an element using namespace, run these steps:\n\n If element’s namespace is namespace and its\n namespace prefix is non-null, then return its\n namespace prefix.\n\n If element has an attribute whose\n namespace prefix is \"`xmlns`\" and value is\n namespace, then return element’s first such attribute’s\n local name.\n\n If element’s parent element is non-null, then return the result of running\n locate a namespace prefix on that element using namespace.\n\n Return null.\n To locate a namespace for a node using prefix, switch on\nthe interface node [implements](https://webidl.spec.whatwg.org/#implements):\n\n`Element` If prefix is \"`xml`\", then return the [XML namespace](https://infra.spec.whatwg.org/#xml-namespace).\n\n If prefix is \"`xmlns`\", then return the [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace).\n\n If its namespace is non-null and its\n namespace prefix is prefix, then return\n namespace.\n\n If it has an attribute whose namespace\n is the [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace), namespace prefix is \"`xmlns`\", and\n local name is prefix, or if prefix is null and it\n has an attribute whose namespace is the\n [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace), namespace prefix is null, and local name\n is \"`xmlns`\", then return its value if it is not the empty string, and\n null otherwise.\n\n If its parent element is null, then return null.\n\n Return the result of running locate a namespace on its parent element using\n prefix.\n\n`Document` If its document element is null, then return null.\n\n Return the result of running locate a namespace on its document element\n using prefix.\n\n`DocumentType`\n\n`DocumentFragment` Return null.\n\n`Attr` If its element is null, then return null.\n\n Return the result of running locate a namespace on its element\n using prefix.\n\nOtherwise\n \n If its parent element is null, then return null.\n\n Return the result of running locate a namespace on its parent element using\n prefix.\n The `lookupPrefix(namespace)` method steps are:\n\n If namespace is null or the empty string, then return null.\n\n Switch on the interface [this](https://webidl.spec.whatwg.org/#this) [implements](https://webidl.spec.whatwg.org/#implements):\n\n `Element` Return the result of locating a namespace prefix for [this](https://webidl.spec.whatwg.org/#this) using\n namespace.\n\n `Document` If [this](https://webidl.spec.whatwg.org/#this)’s document element is null, then return null.\n\n Return the result of locating a namespace prefix for [this](https://webidl.spec.whatwg.org/#this)’s\n document element using namespace.\n `DocumentType` `DocumentFragment` Return null.\n\n `Attr` If [this](https://webidl.spec.whatwg.org/#this)’s element is null, then return null.\n\n Return the result of locating a namespace prefix for [this](https://webidl.spec.whatwg.org/#this)’s\n element using namespace.\n Otherwise\n \n If [this](https://webidl.spec.whatwg.org/#this)’s parent element is null, then return null.\n\n Return the result of locating a namespace prefix for [this](https://webidl.spec.whatwg.org/#this)’s\n parent element using namespace.\n The `lookupNamespaceURI(prefix)` method steps\nare:\n\n If prefix is the empty string, then set it to null.\n\n Return the result of running locate a namespace for [this](https://webidl.spec.whatwg.org/#this) using\n prefix.\n The `isDefaultNamespace(namespace)` method steps\nare:\n\n If namespace is the empty string, then set it to null.\n\n Let defaultNamespace be the result of running locate a namespace for\n [this](https://webidl.spec.whatwg.org/#this) using null.\n\n Return true if defaultNamespace is the same as namespace; otherwise\n false.\n The `insertBefore(node, child)`\nmethod steps are to return the result of pre-inserting node into [this](https://webidl.spec.whatwg.org/#this)\nbefore child.\n\n The `appendChild(node)` method steps are to\nreturn the result of appending node to [this](https://webidl.spec.whatwg.org/#this).\n\n The `replaceChild(node, child)`\nmethod steps are to return the result of replacing child with node\nwithin [this](https://webidl.spec.whatwg.org/#this).\n\n The `removeChild(child)` method steps are to\nreturn the result of pre-removing child from [this](https://webidl.spec.whatwg.org/#this).\n\n The\nlist of elements with qualified name qualifiedName\nfor a node root is the `HTMLCollection` returned by the following\nalgorithm:\n\n If qualifiedName is U+002A (*), then return an `HTMLCollection` rooted at\n root, whose filter matches only descendant elements.\n\n Otherwise, if root’s node document is an HTML document,\n return an `HTMLCollection` rooted at root, whose filter matches the following\n descendant elements:\n\n Whose namespace is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and whose\n qualified name is qualifiedName, in [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n Whose namespace is *not* the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and whose\n qualified name is qualifiedName.\n Otherwise, return an `HTMLCollection` rooted at root, whose filter matches\n descendant elements whose qualified name is\n qualifiedName.\n When invoked with the same argument, and as long as root’s\nnode document’s type has not changed, the same\n`HTMLCollection` object may be returned as returned by an earlier call.\n\n The\nlist of elements with namespace namespace and local name localName\nfor a node root is the `HTMLCollection` returned by the following\nalgorithm:\n\n If namespace is the empty string, then set it to null.\n\n If both namespace and localName are U+002A (*), then return an\n `HTMLCollection` rooted at root, whose filter matches descendant elements.\n\n If namespace is U+002A (*), then return an `HTMLCollection` rooted at\n root, whose filter matches descendant elements whose\n local name is localName.\n\n If localName is U+002A (*), then return an `HTMLCollection` rooted at\n root, whose filter matches descendant elements whose\n namespace is namespace.\n\n Return an `HTMLCollection` rooted at root, whose filter matches\n descendant elements whose namespace is\n namespace and local name is localName.\n When invoked with the same arguments, the same `HTMLCollection` object may be returned as\nreturned by an earlier call.\n\n The\nlist of elements with class names classNames\nfor a node root is the `HTMLCollection` returned by the following\nalgorithm:\n\n \n Let classes be the result of running the\n ordered set parser on\n classNames.\n\n \n \n If classes is the empty set, return an empty\n `HTMLCollection`.\n\n \n Return an `HTMLCollection` rooted at root, whose filter matches\n descendant elements that have all their classes in\n classes.\n\n The comparisons for the classes must be done in an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) manner if root’s node document’s\n mode is \"`quirks`\"; otherwise in an [identical to](https://infra.spec.whatwg.org/#string-is)\n manner.\n When invoked with the same argument, the same `HTMLCollection` object may be returned as\nreturned by an earlier call.\n\n 4.5. Interface `Document` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `Document` : Node {\n constructor();\n\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute DOMImplementation implementation;\n readonly attribute [USVString](https://webidl.spec.whatwg.org/#idl-USVString) URL;\n readonly attribute [USVString](https://webidl.spec.whatwg.org/#idl-USVString) documentURI;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) compatMode;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) characterSet;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) charset; // legacy alias of .characterSet\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) inputEncoding; // legacy alias of .characterSet\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) contentType;\n\n readonly attribute DocumentType? doctype;\n readonly attribute Element? documentElement;\n HTMLCollection getElementsByTagName([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n HTMLCollection getElementsByTagNameNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n HTMLCollection getElementsByClassName([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `classNames`);\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [NewObject](https://webidl.spec.whatwg.org/#NewObject)] Element createElement([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`, optional ([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) or ElementCreationOptions) `options` = {});\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [NewObject](https://webidl.spec.whatwg.org/#NewObject)] Element createElementNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`, optional ([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) or ElementCreationOptions) `options` = {});\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] DocumentFragment createDocumentFragment();\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Text createTextNode([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] CDATASection createCDATASection([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Comment createComment([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] ProcessingInstruction createProcessingInstruction([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `target`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [NewObject](https://webidl.spec.whatwg.org/#NewObject)] Node importNode(Node `node`, optional ([boolean](https://webidl.spec.whatwg.org/#idl-boolean) or ImportNodeOptions) `options` = false);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Node adoptNode(Node `node`);\n\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Attr createAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Attr createAttributeNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Event createEvent([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `interface`); // legacy\n\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Range createRange();\n\n // NodeFilter.SHOW_ALL = 0xFFFFFFFF\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] NodeIterator createNodeIterator(Node `root`, optional [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `whatToShow` = 0xFFFFFFFF, optional NodeFilter? `filter` = null);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] TreeWalker createTreeWalker(Node `root`, optional [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `whatToShow` = 0xFFFFFFFF, optional NodeFilter? `filter` = null);\n};\n\n[[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `XMLDocument` : Document {};\n\ndictionary `ElementCreationOptions` {\n [CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)? `customElementRegistry`;\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `is`;\n};\n\ndictionary `ImportNodeOptions` {\n [CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry) `customElementRegistry`;\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `selfOnly` = false;\n};\n `Document` nodes are simply\nknown as documents.\n\n A document’s node document is itself.\n\n Each document has an associated\nencoding (an [encoding](https://encoding.spec.whatwg.org/#encoding)),\ncontent type (a string),\nURL (a [URL](https://url.spec.whatwg.org/#concept-url)),\norigin (an [origin](https://html.spec.whatwg.org/multipage/browsers.html#concept-origin)),\ntype (\"`xml`\" or \"`html`\"),\nmode (\"`no-quirks`\", \"`quirks`\", or \"`limited-quirks`\"),\nallow declarative shadow roots (a boolean), and\ncustom element registry (null or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object).\n[ENCODING] [URL] [HTML] Unless stated otherwise, a document’s encoding is the\n[utf-8](https://encoding.spec.whatwg.org/#utf-8) [encoding](https://encoding.spec.whatwg.org/#encoding), content type is\n\"`application/xml`\", URL is \"`about:blank`\",\norigin is an [opaque origin](https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-opaque),\ntype is \"`xml`\", mode is\n\"`no-quirks`\", allow declarative shadow roots is false, and\ncustom element registry is null.\n\n A document is said to be an XML document if its\ntype is \"`xml`\"; otherwise an HTML document.\nWhether a document is an HTML document or an XML document affects the\nbehavior of certain APIs.\n\n A document is said to be in\nno-quirks mode if its\nmode is \"`no-quirks`\",\nquirks mode if its mode\nis \"`quirks`\", and\nlimited-quirks mode if its\nmode is \"`limited-quirks`\".\n\n The mode is only ever changed from the default for documents\n created by the [HTML parser](https://html.spec.whatwg.org/multipage/parsing.html#html-parser) based on the presence, absence, or value of the DOCTYPE string,\n and by a new [browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context) (initial \"`about:blank`\"). [HTML] No-quirks mode was originally known as \"standards mode\" and limited-quirks mode\n was once known as \"almost standards mode\". They have been renamed because their details are now\n defined by standards. (And because Ian Hickson vetoed their original names on the basis that they\n are nonsensical.)\n A document’s get the parent algorithm, given an event, returns\nnull if event’s `type` attribute value is \"`load`\" or\ndocument does not have a [browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#concept-document-bc); otherwise the\ndocument’s [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global).\n\n To create a document that implements an interface interface,\ngiven a [realm](https://tc39.es/ecma262/#realm) realm:\n\n [Assert](https://infra.spec.whatwg.org/#assert): interface is `Document` or an interface that inherits from\n `Document`.\n\n Return a new node that [implements](https://webidl.spec.whatwg.org/#implements) interface, in\n realm.\n\n`document = new `Document()`` Returns a new document.\n\n`document . `implementation`` Returns document’s `DOMImplementation` object.\n\n`document . `URL``\n\n`document . `documentURI`` Returns document’s URL.\n\n`document . `compatMode`` \n Returns the string \"`BackCompat`\" if document’s mode is\n \"`quirks`\"; otherwise \"`CSS1Compat`\".\n\n`document . `characterSet`` Returns document’s\n encoding.\n\n`document . `contentType`` Returns document’s\n content type.\n\n The `new Document()` constructor\nsteps are to set [this](https://webidl.spec.whatwg.org/#this)’s origin to the origin of\n[current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)’s [associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window). [HTML] Unlike `createDocument()`, this constructor does not\nreturn an `XMLDocument` object, but a document (`Document` object).\n\n The\n`implementation` getter steps are to return the\n`DOMImplementation` object that is associated with [this](https://webidl.spec.whatwg.org/#this).\n\n The `URL` and\n`documentURI` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nURL, [serialized](https://url.spec.whatwg.org/#concept-url-serializer).\n\n The `compatMode` getter steps are to return\n\"`BackCompat`\" if [this](https://webidl.spec.whatwg.org/#this)’s mode is \"`quirks`\";\notherwise \"`CSS1Compat`\".\n\n The `characterSet`,\n`charset`, and\n`inputEncoding` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s encoding’s [name](https://encoding.spec.whatwg.org/#name).\n\n The `contentType` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s content type.\n\ndocument . `doctype` Returns the doctype or null if\n there is none.\n\ndocument . `documentElement` Returns the document element.\n\n`collection = document . getElementsByTagName(qualifiedName)` If qualifiedName is \"`*`\" returns an `HTMLCollection` of all\n descendant elements.\n\n Otherwise, returns an `HTMLCollection` of all descendant elements whose qualified name is qualifiedName.\n (Matches case-insensitively against elements in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) within an\n HTML document.)\n\n`collection = document . getElementsByTagNameNS(namespace, localName)` If namespace and localName are \"`*`\", returns an\n `HTMLCollection` of all descendant elements.\n\n If only namespace is \"`*`\", returns an `HTMLCollection` of all\n descendant elements whose local name is\n localName.\n\n If only localName is \"`*`\", returns an `HTMLCollection` of all\n descendant elements whose namespace is\n namespace.\n\n Otherwise, returns an `HTMLCollection` of all descendant elements whose namespace is namespace and\n local name is localName.\n\n`collection = document . getElementsByClassName(classNames)`\n\n`collection = element . getElementsByClassName(classNames)` Returns an `HTMLCollection` of the elements in the object on which the method\n was invoked (a document or an element) that have all the classes given by\n classNames. The classNames argument is interpreted as a space-separated list\n of classes.\n The `doctype` getter steps are to return the\nchild of [this](https://webidl.spec.whatwg.org/#this) that is a doctype; otherwise null.\n\n The `documentElement` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s document element.\n\n The `getElementsByTagName(qualifiedName)`\nmethod steps are to return the list of elements with qualified name qualifiedName\nfor [this](https://webidl.spec.whatwg.org/#this).\n\n Thus, in an HTML document,\n`document.getElementsByTagName(\"FOO\")` will match\n`` elements that are not in the\n[HTML namespace](https://infra.spec.whatwg.org/#html-namespace), and `` elements that are in\nthe [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), but not `` elements\nthat are in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n\n The\n`getElementsByTagNameNS(namespace, localName)`\nmethod steps are to return the list of elements with namespace namespace and local\nname localName for [this](https://webidl.spec.whatwg.org/#this).\n\n The `getElementsByClassName(classNames)`\nmethod steps are to return the list of elements with class names classNames for\n[this](https://webidl.spec.whatwg.org/#this).\n\n \n Given the following XHTML fragment:\n\n \n`

` A call to\n `document.getElementById(\"example\").getElementsByClassName(\"aaa\")`\n would return an `HTMLCollection` with the two paragraphs\n `p1` and `p2` in it. A call to\n `getElementsByClassName(\"ccc bbb\")`\n would only return one node, however, namely `p3`. A call to\n `document.getElementById(\"example\").getElementsByClassName(\"bbb ccc \")`\n would return the same thing. A call to\n `getElementsByClassName(\"aaa,bbb\")`\n would return no nodes; none of the elements above are in the\n `aaa,bbb` class.\n\n`element = document . createElement(localName [, options])` Returns an element with localName as local name\n (if document is an HTML document, localName gets lowercased). The\n element’s namespace is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) when\n document is an HTML document or document’s\n content type is \"`application/xhtml+xml`\"; otherwise null.\n\n When supplied, options’s `customElementRegistry` can be\n used to set the `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)`.\n\n When supplied, options’s `is` can be used to create a\n [customized built-in element](https://html.spec.whatwg.org/multipage/custom-elements.html#customized-built-in-element).\n\n If localName is not a valid element local name an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` will be thrown.\n\n When both options’s `customElementRegistry` and\n options’s `is` are supplied, a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` will be thrown.\n\n`element = document . createElementNS(namespace, qualifiedName [, options])` Returns an element with namespace namespace. Its\n namespace prefix will be everything before U+003A (:) in\n qualifiedName or null. Its local name will be everything after\n U+003A (:) in qualifiedName or qualifiedName.\n\n When supplied, options’s `customElementRegistry` can be\n used to set the `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)`.\n\n When supplied, options’s `is` can be used to create a\n [customized built-in element](https://html.spec.whatwg.org/multipage/custom-elements.html#customized-built-in-element).\n\n If qualifiedName is not a (possibly-prefixed)\n valid element local name an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` will be\n thrown.\n\n If one of the following conditions is true a \"`[NamespaceError](https://webidl.spec.whatwg.org/#namespaceerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`\n will be thrown:\n\n Namespace prefix\n is non-null and namespace is the empty string.\n \n Namespace prefix\n is \"`xml`\" and namespace is not the\n [XML namespace](https://infra.spec.whatwg.org/#xml-namespace).\n \n qualifiedName or\n namespace prefix\n is \"`xmlns`\" and namespace is not the\n [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace).\n \n namespace is the [XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace) and\n neither qualifiedName nor\n namespace prefix\n is \"`xmlns`\".\n \n When both options’s `customElementRegistry` and\n options’s `is` are supplied, a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` will be thrown.\n\n`documentFragment = document . `createDocumentFragment()`` Returns a `DocumentFragment` node.\n\n`text = document . `createTextNode(data)`` Returns a `Text` node\n whose data is data.\n\n`text = document . `createCDATASection(data)`` Returns a `CDATASection` node whose data is\n data.\n\n`comment = document . `createComment(data)`` Returns a `Comment` node whose data is data.\n\n`processingInstruction = document . `createProcessingInstruction(target, data)`` \n Returns a `ProcessingInstruction` node whose\n target is target and\n data is data.\n If target does not match the `[Name](https://www.w3.org/TR/xml/#NT-Name)` production an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` will be thrown.\n If data contains \"`?>`\" an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` will be thrown.\n\n The element interface for any name and\nnamespace is `Element`, unless stated otherwise.\n\n The HTML Standard will, e.g., define that for `html` and the\n[HTML namespace](https://infra.spec.whatwg.org/#html-namespace), the `[HTMLHtmlElement](https://html.spec.whatwg.org/multipage/semantics.html#htmlhtmlelement)` interface is used. [HTML] The\n`createElement(localName, options)`\nmethod steps are:\n\n If localName is not a valid element local name, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If [this](https://webidl.spec.whatwg.org/#this) is an HTML document, then set localName to\n localName in [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n Let registry and is be the result of\n flattening element creation options given options and [this](https://webidl.spec.whatwg.org/#this).\n\n Let namespace be the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), if [this](https://webidl.spec.whatwg.org/#this) is an\n HTML document or [this](https://webidl.spec.whatwg.org/#this)’s content type is\n \"`application/xhtml+xml`\"; otherwise null.\n\n Return the result of creating an element given [this](https://webidl.spec.whatwg.org/#this), localName,\n namespace, null, is, true, and registry.\n The internal `createElementNS` steps, given document,\nnamespace, qualifiedName, and options, are as follows:\n\n Let (namespace, prefix, localName) be the result of\n validating and extracting namespace and\n qualifiedName given \"`element`\".\n\n Let registry and is be the result of\n flattening element creation options given options and [this](https://webidl.spec.whatwg.org/#this).\n\n Return the result of creating an element given document,\n localName, namespace, prefix, is, true, and\n registry.\n The\n`createElementNS(namespace, qualifiedName, options)`\nmethod steps are to return the result of running the\ninternal `createElementNS` steps, given [this](https://webidl.spec.whatwg.org/#this), namespace,\nqualifiedName, and options.\n To flatten element creation options, given a string or `ElementCreationOptions`\ndictionary options and a document document:\n\n Let registry be the result of [looking up a custom element registry](https://html.spec.whatwg.org/multipage/custom-elements.html#look-up-a-custom-element-registry)\n given document.\n\n Let is be null.\n\n If options is a dictionary:\n\n If options[\"`is`\"] [exists](https://infra.spec.whatwg.org/#map-exists), then set\n is to it.\n\n If options[\"`customElementRegistry`\"]\n [exists](https://infra.spec.whatwg.org/#map-exists):\n\n If is is non-null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set registry to\n options[\"`customElementRegistry`\"].\n If registry is non-null, registry’s\n [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is false, and registry is not\n document’s custom element registry, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n Return registry and is.\n `createElement()` and `createElementNS()`’s options\nparameter is allowed to be a string for web compatibility.\n The `createDocumentFragment()` method steps are to\nreturn the result of creating a document fragment given [this](https://webidl.spec.whatwg.org/#this).\n\n The `createTextNode(data)` method steps are\nto return the result of creating a text node given [this](https://webidl.spec.whatwg.org/#this) and data.\n\n The `createCDATASection(data)` method steps\nare:\n\n If [this](https://webidl.spec.whatwg.org/#this) is an HTML document, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If data contains the string \"`]]>`\", then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let node be the result of creating a node that implements\n `CDATASection`, given [this](https://webidl.spec.whatwg.org/#this).\n\n Set node’s data to data.\n\n Return node.\n The `createComment(data)` method steps are to\nreturn the result of given [this](https://webidl.spec.whatwg.org/#this) and data.\n\n The\n`createProcessingInstruction(target, data)`\nmethod steps are to return the result of creating a processing instruction node given\n[this](https://webidl.spec.whatwg.org/#this), target, and data.\n\n`clone = document . importNode(node [, options = false])` Returns a copy of node. If options is true or options is a\n dictionary whose `selfOnly` is false, the copy also includes the\n node’s descendants.\n\n options’s `customElementRegistry` can be used to set the\n `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` of elements that have none.\n\n If node is a document or a shadow root, throws a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n`node = document . adoptNode(node)` Moves node from another document and returns it.\n\n If node is a document, throws a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` or, if node is a shadow root, throws a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n The `importNode(node, options)`\nmethod steps are:\n\n If node is a document or shadow root, then [throw](https://webidl.spec.whatwg.org/#dfn-throw)\n a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let subtree be false.\n\n Let registry be null.\n\n If options is a boolean, then set subtree to options.\n\n Otherwise:\n\n Set subtree to the negation of\n options[\"`selfOnly`\"].\n\n If options[\"`customElementRegistry`\"]\n [exists](https://infra.spec.whatwg.org/#map-exists), then set registry to it.\n\n If registry’s [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is false and\n registry is not [this](https://webidl.spec.whatwg.org/#this)’s custom element registry, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n If registry is null, then set registry to the result of\n [looking up a custom element registry](https://html.spec.whatwg.org/multipage/custom-elements.html#look-up-a-custom-element-registry) given [this](https://webidl.spec.whatwg.org/#this).\n\n Return the result of cloning a node given node with\n *document* set to [this](https://webidl.spec.whatwg.org/#this),\n *subtree* set to subtree, and\n *fallbackRegistry* set to registry.\n Specifications may define\nadopting steps for all or some nodes. The\nalgorithm is passed node and oldDocument, as indicated in the\nadopt algorithm.\n To adopt a node node into a\ndocument document:\n\n Let oldDocument be node’s node document.\n\n If node’s parent is non-null, then remove node.\n\n If document is not oldDocument, then for each\n inclusiveDescendant of node’s shadow-including inclusive descendants,\n in shadow-including tree order:\n\n Set inclusiveDescendant’s node document to document.\n\n If inclusiveDescendant is a shadow root and if any of the following\n are true:\n\n inclusiveDescendant’s custom element registry is null\n and inclusiveDescendant’s keep custom element registry null is\n false; or\n\n inclusiveDescendant’s custom element registry is a global custom element registry,\n then set inclusiveDescendant’s custom element registry to\n document’s custom element registry’s\n effective global custom element registry.\n\n Otherwise, if inclusiveDescendant is an element:\n\n Set the node document of each attribute in\n inclusiveDescendant’s attribute list to document.\n\n If inclusiveDescendant’s custom element registry is null or\n inclusiveDescendant’s custom element registry’s\n [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is false:\n\n Let registry be null.\n\n If inclusiveDescendant’s custom element registry is\n non-null, inclusiveDescendant’s parent is null, or\n inclusiveDescendant’s parent is an\n exclusive `DocumentFragment` node, then set registry to\n document’s custom element registry.\n\n Otherwise, set registry to the result of\n [looking up a custom element registry](https://html.spec.whatwg.org/multipage/custom-elements.html#look-up-a-custom-element-registry) given inclusiveDescendant’s\n parent.\n\n Set inclusiveDescendant’s custom element registry to\n registry’s effective global custom element registry.\n If inclusiveDescendant is custom, then\n [enqueue a custom element callback reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-callback-reaction) with inclusiveDescendant, callback\n name \"`adoptedCallback`\", and « oldDocument, document ».\n Run the adopting steps with inclusiveDescendant and\n oldDocument.\n The `adoptNode(node)` method steps are:\n\n If node is a document, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If node is a shadow root, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Adopt node into [this](https://webidl.spec.whatwg.org/#this).\n\n Return node.\n Null or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object registry is a global custom element registry if registry is non-null and\nregistry’s [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is false.\n\n Null or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object registry’s\neffective global custom element registry is:\n\n If registry is a global custom element registry, then return\n registry.\n\n Return null.\n The `createAttribute(localName)` method\nsteps are:\n\n If localName is not a valid attribute local name, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If [this](https://webidl.spec.whatwg.org/#this) is an HTML document, then set localName to\n localName in [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n \n Return the result of creating an attribute given [this](https://webidl.spec.whatwg.org/#this) and localName.\n The\n`createAttributeNS(namespace, qualifiedName)`\nmethod steps are:\n\n Let (namespace, prefix, localName) be the result of\n validating and extracting namespace and\n qualifiedName given \"`attribute`\".\n\n Return the result of creating an attribute given [this](https://webidl.spec.whatwg.org/#this), localName,\n namespace, and prefix.\n The `createEvent(interface)` method steps\nare:\n\n Let constructor be null.\n\n If interface is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for any of the strings in the\n first column in the following table, then set constructor to the interface in the\n second column on the same row as the matching string:\n\n String\n Interface\n Notes\n \n \"`beforeunloadevent`\"\n `[BeforeUnloadEvent](https://html.spec.whatwg.org/multipage/nav-history-apis.html#beforeunloadevent)` [HTML] \"`compositionevent`\"\n `[CompositionEvent](https://w3c.github.io/uievents/#compositionevent)` [UIEVENTS] \"`customevent`\"\n `CustomEvent` \"`devicemotionevent`\"\n `[DeviceMotionEvent](https://w3c.github.io/deviceorientation/spec-source-orientation.html#devicemotion)` [DEVICE-ORIENTATION] \"`deviceorientationevent`\"\n `[DeviceOrientationEvent](https://w3c.github.io/deviceorientation/spec-source-orientation.html#devicemotion)` \"`dragevent`\"\n `[DragEvent](https://html.spec.whatwg.org/multipage/dnd.html#dragevent)` [HTML] \"`event`\"\n `Event` \"`events`\"\n \n \"`focusevent`\"\n `[FocusEvent](https://w3c.github.io/uievents/#focusevent)` [UIEVENTS] \"`hashchangeevent`\"\n `[HashChangeEvent](https://html.spec.whatwg.org/multipage/nav-history-apis.html#hashchangeevent)` [HTML] \"`htmlevents`\"\n `Event` \"`keyboardevent`\"\n `[KeyboardEvent](https://w3c.github.io/uievents/#keyboardevent)` [UIEVENTS] \"`messageevent`\"\n `[MessageEvent](https://html.spec.whatwg.org/multipage/comms.html#messageevent)` [HTML] \"`mouseevent`\"\n `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` [UIEVENTS] \"`mouseevents`\"\n \n \"`storageevent`\"\n `[StorageEvent](https://html.spec.whatwg.org/multipage/webstorage.html#storageevent)` [HTML] \"`svgevents`\"\n `Event` \"`textevent`\"\n `[TextEvent](https://w3c.github.io/uievents/#textevent)` [UIEVENTS] \"`touchevent`\"\n `[TouchEvent](https://w3c.github.io/touch-events/#idl-def-touchevent)` [TOUCH-EVENTS] \"`uievent`\"\n `[UIEvent](https://w3c.github.io/uievents/#uievent)` [UIEVENTS] \"`uievents`\"\n \n If constructor is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If the interface indicated by constructor is not exposed on the\n [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global) of [this](https://webidl.spec.whatwg.org/#this), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Typically user agents disable support for touch events in some configurations, in\n which case this clause would be triggered for the interface `[TouchEvent](https://w3c.github.io/touch-events/#idl-def-touchevent)`.\n\n Let event be the result of creating an event given constructor.\n\n Initialize event’s `type` attribute to the empty string.\n\n Initialize event’s `timeStamp` attribute to the result of calling\n [current high resolution time](https://w3c.github.io/hr-time/#dfn-current-high-resolution-time) with [this](https://webidl.spec.whatwg.org/#this)’s [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global).\n\n Initialize event’s `isTrusted` attribute to false.\n\n Unset event’s initialized flag.\n\n Return event.\n Event constructors ought to be used instead.\n\n The `createRange()` method steps are to return a new\nlive range with ([this](https://webidl.spec.whatwg.org/#this), 0) as its start an end.\n\n The `Range()` constructor can be used instead.\n\n The\n`createNodeIterator(root, whatToShow, filter)`\nmethod steps are:\n\n Let iterator be a new `NodeIterator` object.\n\n Set iterator’s root to root.\n\n Set iterator’s reference to (root, true).\n\n Set iterator’s whatToShow to whatToShow.\n\n Set iterator’s filter to filter.\n\n Return iterator.\n The\n`createTreeWalker(root, whatToShow, filter)`\nmethod steps are:\n\n Let walker be a new `TreeWalker` object.\n\n Set walker’s root and walker’s\n current to root.\n\n Set walker’s whatToShow to whatToShow.\n\n Set walker’s filter to filter.\n\n Return walker.\n\n 4.5.1. Interface `DOMImplementation` User agents must create a `DOMImplementation` object whenever a document is\ncreated and associate it with that document.\n\n [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `DOMImplementation` {\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] DocumentType createDocumentType([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `name`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `publicId`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `systemId`);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] XMLDocument createDocument([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [[LegacyNullToEmptyString](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)] [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`, optional DocumentType? `doctype` = null);\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Document createHTMLDocument(optional [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `title`);\n\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasFeature(); // historical; always returns true\n};\n\n`doctype = document . `implementation` . `createDocumentType(name, publicId, systemId)`` \n \n Returns a doctype, with the given name, publicId, and systemId.\n\n If name is not a valid doctype name, an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` is thrown.\n\n`doc = document . `implementation` . createDocument(namespace, qualifiedName [, doctype = null])` \n \n Returns an `XMLDocument`, with a\n document element whose\n local name is\n qualifiedName and whose\n namespace is\n namespace (unless qualifiedName is the\n empty string), and with doctype, if it is given, as its\n doctype.\n\n This method throws the same exceptions as the `createElementNS()` method, when\n invoked with namespace and qualifiedName.\n\n`doc = document . `implementation` . createHTMLDocument([title])` \n Returns a document, with a basic\n tree already constructed including a\n `[title](https://html.spec.whatwg.org/multipage/semantics.html#the-title-element)` element, unless the title\n argument is omitted.\n\n The\n`createDocumentType(name, publicId, systemId)`\nmethod steps are:\n\n If name is not a valid doctype name, then throw an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Return the result of creating a doctype given the associated document of\n [this](https://webidl.spec.whatwg.org/#this), name, publicId, and systemId.\n The\n`createDocument(namespace, qualifiedName, doctype)`\nmethod steps are:\n\n Let document be the result of creating a document that implements\n `XMLDocument`, given [this](https://webidl.spec.whatwg.org/#this)’s [relevant realm](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-realm).\n\n Let element be null.\n\n If qualifiedName is not the empty string, then set element to the\n result of running the internal `createElementNS` steps, given\n document, namespace, qualifiedName, and an empty dictionary.\n\n If doctype is non-null, append doctype to document.\n\n If element is non-null, append element to document.\n\n document’s origin is [this](https://webidl.spec.whatwg.org/#this)’s associated\n document’s origin.\n\n document’s content type is determined by namespace:\n\n [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) `application/xhtml+xml` [SVG namespace](https://infra.spec.whatwg.org/#svg-namespace) `image/svg+xml` Any other namespace\n \n `application/xml` Return document.\n The\n`createHTMLDocument(title)`\nmethod steps are:\n\n Let doc be the result of creating a document that implements\n `Document`, given [this](https://webidl.spec.whatwg.org/#this)’s [relevant realm](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-realm).\n\n Set doc’s type to \"`html`\" and\n content type to \"`text/html`\".\n\n Let doctype be the result of creating a doctype given doc and\n \"`html`\".\n\n Append doctype to doc.\n\n Append the result of creating an element given doc,\n \"`html`\", and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), to doc.\n\n Append the result of creating an element given doc,\n \"`head`\", and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), to the `[html](https://html.spec.whatwg.org/multipage/semantics.html#the-html-element)` element created earlier.\n\n If title is given:\n\n Append the result of creating an element given doc,\n \"`title`\", and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), to the `[head](https://html.spec.whatwg.org/multipage/semantics.html#the-head-element)` element created earlier.\n\n Let text be the result of creating a text node given doc and\n title (which could be the empty string).\n\n Append text to the `[title](https://html.spec.whatwg.org/multipage/semantics.html#the-title-element)` element created earlier.\n Append the result of creating an element given doc,\n \"`body`\", and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), to the `[html](https://html.spec.whatwg.org/multipage/semantics.html#the-html-element)` element created earlier.\n\n doc’s origin is [this](https://webidl.spec.whatwg.org/#this)’s associated\n document’s origin.\n\n Return doc.\n The `hasFeature()` method steps are to\nreturn true.\n\n `hasFeature()` originally would report whether the user agent\nclaimed to support a given DOM feature, but experience proved it was not nearly as\nreliable or granular as simply checking whether the desired objects, attributes, or\nmethods existed. As such, it is no longer to be used, but continues to exist (and simply\nreturns true) so that old pages don’t stop working.\n\n 4.6. Interface `DocumentType` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `DocumentType` : Node {\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) name;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) publicId;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) systemId;\n};\n `DocumentType` nodes are simply known as\ndoctypes.\n\n Doctypes have an associated\nname (a string),\npublic ID (a string), and\nsystem ID (a string).\n\n To create a doctype given a document document, a string\nname, and optionally a string publicId (default the empty string) and a string\nsystemId (default the empty string):\n\n Let doctype be the result of creating a node that implements\n `DocumentType`, given document.\n\n Set doctype’s name to name, public ID to\n publicId, and system ID to systemId.\n\n Return doctype.\n The `name` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s name.\n\n The `publicId` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s public ID.\n\n The `systemId` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s system ID.\n\n 4.7. Interface `DocumentFragment` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `DocumentFragment` : Node {\n constructor();\n};\n\n`tree = new `DocumentFragment()`` Returns a new `DocumentFragment` node.\n\n An exclusive `DocumentFragment` node is a `DocumentFragment` node that is not a `ShadowRoot` node.\n A `DocumentFragment` node has an associated\nhost (null or an\nelement in a different node tree). It is null unless otherwise stated.\n\n An object A is a\nhost-including inclusive ancestor\nof an object B, if either A is an inclusive ancestor of B,\nor if B’s root has a non-null host and\nA is a host-including inclusive ancestor of B’s root’s\nhost.\n The `DocumentFragment` node’s host\nconcept is useful for HTML’s `[template](https://html.spec.whatwg.org/multipage/scripting.html#the-template-element)` element and for shadow roots, and impacts the\npre-insert and replace algorithms.\n\n To create a document fragment given a document document: return the result of creating a node that implements\n`DocumentFragment`, given document.\n The\n`new DocumentFragment()`\nconstructor steps are to set [this](https://webidl.spec.whatwg.org/#this)’s node document to\n[current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)’s [associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window).\n 4.8. Interface `ShadowRoot` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `ShadowRoot` : DocumentFragment {\n readonly attribute ShadowRootMode mode;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) delegatesFocus;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) serializable;\n readonly attribute SlotAssignmentMode slotAssignment;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) clonable;\n readonly attribute Element host;\n\n attribute [EventHandler](https://html.spec.whatwg.org/multipage/webappapis.html#eventhandler) onslotchange;\n};\n\nenum `ShadowRootMode` { `\"open\"`, `\"closed\"` };\nenum `SlotAssignmentMode` { `\"manual\"`, `\"named\"` };\n `ShadowRoot` nodes are simply known as\nshadow roots.\n\n Shadow roots’s associated host is never null.\n\n Shadow roots have an associated mode (\"`open`\"\nor \"`closed`\").\n\n Shadow roots have an associated delegates focus\n(a boolean). It is initially set to false.\n\n Shadow roots have an associated\navailable to element internals (a boolean). It is initially set to\nfalse.\n\n Shadow roots have an associated declarative\n(a boolean). It is initially set to false.\n\n Shadow roots have an associated serializable (a boolean).\nIt is initially set to false.\n\n Shadow roots have an associated slot assignment\n(\"`manual`\" or \"`named`\").\n\n Shadow roots have an associated clonable (a boolean).\nIt is initially set to false.\n\n Shadow roots have an associated custom element registry\n(null or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object). It is initially null.\n\n Shadow roots have an associated\nkeep custom element registry null (a boolean). It is initially false.\n\n This can only ever be true in combination with declarative shadow roots. And it only\nmatters for as long as the shadow root’s custom element registry\nis null.\n\n A shadow root’s get the parent algorithm, given an event, returns\nnull if event’s composed flag is unset and shadow root is the\nroot of event’s path’s first event path item’s\ninvocation target; otherwise shadow root’s\nhost.\n\n The `mode` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s mode.\n\n The `delegatesFocus` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s delegates focus.\n\n The `serializable` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s serializable.\n\n The `slotAssignment` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s slot assignment.\n\n The `clonable` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s clonable.\n\n The `host` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s host.\n\n The `onslotchange` attribute is an\n[event handler IDL attribute](https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-idl-attributes) for the\n`onslotchange` [event handler](https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers), whose\n[event handler event type](https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-event-type) is `slotchange`.\n\n In shadow-including tree order is\nshadow-including preorder, depth-first traversal of a node tree.\nShadow-including preorder, depth-first traversal of a node tree tree is preorder, depth-first traversal of tree, with for each\nshadow host encountered in tree,\nshadow-including preorder, depth-first traversal of that element’s\nshadow root’s node tree just after it is encountered.\n\n The shadow-including root of an object is its\nroot’s host’s shadow-including root, if the\nobject’s root is a shadow root; otherwise its root.\n\n An object A is a\nshadow-including descendant of an object\nB, if A is a descendant of B, or A’s\nroot is a shadow root and A’s root’s\nhost is a shadow-including inclusive descendant of B.\n\n A\nshadow-including inclusive descendant\nis an object or one of its shadow-including descendants.\n\n An object A is a\nshadow-including ancestor of an object\nB, if and only if B is a shadow-including descendant of A.\n\n A\nshadow-including inclusive ancestor\nis an object or one of its shadow-including ancestors.\n\n A node A is\nclosed-shadow-hidden from a node B if all of the following conditions are true:\n\n A’s root is a shadow root.\n\n A’s root is not a shadow-including inclusive ancestor of\n B.\n\n A’s root is a shadow root whose\n mode is \"`closed`\" or A’s root’s\n host is closed-shadow-hidden from B.\n To retarget an object A against an object\nB, repeat these steps until they return an object:\n\n If one of the following is true\n\n A is not a node A’s root is not a shadow root B is a node and A’s root is a\n shadow-including inclusive ancestor of B then return A.\n\n Set A to A’s root’s host.\n The retargeting algorithm is used by event dispatch as well\nas other specifications, such as Fullscreen. [FULLSCREEN] 4.9. Interface `Element` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `Element` : Node {\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? namespaceURI;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? prefix;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) localName;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) tagName;\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) id;\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) className;\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject), [PutForwards](https://webidl.spec.whatwg.org/#PutForwards)=value] readonly attribute DOMTokenList classList;\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [Unscopable](https://webidl.spec.whatwg.org/#Unscopable)] attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) slot;\n\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasAttributes();\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute NamedNodeMap attributes;\n [sequence](https://webidl.spec.whatwg.org/#idl-sequence)<[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)> getAttributeNames();\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? getAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? getAttributeNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`, ([TrustedType](https://w3c.github.io/trusted-types/dist/spec/#typedefdef-trustedtype) or [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)) `value`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setAttributeNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`, ([TrustedType](https://w3c.github.io/trusted-types/dist/spec/#typedefdef-trustedtype) or [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)) `value`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) removeAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) removeAttributeNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [boolean](https://webidl.spec.whatwg.org/#idl-boolean) toggleAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`, optional [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `force`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasAttributeNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n\n Attr? getAttributeNode([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n Attr? getAttributeNodeNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr? setAttributeNode(Attr `attr`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr? setAttributeNodeNS(Attr `attr`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr removeAttributeNode(Attr `attr`);\n\n ShadowRoot attachShadow(ShadowRootInit `init`);\n readonly attribute ShadowRoot? shadowRoot;\n\n readonly attribute [CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)? customElementRegistry;\n\n Element? closest([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `selectors`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) matches([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `selectors`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) webkitMatchesSelector([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `selectors`); // legacy alias of .matches\n\n HTMLCollection getElementsByTagName([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n HTMLCollection getElementsByTagNameNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n HTMLCollection getElementsByClassName([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `classNames`);\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Element? insertAdjacentElement([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `where`, Element `element`); // legacy\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) insertAdjacentText([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `where`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`); // legacy\n};\n\ndictionary `ShadowRootInit` {\n required ShadowRootMode `mode`;\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `delegatesFocus` = false;\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `serializable` = false;\n SlotAssignmentMode `slotAssignment` = \"named\";\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `clonable` = false;\n [CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)? `customElementRegistry`;\n};\n `ShadowRootInit` somewhat unusually allows both `undefined` and\n`null` to be passed to its `customElementRegistry` member to allow web\ndevelopers to pass a `ShadowRoot` node instead of a dictionary to `attachShadow()`.\n\n `Element` nodes are simply known as\nelements.\n\n Elements have an associated:\n\nnamespace Null or a non-empty string.\n\nnamespace prefix Null or a non-empty string.\n\nlocal name A non-empty string.\n\ncustom element registry Null or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object.\n\ncustom element state \"`undefined`\", \"`failed`\", \"`uncustomized`\",\n \"`precustomized`\", or \"`custom`\".\n\ncustom element definition Null or a [custom element definition](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-definition).\n\n`is` value Null or a [valid custom element name](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name).\n\n When an element is created, all of these values are\ninitialized.\n\n An element whose custom element state is\n\"`uncustomized`\" or \"`custom`\" is said to be\ndefined. An element whose\ncustom element state is \"`custom`\" is said to be\ncustom.\n\n Whether or not an element is defined is used to determine the\nbehavior of the [:defined](https://drafts.csswg.org/selectors-4/#defined-pseudo) pseudo-class. Whether or not an element is custom is\nused to determine the behavior of the mutation algorithms. The\n\"`failed`\" and \"`precustomized`\" states are used to ensure that if a\n[custom element constructor](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-constructor) fails to execute correctly the first time, it is not executed\nagain by an [upgrade](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-upgrade-an-element).\n\n The following code illustrates elements in each of these four states:\n\n `

` Elements also have an associated\nshadow root (null or a\nshadow root). It is null unless otherwise stated. An element is a\nshadow host if its shadow root is non-null.\n\n An element’s\nqualified name is its\nlocal name if its namespace prefix is null; otherwise its\nnamespace prefix, followed by \"`:`\", followed by its\nlocal name.\n\n An element’s HTML-uppercased qualified name is the return\nvalue of these steps:\n\n Let qualifiedName be [this](https://webidl.spec.whatwg.org/#this)’s qualified name.\n\n If [this](https://webidl.spec.whatwg.org/#this) is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and its node document is an\n HTML document, then return qualifiedName in [ASCII uppercase](https://infra.spec.whatwg.org/#ascii-uppercase).\n\n Return qualifiedName.\n\n User agents could optimize qualified name and\nHTML-uppercased qualified name by storing them in internal slots.\n\n To create an element, given a document document, string localName, string-or-null namespace, and\noptionally a string-or-null prefix (default null), string-or-null is (default\nnull), boolean synchronousCustomElements (default false), and \"`default`\",\nnull, or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object registry (default \"`default`\"):\n\n Let result be null.\n\n If registry is \"`default`\", then set registry to the result\n of [looking up a custom element registry](https://html.spec.whatwg.org/multipage/custom-elements.html#look-up-a-custom-element-registry) given document.\n\n Let definition be the result of\n [looking up a custom element definition](https://html.spec.whatwg.org/multipage/custom-elements.html#look-up-a-custom-element-definition) given registry,\n namespace, localName, and is.\n\n If definition is non-null, and definition’s\n [name](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-name) is not equal to its\n [local name](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-local-name) (i.e., definition represents a\n [customized built-in element](https://html.spec.whatwg.org/multipage/custom-elements.html#customized-built-in-element)):\n\n Let interface be the element interface for localName and the\n [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n\n Set result to the result of creating an element internal given\n document, interface, localName, the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace),\n prefix, \"`undefined`\", is, and registry.\n\n If synchronousCustomElements is true, then run this step while catching any\n exceptions:\n\n [Upgrade](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-upgrade-an-element) result using definition.\n If this step threw an exception exception:\n\n [Report](https://html.spec.whatwg.org/multipage/webappapis.html#report-an-exception) exception for definition’s\n [constructor](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-constructor)’s corresponding JavaScript object’s\n [associated realm](https://webidl.spec.whatwg.org/#dfn-associated-realm)’s [global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global).\n\n Set result’s custom element state to\n \"`failed`\".\n Otherwise, [enqueue a custom element upgrade reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-upgrade-reaction) given result and\n definition.\n Otherwise, if definition is non-null:\n\n If synchronousCustomElements is true:\n\n Let C be definition’s\n [constructor](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-constructor).\n\n Let previousRegistry be the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n [active custom element constructor map](https://html.spec.whatwg.org/multipage/custom-elements.html#active-custom-element-constructor-map)[C]\n [with default](https://infra.spec.whatwg.org/#map-with-default) null.\n\n [Set](https://infra.spec.whatwg.org/#map-set) the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n [active custom element constructor map](https://html.spec.whatwg.org/multipage/custom-elements.html#active-custom-element-constructor-map)[C] to\n registry.\n\n Run these steps while catching any exceptions:\n\n Set result to the result of [constructing](https://webidl.spec.whatwg.org/#construct-a-callback-function) C, with no\n arguments.\n\n [Assert](https://infra.spec.whatwg.org/#assert): one of the following is true:\n\n result’s custom element state is \"`custom`\"\n and its custom element definition is non-null;\n \n result’s custom element state is\n \"`precustomized`\"; or\n \n result’s custom element state is neither\n \"`custom`\" nor \"`precustomized`\" and its\n custom element definition is null.\n \n `customElements.define(\"x-example\", class extends HTMLElement { constructor() { // Non-conformant: returns an existing element instead of calling super(). return document.createElement(\"p\"); } });\n\ndocument.createElement(\"x-example\");` Here result is the `p` element, whose\n custom element state is \"`uncustomized`\" and whose\n custom element definition is null.\n Assert: result’s namespace is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n\n IDL enforces that result is an `[HTMLElement](https://html.spec.whatwg.org/multipage/dom.html#htmlelement)` object, which all\n use the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n\n If result’s attribute list [is not empty](https://infra.spec.whatwg.org/#list-is-empty),\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If result has children, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If result’s parent is non-null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If result’s node document is not document, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If result’s local name is not equal to\n localName, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set result’s namespace prefix to prefix.\n\n Set result’s `is` value to null.\n\n Set result’s custom element registry to\n registry.\n If any of these steps threw an exception exception:\n\n [Report](https://html.spec.whatwg.org/multipage/webappapis.html#report-an-exception) exception for\n definition’s [constructor](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-constructor)’s corresponding\n JavaScript object’s [associated realm](https://webidl.spec.whatwg.org/#dfn-associated-realm)’s [global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global).\n\n Set result to the result of creating an element internal given\n document, `[HTMLUnknownElement](https://html.spec.whatwg.org/multipage/dom.html#htmlunknownelement)`, localName, the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace),\n prefix, \"`failed`\", null, and registry.\n If previousRegistry is null, then [remove](https://infra.spec.whatwg.org/#map-remove) the\n [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n [active custom element constructor map](https://html.spec.whatwg.org/multipage/custom-elements.html#active-custom-element-constructor-map)[C].\n\n Otherwise, [set](https://infra.spec.whatwg.org/#map-set) the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)’s\n [active custom element constructor map](https://html.spec.whatwg.org/multipage/custom-elements.html#active-custom-element-constructor-map)[C] to\n previousRegistry.\n Otherwise:\n\n Set result to the result of creating an element internal given\n document, `[HTMLElement](https://html.spec.whatwg.org/multipage/dom.html#htmlelement)`, localName, the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace),\n prefix, \"`undefined`\", null, and registry.\n\n [Enqueue a custom element upgrade reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-upgrade-reaction) given result and\n definition.\n Otherwise:\n\n Let interface be the element interface for localName and\n namespace.\n\n Set result to the result of creating an element internal given\n document, interface, localName, namespace,\n prefix, \"`uncustomized`\", is, and registry.\n\n If namespace is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), and either localName is a\n [valid custom element name](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name) or is is non-null, then set result’s\n custom element state to \"`undefined`\".\n Return result.\n To create an element internal given a document document, an\ninterface interface a string localName, a string-or-null namespace,\na string-or-null prefix, a string state, a string-or-null is, and\nnull or a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object registry:\n\n Let element be the result of creating a node that implements\n interface, given document.\n\n Set element’s namespace to namespace,\n namespace prefix to prefix, local name to\n localName, custom element registry to registry,\n custom element state to state,\n custom element definition to null, and `is` value\n to is.\n\n [Assert](https://infra.spec.whatwg.org/#assert): element’s attribute list [is empty](https://infra.spec.whatwg.org/#list-is-empty).\n\n Return element.\n Elements also have an\nattribute list, which is a\n[list](https://infra.spec.whatwg.org/#list) exposed through a `NamedNodeMap`. Unless explicitly given when an\nelement is created, its attribute list [is empty](https://infra.spec.whatwg.org/#list-is-empty).\n\n An element has an attribute A if its attribute list [contains](https://infra.spec.whatwg.org/#list-contain) A.\n\n This and other specifications may define\nattribute change steps for\nelements. The algorithm is passed element, localName,\noldValue, value, and namespace.\n\n To handle attribute changes for an attribute attribute with\nelement, oldValue, and newValue, run these steps:\n\n Queue a mutation record of \"`attributes`\" for element with\n attribute’s local name, attribute’s\n namespace, oldValue, « », « », null, and null.\n\n If element is custom, then\n [enqueue a custom element callback reaction](https://html.spec.whatwg.org/multipage/custom-elements.html#enqueue-a-custom-element-callback-reaction) with element, callback name\n \"`attributeChangedCallback`\", and « attribute’s local name,\n oldValue, newValue, attribute’s namespace ».\n\n Run the attribute change steps with element, attribute’s\n local name, oldValue, newValue, and attribute’s\n namespace.\n To change an\nattribute attribute to value:\n\n Let oldValue be attribute’s value.\n\n Set attribute’s value to value.\n\n Handle attribute changes for attribute with attribute’s\n element, oldValue, and value.\n To append an\nattribute attribute to an element element:\n\n [Append](https://infra.spec.whatwg.org/#list-append) attribute to element’s\n attribute list.\n\n Set attribute’s element to element.\n\n Set attribute’s node document to element’s\n node document.\n\n Handle attribute changes for attribute with element, null, and\n attribute’s value.\n To remove an\nattribute attribute:\n\n Let element be attribute’s element.\n\n [Remove](https://infra.spec.whatwg.org/#list-remove) attribute from element’s attribute\n list.\n\n \n Set attribute’s element to null.\n\n Handle attribute changes for attribute with element,\n attribute’s value, and null.\n To replace an\nattribute oldAttribute with an attribute newAttribute:\n\n Let element be oldAttribute’s element.\n\n [Replace](https://infra.spec.whatwg.org/#list-replace) oldAttribute by newAttribute in\n element’s attribute list.\n\n Set newAttribute’s element to element.\n\n Set newAttribute’s node document to element’s\n node document.\n\n Set oldAttribute’s element to null.\n\n Handle attribute changes for oldAttribute with element,\n oldAttribute’s value, and newAttribute’s\n value.\n To get an attribute by name given a\nstring qualifiedName and an element element:\n\n If element is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and its node document\n is an HTML document, then set qualifiedName to qualifiedName in\n [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n Return the first attribute in element’s attribute list\n whose qualified name is qualifiedName; otherwise null.\n To\nget an attribute by namespace and local name\ngiven null or a string namespace, a string localName, and an\nelement element:\n\n If namespace is the empty string, then set it to null.\n\n Return the attribute in element’s attribute list whose\n namespace is namespace and local name is\n localName, if any; otherwise null.\n To get an attribute value given an\nelement element, a string localName, and an optional null or\nstring namespace (default null):\n\n Let attr be the result of\n getting an attribute given\n namespace, localName, and element.\n\n If attr is null, then return the empty string.\n\n Return attr’s value.\n To set an attribute given an\nattribute attr and an element element:\n\n Let verifiedValue be the result of calling\n [get trusted type compliant attribute value](https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-attribute-value) with attr’s\n local name, attr’s namespace, element, and\n attr’s value. [TRUSTED-TYPES] If attr’s element is neither null nor element,\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InUseAttributeError](https://webidl.spec.whatwg.org/#inuseattributeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let oldAttr be the result of\n getting an attribute given\n attr’s namespace, attr’s local name, and\n element.\n\n If oldAttr is attr, return attr.\n\n Set attr’s value to verifiedValue.\n\n If oldAttr is non-null, then replace oldAttr with attr.\n\n Otherwise, append attr to element.\n\n Return oldAttr.\n To set an attribute value given an\nelement element, a string localName, a string value,\nan optional null or string prefix (default null), and an optional null or string\nnamespace (default null):\n\n Let attribute be the result of\n getting an attribute given\n namespace, localName, and element.\n\n \n If attribute is null, then append the result of\n creating an attribute given element’s node document,\n localName, namespace, prefix, and value to\n element, and then return.\n\n \n Change attribute to value.\n To remove an attribute by name\ngiven a string qualifiedName and an element element:\n\n Let attr be the result of\n getting an attribute given qualifiedName and\n element.\n\n If attr is non-null, then remove attr.\n\n Return attr.\n To\nremove an attribute by namespace and local name\ngiven null or a string namespace, a string localName, and an\nelement element:\n\n Let attr be the result of\n getting an attribute given\n namespace, localName, and element.\n\n If attr is non-null, then remove attr.\n\n Return attr.\n An element can have an associated\nunique identifier (ID) Historically elements could have multiple identifiers e.g., by using\nthe HTML `id` attribute and a DTD. This specification makes ID\na concept of the DOM and allows for only one per element, given by an\n`id` attribute.\n\n Use these attribute change steps to update an element’s\nID:\n\n If localName is `id`, namespace is null, and\n value is null or the empty string, then unset element’s\n ID.\n\n Otherwise, if localName is `id`, namespace is null, then\n set element’s ID to value.\n While this specification defines requirements for `class`,\n`id`, and `slot` attributes on any element, it makes no\nclaims as to whether using them is conforming or not.\n\n A node’s parent of type `Element` is known as its\nparent element. If the node has a\nparent of a different type, its\nparent element is null.\n\nnamespace = element . `namespaceURI` Returns the namespace.\n\nprefix = element . `prefix` Returns the\n namespace prefix.\n\nlocalName = element . `localName` Returns the\n local name.\n\nqualifiedName = element . `tagName` Returns the HTML-uppercased qualified name.\n\n The `namespaceURI` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s namespace.\n\n The `prefix` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s namespace prefix.\n\n The `localName` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s local name.\n\n The `tagName` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s HTML-uppercased qualified name.\n\n`element . id [ = value ]` Returns the value of element’s `id` content attribute. Can be set to\n change it.\n\n`element . className [ = value ]` Returns the value of element’s `class` content attribute. Can be set\n to change it.\n\n`element . classList` Allows for manipulation of element’s `class` content attribute as a\n set of whitespace-separated tokens through a `DOMTokenList` object.\n\n`element . slot [ = value ]` Returns the value of element’s `slot` content attribute. Can be set to\n change it.\n IDL attributes that are defined to reflect a string\nname, must have these getter and setter steps:\n\ngetter steps\n \n Return the result of running get an attribute value given [this](https://webidl.spec.whatwg.org/#this) and\n name.\n\nsetter steps\n \n Set an attribute value for [this](https://webidl.spec.whatwg.org/#this) using name and the given value.\n The `id` attribute must reflect\n\"`id`\".\n\n The `className` attribute must\nreflect \"`class`\".\n\n The `classList` getter steps are to return a\n`DOMTokenList` object whose associated element is [this](https://webidl.spec.whatwg.org/#this) and whose associated\nattribute’s local name is `class`. The token set of this\nparticular `DOMTokenList` object are also known as the element’s\nclasses.\n\n The `slot` attribute must reflect\n\"`slot`\".\n\n `id`, `class`, and `slot` are effectively\nsuperglobal attributes as they can appear on any element, regardless of that element’s\nnamespace.\n\n`element . hasAttributes()` Returns true if element has attributes; otherwise false.\n\n`element . getAttributeNames()` Returns the qualified names of all element’s attributes.\n Can contain duplicates.\n\n`element . getAttribute(qualifiedName)` Returns element’s first attribute whose qualified name is\n qualifiedName, and null if there is no such attribute otherwise.\n\n`element . getAttributeNS(namespace, localName)` Returns element’s attribute whose namespace is\n namespace and local name is localName, and null if there is\n no such attribute otherwise.\n\n`element . setAttribute(qualifiedName, value)` Sets the value of element’s first attribute whose\n qualified name is qualifiedName to value.\n\n`element . setAttributeNS(namespace, localName, value)` Sets the value of element’s attribute whose\n namespace is namespace and local name is\n localName to value.\n\n`element . removeAttribute(qualifiedName)` Removes element’s first attribute whose qualified name is\n qualifiedName.\n\n`element . removeAttributeNS(namespace, localName)` Removes element’s attribute whose namespace is\n namespace and local name is localName.\n\n`element . toggleAttribute(qualifiedName [, force])` If force is not given, \"toggles\" qualifiedName, removing it if it is\n present and adding it if it is not present. If force is true, adds\n qualifiedName. If force is false, removes qualifiedName.\n\n Returns true if qualifiedName is now present; otherwise false.\n\n`element . hasAttribute(qualifiedName)` Returns true if element has an attribute whose\n qualified name is qualifiedName; otherwise false.\n\n`element . hasAttributeNS(namespace, localName)` Returns true if element has an attribute whose namespace\n is namespace and local name is localName.\n The `hasAttributes()` method steps are to return false\nif [this](https://webidl.spec.whatwg.org/#this)’s attribute list [is empty](https://infra.spec.whatwg.org/#list-is-empty); otherwise true.\n The `attributes` getter steps are to return the\nassociated `NamedNodeMap`.\n The `getAttributeNames()` method steps are to return the\nqualified names of the attributes in [this](https://webidl.spec.whatwg.org/#this)’s\nattribute list, in order; otherwise a new [list](https://infra.spec.whatwg.org/#list).\n\n These are not guaranteed to be unique.\n The `getAttribute(qualifiedName)` method\nsteps are:\n\n Let attr be the result of\n getting an attribute given qualifiedName and\n [this](https://webidl.spec.whatwg.org/#this).\n\n If attr is null, return null.\n\n Return attr’s value.\n The\n`getAttributeNS(namespace, localName)`\nmethod steps are:\n\n Let attr be the result of\n getting an attribute given\n namespace, localName, and [this](https://webidl.spec.whatwg.org/#this).\n\n If attr is null, return null.\n\n Return attr’s value.\n The\n`setAttribute(qualifiedName, value)`\nmethod steps are:\n\n If qualifiedName is not a valid attribute local name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Despite the parameter naming,\n qualifiedName is only used as a qualified name if an attribute already\n exists with that qualified name. Otherwise, it is used as the local name of the new\n attribute. We only need to validate it for the latter case.\n\n If [this](https://webidl.spec.whatwg.org/#this) is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and its node document is an\n HTML document, then set qualifiedName to qualifiedName in\n [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n Let verifiedValue be the result of calling\n [get trusted type compliant attribute value](https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-attribute-value) with qualifiedName, null, [this](https://webidl.spec.whatwg.org/#this),\n and value. [TRUSTED-TYPES] Let attribute be the first attribute in [this](https://webidl.spec.whatwg.org/#this)’s\n attribute list whose qualified name is qualifiedName,\n and null otherwise.\n\n If attribute is non-null, then change attribute to verifiedValue and return.\n\n Set attribute to the result of creating an attribute given [this](https://webidl.spec.whatwg.org/#this)’s\n node document, qualifiedName, null, null, and verifiedValue.\n\n Append attribute to [this](https://webidl.spec.whatwg.org/#this).\n The\n`setAttributeNS(namespace, qualifiedName, value)`\nmethod steps are:\n\n Let (namespace, prefix, localName) be the result of\n validating and extracting namespace and\n qualifiedName given \"`attribute`\".\n\n Let verifiedValue be the result of calling\n [get trusted type compliant attribute value](https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-attribute-value) with localName, namespace,\n [this](https://webidl.spec.whatwg.org/#this), and value. [TRUSTED-TYPES] Set an attribute value for [this](https://webidl.spec.whatwg.org/#this) using localName,\n verifiedValue, prefix, and namespace.\n The\n`removeAttribute(qualifiedName)`\nmethod steps are to remove an attribute given\nqualifiedName and [this](https://webidl.spec.whatwg.org/#this), and then return undefined.\n The\n`removeAttributeNS(namespace, localName)`\nmethod steps are to remove an attribute\ngiven namespace, localName, and [this](https://webidl.spec.whatwg.org/#this), and then return undefined.\n The `hasAttribute(qualifiedName)` method\nsteps are:\n\n If [this](https://webidl.spec.whatwg.org/#this) is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and its node document is an\n HTML document, then set qualifiedName to qualifiedName in\n [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n Return true if [this](https://webidl.spec.whatwg.org/#this) has an attribute whose\n qualified name is qualifiedName; otherwise false.\n The\n`toggleAttribute(qualifiedName, force)`\nmethod steps are:\n\n If qualifiedName is not a valid attribute local name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n See the discussion above about why\n we validate it as a local name, instead of a qualified name.\n\n If [this](https://webidl.spec.whatwg.org/#this) is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and its node document is an\n HTML document, then set qualifiedName to qualifiedName in\n [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n Let attribute be the first attribute in [this](https://webidl.spec.whatwg.org/#this)’s\n attribute list whose qualified name is qualifiedName,\n and null otherwise.\n\n If attribute is null:\n\n If force is not given or is true, then append\n the result of creating an attribute given [this](https://webidl.spec.whatwg.org/#this)’s node document and\n qualifiedName to [this](https://webidl.spec.whatwg.org/#this), and then return true.\n\n Return false.\n If force is not given or is false,\n remove an attribute given qualifiedName and\n [this](https://webidl.spec.whatwg.org/#this), and then return false.\n\n Return true.\n The\n`hasAttributeNS(namespace, localName)`\nmethod steps are:\n\n If namespace is the empty string, then set it to null.\n\n Return true if [this](https://webidl.spec.whatwg.org/#this) has an attribute whose\n namespace is namespace and local name is\n localName; otherwise false.\n\n The `getAttributeNode(qualifiedName)` method\nsteps are to return the result of getting an attribute given\nqualifiedName and [this](https://webidl.spec.whatwg.org/#this).\n The\n`getAttributeNodeNS(namespace, localName)`\nmethod steps are to return the result of\ngetting an attribute given\nnamespace, localName, and [this](https://webidl.spec.whatwg.org/#this).\n The `setAttributeNode(attr)` and\n`setAttributeNodeNS(attr)` methods steps are to\nreturn the result of setting an attribute given attr and\n[this](https://webidl.spec.whatwg.org/#this).\n The `removeAttributeNode(attr)` method steps\nare:\n\n If [this](https://webidl.spec.whatwg.org/#this)’s attribute list does not [contain](https://infra.spec.whatwg.org/#list-contain) attr, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotFoundError](https://webidl.spec.whatwg.org/#notfounderror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Remove attr.\n\n Return attr.\n\n`shadow = element . `attachShadow(init)`` Creates a shadow root for element and returns it.\n\n`shadow = element . `shadowRoot`` Returns element’s shadow root, if any, and if\n shadow root’s mode is \"`open`\"; otherwise null.\n A valid shadow host name is:\n\n a [valid custom element name](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name) \"`article`\",\n \"`aside`\",\n \"`blockquote`\",\n \"`body`\",\n \"`div`\",\n \"`footer`\",\n \"`h1`\",\n \"`h2`\",\n \"`h3`\",\n \"`h4`\",\n \"`h5`\",\n \"`h6`\",\n \"`header`\",\n \"`main`\",\n \"`nav`\",\n \"`p`\",\n \"`section`\", or\n \"`span`\"\n\n This list is intentionally limited so that built-in elements can gain internal\nshadow trees over time as needed.\n\n The `attachShadow(init)` method steps are:\n\n Let registry be [this](https://webidl.spec.whatwg.org/#this)’s node document’s\n custom element registry.\n\n If init[\"`customElementRegistry`\"] [exists](https://infra.spec.whatwg.org/#map-exists), then\n set registry to it.\n\n If registry is non-null, registry’s\n [is scoped](https://html.spec.whatwg.org/multipage/custom-elements.html#is-scoped) is false, and registry is not [this](https://webidl.spec.whatwg.org/#this)’s\n node document’s custom element registry, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Run attach a shadow root with [this](https://webidl.spec.whatwg.org/#this),\n init[\"`mode`\"],\n init[\"`delegatesFocus`\"],\n init[\"`serializable`\"],\n init[\"`slotAssignment`\"],\n init[\"`clonable`\"], and registry.\n\n Return [this](https://webidl.spec.whatwg.org/#this)’s shadow root.\n To attach a shadow root, given an element element, a string mode, a boolean delegatesFocus, a boolean\nserializable, a string slotAssignment, a boolean clonable, and null\nor a `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object registry:\n\n If element’s namespace is not the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace),\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If element’s local name is not a\n valid shadow host name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If element’s local name is a [valid custom element name](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name), or\n element’s `is` value is non-null:\n\n Let definition be the result of [looking up a custom element definition](https://html.spec.whatwg.org/multipage/custom-elements.html#look-up-a-custom-element-definition)\n given element’s custom element registry, its\n namespace, its local name, and its\n `is` value.\n\n If definition is non-null and definition’s\n [disable shadow](https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-disable-shadow) is true, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n If element is a shadow host:\n\n Let currentShadowRoot be element’s shadow root.\n\n If any of the following are true:\n\n currentShadowRoot’s declarative is false; or\n\n currentShadowRoot’s mode is not mode,\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Remove all of currentShadowRoot’s children, in\n tree order.\n\n Set currentShadowRoot’s declarative to false.\n\n Return.\n Let shadow be the result of creating a node that implements\n `ShadowRoot`, given element’s node document.\n\n Set shadow’s host to element.\n\n Set shadow’s mode to mode.\n\n Set shadow’s delegates focus to delegatesFocus.\n\n If element’s custom element state is\n \"`precustomized`\" or \"`custom`\", then set shadow’s\n available to element internals to true.\n\n Set shadow’s declarative to false.\n\n Set shadow’s serializable to serializable.\n\n Set shadow’s slot assignment to slotAssignment.\n\n Set shadow’s clonable to clonable.\n\n Set shadow’s custom element registry to\n registry.\n\n Set element’s shadow root to shadow.\n The `shadowRoot` getter steps are:\n\n Let shadow be [this](https://webidl.spec.whatwg.org/#this)’s shadow root.\n\n If shadow is null or its mode is \"`closed`\",\n then return null.\n\n Return shadow.\n\n`registry = element . `customElementRegistry`` Returns element’s `[CustomElementRegistry](https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry)` object, if any; otherwise null.\n The `customElementRegistry` getter steps are to\nreturn [this](https://webidl.spec.whatwg.org/#this)’s custom element registry.\n\n`element . `closest(selectors)`` Returns the first (starting at element)\n inclusive ancestor that matches\n selectors, and null otherwise.\n\n`element . `matches(selectors)`` Returns true if matching selectors against element’s root\n yields element; otherwise false.\n\n The `closest(selectors)` method steps are:\n\n Let selector be the result of [parse a selector](https://drafts.csswg.org/selectors-4/#parse-a-selector) from selectors.\n [SELECTORS4] If selector is failure, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let elements be [this](https://webidl.spec.whatwg.org/#this)’s inclusive ancestors that are\n elements, in reverse tree order.\n\n For each element of elements: if\n [match a selector against an element](https://drafts.csswg.org/selectors-4/#match-a-selector-against-an-element), using selector, element, and\n [scoping root](https://drafts.csswg.org/selectors-4/#scoping-root) [this](https://webidl.spec.whatwg.org/#this), returns success, return element. [SELECTORS4] Return null.\n The `matches(selectors)` and\n`webkitMatchesSelector(selectors)` method steps\nare:\n\n Let selector be the result of [parse a selector](https://drafts.csswg.org/selectors-4/#parse-a-selector) from selectors.\n [SELECTORS4] If selector is failure, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If the result of [match a selector against an element](https://drafts.csswg.org/selectors-4/#match-a-selector-against-an-element), using selector,\n [this](https://webidl.spec.whatwg.org/#this), and [scoping root](https://drafts.csswg.org/selectors-4/#scoping-root) [this](https://webidl.spec.whatwg.org/#this), returns success, then return true; otherwise,\n return false. [SELECTORS4] The `getElementsByTagName(qualifiedName)`\nmethod steps are to return the list of elements with qualified name qualifiedName\nfor [this](https://webidl.spec.whatwg.org/#this).\n\n The\n`getElementsByTagNameNS(namespace, localName)`\nmethod steps are to return the list of elements with namespace namespace and local\nname localName for [this](https://webidl.spec.whatwg.org/#this).\n\n The `getElementsByClassName(classNames)`\nmethod steps are to return the list of elements with class names classNames for\n[this](https://webidl.spec.whatwg.org/#this).\n\n To insert adjacent, given an element element, string\nwhere, and a node node, run the steps associated with the first\n[ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for where:\n\n\"`beforebegin`\"\n \n If element’s parent is null, return null.\n\n Return the result of pre-inserting node into element’s\n parent before element.\n\n\"`afterbegin`\"\n \n Return the result of pre-inserting node into element before\n element’s first child.\n\n\"`beforeend`\"\n \n Return the result of pre-inserting node into element before\n null.\n\n\"`afterend`\"\n \n If element’s parent is null, return null.\n\n Return the result of pre-inserting node into element’s\n parent before element’s next sibling.\n\nOtherwise\n [Throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n The\n`insertAdjacentElement(where, element)`\nmethod steps are to return the result of running insert adjacent, give [this](https://webidl.spec.whatwg.org/#this),\nwhere, and element.\n\n The\n`insertAdjacentText(where, data)`\nmethod steps are:\n\n Let text be the result of creating a text node given [this](https://webidl.spec.whatwg.org/#this)’s\n node document and data.\n\n Run insert adjacent, given [this](https://webidl.spec.whatwg.org/#this), where, and text.\n This method returns nothing because it existed before we had a chance to design it.\n\n 4.9.1. Interface `NamedNodeMap` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window,\n [LegacyUnenumerableNamedProperties](https://webidl.spec.whatwg.org/#LegacyUnenumerableNamedProperties)]\ninterface `NamedNodeMap` {\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) length;\n getter Attr? item([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `index`);\n getter Attr? getNamedItem([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n Attr? getNamedItemNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr? setNamedItem(Attr `attr`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr? setNamedItemNS(Attr `attr`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr removeNamedItem([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `qualifiedName`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Attr removeNamedItemNS([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `namespace`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n};\n A `NamedNodeMap` has an associated\nelement (an\nelement).\n\n A `NamedNodeMap` object’s\nattribute list is its\nelement’s\nattribute list.\n\n A `NamedNodeMap` object’s [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are the numbers in the\nrange zero to its attribute list’s [size](https://infra.spec.whatwg.org/#list-size) − 1, unless\nthe attribute list [is empty](https://infra.spec.whatwg.org/#list-is-empty), in which case there are no\n[supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices).\n\n The `length` getter steps are to return\nthe attribute list’s [size](https://infra.spec.whatwg.org/#list-size).\n\n The `item(index)` method steps are:\n\n If index is equal to or greater than [this](https://webidl.spec.whatwg.org/#this)’s\n attribute list’s [size](https://infra.spec.whatwg.org/#list-size), then return null.\n\n Otherwise, return [this](https://webidl.spec.whatwg.org/#this)’s attribute list[index].\n A `NamedNodeMap` object’s [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) are the return value of running these\nsteps:\n\n Let names be the qualified names of the attributes in this\n `NamedNodeMap` object’s attribute list, with duplicates omitted, in\n order.\n\n If this `NamedNodeMap` object’s element is in the\n [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and its node document is an HTML document, then\n [for each](https://infra.spec.whatwg.org/#list-iterate) name of names:\n\n Let lowercaseName be name, in [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n If lowercaseName is not equal to name, remove name from\n names.\n Return names.\n The `getNamedItem(qualifiedName)`\nmethod steps are to return the result of getting an attribute\ngiven qualifiedName and element.\n\n The\n`getNamedItemNS(namespace, localName)`\nmethod steps are to return the result of\ngetting an attribute given\nnamespace, localName, and element.\n\n The `setNamedItem(attr)` and\n`setNamedItemNS(attr)` method steps are\nto return the result of setting an attribute given attr and\nelement.\n\n The `removeNamedItem(qualifiedName)`\nmethod steps are:\n\n Let attr be the result of\n removing an attribute given\n qualifiedName and element.\n\n If attr is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotFoundError](https://webidl.spec.whatwg.org/#notfounderror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Return attr.\n The\n`removeNamedItemNS(namespace, localName)`\nmethod steps are:\n\n Let attr be the result of\n removing an attribute given\n namespace, localName, and element.\n\n If attr is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotFoundError](https://webidl.spec.whatwg.org/#notfounderror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Return attr.\n 4.9.2. Interface `Attr` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `Attr` : Node {\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? namespaceURI;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? prefix;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) localName;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) name;\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) value;\n\n readonly attribute Element? ownerElement;\n\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) specified; // historical; always returns true\n}; `Attr` nodes are simply known as\nattributes. They are sometimes referred\nto as *content attributes* to avoid confusion with IDL attributes.\n\n Attributes have a\nnamespace (null or a non-empty string),\nnamespace prefix (null or a non-empty string),\nlocal name (a non-empty string),\nvalue (a string), and\nelement (null or an\nelement). If designed today they would just have a name and value. ☹\n\n An attribute’s\nqualified name is its\nlocal name if its namespace prefix is null, and its\nnamespace prefix, followed by \"`:`\", followed by its\nlocal name, otherwise.\n\n User agents could have this as an internal slot as an optimization.\n\n To create an attribute given a document document, a\nstring localName, and optionally a string-or-null namespace (default null), a\nstring-or-null prefix (default null), and a string value (default the empty\nstring):\n\n Let attribute be the result of creating a node that implements `Attr`,\n given document.\n\n Set attribute’s namespace to namespace,\n namespace prefix to prefix, local name to\n localName, and value to value.\n\n Return attribute.\n An\n`A` attribute\nis an attribute whose\nlocal name is\n`A` and whose\nnamespace and\nnamespace prefix are\nnull.\n\n The `namespaceURI` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s namespace.\n\n The `prefix` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nnamespace prefix.\n\n The `localName` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s local name.\n\n The `name` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nqualified name.\n\n The `value` getter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s\nvalue.\n\n To set an existing attribute value, given an attribute attribute and\nstring value, run these steps:\n\n If attribute’s element is null, then set attribute’s\n value to value and return.\n\n Let element be attribute’s element.\n\n Let verifiedValue be the result of calling\n [get trusted type compliant attribute value](https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-attribute-value) with attribute’s\n local name, attribute’s namespace, element,\n and value. [TRUSTED-TYPES] If attribute’s element is null, then set attribute’s\n value to verifiedValue and return.\n\n Change attribute to verifiedValue.\n The `value` setter steps are to set an existing attribute value with [this](https://webidl.spec.whatwg.org/#this)\nand the given value.\n\n The `ownerElement` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s element.\n\n The `specified` getter steps are to return true.\n\n 4.10. Interface `CharacterData` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `CharacterData` : Node {\n attribute [[LegacyNullToEmptyString](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)] [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) data;\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) length;\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) substringData([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `count`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) appendData([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) insertData([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) deleteData([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `count`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) replaceData([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `count`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data`);\n};\n `CharacterData` is an abstract interface. You cannot get a direct instance of it. It\nis used by `Text`, `ProcessingInstruction`, and `Comment` nodes.\n\n Each node inheriting from the `CharacterData` interface has an associated mutable\nstring called data.\n\n To replace data of a node node\nwith an integer offset, integer count, string data, and an optional\nboolean piAttributesAlreadyUpdated (default false):\n\n Let length be node’s length.\n\n If offset is greater than length, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[IndexSizeError](https://webidl.spec.whatwg.org/#indexsizeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If offset + count is greater than length, then set\n count to length − offset.\n\n Queue a mutation record of \"`characterData`\" for node with\n null, null, node’s data, « », « », null, and null.\n\n Insert data into node’s data after\n offset [code units](https://infra.spec.whatwg.org/#code-unit).\n\n Let deleteOffset be offset + data’s\n [length](https://infra.spec.whatwg.org/#string-length).\n\n Starting from deleteOffset [code units](https://infra.spec.whatwg.org/#code-unit), remove count [code units](https://infra.spec.whatwg.org/#code-unit) from node’s data.\n\n For each live range whose start node is node and\n start offset is greater than offset but less than or equal to\n offset + count: set its start offset to offset.\n\n For each live range whose end node is node and\n end offset is greater than offset but less than or equal to\n offset + count: set its end offset to offset.\n\n For each live range whose start node is node and\n start offset is greater than offset + count: increase its\n start offset by data’s [length](https://infra.spec.whatwg.org/#string-length) and decrease it by\n count.\n\n For each live range whose end node is node and\n end offset is greater than offset + count: increase its\n end offset by data’s [length](https://infra.spec.whatwg.org/#string-length) and decrease it by\n count.\n\n If node is a `ProcessingInstruction` node and\n piAttributesAlreadyUpdated is false, then update attributes from data given\n node.\n\n If node’s parent is non-null, then run the\n children changed steps for node’s parent.\n To\nsubstring data\nof a node node with an integer offset and integer\ncount:\n\n Let length be node’s length.\n\n If offset is greater than length, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[IndexSizeError](https://webidl.spec.whatwg.org/#indexsizeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If offset + count is greater than length, then return a\n string whose value is the [code units](https://infra.spec.whatwg.org/#code-unit) from the offsetth [code unit](https://infra.spec.whatwg.org/#code-unit) to the end of node’s data.\n\n Return a string whose value is the [code units](https://infra.spec.whatwg.org/#code-unit) from the offsetth [code unit](https://infra.spec.whatwg.org/#code-unit) to the offset+countth [code unit](https://infra.spec.whatwg.org/#code-unit) in\n node’s data.\n The `data` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s data. Its setter steps are to replace data of\n[this](https://webidl.spec.whatwg.org/#this) with 0, [this](https://webidl.spec.whatwg.org/#this)’s length, and the given value.\n The `length` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s length.\n The\n`substringData(offset, count)`\nmethod steps are to return the result of substringing data of [this](https://webidl.spec.whatwg.org/#this) with\noffset and count.\n The `appendData(data)` method steps are\nto replace data of [this](https://webidl.spec.whatwg.org/#this) with [this](https://webidl.spec.whatwg.org/#this)’s length, 0, and\ndata.\n The\n`insertData(offset, data)`\nmethod steps are to replace data of [this](https://webidl.spec.whatwg.org/#this) with offset, 0, and\ndata.\n The\n`deleteData(offset, count)`\nmethod steps are to replace data of [this](https://webidl.spec.whatwg.org/#this) with offset, count, and\nthe empty string.\n The\n`replaceData(offset, count, data)`\nmethod steps are to replace data of [this](https://webidl.spec.whatwg.org/#this) with offset, count, and\ndata.\n 4.11. Interface `Text` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `Text` : CharacterData {\n constructor(optional [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data` = \"\");\n\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Text splitText([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`);\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) wholeText;\n};\n\n`text = new Text([data = \"\"])` Returns a new `Text` node whose\n data is data.\n\n`text . `splitText(offset)`` Splits data at the given\n offset and returns the remainder as `Text` node.\n\n`text . `wholeText`` Returns the combined data of all direct\n `Text` node siblings.\n\n An exclusive `Text` node is a `Text` node that is not a\n`CDATASection` node.\n The contiguous `Text` nodes of a node node are\nnode, node’s previous sibling `Text` node, if any, and\nits contiguous `Text` nodes, and node’s next sibling `Text` node, if any, and its contiguous `Text` nodes, avoiding any\nduplicates.\n The contiguous exclusive `Text` nodes of a node node\nare node, node’s previous sibling exclusive `Text` node, if any, and its\ncontiguous exclusive `Text` nodes, and node’s\nnext sibling exclusive `Text` node, if any, and its\ncontiguous exclusive `Text` nodes, avoiding any duplicates.\n The child text content of a node node is the [concatenation](https://infra.spec.whatwg.org/#string-concatenate) of the data of all\nthe `Text` node children of node, in tree order.\n The descendant text content of a\nnode node is the [concatenation](https://infra.spec.whatwg.org/#string-concatenate) of the\ndata of all the `Text` node descendants of\nnode, in tree order.\n To create a text node given a document document and a\nstring data:\n\n Let text be the result of creating a node that implements `Text`, given\n document.\n\n Set text’s data to data.\n\n Return text.\n The `new Text(data)`\nconstructor steps are to set [this](https://webidl.spec.whatwg.org/#this)’s data to data and\n[this](https://webidl.spec.whatwg.org/#this)’s node document to [current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)’s\n[associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window).\n To split a `Text` node node with integer offset:\n\n Let length be node’s length.\n\n If offset is greater than length, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[IndexSizeError](https://webidl.spec.whatwg.org/#indexsizeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let count be length − offset.\n\n Let newData be the result of substringing data of node with\n offset and count.\n\n Let newNode be the result of creating a text node given node’s\n node document and newData.\n\n Let parent be node’s parent.\n\n If parent is non-null:\n\n Insert newNode into parent before node’s\n next sibling.\n\n For each live range whose start node is node and\n start offset is greater than offset, set its\n start node to newNode and decrease its start offset\n by offset.\n\n For each live range whose end node is node and\n end offset is greater than offset, set its end node\n to newNode and decrease its end offset by offset.\n\n For each live range whose start node is parent and\n start offset is equal to the index of node plus 1,\n increase its start offset by 1.\n\n For each live range whose end node is parent and\n end offset is equal to the index of node plus 1,\n increase its end offset by 1.\n Replace data of node with offset, count, and\n the empty string.\n\n Return newNode.\n The `splitText(offset)` method steps are to\nsplit [this](https://webidl.spec.whatwg.org/#this) with offset offset.\n The `wholeText` getter steps are to return the\n[concatenation](https://infra.spec.whatwg.org/#string-concatenate) of the data of the\ncontiguous `Text` nodes of [this](https://webidl.spec.whatwg.org/#this), in tree order.\n 4.12. Interface `CDATASection` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `CDATASection` : Text {\n}; 4.13. Interface `ProcessingInstruction` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `ProcessingInstruction` : CharacterData {\n constructor([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `target`, optional [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `data` = \"\");\n\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) target;\n\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasAttributes();\n [sequence](https://webidl.spec.whatwg.org/#idl-sequence)<[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)> getAttributeNames();\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? getAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `name`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `name`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `value`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) removeAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `name`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) toggleAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `name`, optional [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `force`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) hasAttribute([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `name`);\n};\n\n`pi = new ProcessingInstruction(target [, data = \"\"])` Returns a new `ProcessingInstruction` node whose\n target is target and\n data is data.\n\n`pi . `target`` Returns the target.\n\n`pi . hasAttributes()` Returns true if pi has attributes; otherwise false.\n\n`pi . getAttributeNames()` Returns the names of all of pi’s attributes. Cannot contain duplicates.\n\n`pi . getAttribute(name)` Returns the value of pi’s attribute named name, and null if there is\n no such attribute.\n\n`pi . setAttribute(name, value)` Sets pi’s attribute named name to value.\n\n`pi . removeAttribute(name)` Removes pi’s attribute named name.\n\n`pi . toggleAttribute(name [, force])` If force is not given, \"toggles\" name, removing it if it is\n present and adding it if it is not present. If force is true, adds\n name. If force is false, removes name.\n\n Returns true if name is now present; otherwise false.\n\n`pi . hasAttribute(name)` Returns true if pi has an attribute named name; otherwise false.\n `ProcessingInstruction` nodes have an associated\ntarget.\n\n `ProcessingInstruction` nodes have an associated\nattribute map, which is a\n[map](https://infra.spec.whatwg.org/#ordered-map), initially empty.\n\n To create a processing instruction node given a document document, a string target, and a string data:\n\n Let pi be the result of creating a node that implements\n `ProcessingInstruction`, given document.\n\n Initialize pi with target and\n data.\n\n Return pi.\n To initialize a `ProcessingInstruction` node pi, with target and data:\n\n If target does not match the `[Name](https://www.w3.org/TR/xml/#NT-Name)` production, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If data contains the string \"`?>`\", then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set pi’s target to target.\n\n Set pi’s data to data.\n\n Update attributes from data given pi.\n To update attributes from data, given a `ProcessingInstruction` node pi:\n\n [Clear](https://infra.spec.whatwg.org/#map-clear) pi’s attribute map.\n\n Let result be the [parsing result](https://www.w3.org/TR/xml-stylesheet/#dt-parsing-result) of invoking the\n [rules for parsing pseudo-attributes from a string](https://www.w3.org/TR/xml-stylesheet/#dt-parsing) given pi’s\n data.\n\n If result is an error, then return.\n\n For each [pseudo-attribute](https://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute) pseudoAttr of result:\n [set](https://infra.spec.whatwg.org/#map-set) pi’s\n attribute map[pseudoAttr’s [name](https://www.w3.org/TR/xml-stylesheet/#dt-name)]\n to pseudoAttr’s [value](https://www.w3.org/TR/xml-stylesheet/#dt-value).\n To update data from attributes, given a `ProcessingInstruction` node pi:\n\n Let data be the empty string.\n\n [For each](https://infra.spec.whatwg.org/#map-iterate) name → value of pi’s\n attribute map:\n\n If data is not the empty string, then append U+0020 SPACE to data.\n\n Append name to data.\n\n Append U+003D (=) to data.\n\n Append U+0022 (\") to data.\n\n Replace any U+0026 (&) in value with \"`&`\".\n\n Replace any U+003C (<) in value with \"`<`\".\n\n Replace any U+003D (>) in value with \"`>`\".\n\n Replace any U+0022 (\") in value with \"`"`\".\n\n Append value to data.\n\n Append U+0022 (\") to data.\n Replace data of pi with 0, pi’s length,\n data, and true.\n To get a processing instruction attribute, given a `ProcessingInstruction` node pi and a string name: return pi’s\nattribute map[name] [with default](https://infra.spec.whatwg.org/#map-with-default) null.\n The\n`new ProcessingInstruction(target, data)`\nconstructor steps are:\n\n Set [this](https://webidl.spec.whatwg.org/#this)’s node document to [current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)’s\n [associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window).\n\n Initialize [this](https://webidl.spec.whatwg.org/#this) with target and\n data.\n The `target` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s target.\n The `hasAttributes()` method steps are to\nreturn false if [this](https://webidl.spec.whatwg.org/#this)’s attribute map [is empty](https://infra.spec.whatwg.org/#map-is-empty); otherwise true.\n The `getAttributeNames()` method steps\nare to return the result of [getting the keys](https://infra.spec.whatwg.org/#map-getting-the-keys) of [this](https://webidl.spec.whatwg.org/#this)’s\nattribute map.\n The `getAttribute(name)` method\nsteps are to return the result of getting a processing instruction attribute given [this](https://webidl.spec.whatwg.org/#this)\nand name.\n The\n`setAttribute(name, value)`\nmethod steps are:\n\n If name is not a valid attribute local name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n [Set](https://infra.spec.whatwg.org/#map-set) [this](https://webidl.spec.whatwg.org/#this)’s\n attribute map[name] to value.\n\n Update data from attributes given [this](https://webidl.spec.whatwg.org/#this).\n The `removeAttribute(name)`\nmethod steps are:\n\n [Remove](https://infra.spec.whatwg.org/#map-remove) [this](https://webidl.spec.whatwg.org/#this)’s\n attribute map[name].\n\n Update data from attributes given [this](https://webidl.spec.whatwg.org/#this).\n The\n`toggleAttribute(name, force)`\nmethod steps are:\n\n If name is not a valid attribute local name, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let attributes be [this](https://webidl.spec.whatwg.org/#this)’s attribute map.\n\n If attributes[name] does not [exist](https://infra.spec.whatwg.org/#map-exists):\n\n If force is not given or is true, [set](https://infra.spec.whatwg.org/#map-set) attributes[name] to the empty string, update data from attributes\n given [this](https://webidl.spec.whatwg.org/#this), and then return true.\n\n Return false.\n If force is not given or is false, [remove](https://infra.spec.whatwg.org/#map-remove) attributes[name], update data from attributes given [this](https://webidl.spec.whatwg.org/#this), and\n then return false.\n\n Return true.\n The `hasAttribute(name)`\nmethod steps are to return true if [this](https://webidl.spec.whatwg.org/#this)’s\nattribute map[name] [exists](https://infra.spec.whatwg.org/#list-contain); otherwise\nfalse.\n [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface : CharacterData {\n (optional [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) = \"\");\n};\n\n`comment = new` Returns a new `Comment` node whose\n data is data.\n\n To given a document document and\na string data:\n\n Let comment be the result of creating a node that implements `Comment`,\n given document.\n\n Set comment’s data to data.\n\n Return comment.\n The \nconstructor steps are to set [this](https://webidl.spec.whatwg.org/#this)’s data to data and\n[this](https://webidl.spec.whatwg.org/#this)’s node document to [current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)’s\n[associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window).\n 5. Ranges 5.1. Introduction to \"DOM Ranges\" `StaticRange` and `Range` objects (ranges) represent a sequence of content within a\nnode tree. Each range has a start and an end which\nare boundary points. A boundary point is a [tuple](https://infra.spec.whatwg.org/#tuple) consisting of a\nnode and an offset. So in other words, a\nrange represents a piece of content within a node tree between two\nboundary points.\n\n Ranges are frequently used in editing for selecting and copying content.\n\n `Element`: `p` `Element`: `\"Little-endian` `Text`: CSS 2.1 syndata is `Element`: `` `Text`: awesome `Text`: ! In the node tree above, a\nrange can be used to represent the sequence\n“syndata is awes”. Assuming p is assigned to the\n`p` element, and\nem to the `em` element, this would be done as follows:\n\n `var range = new Range(),\n firstText = p.childNodes[1],\n secondText = em.firstChild\nrange.setStart(firstText, 9) // do not forget the leading space\nrange.setEnd(secondText, 4) // range now stringifies to the aforementioned quote` Attributes such as `src` and `alt` in the\nnode tree above cannot be represented by a range. Ranges are only useful for\nnodes.\n\n `Range` objects, unlike `StaticRange` objects, are affected by mutations to the\nnode tree. Therefore they are also known as live ranges. Such mutations will not\ninvalidate them and will try to ensure that it still represents the same piece of content.\nNecessarily, a live range might itself be modified as part of the mutation to the\nnode tree when, e.g., part of the content it represents is mutated.\n\n See the insert and remove algorithms, the\n`normalize()` method, and the replace data and split\nalgorithms for details.\n\n Updating live ranges in response to node tree mutations can be expensive. For every\nnode tree change, all affected `Range` objects need to be updated. Even if the application\nis uninterested in some live ranges, it still has to pay the cost of keeping them up-to-date\nwhen a mutation occurs.\n\n A `StaticRange` object is a lightweight range that does not update when the\nnode tree mutates. It is therefore not subject to the same maintenance cost as\nlive ranges.\n\n 5.2. Boundary points A boundary point is a [tuple](https://infra.spec.whatwg.org/#tuple) consisting of a\nnode (a node) and an\noffset (a non-negative integer).\n\n A correct boundary point’s offset will\nbe between 0 and the boundary point’s node’s\nlength, inclusive.\n\n The position of a\nboundary point (nodeA, offsetA) relative to a boundary point\n(nodeB, offsetB) is\nbefore,\nequal, or\nafter, as returned by these steps:\n\n Assert: nodeA and nodeB have the same root.\n\n If nodeA is nodeB, then return equal if\n offsetA is offsetB, before if offsetA\n is less than offsetB, and after if offsetA is\n greater than offsetB.\n\n \n If nodeA is following nodeB, then if the\n position of (nodeB, offsetB) relative to\n (nodeA, offsetA) is before, return\n after, and if it is after, return\n before.\n\n If nodeA is an ancestor of nodeB:\n\n Let child be nodeB.\n\n While child is not a child of nodeA, set\n child to its parent.\n\n If child’s index is less than offsetA, then return\n after.\n Return before.\n 5.3. Interface `AbstractRange` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `AbstractRange` {\n readonly attribute Node startContainer;\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) startOffset;\n readonly attribute Node endContainer;\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) endOffset;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) collapsed;\n};\n Objects implementing the `AbstractRange` interface are known as\nranges.\n\n A range has two associated boundary points — a\nstart and\nend.\n\n For convenience, a range’s\nstart node is its start’s\nnode, its\nstart offset is its\nstart’s offset, its\nend node is its end’s\nnode, and its\nend offset is its end’s\noffset.\n\n A range is collapsed if its start node is its\nend node and its start offset is its end offset.\n\n`node = range . startContainer` Returns range’s start node.\n\n`offset = range . startOffset` Returns range’s start offset.\n\n`node = range . endContainer` Returns range’s end node.\n\n`offset = range . endOffset` Returns range’s end offset.\n\n`collapsed = range . collapsed` Returns true if range is collapsed; otherwise false.\n\n The\n`startContainer`\ngetter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s start node.\n The `startOffset`\ngetter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s start offset.\n The `endContainer`\ngetter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s end node.\n The `endOffset`\ngetter steps are to return [this](https://webidl.spec.whatwg.org/#this)’s end offset.\n The `collapsed`\ngetter steps are to return true if [this](https://webidl.spec.whatwg.org/#this) is collapsed; otherwise false.\n 5.4. Interface `StaticRange` dictionary `StaticRangeInit` {\n required Node `startContainer`;\n required [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `startOffset`;\n required Node `endContainer`;\n required [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `endOffset`;\n};\n\n[[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `StaticRange` : AbstractRange {\n constructor(StaticRangeInit `init`);\n};\n\n`staticRange = new StaticRange(init)` Returns a new range object that does not update when the node tree mutates.\n The\n`new StaticRange(init)`\nconstructor steps are:\n\n If init[\"`startContainer`\"] or\n init[\"`endContainer`\"] is a `DocumentType` or `Attr` node, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set [this](https://webidl.spec.whatwg.org/#this)’s start to\n (init[\"`startContainer`\"],\n init[\"`startOffset`\"]) and end to\n (init[\"`endContainer`\"],\n init[\"`endOffset`\"]).\n A `StaticRange` is valid if all of the following are true:\n\n Its start and end are in the same node tree.\n\n Its start offset is between 0 and its start node’s\n length, inclusive.\n\n Its end offset is between 0 and its end node’s\n length, inclusive.\n\n Its start is before or\n equal to its end.\n 5.5. Interface `Range` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `Range` : AbstractRange {\n constructor();\n\n readonly attribute Node commonAncestorContainer;\n\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setStart(Node `node`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setEnd(Node `node`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setStartBefore(Node `node`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setStartAfter(Node `node`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setEndBefore(Node `node`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) setEndAfter(Node `node`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) collapse(optional [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `toStart` = false);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) selectNode(Node `node`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) selectNodeContents(Node `node`);\n\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `START_TO_START` = 0;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `START_TO_END` = 1;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `END_TO_END` = 2;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `END_TO_START` = 3;\n [short](https://webidl.spec.whatwg.org/#idl-short) compareBoundaryPoints([unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `how`, Range `sourceRange`);\n\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) deleteContents();\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [NewObject](https://webidl.spec.whatwg.org/#NewObject)] DocumentFragment extractContents();\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions), [NewObject](https://webidl.spec.whatwg.org/#NewObject)] DocumentFragment cloneContents();\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) insertNode(Node `node`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) surroundContents(Node `newParent`);\n\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] Range cloneRange();\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) detach();\n\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) isPointInRange(Node `node`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`);\n [short](https://webidl.spec.whatwg.org/#idl-short) comparePoint(Node `node`, [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `offset`);\n\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) intersectsNode(Node `node`);\n\n stringifier;\n};\n Objects implementing the `Range` interface are known as\nlive ranges.\n\n Algorithms that modify a tree (in particular the insert,\nremove, move, replace data, and split\nalgorithms) modify live ranges associated with that tree.\n\n The root of a live range is the\nroot of its start node.\n\n A node node is contained\nin a live range range if node’s root is\nrange’s root, and (node, 0) is\nafter range’s start, and\n(node, node’s length) is before range’s end.\n\n A node is\npartially contained in a live range\nif it’s an inclusive ancestor of the live range’s start node\nbut not its end node, or vice versa.\n\n Some facts to better understand these definitions:\n\n The content that one would think of as being within the live range consists of all\n contained nodes, plus possibly some of the contents of the\n start node and end node if those are `CharacterData` nodes.\n\n The nodes that are contained in a live range will generally not be\n contiguous, because the parent of a contained node will not always be contained.\n\n However, the descendants of a contained node are contained, and if two siblings are\n contained, so are any siblings that lie between them.\n\n The start node and end node of a live range are\n never contained within it.\n\n The first contained node (if there are any) will\n always be after the start node, and the last contained node will always be equal to or before the end node’s last\n descendant.\n\n There exists a partially contained node if and only if\n the start node and end node are different.\n\n The `commonAncestorContainer` attribute value is neither\n contained nor partially contained.\n\n If the start node is an ancestor of the\n end node, the common inclusive ancestor will be the\n start node. Exactly one of its children will be\n partially contained, and a child will be\n contained if and only if it precedes the\n partially contained child. If the\n end node is an ancestor of the start node, the\n opposite holds.\n\n If the start node is not an inclusive ancestor of the\n end node, nor vice versa, the common inclusive ancestor will be\n distinct from both of them. Exactly two of its children will be\n partially contained, and a child will be contained if and\n only if it lies between those two.\n The live range pre-remove steps given a node node, are:\n\n Let parent be node’s parent.\n\n [Assert](https://infra.spec.whatwg.org/#assert): parent is non-null.\n\n Let index be node’s index.\n\n For each live range whose start node is an\n inclusive descendant of node, set its start to\n (parent, index).\n\n For each live range whose end node is an inclusive descendant\n of node, set its end to (parent, index).\n\n For each live range whose start node is parent and\n start offset is greater than index, decrease its\n start offset by 1.\n\n For each live range whose end node is parent and\n end offset is greater than index, decrease its\n end offset by 1.\n\n`range = new Range()` Returns a new live range.\n\n The `new Range()` constructor steps are\nto set [this](https://webidl.spec.whatwg.org/#this)’s start and end to\n([current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)’s [associated `Document`](https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-document-window), 0).\n\ncontainer = range . `commonAncestorContainer` Returns the node, furthest away from the document, that is an\n ancestor of both range’s start node and\n end node.\n\n To get the common ancestor of a live range range:\n\n Let container be range’s start node.\n\n While container is not an inclusive ancestor of\n range’s end node: set container to container’s\n parent.\n\n Return container.\n The `commonAncestorContainer` getter steps are to\nreturn the result of getting the common ancestor of [this](https://webidl.spec.whatwg.org/#this).\n To\nset the start or end\nof a range to a boundary point (node, offset):\n\n If node is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If offset is greater than node’s length, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[IndexSizeError](https://webidl.spec.whatwg.org/#indexsizeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let boundaryPoint be the boundary point\n (node, offset).\n\n If these steps were invoked as \"set the start\"\n \n If range’s root is not node’s\n root or boundaryPoint is after range’s end, then set range’s end\n to boundaryPoint.\n\n Set range’s start to boundaryPoint.\n If these steps were invoked as \"set the end\"\n \n If range’s root is not node’s\n root or boundaryPoint is before range’s start, then set range’s start\n to boundaryPoint.\n\n Set range’s end to boundaryPoint.\n The `setStart(node, offset)` method\nsteps are to set the start of [this](https://webidl.spec.whatwg.org/#this) to boundary point\n(node, offset).\n The `setEnd(node, offset)` method\nsteps are to set the end of [this](https://webidl.spec.whatwg.org/#this) to boundary point\n(node, offset).\n The `setStartBefore(node)` method steps are:\n\n Let parent be node’s parent.\n\n If parent is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set the start of [this](https://webidl.spec.whatwg.org/#this) to boundary point\n (parent, node’s index).\n The `setStartAfter(node)` method steps are:\n\n Let parent be node’s parent.\n\n If parent is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set the start of [this](https://webidl.spec.whatwg.org/#this) to boundary point\n (parent, node’s index plus 1).\n The `setEndBefore(node)` method steps are:\n\n Let parent be node’s parent.\n\n If parent is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set the end of [this](https://webidl.spec.whatwg.org/#this) to boundary point\n (parent, node’s index).\n The `setEndAfter(node)` method steps are:\n\n Let parent be node’s parent.\n\n If parent is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Set the end of [this](https://webidl.spec.whatwg.org/#this) to boundary point\n (parent, node’s index plus 1).\n The `collapse(toStart)` method steps are to, if\ntoStart is true, set end to start; otherwise set\nstart to end.\n To select a node node\nwithin a range range:\n\n Let parent be node’s parent.\n\n If parent is null, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let index be node’s index.\n\n Set range’s start to boundary point\n (parent, index).\n\n Set range’s end to boundary point\n (parent, index plus 1).\n The `selectNode(node)` method steps are to\nselect node within [this](https://webidl.spec.whatwg.org/#this).\n The `selectNodeContents(node)` method steps\nare:\n\n If node is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let length be the length of node.\n\n Set start to the boundary point (node, 0).\n\n Set end to the boundary point (node, length).\n The\n`compareBoundaryPoints(how, sourceRange)`\nmethod steps are:\n\n If how is not one of\n\n `START_TO_START`,\n \n `START_TO_END`,\n \n `END_TO_END`, and\n \n `END_TO_START`,\n \n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[NotSupportedError](https://webidl.spec.whatwg.org/#notsupportederror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If [this](https://webidl.spec.whatwg.org/#this)’s root is not sourceRange’s\n root, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[WrongDocumentError](https://webidl.spec.whatwg.org/#wrongdocumenterror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let thisPoint and sourcePoint be null.\n\n Switch on how:\n\n `START_TO_START`:\n \n Set thisPoint to [this](https://webidl.spec.whatwg.org/#this)’s start and\n sourcePoint to sourceRange’s start.\n\n `START_TO_END`:\n \n Set thisPoint to [this](https://webidl.spec.whatwg.org/#this)’s end and sourcePoint\n to sourceRange’s start.\n\n `END_TO_END`:\n \n Set thisPoint to [this](https://webidl.spec.whatwg.org/#this)’s end and sourcePoint\n to sourceRange’s end.\n\n `END_TO_START`:\n \n Set thisPoint to [this](https://webidl.spec.whatwg.org/#this)’s start and\n sourcePoint to sourceRange’s end.\n Switch on the position of thisPoint relative to\n sourcePoint:\n\n before Return −1.\n\n \n equal Return 0.\n\n \n after Return 1.\n \n The `deleteContents()` method steps are:\n\n If [this](https://webidl.spec.whatwg.org/#this) is collapsed, then return.\n\n Let originalStartNode, originalStartOffset,\n originalEndNode, and originalEndOffset be [this](https://webidl.spec.whatwg.org/#this)’s\n start node, start offset, end node, and\n end offset, respectively.\n\n If originalStartNode is originalEndNode and it is a `CharacterData` node:\n\n Replace data of originalStartNode with originalStartOffset,\n originalEndOffset − originalStartOffset, and the empty string.\n\n Return.\n Let nodesToRemove be a list of all the nodes that are\n contained in [this](https://webidl.spec.whatwg.org/#this), in tree order, omitting any\n node whose parent is also contained in\n [this](https://webidl.spec.whatwg.org/#this).\n\n Let newNode and newOffset be null.\n\n If originalStartNode is an inclusive ancestor of\n originalEndNode, then set newNode to originalStartNode and\n newOffset to originalStartOffset.\n\n Otherwise:\n\n Let referenceNode be originalStartNode.\n\n While referenceNode’s parent is non-null and is not an\n inclusive ancestor of originalEndNode: set referenceNode to\n its parent.\n\n Set newNode to referenceNode’s parent and\n newOffset to referenceNode’s index + 1.\n\n If referenceNode’s parent were null, it would be the\n root of [this](https://webidl.spec.whatwg.org/#this). And then it would be an\n inclusive ancestor of originalEndNode and we could not reach this\n point.\n Set [this](https://webidl.spec.whatwg.org/#this)’s start and end to\n (newNode, newOffset).\n\n If originalStartNode is a `CharacterData` node, then\n replace data of originalStartNode with originalStartOffset,\n originalStartNode’s length − originalStartOffset, and\n the empty string.\n\n For each node of nodesToRemove, in tree order:\n remove node.\n\n If originalEndNode is a `CharacterData` node, then\n replace data of originalEndNode with 0, originalEndOffset, and\n the empty string.\n To extract a live range range:\n\n Let fragment be the result of creating a document fragment given\n range’s start node’s node document.\n\n If range is collapsed, then return fragment.\n\n Let originalStartNode, originalStartOffset,\n originalEndNode, and originalEndOffset be range’s\n start node, start offset, end node, and\n end offset, respectively.\n\n If originalStartNode is originalEndNode and it is a `CharacterData` node:\n\n Let clone be a clone of originalStartNode.\n\n Set clone’s data to the result of\n substringing data of originalStartNode with originalStartOffset and\n originalEndOffset − originalStartOffset.\n\n Append clone to fragment.\n\n Replace data of originalStartNode with originalStartOffset,\n originalEndOffset − originalStartOffset, and the empty string.\n\n Return fragment.\n \n Let commonAncestor be the result of getting the common ancestor of\n range.\n\n Let firstPartiallyContainedChild be null.\n\n If originalStartNode is not an inclusive ancestor of\n originalEndNode, then set firstPartiallyContainedChild to the first\n child of commonAncestor that is\n partially contained in range.\n\n \n Let lastPartiallyContainedChild be null.\n\n If originalEndNode is not an inclusive ancestor of\n originalStartNode, then set lastPartiallyContainedChild to the last\n child of commonAncestor that is\n partially contained in range.\n\n These variable assignments do actually always make sense. For instance, if\n originalStartNode is not an inclusive ancestor of\n originalEndNode, originalStartNode is itself\n partially contained in range, and so are all its\n ancestors up until a child of commonAncestor.\n commonAncestor cannot be originalStartNode, because it has to be an\n inclusive ancestor of originalEndNode. The other case is similar. Also,\n notice that the two children will never be equal if both are defined.\n\n Let containedChildren be a list of all children of\n commonAncestor that are contained in range, in\n tree order.\n\n If any member of containedChildren is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n We do not have to worry about the first or last partially\n contained node, because a doctype can never be\n partially contained. It cannot be a boundary point of a range, and it\n cannot be the ancestor of anything.\n\n Let newNode and newOffset be null.\n\n If originalStartNode is an inclusive ancestor of\n originalEndNode, then set newNode to originalStartNode and\n newOffset to originalStartOffset.\n\n Otherwise:\n\n Let referenceNode be originalStartNode.\n\n While referenceNode’s parent is non-null and is not an\n inclusive ancestor of originalEndNode: set referenceNode to\n its parent.\n\n Set newNode to the parent of referenceNode, and\n newOffset to referenceNode’s index + 1.\n\n If referenceNode’s parent is null, it would be the\n root of range. And then it would be an\n inclusive ancestor of originalEndNode and we could not reach this\n point.\n Set range’s start and end to\n (newNode, newOffset).\n\n If firstPartiallyContainedChild is a `CharacterData` node:\n\n In this case, firstPartiallyContainedChild is\n originalStartNode.\n\n Let clone be a clone of\n originalStartNode.\n\n Set the data of clone to the result of\n substringing data of originalStartNode with originalStartOffset and\n originalStartNode’s length − originalStartOffset.\n\n Append clone to fragment.\n\n Replace data of originalStartNode with originalStartOffset,\n originalStartNode’s length − originalStartOffset, and\n the empty string.\n Otherwise, if firstPartiallyContainedChild is non-null:\n\n Let clone be a clone of\n firstPartiallyContainedChild.\n\n Append clone to fragment.\n\n Let subrange be a new live range whose start is\n (originalStartNode, originalStartOffset) and whose end is\n (firstPartiallyContainedChild, firstPartiallyContainedChild’s\n length).\n\n Let subfragment be the result of extracting subrange.\n\n Append subfragment to clone.\n \n For each contained child of containedChildren: append contained child to fragment.\n\n If lastPartiallyContainedChild is a `CharacterData` node:\n\n In this case, lastPartiallyContainedChild is\n originalEndNode.\n\n Let clone be a clone of originalEndNode.\n\n Set clone’s data to the result of\n substringing data of originalEndNode with 0 and originalEndOffset.\n\n Append clone to fragment.\n\n Replace data of originalEndNode with 0, originalEndOffset,\n and the empty string.\n Otherwise, if lastPartiallyContainedChild is non-null:\n\n Let clone be a clone of\n lastPartiallyContainedChild.\n\n Append clone to fragment.\n\n Let subrange be a new live range whose start is\n (lastPartiallyContainedChild, 0) and whose end is\n (originalEndNode, originalEndOffset).\n\n Let subfragment be the result of extracting subrange.\n\n Append subfragment to clone.\n Return fragment.\n The `extractContents()` method steps are to return the\nresult of extracting [this](https://webidl.spec.whatwg.org/#this).\n To\nclone the contents\nof a live range range:\n\n Let fragment be the result of creating a document fragment given\n range’s start node’s node document.\n\n If range is collapsed, then return fragment.\n\n Let originalStartNode, originalStartOffset,\n originalEndNode, and originalEndOffset be range’s\n start node, start offset, end node, and\n end offset, respectively.\n\n If originalStartNode is originalEndNode and it is a `CharacterData` node:\n\n Let clone be a clone of originalStartNode.\n\n Set clone’s data to the result of\n substringing data of originalStartNode with originalStartOffset and\n originalEndOffset − originalStartOffset.\n\n Append clone to fragment.\n\n Return fragment.\n Let commonAncestor be the result of getting the common ancestor of\n range.\n\n Let firstPartiallyContainedChild be null.\n\n If originalStartNode is not an inclusive ancestor of\n originalEndNode, then set firstPartiallyContainedChild to the first\n child of commonAncestor that is\n partially contained in range.\n\n Let lastPartiallyContainedChild be null.\n\n If originalEndNode is not an inclusive ancestor of\n originalStartNode, then set lastPartiallyContainedChild to the last\n child of commonAncestor that is\n partially contained in range.\n\n These variable assignments do actually always make sense. For instance, if\n originalStartNode is not an inclusive ancestor of\n originalEndNode, originalStartNode is itself\n partially contained in range, and so are all its\n ancestors up until a child of commonAncestor.\n commonAncestor cannot be originalStartNode, because it has to be an\n inclusive ancestor of originalEndNode. The other case is similar. Also,\n notice that the two children will never be equal if both are defined.\n\n Let containedChildren be a list of all children of\n commonAncestor that are contained in range, in\n tree order.\n\n If any member of containedChildren is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n We do not have to worry about the first or last partially\n contained node, because a doctype can never be\n partially contained. It cannot be a boundary point of a range, and it\n cannot be the ancestor of anything.\n\n If firstPartiallyContainedChild is a `CharacterData` node:\n\n In this case, firstPartiallyContainedChild is\n originalStartNode.\n\n Let clone be a clone of originalStartNode.\n\n Set the data of clone to the result of\n substringing data of originalStartNode with originalStartOffset and\n originalStartNode’s length − originalStartOffset.\n\n Append clone to fragment.\n Otherwise, if firstPartiallyContainedChild is non-null:\n\n Let clone be a clone of\n firstPartiallyContainedChild.\n\n Append clone to fragment.\n\n Let subrange be a new live range whose start is\n (originalStartNode, originalStartOffset) and whose end is\n (firstPartiallyContainedChild, firstPartiallyContainedChild’s\n length).\n\n Let subfragment be the result of cloning the contents\n of subrange.\n\n Append subfragment to clone.\n For each contained child of containedChildren:\n\n Let clone be a clone of contained child\n with *subtree* set to true.\n\n Append clone to fragment.\n If lastPartiallyContainedChild is a `CharacterData` node:\n\n In this case, lastPartiallyContainedChild is\n originalEndNode.\n\n Let clone be a clone of originalEndNode.\n\n Set clone’s data to the result of\n substringing data of originalEndNode with 0 and originalEndOffset.\n\n Append clone to fragment.\n Otherwise, if lastPartiallyContainedChild is non-null:\n\n Let clone be a clone of\n lastPartiallyContainedChild.\n\n Append clone to fragment.\n\n Let subrange be a new live range whose start is\n (lastPartiallyContainedChild, 0) and whose end is\n (originalEndNode, originalEndOffset).\n\n Let subfragment be the result of cloning the contents\n of subrange.\n\n Append subfragment to clone.\n Return fragment.\n The `cloneContents()` method steps are to return the\nresult of cloning the contents of [this](https://webidl.spec.whatwg.org/#this).\n To insert a node node into a live range range:\n\n If range’s start node is a `ProcessingInstruction` or\n `Comment` node, is a `Text` node whose parent is\n null, or is node, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[HierarchyRequestError](https://webidl.spec.whatwg.org/#hierarchyrequesterror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let referenceNode be null.\n\n If range’s start node is a `Text` node, then set\n referenceNode to that `Text` node.\n\n Otherwise, set referenceNode to the child of range’s\n start node whose index is range’s\n start offset if there is such a child; otherwise null.\n\n Let parent be range’s start node if\n referenceNode is null; otherwise referenceNode’s parent.\n\n Ensure pre-insert validity given node, parent,\n referenceNode, and « ».\n\n If range’s start node is a `Text` node, then set\n referenceNode to the result of splitting it with offset\n range’s start offset.\n\n If node is referenceNode, then set referenceNode to its\n next sibling.\n\n If node’s parent is non-null, then remove node.\n\n Let newOffset be parent’s length if\n referenceNode is null; otherwise referenceNode’s index.\n\n Increase newOffset by node’s length if node\n is a `DocumentFragment` node; otherwise 1.\n\n Pre-insert node into parent before referenceNode.\n\n If range is collapsed, then set range’s\n end to (parent, newOffset).\n The `insertNode(node)` method steps are to\ninsert node into [this](https://webidl.spec.whatwg.org/#this).\n The `surroundContents(newParent)` method steps\nare:\n\n If a non-`Text` node is partially contained in\n [this](https://webidl.spec.whatwg.org/#this), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidStateError](https://webidl.spec.whatwg.org/#invalidstateerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If newParent is a `Document`, `DocumentType`, or `DocumentFragment` node, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n For historical reasons `CharacterData` nodes are not checked here and end up throwing later on as a side effect.\n\n Let fragment be the result of extracting [this](https://webidl.spec.whatwg.org/#this).\n\n If newParent has children, then replace all with\n null within newParent.\n\n Insert newParent into [this](https://webidl.spec.whatwg.org/#this).\n\n Append fragment to newParent.\n\n Select newParent within [this](https://webidl.spec.whatwg.org/#this).\n The `cloneRange()` method steps are to return a new\nlive range with the same start and end as [this](https://webidl.spec.whatwg.org/#this).\n The `detach()` method steps are to do nothing.\nIts functionality (disabling a `Range` object) was removed, but the method itself\nis preserved for compatibility.\n\nposition = range . `comparePoint(node, offset)` Returns −1 if the point is before the range, 0 if the point is\n in the range, and 1 if the point is after the range.\n\nintersects = range . `intersectsNode(node)` Returns whether range intersects\n node.\n\n The `isPointInRange(node, offset)`\nmethod steps are:\n\n If node’s root is not [this](https://webidl.spec.whatwg.org/#this)’s root,\n then return false.\n\n If node is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If offset is greater than node’s length, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[IndexSizeError](https://webidl.spec.whatwg.org/#indexsizeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If (node, offset) is before start or after end, then return\n false.\n\n Return true.\n The `comparePoint(node, offset)`\nmethod steps are:\n\n If node’s root is not [this](https://webidl.spec.whatwg.org/#this)’s root,\n then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[WrongDocumentError](https://webidl.spec.whatwg.org/#wrongdocumenterror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If node is a doctype, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidNodeTypeError](https://webidl.spec.whatwg.org/#invalidnodetypeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If offset is greater than node’s length, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[IndexSizeError](https://webidl.spec.whatwg.org/#indexsizeerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If (node, offset) is before start, then return −1.\n\n If (node, offset) is after end, then return 1.\n\n Return 0.\n The `intersectsNode(node)` method steps are:\n\n If node’s root is not [this](https://webidl.spec.whatwg.org/#this)’s root,\n then return false.\n\n Let parent be node’s\n parent.\n\n If parent is null, then return true.\n\n Let offset be node’s index.\n\n If (parent, offset) is before end and (parent, offset + 1) is\n after start, then return true.\n\n Return false.\n The stringification behavior must run\nthese steps:\n\n Let string be the empty string.\n\n If [this](https://webidl.spec.whatwg.org/#this)’s start node is [this](https://webidl.spec.whatwg.org/#this)’s end node and\n it is a `Text` node, then return the substring of that `Text` node’s\n data beginning at [this](https://webidl.spec.whatwg.org/#this)’s start offset and ending\n at [this](https://webidl.spec.whatwg.org/#this)’s end offset.\n\n If [this](https://webidl.spec.whatwg.org/#this)’s start node is a `Text` node, then append\n the substring of that node’s data from [this](https://webidl.spec.whatwg.org/#this)’s\n start offset until the end to string.\n\n Append the [concatenation](https://infra.spec.whatwg.org/#string-concatenate) of the data of all\n `Text` nodes that are contained in [this](https://webidl.spec.whatwg.org/#this), in\n tree order, to string.\n\n If [this](https://webidl.spec.whatwg.org/#this)’s end node is a `Text` node, then\n append the substring of that node’s data from its start until\n [this](https://webidl.spec.whatwg.org/#this)’s end offset to string.\n\n Return string.\n The `[createContextualFragment()](https://w3c.github.io/DOM-Parsing/#dom-range-createcontextualfragment)`, `[getClientRects()](https://drafts.csswg.org/cssom-view-1/#dom-range-getclientrects)`,\nand `[getBoundingClientRect()](https://drafts.csswg.org/cssom-view-1/#dom-range-getboundingclientrect)` methods are defined in other specifications.\n[DOM-Parsing] [CSSOM-VIEW] 6. Traversal `NodeIterator` and `TreeWalker` objects can be used to filter and traverse node trees.\n\n Each `NodeIterator` and `TreeWalker` object has an associated boolean\nis active to avoid recursive invocations. It is\ninitially false.\n\n Each `NodeIterator` and `TreeWalker` object also has an associated\nroot (a node), a\nwhatToShow (a bitmask), and a\nfilter (a callback).\n\n To filter a node node within\na `NodeIterator` or `TreeWalker` object traverser:\n\n If traverser’s is active is true, then throw an\n \"`[InvalidStateError](https://webidl.spec.whatwg.org/#invalidstateerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n Let n be node’s `nodeType` attribute value − 1.\n\n If the nth bit (where 0 is the least significant bit) of\n traverser’s whatToShow is not set, then return\n `FILTER_SKIP`.\n\n If traverser’s filter is null, then return\n `FILTER_ACCEPT`.\n\n Set traverser’s is active to true.\n\n Let result be the return value of [call a user object’s operation](https://webidl.spec.whatwg.org/#call-a-user-objects-operation) with\n traverser’s filter, \"`acceptNode`\", and\n « node ». If this throws an exception, then set traverser’s\n is active to false and rethrow the exception.\n\n Set traverser’s is active to false.\n\n Return result.\n 6.1. Interface `NodeIterator` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `NodeIterator` {\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute Node root;\n readonly attribute Node referenceNode;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) pointerBeforeReferenceNode;\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) whatToShow;\n readonly attribute NodeFilter? filter;\n\n Node? nextNode();\n Node? previousNode();\n\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) detach();\n};\n `NodeIterator` objects can be created using the\n`createNodeIterator()` method on `Document` objects.\n\n Each `NodeIterator` object has an associated\niterator collection, which is a\ncollection rooted at the `NodeIterator` object’s root, whose\nfilter matches any node.\n\n A node pointer is a [tuple](https://infra.spec.whatwg.org/#tuple) consisting of a\nnode (a node) and a\npointer before (a boolean).\n\n Each `NodeIterator` object also has an associated reference (a\nnode pointer) and candidate reference (null or a\nnode pointer, and initially null).\n\n As mentioned earlier, `NodeIterator` objects have an associated\nis active, root, whatToShow, and\nfilter as well.\n\n The `NodeIterator` pre-remove steps\ngiven a `NodeIterator` object nodeIterator and node toBeRemovedNode, are:\n\n Set nodeIterator’s reference to the result of\n adjusting a node pointer given nodeIterator’s\n reference, nodeIterator, and toBeRemovedNode.\n\n If nodeIterator’s candidate reference is non-null, then set\n nodeIterator’s candidate reference to the result of\n adjusting a node pointer given nodeIterator’s\n candidate reference, nodeIterator, and toBeRemovedNode.\n To adjust a node pointer given a node pointer nodePointer, a `NodeIterator` object nodeIterator, and a node toBeRemovedNode, perform the following steps. They return a node pointer.\n\n If toBeRemovedNode is not an inclusive ancestor of\n nodePointer’s node, or toBeRemovedNode is an\n inclusive ancestor of nodeIterator’s root, then\n return nodePointer.\n\n If nodePointer’s pointer before is true:\n\n Let next be toBeRemovedNode’s first following node that is an inclusive descendant of nodeIterator’s\n root and is not an inclusive descendant of\n toBeRemovedNode, if there is such a node; otherwise null.\n\n If next is non-null, then return (next, true).\n Let newNode be toBeRemovedNode’s parent, if\n toBeRemovedNode’s previous sibling is null; otherwise the\n inclusive descendant of toBeRemovedNode’s previous sibling that appears\n last in tree order.\n\n Return (newNode, false).\n The `root` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s root.\n The `referenceNode` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s reference’s node.\n The `pointerBeforeReferenceNode` getter steps\nare to return [this](https://webidl.spec.whatwg.org/#this)’s reference’s\npointer before.\n The `whatToShow` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s whatToShow.\n The `filter` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s filter.\n To traverse, given a\n`NodeIterator` object iterator and \"`next`\" or \"`previous`\"\ntype:\n\n Set iterator’s candidate reference to iterator’s\n reference.\n\n Let result be null.\n\n While true:\n\n If type is \"`next`\":\n\n If iterator’s candidate reference’s\n pointer before is false:\n\n Let following be the first node following iterator’s candidate reference’s node in\n iterator’s iterator collection. If there is no such\n node, then [break](https://infra.spec.whatwg.org/#iteration-break).\n\n Set iterator’s candidate reference to\n (following, false).\n Otherwise, set iterator’s candidate reference to\n (iterator’s candidate reference’s node,\n false).\n Otherwise:\n\n If iterator’s candidate reference’s\n pointer before is true:\n\n Let preceding be the first node preceding iterator’s candidate reference’s node in\n iterator’s iterator collection. If there is no such\n node, then [break](https://infra.spec.whatwg.org/#iteration-break).\n\n Set iterator’s candidate reference to\n (preceding, true).\n Otherwise, set iterator’s candidate reference to\n (iterator’s candidate reference’s node,\n true).\n Let node be iterator’s candidate reference’s\n node.\n\n Let filterResult be the result of filtering node within\n iterator. If this throws an exception, then set iterator’s\n candidate reference to null and rethrow that exception.\n\n If filterResult is `FILTER_ACCEPT`:\n\n Set iterator’s reference to iterator’s\n candidate reference.\n\n Set result to node.\n\n [Break](https://infra.spec.whatwg.org/#iteration-break).\n Set iterator’s candidate reference to null.\n\n Return result.\n The `nextNode()` method steps are to return the\nresult of traversing with [this](https://webidl.spec.whatwg.org/#this) and \"`next`\".\n The `previousNode()` method steps are to return the\nresult of traversing with [this](https://webidl.spec.whatwg.org/#this) and \"`previous`\".\n The `detach()` method steps are to do nothing.\nIts functionality (disabling a `NodeIterator` object) was removed, but the method\nitself is preserved for compatibility. 6.2. Interface `TreeWalker` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `TreeWalker` {\n [[SameObject](https://webidl.spec.whatwg.org/#SameObject)] readonly attribute Node root;\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) whatToShow;\n readonly attribute NodeFilter? filter;\n attribute Node currentNode;\n\n Node? parentNode();\n Node? firstChild();\n Node? lastChild();\n Node? previousSibling();\n Node? nextSibling();\n Node? previousNode();\n Node? nextNode();\n}; `TreeWalker` objects can be created using the `createTreeWalker()`\nmethod on `Document` objects.\n\n Each `TreeWalker` object has an associated current (a\nnode).\n\n As mentioned earlier `TreeWalker` objects have an associated\nroot, whatToShow, and filter as well.\n\n The `root` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s root.\n The `whatToShow` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s whatToShow.\n The `filter` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s filter.\n The `currentNode` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s current.\n The `currentNode` setter steps are to set [this](https://webidl.spec.whatwg.org/#this)’s\ncurrent to the given value.\n The `parentNode()` method steps are:\n\n Let node be [this](https://webidl.spec.whatwg.org/#this)’s current.\n\n While node is non-null and is not [this](https://webidl.spec.whatwg.org/#this)’s\n root:\n\n Set node to node’s parent.\n\n If node is non-null and filtering node within\n [this](https://webidl.spec.whatwg.org/#this) returns `FILTER_ACCEPT`, then set [this](https://webidl.spec.whatwg.org/#this)’s\n current to node and return node.\n Return null.\n To traverse children, given a\n`TreeWalker` object walker and \"`first`\" or \"`last`\"\ntype:\n\n Let node be walker’s current.\n\n Set node to node’s first child if type is\n \"`first`\"; otherwise to node’s last child.\n\n While node is non-null:\n\n Let result be the result of filtering node within\n walker.\n\n If result is `FILTER_ACCEPT`, then set walker’s\n current to node and return node.\n\n If result is `FILTER_SKIP`:\n\n Let child be node’s first child if type\n is \"`first`\"; otherwise node’s last child.\n\n If child is non-null, then set node to child and\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n While node is non-null:\n\n Let sibling be node’s next sibling if\n type is \"`first`\"; otherwise node’s\n previous sibling.\n\n If sibling is non-null, then set node to sibling and\n [break](https://infra.spec.whatwg.org/#iteration-break).\n\n Let parent be node’s parent.\n\n If parent is null, walker’s root, or\n walker’s current, then return null.\n\n Set node to parent.\n Return null.\n The `firstChild()` method steps are to\ntraverse children with [this](https://webidl.spec.whatwg.org/#this) and \"`first`\".\n The `lastChild()` method steps are to\ntraverse children with [this](https://webidl.spec.whatwg.org/#this) and \"`last`\".\n To traverse siblings, given a `TreeWalker`\nobject walker and \"`next`\" or \"`previous`\" type:\n\n Let node be walker’s current.\n\n If node is root, then return null.\n\n While true:\n\n Let sibling be node’s next sibling if\n type is \"`next`\"; otherwise node’s\n previous sibling.\n\n While sibling is non-null:\n\n Set node to sibling.\n\n Let result be the result of filtering node within\n walker.\n\n If result is `FILTER_ACCEPT`, then set walker’s\n current to node and return node.\n\n Set sibling to node’s first child if\n type is \"`next`\"; otherwise to node’s\n last child.\n\n If result is `FILTER_REJECT` or sibling is null, then\n set sibling to node’s next sibling if type is\n \"`next`\"; otherwise to node’s previous sibling.\n Set node to node’s parent.\n\n If node is null or walker’s root, then return\n null.\n\n If the return value of filtering node within walker is\n `FILTER_ACCEPT`, then return null.\n The `nextSibling()` method steps are to\ntraverse siblings with [this](https://webidl.spec.whatwg.org/#this) and \"`next`\".\n The `previousSibling()` method steps are to\ntraverse siblings with [this](https://webidl.spec.whatwg.org/#this) and \"`previous`\".\n The `previousNode()` method steps are:\n\n Let node be [this](https://webidl.spec.whatwg.org/#this)’s current.\n\n While node is not [this](https://webidl.spec.whatwg.org/#this)’s root:\n\n Let sibling be node’s previous sibling.\n\n While sibling is non-null:\n\n Set node to sibling.\n\n Let result be the result of filtering node within\n [this](https://webidl.spec.whatwg.org/#this).\n\n While result is not `FILTER_REJECT` and node has a\n child:\n\n Set node to node’s last child.\n\n Set result to the result of filtering node within\n [this](https://webidl.spec.whatwg.org/#this).\n If result is `FILTER_ACCEPT`, then set [this](https://webidl.spec.whatwg.org/#this)’s\n current to node and return node.\n\n Set sibling to node’s previous sibling.\n If node is [this](https://webidl.spec.whatwg.org/#this)’s root or node’s\n parent is null, then return null.\n\n Set node to node’s parent.\n\n If the return value of filtering node within [this](https://webidl.spec.whatwg.org/#this) is\n `FILTER_ACCEPT`, then set [this](https://webidl.spec.whatwg.org/#this)’s current to\n node and return node.\n Return null.\n The `nextNode()` method steps are:\n\n Let node be [this](https://webidl.spec.whatwg.org/#this)’s current.\n\n Let result be `FILTER_ACCEPT`.\n\n While true:\n\n While result is not `FILTER_REJECT` and node has a\n child:\n\n Set node to its first child.\n\n Set result to the result of filtering node within\n [this](https://webidl.spec.whatwg.org/#this).\n\n If result is `FILTER_ACCEPT`, then set [this](https://webidl.spec.whatwg.org/#this)’s\n current to node and return node.\n Let sibling be null.\n\n Let temporary be node.\n\n While temporary is non-null:\n\n If temporary is [this](https://webidl.spec.whatwg.org/#this)’s root, then return null.\n\n Set sibling to temporary’s next sibling.\n\n If sibling is non-null, then [break](https://infra.spec.whatwg.org/#iteration-break).\n\n Set temporary to temporary’s parent.\n If sibling is null, then return null.\n\n Set node to sibling.\n\n Set result to the result of filtering node within\n [this](https://webidl.spec.whatwg.org/#this).\n\n If result is `FILTER_ACCEPT`, then set [this](https://webidl.spec.whatwg.org/#this)’s\n current to node and return node.\n 6.3. Interface `NodeFilter` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ncallback interface `NodeFilter` {\n // Constants for acceptNode()\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) FILTER_ACCEPT = 1;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) FILTER_REJECT = 2;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) FILTER_SKIP = 3;\n\n // Constants for whatToShow\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_ALL = 0xFFFFFFFF;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_ELEMENT = 0x1;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_ATTRIBUTE = 0x2;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_TEXT = 0x4;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_CDATA_SECTION = 0x8;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `SHOW_ENTITY_REFERENCE` = 0x10; // legacy\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `SHOW_ENTITY` = 0x20; // legacy\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_PROCESSING_INSTRUCTION = 0x40;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) = 0x80;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_DOCUMENT = 0x100;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_DOCUMENT_TYPE = 0x200;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) SHOW_DOCUMENT_FRAGMENT = 0x400;\n const [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `SHOW_NOTATION` = 0x800; // legacy\n\n [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `acceptNode`(Node `node`);\n};\n `NodeFilter` objects can be used as filter for\n`NodeIterator` and `TreeWalker` objects and also provide constants for their\nwhatToShow bitmask. A `NodeFilter` object is typically implemented as a\nJavaScript function.\n\n These constants can be used as filter return value:\n\n `FILTER_ACCEPT` (1);\n \n `FILTER_REJECT` (2);\n \n `FILTER_SKIP` (3).\n\n These constants can be used for whatToShow:\n\n `SHOW_ALL` (4294967295, FFFFFFFF in hexadecimal);\n \n `SHOW_ELEMENT` (1);\n \n `SHOW_ATTRIBUTE` (2);\n \n `SHOW_TEXT` (4);\n \n `SHOW_CDATA_SECTION` (8);\n \n `SHOW_PROCESSING_INSTRUCTION` (64, 40 in hexadecimal);\n \n (128, 80 in hexadecimal);\n \n `SHOW_DOCUMENT` (256, 100 in hexadecimal);\n \n `SHOW_DOCUMENT_TYPE` (512, 200 in hexadecimal);\n \n `SHOW_DOCUMENT_FRAGMENT` (1024, 400 in hexadecimal).\n\n 7. Sets Yes, the name `DOMTokenList` is an unfortunate legacy mishap.\n\n 7.1. Interface `DOMTokenList` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `DOMTokenList` {\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) length;\n getter [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? item([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `index`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) contains([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `token`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) add([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)... `tokens`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [undefined](https://webidl.spec.whatwg.org/#idl-undefined) remove([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)... `tokens`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [boolean](https://webidl.spec.whatwg.org/#idl-boolean) toggle([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `token`, optional [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `force`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] [boolean](https://webidl.spec.whatwg.org/#idl-boolean) replace([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `token`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `newToken`);\n [boolean](https://webidl.spec.whatwg.org/#idl-boolean) supports([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `token`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] stringifier attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) value;\n [iterable](https://webidl.spec.whatwg.org/#dfn-iterable)<[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)>;\n};\n A `DOMTokenList` object has an associated\ntoken set (a [set](https://infra.spec.whatwg.org/#ordered-set)), which is\ninitially empty.\n\n A `DOMTokenList` object also has an associated element\n(an element) and an attribute name (an attribute’s\nlocal name).\n\n Specifications may define\nsupported tokens for a `DOMTokenList`’s\nelement and attribute name. A `DOMTokenList` object set’s\nvalidation steps for a given\ntoken are:\n\n If set’s element and\n attribute name does not define supported tokens, then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) a `TypeError`.\n\n Let lowercaseToken be token, in [ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\n If lowercaseToken is present in the supported tokens of\n set’s element and attribute name, then\n return true.\n\n Return false.\n A `DOMTokenList` object set’s\nupdate steps are:\n\n If get an attribute by namespace and local name given null, set’s\n attribute name, and set’s element\n returns null and set’s token set is empty, then return.\n\n Set an attribute value given set’s element,\n set’s attribute name, and the result of running the\n ordered set serializer for set’s token set.\n A `DOMTokenList` object set’s\nserialize steps are to return the result of\nrunning get an attribute value given set’s element and\nset’s attribute name.\n A `DOMTokenList` object set has these attribute change steps for\nset’s element:\n\n If localName is set’s attribute name,\n namespace is null, and value is null, then [empty](https://infra.spec.whatwg.org/#list-empty) token set.\n\n Otherwise, if localName is set’s\n attribute name and namespace is null, then set set’s\n token set to value, parsed.\n When a `DOMTokenList` object set is created:\n\n Let element be set’s element.\n\n Let attributeName be set’s attribute name.\n\n Let value be the result of\n getting an attribute value given element and\n attributeName.\n\n Run the attribute change steps for element, attributeName,\n value, value, and null.\n\n`tokenlist . `length`` Returns the number of tokens.\n\n`tokenlist . `item(index)``\n\n`tokenlist[index]` Returns the token with index index.\n\n`tokenlist . `contains(token)`` Returns true if token is present; otherwise false.\n\n`tokenlist . add(tokens…)` Adds all arguments passed, except those already present.\n Throws a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if one of the arguments is the empty\n string.\n Throws an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if one of the arguments\n contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\n`tokenlist . remove(tokens…)` Removes arguments passed, if they are present.\n Throws a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if one of the arguments is the empty\n string.\n Throws an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if one of the arguments\n contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\n`tokenlist . toggle(token [, force])` If force is not given, \"toggles\" token, removing it if it’s present and\n adding it if it’s not present. If force is true, adds token\n (same as `add()`). If force is false, removes token (same\n as `remove()`).\n Returns true if token is now present; otherwise false.\n Throws a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if token is empty.\n Throws an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if token contains\n any spaces.\n\n`tokenlist . replace(token, newToken)` Replaces token with newToken.\n Returns true if token was replaced with newToken; otherwise false.\n Throws a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if one of the arguments is the empty\n string.\n Throws an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)` if one of the arguments\n contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\n`tokenlist . supports(token)` Returns true if token is in the associated attribute’s supported tokens. Returns\n false otherwise.\n Throws a `TypeError` if the associated attribute has no supported tokens defined.\n\n`tokenlist . `value`` Returns the associated set as string.\n Can be set, to change the associated attribute.\n The `length` getter steps are to return\n[this](https://webidl.spec.whatwg.org/#this)’s token set’s [size](https://infra.spec.whatwg.org/#list-size).\n The object’s [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are the numbers in the range zero to object’s\ntoken set’s [size](https://infra.spec.whatwg.org/#list-size) − 1, unless token set [is empty](https://infra.spec.whatwg.org/#list-is-empty),\nin which case there are no [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices).\n\n The `item(index)` method steps are:\n\n If index is equal to or greater than [this](https://webidl.spec.whatwg.org/#this)’s token set’s\n [size](https://infra.spec.whatwg.org/#list-size), then return null.\n\n Return [this](https://webidl.spec.whatwg.org/#this)’s token set[index].\n The `contains(token)` method steps are\nto return true if [this](https://webidl.spec.whatwg.org/#this)’s token set[token] [exists](https://infra.spec.whatwg.org/#list-contain); otherwise\nfalse.\n The\n`add(tokens…)`\nmethod steps are:\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) token of tokens:\n\n If token is the empty string, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If token contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n [For each](https://infra.spec.whatwg.org/#list-iterate) token of tokens: [append](https://infra.spec.whatwg.org/#set-append) token to [this](https://webidl.spec.whatwg.org/#this)’s token set.\n\n Run the update steps.\n The\n`remove(tokens…)`\nmethod steps are:\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) token of tokens:\n\n If token is the empty string, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If token contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n For each token of tokens: [remove](https://infra.spec.whatwg.org/#list-remove) token from\n [this](https://webidl.spec.whatwg.org/#this)’s token set.\n\n Run the update steps.\n The `toggle(token, force)`\nmethod steps are:\n\n If token is the empty string, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\"\n `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If token contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), then [throw](https://webidl.spec.whatwg.org/#dfn-throw) an\n \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If [this](https://webidl.spec.whatwg.org/#this)’s token set[token] [exists](https://infra.spec.whatwg.org/#list-contain):\n\n If force is either not given or is false, then [remove](https://infra.spec.whatwg.org/#list-remove) token from [this](https://webidl.spec.whatwg.org/#this)’s token set, run the update steps and return\n false.\n\n Return true.\n Otherwise, if force not given or is true, [append](https://infra.spec.whatwg.org/#set-append) token\n to [this](https://webidl.spec.whatwg.org/#this)’s token set, run the update steps, and return true.\n\n Return false.\n The update steps are not always run for `toggle()`\nfor web compatibility.\n\n The\n`replace(token, newToken)`\nmethod steps are:\n\n If either token or newToken is the empty string, then [throw](https://webidl.spec.whatwg.org/#dfn-throw) a\n \"`[SyntaxError](https://webidl.spec.whatwg.org/#syntaxerror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If either token or newToken contains any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), then\n [throw](https://webidl.spec.whatwg.org/#dfn-throw) an \"`[InvalidCharacterError](https://webidl.spec.whatwg.org/#invalidcharactererror)`\" `[DOMException](https://webidl.spec.whatwg.org/#idl-DOMException)`.\n\n If [this](https://webidl.spec.whatwg.org/#this)’s token set does not [contain](https://infra.spec.whatwg.org/#list-contain) token, then\n return false.\n\n [Replace](https://infra.spec.whatwg.org/#set-replace) token in [this](https://webidl.spec.whatwg.org/#this)’s token set with\n newToken.\n\n Run the update steps.\n\n Return true.\n The update steps are not always run for `replace()`\nfor web compatibility.\n\n The\n`supports(token)`\nmethod steps are:\n\n Let result be the return value of validation steps called with\n token.\n\n Return result.\n The `value` getter steps are to return the\nresult of running [this](https://webidl.spec.whatwg.org/#this)’s serialize steps.\n The `value` setter steps are to\nset an attribute value for [this](https://webidl.spec.whatwg.org/#this)’s element using [this](https://webidl.spec.whatwg.org/#this)’s\nattribute name and the given value.\n 8. XPath DOM Level 3 XPath defined an API for evaluating XPath 1.0\nexpressions. These APIs are widely implemented, but have not been maintained. The interface\ndefinitions are maintained here so that they can be updated when Web IDL changes.\nComplete definitions of these APIs remain necessary and such work is tracked and can be contributed\nto in [whatwg/dom#67](https://github.com/whatwg/dom/issues/67). [DOM-Level-3-XPath] [XPath] [WEBIDL] 8.1. Interface `XPathResult` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `XPathResult` {\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `ANY_TYPE` = 0;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `NUMBER_TYPE` = 1;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `STRING_TYPE` = 2;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `BOOLEAN_TYPE` = 3;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `UNORDERED_NODE_ITERATOR_TYPE` = 4;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `ORDERED_NODE_ITERATOR_TYPE` = 5;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `UNORDERED_NODE_SNAPSHOT_TYPE` = 6;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `ORDERED_NODE_SNAPSHOT_TYPE` = 7;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `ANY_UNORDERED_NODE_TYPE` = 8;\n const [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `FIRST_ORDERED_NODE_TYPE` = 9;\n\n readonly attribute [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `resultType`;\n readonly attribute [unrestricted double](https://webidl.spec.whatwg.org/#idl-unrestricted-double) `numberValue`;\n readonly attribute [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `stringValue`;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `booleanValue`;\n readonly attribute Node? `singleNodeValue`;\n readonly attribute [boolean](https://webidl.spec.whatwg.org/#idl-boolean) `invalidIteratorState`;\n readonly attribute [unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `snapshotLength`;\n\n Node? `iterateNext`();\n Node? `snapshotItem`([unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long) `index`);\n};\n 8.2. Interface `XPathExpression` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `XPathExpression` {\n // XPathResult.ANY_TYPE = 0\n XPathResult `evaluate`(Node `contextNode`, optional [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `type` = 0, optional XPathResult? `result` = null);\n};\n 8.3. Mixin `XPathEvaluatorBase` callback interface `XPathNSResolver` {\n [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `lookupNamespaceURI`([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)? `prefix`);\n};\n\ninterface mixin `XPathEvaluatorBase` {\n [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] XPathExpression `createExpression`([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `expression`, optional XPathNSResolver? `resolver` = null);\n Node createNSResolver(Node `nodeResolver`); // legacy\n // XPathResult.ANY_TYPE = 0\n XPathResult `evaluate`([DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `expression`, Node `contextNode`, optional XPathNSResolver? `resolver` = null, optional [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) `type` = 0, optional XPathResult? `result` = null);\n};\nDocument includes XPathEvaluatorBase;\n The\n`createNSResolver(nodeResolver)`\nmethod steps are to return nodeResolver.\n\n This method exists only for historical reasons.\n\n 8.4. Interface `XPathEvaluator` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `XPathEvaluator` {\n `constructor`();\n};\n\nXPathEvaluator includes XPathEvaluatorBase;\n For historical reasons you can both construct `XPathEvaluator` and access the same\nmethods on `Document`.\n\n 9. XSLT Avoid using client-side XSLT in browsers. The browser implementations of XSLT\nare highly susceptible to memory safety vulnerabilities, and the web platform has evolved toward\nJavaScript as the safe replacement. For these reasons, this feature is in the process of being\nremoved from the web platform. (This is a long process that takes many years.)\n\n XSL Transformations (XSLT) is a language for transforming XML documents\ninto other XML documents. The APIs defined in this section have been widely implemented, and are\nmaintained here so that they can be updated when Web IDL changes. Complete definitions\nof these APIs remain necessary and such work is tracked and can be contributed to in\n[whatwg/dom#181](https://github.com/whatwg/dom/issues/181). [XSLT] 9.1. Interface `XSLTProcessor` [[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]\ninterface `XSLTProcessor` {\n `constructor`();\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) `importStylesheet`(Node `style`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] DocumentFragment `transformToFragment`(Node `source`, Document `output`);\n [[CEReactions](https://html.spec.whatwg.org/multipage/custom-elements.html#cereactions)] Document `transformToDocument`(Node `source`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) `setParameter`([[LegacyNullToEmptyString](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)] [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `namespaceURI`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`, [any](https://webidl.spec.whatwg.org/#idl-any) `value`);\n [any](https://webidl.spec.whatwg.org/#idl-any) `getParameter`([[LegacyNullToEmptyString](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)] [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `namespaceURI`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) `removeParameter`([[LegacyNullToEmptyString](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)] [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `namespaceURI`, [DOMString](https://webidl.spec.whatwg.org/#idl-DOMString) `localName`);\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) `clearParameters`();\n [undefined](https://webidl.spec.whatwg.org/#idl-undefined) `reset`();\n};\n 10. Security and privacy considerations There are no known security or privacy considerations for this standard.\n\n 11. Historical This standard used to contain several interfaces and interface members that have been removed.\n\n These interfaces have been removed:\n\n `DOMConfiguration` `DOMError` `DOMErrorHandler` `DOMImplementationList` `DOMImplementationSource` `DOMLocator` `DOMObject` `DOMUserData` `Entity` `EntityReference` `MutationEvent` `MutationNameEvent` `NameList` `Notation` `RangeException` `TypeInfo` `UserDataHandler` And these interface members have been removed:\n\n`Attr` `schemaTypeInfo` `isId`\n\n`Document` `createEntityReference()` `xmlEncoding` `xmlStandalone` `xmlVersion` `strictErrorChecking` `domConfig` `normalizeDocument()` `renameNode()`\n\n`DocumentType` `entities` `notations` `internalSubset`\n\n`DOMImplementation` `getFeature()`\n\n`Element` `schemaTypeInfo` `setIdAttribute()` `setIdAttributeNS()` `setIdAttributeNode()`\n\n`Node` `isSupported` `getFeature()` `getUserData()` `setUserData()`\n\n`NodeIterator` `expandEntityReferences`\n\n`Text` `isElementContentWhitespace` `replaceWholeText()`\n\n`TreeWalker` `expandEntityReferences` Acknowledgments There have been a lot of people that have helped make DOM more interoperable over the years and\nthereby furthered the goals of this standard. Likewise many people have helped making this standard\nwhat it is today.\n\n With that, many thanks to\nAdam Klein,\nAdrian Bateman,\nAhmid *snuggs*,\nAlex Komoroske,\nAlex Russell,\nAlexey Shvayka,\nAndreas Kling,\nAndreu Botella,\nAnthony Ramine,\nArkadiusz Michalski,\nArmen Michaeli,\nArnaud Le Hors,\nArun Ranganathan,\nBenjamin Gruenbaum,\nBjörn Höhrmann,\nBoris Zbarsky,\nBrandon Payton,\nBrandon Slade,\nBrandon Wallace,\nBrian Kardell,\nC. Scott Ananian,\nCameron McCormack,\nChris Dumez,\nChris Paris,\nChris Rebert,\nCyrille Tuzi,\nDan Burzo,\nDaniel Clark,\nDaniel Glazman,\nDarien Maillet Valentine,\nDarin Fisher,\nDavid Baron,\nDavid Bruant,\nDavid Flanagan,\nDavid Håsäther,\nDavid Hyatt,\nDeepak Sherveghar,\nDethe Elza,\nDimitri Glazkov,\nDomenic Denicola,\nDominic Cooney,\nDominique Hazaël-Massieux,\nDon Jordan,\nDoug Schepers,\nEdgar Chen,\nElisée Maurer,\nElliott Sprehn,\nEmilio Cobos Álvarez,\nEric Bidelman,\nErik Arvidsson,\nEvgeny Kapun,\nFrançois Daoust,\nFrançois Remy,\nGary Kacmarcik,\nGavin Nicol,\nGiorgio Liscio,\nGlen Huang,\nGlenn Adams,\nGlenn Maynard,\nHajime Morrita,\nHarald Alvestrand,\nHayato Ito,\nHenri Sivonen,\nHongchan Choi,\nHunan Rostomyan,\nIan Hickson,\nIgor Bukanov,\nJacob Rossi,\nJake Archibald,\nJake Verbaten,\nJames Graham,\nJames Greene,\nJames M Snell,\nJames Robinson,\nJayson Chen,\nJeffrey Yasskin,\nJens Lindström,\nJeremy Davis,\nJesse McCarthy,\nJinho Bang,\nJoão Eiras,\nJoe Kesselman,\nJohn Atkins,\nJohn Dai,\nJonas Sicking,\nJonathan Kingston,\nJonathan Robie,\nJoris van der Wel,\nJoshua Bell,\nJ. S. Choi,\nJungkee Song,\nJustin Summerlin,\nKagami Sascha Rosylight,\n呂康豪 (Kang-Hao Lu),\n田村健人 (Kent TAMURA),\nKevin J. Sung,\nKevin Sweeney,\nKirill Topolyan,\nKoji Ishii,\nLachlan Hunt,\nLauren Wood,\nLuca Casonato,\nLuke Zielinski,\nMagne Andersson,\nMajid Valipour,\nMalte Ubl,\nManish Goregaokar,\nManish Tripathi,\nMarcos Caceres,\nMark Miller,\nMartijn van der Ven,\nMason Freed,\nMats Palmgren,\nMounir Lamouri,\nMichael Stramel,\nMichael™ Smith,\nMike Champion,\nMike Taylor,\nMike West,\nNicolás Peña Moreno,\nNidhi Jaju,\nOjan Vafai,\nOliver Nightingale,\nOlli Pettay,\nOndřej Žára,\nPeter Sharpe,\nPhilip Jägenstedt,\nPhilippe Le Hégaret,\nPiers Wombwell,\nPierre-Marie Dartus,\nprosody—Gab Vereable Context(,\nRafael Weinstein,\nRakina Zata Amni,\nRichard Bradshaw,\nRick Byers,\nRick Waldron,\nRobbert Broersma,\nRobin Berjon,\nRoland Steiner,\nRune F. Halvorsen,\nRussell Bicknell,\nRuud Steltenpool,\nRyosuke Niwa,\nSam Dutton,\nSam Sneddon,\nSamuel Giles,\nSanket Joshi,\nScott Haseley,\nSebastian Mayr,\nSeo Sanghyeon,\nSergey G. Grekhov,\nShiki Okasaka,\nShinya Kawanaka,\nSimon Pieters,\nSimon Wülker,\nStef Busking,\nSteve Byrne,\nSteven Obiajulu,\nStig Halvorsen,\nTab Atkins,\nTakashi Sakamoto,\nTakayoshi Kochi,\nTheresa O’Connor,\nTheodore Dubois,\n*timeless*,\nTimo Tijhof,\nTobie Langel,\nTom Pixley,\nTravis Leithead,\nTrevor Rowbotham,\n*triple-underscore*,\nTristan Fraipont,\nVeli Şenol,\nVidur Apparao,\nWarren He,\nXidorn Quan,\nYash Handa,\nYehuda Katz,\nYoav Weiss,\nYoichi Osato,\nYoshinori Sano,\nYu Han,\nYusuke Abe, and\nZack Weinberg\nfor being awesome!\n\n This standard is written by [Anne van Kesteren](https://annevankesteren.nl/)\n([Apple](https://www.apple.com/), [annevk@annevk.nl](mailto:annevk@annevk.nl))\nwith substantial contributions from Aryeh Gregor ([ayg@aryeh.name](mailto:ayg@aryeh.name))\nand Ms2ger ([ms2ger@gmail.com](mailto:ms2ger@gmail.com)).\n\n Intellectual property rights Part of the revision history of the integration points related to\ncustom elements can be found in\n[the w3c/webcomponents repository](https://github.com/w3c/webcomponents), which is\navailable under the\n[W3C Software and Document License](https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document).\n Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a [Creative Commons Attribution 4.0\nInternational License](https://creativecommons.org/licenses/by/4.0/). To the extent portions of it are incorporated into source code, such\nportions in the source code are licensed under the [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) instead. This is the Living Standard. Those\ninterested in the patent-review version should view the\n[Living Standard Review Draft](/review-drafts/2026-06/).\n\n## Index\n\n### Terms defined by this specification\n\n- abort , in § 3.2\n- abort()\n - method for AbortController , in § 3.1\n - method for AbortSignal , in § 3.2\n- abort algorithms , in § 3.2\n- AbortController , in § 3.1\n- AbortController() , in § 3.1\n- aborted\n - attribute for AbortSignal , in § 3.2\n - dfn for AbortSignal , in § 3.2\n- abort reason , in § 3.2\n- abort(reason)\n - method for AbortController , in § 3.1\n - method for AbortSignal , in § 3.2\n- AbortSignal , in § 3.2\n- AbstractRange , in § 5.3\n- acceptNode(node) , in § 6.3\n- activation behavior , in § 2.7\n- add , in § 3.2\n- add() , in § 7.1\n- add an event listener , in § 2.7\n- addedNodes , in § 4.3.3\n- AddEventListenerOptions , in § 2.7\n- addEventListener(type, callback) , in § 2.7\n- addEventListener(type, callback, options) , in § 2.7\n- add(...tokens) , in § 7.1\n- add(tokens) , in § 7.1\n- adjust a node pointer , in § 6.1\n- adopt , in § 4.5\n- adopting steps , in § 4.5\n- adoptNode(node) , in § 4.5\n- after , in § 5.2\n- after() , in § 4.2.8\n- after(...nodes) , in § 4.2.8\n- allow declarative shadow roots , in § 4.5\n- ancestor , in § 1.1\n- any(signals) , in § 3.2\n- ANY_TYPE , in § 8.1\n- ANY_UNORDERED_NODE_TYPE , in § 8.1\n- append , in § 4.2.3\n- append() , in § 4.2.6\n- append an attribute , in § 4.9\n- appendChild(node) , in § 4.4\n- appendData(data) , in § 4.10\n- append(...nodes) , in § 4.2.6\n- append to an event path , in § 2.9\n- assign a slot , in § 4.2.2.4\n- assigned , in § 4.2.2.2\n- assigned nodes , in § 4.2.2.1\n- assigned slot , in § 4.2.2.2\n- assignedSlot , in § 4.2.9\n- assign slottables , in § 4.2.2.4\n- assign slottables for a tree , in § 4.2.2.4\n- attach a shadow root , in § 4.9\n- attachShadow(init) , in § 4.9\n- AT_TARGET , in § 2.2\n- Attr , in § 4.9.2\n- attribute , in § 4.9.2\n- attribute change steps , in § 4.9\n- attributeFilter , in § 4.3.1\n- attribute list\n - dfn for Element , in § 4.9\n - dfn for NamedNodeMap , in § 4.9.1\n- attribute map , in § 4.13\n- attribute name , in § 7.1\n- attributeName , in § 4.3.3\n- attributeNamespace , in § 4.3.3\n- ATTRIBUTE_NODE , in § 4.4\n- attributeOldValue , in § 4.3.1\n- attributes\n - attribute for Element , in § 4.9\n - dict-member for MutationObserverInit , in § 4.3.1\n- available to element internals , in § 4.8\n- baseURI , in § 4.4\n- before , in § 5.2\n- before() , in § 4.2.8\n- before(...nodes) , in § 4.2.8\n- BOOLEAN_TYPE , in § 8.1\n- booleanValue , in § 8.1\n- boundary point , in § 5.2\n- bubbles\n - attribute for Event , in § 2.2\n - dict-member for EventInit , in § 2.2\n- BUBBLING_PHASE , in § 2.2\n- callback\n - dfn for MutationObserver , in § 4.3.1\n - dfn for event listener , in § 2.7\n- cancelable\n - attribute for Event , in § 2.2\n - dict-member for EventInit , in § 2.2\n- cancelBubble , in § 2.2\n- canceled flag , in § 2.2\n- candidate reference , in § 6.1\n- capture\n - dfn for event listener , in § 2.7\n - dict-member for EventListenerOptions , in § 2.7\n- CAPTURING_PHASE , in § 2.2\n- CDATASection , in § 4.12\n- CDATA_SECTION_NODE , in § 4.4\n- change an attribute , in § 4.9\n- CharacterData , in § 4.10\n- characterData , in § 4.3.1\n- characterDataOldValue , in § 4.3.1\n- characterSet , in § 4.5\n- charset , in § 4.5\n- child , in § 1.1\n- childElementCount , in § 4.2.6\n- childList , in § 4.3.1\n- ChildNode , in § 4.2.8\n- childNodes , in § 4.4\n- children\n - attribute for ParentNode , in § 4.2.6\n - dfn for tree , in § 1.1\n- children changed steps , in § 4.2.3\n- child text content , in § 4.11\n- class , in § 4.9\n- classList , in § 4.9\n- className , in § 4.9\n- clearParameters() , in § 9.1\n- clonable\n - attribute for ShadowRoot , in § 4.8\n - dfn for ShadowRoot , in § 4.8\n - dict-member for ShadowRootInit , in § 4.9\n- clone a node , in § 4.4\n- clone a single node , in § 4.4\n- cloneContents() , in § 5.5\n- cloneNode() , in § 4.4\n- cloneNode(subtree) , in § 4.4\n- cloneRange() , in § 5.5\n- clone the contents , in § 5.5\n- cloning steps , in § 4.4\n- cloning the contents , in § 5.5\n- \"closed\" , in § 4.8\n- closed-shadow-hidden , in § 4.8\n- closest(selectors) , in § 4.9\n- collapse() , in § 5.5\n- collapsed\n - attribute for AbstractRange , in § 5.3\n - dfn for range , in § 5.3\n- collapse(toStart) , in § 5.5\n- collection , in § 4.2.10\n- Comment , in § 4.14\n- Comment() , in § 4.14\n- Comment(data) , in § 4.14\n- COMMENT_NODE , in § 4.4\n- commonAncestorContainer , in § 5.5\n- compareBoundaryPoints(how, sourceRange) , in § 5.5\n- compareDocumentPosition(other) , in § 4.4\n- comparePoint(node, offset) , in § 5.5\n- compatMode , in § 4.5\n- composed\n - attribute for Event , in § 2.2\n - dict-member for EventInit , in § 2.2\n - dict-member for GetRootNodeOptions , in § 4.4\n- composed flag , in § 2.2\n- composedPath() , in § 2.2\n- connected , in § 4.2.2\n- constructor , in § 2.5\n- constructor()\n - constructor for AbortController , in § 3.1\n - constructor for Comment , in § 4.14\n - constructor for Document , in § 4.5\n - constructor for DocumentFragment , in § 4.7\n - constructor for EventTarget , in § 2.7\n - constructor for Range , in § 5.5\n - constructor for Text , in § 4.11\n - constructor for XPathEvaluator , in § 8.4\n - constructor for XSLTProcessor , in § 9.1\n- constructor(callback) , in § 4.3.1\n- constructor(data)\n - constructor for Comment , in § 4.14\n - constructor for Text , in § 4.11\n- constructor(init) , in § 5.4\n- constructor(target) , in § 4.13\n- constructor(target, data) , in § 4.13\n- constructor(type)\n - constructor for CustomEvent , in § 2.4\n - constructor for Event , in § 2.2\n- constructor(type, eventInitDict)\n - constructor for CustomEvent , in § 2.4\n - constructor for Event , in § 2.2\n- contained , in § 5.5\n- contains(other) , in § 4.4\n- contains(token) , in § 7.1\n- content type , in § 4.5\n- contentType , in § 4.5\n- contiguous exclusive Text nodes , in § 4.11\n- contiguous Text nodes , in § 4.11\n- convert nodes into a node , in § 4.2.6\n- create a comment node , in § 4.14\n- create a dependent abort signal , in § 3.2\n- create a doctype , in § 4.6\n- create a document , in § 4.5\n- create a document fragment , in § 4.7\n- create an attribute , in § 4.9.2\n- create an element , in § 4.9\n- create an element internal , in § 4.9\n- create an event , in § 2.5\n- create a node , in § 4.4\n- create a processing instruction node , in § 4.13\n- create a text node , in § 4.11\n- createAttribute(localName) , in § 4.5\n- createAttributeNS(namespace, qualifiedName) , in § 4.5\n- createCDATASection(data) , in § 4.5\n- createComment(data) , in § 4.5\n- createDocumentFragment() , in § 4.5\n- createDocument(namespace, qualifiedName) , in § 4.5.1\n- createDocument(namespace, qualifiedName, doctype) , in § 4.5.1\n- createDocumentType(name, publicId, systemId) , in § 4.5.1\n- createElement(localName) , in § 4.5\n- createElement(localName, options) , in § 4.5\n- createElementNS(namespace, qualifiedName) , in § 4.5\n- createElementNS(namespace, qualifiedName, options) , in § 4.5\n- createEntityReference() , in § 11\n- createEvent(interface) , in § 4.5\n- createExpression(expression) , in § 8.3\n- createExpression(expression, resolver) , in § 8.3\n- createHTMLDocument() , in § 4.5.1\n- createHTMLDocument(title) , in § 4.5.1\n- createNodeIterator(root) , in § 4.5\n- createNodeIterator(root, whatToShow) , in § 4.5\n- createNodeIterator(root, whatToShow, filter) , in § 4.5\n- createNSResolver(nodeResolver) , in § 8.3\n- createProcessingInstruction(target, data) , in § 4.5\n- createRange() , in § 4.5\n- createTextNode(data) , in § 4.5\n- createTreeWalker(root) , in § 4.5\n- createTreeWalker(root, whatToShow) , in § 4.5\n- createTreeWalker(root, whatToShow, filter) , in § 4.5\n- creating an event , in § 2.5\n- current , in § 6.2\n- current event , in § 2.3\n- currentNode , in § 6.2\n- currentTarget , in § 2.2\n- custom , in § 4.9\n- custom element definition , in § 4.9\n- custom element registry\n - dfn for Document , in § 4.5\n - dfn for Element , in § 4.9\n - dfn for ShadowRoot , in § 4.8\n- customElementRegistry\n - attribute for DocumentOrShadowRoot , in § 4.2.5\n - attribute for Element , in § 4.9\n - dict-member for ElementCreationOptions , in § 4.5\n - dict-member for ImportNodeOptions , in § 4.5\n - dict-member for ShadowRootInit , in § 4.9\n- custom element state , in § 4.9\n- CustomEvent , in § 2.4\n- CustomEventInit , in § 2.4\n- CustomEvent(type) , in § 2.4\n- CustomEvent(type, eventInitDict) , in § 2.4\n- data\n - attribute for CharacterData , in § 4.10\n - dfn for CharacterData , in § 4.10\n- declarative , in § 4.8\n- default passive value , in § 2.7\n- defaultPrevented , in § 2.2\n- defined , in § 4.9\n- delegates focus , in § 4.8\n- delegatesFocus\n - attribute for ShadowRoot , in § 4.8\n - dict-member for ShadowRootInit , in § 4.9\n- deleteContents() , in § 5.5\n- deleteData(offset, count) , in § 4.10\n- dependent , in § 3.2\n- dependent signals , in § 3.2\n- descendant , in § 1.1\n- descendant text content , in § 4.11\n- detach()\n - method for NodeIterator , in § 6.1\n - method for Range , in § 5.5\n- detail\n - attribute for CustomEvent , in § 2.4\n - dict-member for CustomEventInit , in § 2.4\n- disconnect() , in § 4.3.1\n- dispatch , in § 2.9\n- dispatchEvent(event) , in § 2.7\n- dispatch flag , in § 2.2\n- doctype\n - attribute for Document , in § 4.5\n - definition of , in § 4.6\n- Document , in § 4.5\n- document\n - definition of , in § 4.5\n - dfn for clone a node , in § 4.4\n- Document() , in § 4.5\n- document element , in § 4.2.1\n- documentElement , in § 4.5\n- DocumentFragment , in § 4.7\n- DocumentFragment() , in § 4.7\n- DOCUMENT_FRAGMENT_NODE , in § 4.4\n- DOCUMENT_NODE , in § 4.4\n- DocumentOrShadowRoot , in § 4.2.5\n- DOCUMENT_POSITION_CONTAINED_BY , in § 4.4\n- DOCUMENT_POSITION_CONTAINS , in § 4.4\n- DOCUMENT_POSITION_DISCONNECTED , in § 4.4\n- DOCUMENT_POSITION_FOLLOWING , in § 4.4\n- DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC , in § 4.4\n- DOCUMENT_POSITION_PRECEDING , in § 4.4\n- document tree , in § 4.2.1\n- DocumentType , in § 4.6\n- DOCUMENT_TYPE_NODE , in § 4.4\n- documentURI , in § 4.5\n- domConfig , in § 11\n- DOMConfiguration , in § 11\n- DOMError , in § 11\n- DOMErrorHandler , in § 11\n- DOMImplementation , in § 4.5.1\n- DOMImplementationList , in § 11\n- DOMImplementationSource , in § 11\n- DOMLocator , in § 11\n- DOMObject , in § 11\n- DOMTokenList , in § 7.1\n- DOMUserData , in § 11\n- effective global custom element registry , in § 4.5\n- Element , in § 4.9\n- element\n - definition of , in § 4.9\n - dfn for Attr , in § 4.9.2\n - dfn for DOMTokenList , in § 7.1\n - dfn for NamedNodeMap , in § 4.9.1\n- ElementCreationOptions , in § 4.5\n- element interface , in § 4.5\n- ELEMENT_NODE , in § 4.4\n- empty , in § 4.2\n- encoding , in § 4.5\n- end , in § 5.3\n- endContainer\n - attribute for AbstractRange , in § 5.3\n - dict-member for StaticRangeInit , in § 5.4\n- end node , in § 5.3\n- end offset , in § 5.3\n- endOffset\n - attribute for AbstractRange , in § 5.3\n - dict-member for StaticRangeInit , in § 5.4\n- END_TO_END , in § 5.5\n- END_TO_START , in § 5.5\n- ensure pre-insert validity , in § 4.2.3\n- entities , in § 11\n- Entity , in § 11\n- ENTITY_NODE , in § 4.4\n- EntityReference , in § 11\n- ENTITY_REFERENCE_NODE , in § 4.4\n- equal , in § 5.2\n- equals , in § 4.4\n- evaluate(contextNode) , in § 8.2\n- evaluate(contextNode, type) , in § 8.2\n- evaluate(contextNode, type, result) , in § 8.2\n- evaluate(expression, contextNode) , in § 8.3\n- evaluate(expression, contextNode, resolver) , in § 8.3\n- evaluate(expression, contextNode, resolver, type) , in § 8.3\n- evaluate(expression, contextNode, resolver, type, result) , in § 8.3\n- Event , in § 2.2\n- event\n - attribute for Window , in § 2.3\n - definition of , in § 2.2\n- event constructing steps , in § 2.5\n- EventInit , in § 2.2\n- event listener , in § 2.7\n- EventListener , in § 2.7\n- event listener list , in § 2.7\n- EventListenerOptions , in § 2.7\n- event path item , in § 2.2\n- eventPhase , in § 2.2\n- EventTarget , in § 2.7\n- EventTarget() , in § 2.7\n- Event(type) , in § 2.2\n- Event(type, eventInitDict) , in § 2.2\n- exclusive DocumentFragment node , in § 4.7\n- exclusive Text node , in § 4.11\n- expandEntityReferences\n - attribute for NodeIterator , in § 11\n - attribute for TreeWalker , in § 11\n- extract , in § 5.5\n- extractContents() , in § 5.5\n- fallbackRegistry , in § 4.4\n- filter\n - attribute for NodeIterator , in § 6.1\n - attribute for TreeWalker , in § 6.2\n - definition of , in § 6\n - dfn for traversal , in § 6\n- FILTER_ACCEPT , in § 6.3\n- FILTER_REJECT , in § 6.3\n- FILTER_SKIP , in § 6.3\n- find a slot , in § 4.2.2.3\n- find flattened slottables , in § 4.2.2.3\n- find slottables , in § 4.2.2.3\n- fire an event , in § 2.10\n- first child , in § 1.1\n- firstChild , in § 4.4\n- firstChild() , in § 6.2\n- firstElementChild , in § 4.2.6\n- FIRST_ORDERED_NODE_TYPE , in § 8.1\n- flatten , in § 2.7\n- flatten element creation options , in § 4.5\n- flatten more , in § 2.7\n- following , in § 1.1\n- get an attribute by name , in § 4.9\n- get an attribute by namespace and local name , in § 4.9\n- get an attribute value , in § 4.9\n- get an element by ID , in § 4.2.4\n- get a processing instruction attribute , in § 4.13\n- getAttribute(name) , in § 4.13\n- getAttributeNames()\n - method for Element , in § 4.9\n - method for ProcessingInstruction , in § 4.13\n- getAttributeNodeNS(namespace, localName) , in § 4.9\n- getAttributeNode(qualifiedName) , in § 4.9\n- getAttributeNS(namespace, localName) , in § 4.9\n- getAttribute(qualifiedName) , in § 4.9\n- getElementById(elementId) , in § 4.2.4\n- getElementsByClassName(classNames)\n - method for Document , in § 4.5\n - method for Element , in § 4.9\n- getElementsByTagNameNS(namespace, localName)\n - method for Document , in § 4.5\n - method for Element , in § 4.9\n- getElementsByTagName(qualifiedName)\n - method for Document , in § 4.5\n - method for Element , in § 4.9\n- getFeature()\n - method for DOMImplementation , in § 11\n - method for Node , in § 11\n- getNamedItemNS(namespace, localName) , in § 4.9.1\n- getNamedItem(qualifiedName) , in § 4.9.1\n- getParameter(namespaceURI, localName) , in § 9.1\n- getRootNode() , in § 4.4\n- getRootNode(options) , in § 4.4\n- GetRootNodeOptions , in § 4.4\n- get text content , in § 4.4\n- get the common ancestor , in § 5.5\n- get the parent , in § 2.7\n- getUserData() , in § 11\n- handle attribute changes , in § 4.9\n- handleEvent(event) , in § 2.7\n- has an attribute , in § 4.9\n- hasAttribute(name) , in § 4.13\n- hasAttributeNS(namespace, localName) , in § 4.9\n- hasAttribute(qualifiedName) , in § 4.9\n- hasAttributes()\n - method for Element , in § 4.9\n - method for ProcessingInstruction , in § 4.13\n- hasChildNodes() , in § 4.4\n- hasFeature() , in § 4.5.1\n- host\n - attribute for ShadowRoot , in § 4.8\n - dfn for DocumentFragment , in § 4.7\n- host-including inclusive ancestor , in § 4.7\n- HTMLCollection , in § 4.2.10.2\n- HTML document , in § 4.5\n- HTML-uppercased qualified name , in § 4.9\n- ID , in § 4.9\n- id , in § 4.9\n- implementation , in § 4.5\n- importNode(node) , in § 4.5\n- importNode(node, options) , in § 4.5\n- ImportNodeOptions , in § 4.5\n- importStylesheet(style) , in § 9.1\n- in a document , in § 4.2.1\n- in a document tree , in § 4.2.1\n- inclusive ancestor , in § 1.1\n- inclusive descendant , in § 1.1\n- inclusive sibling , in § 1.1\n- index , in § 1.1\n- initCustomEvent(type) , in § 2.4\n- initCustomEvent(type, bubbles) , in § 2.4\n- initCustomEvent(type, bubbles, cancelable) , in § 2.4\n- initCustomEvent(type, bubbles, cancelable, detail) , in § 2.4\n- initEvent(type) , in § 2.2\n- initEvent(type, bubbles) , in § 2.2\n- initEvent(type, bubbles, cancelable) , in § 2.2\n- initialize\n - dfn for Event , in § 2.2\n - dfn for ProcessingInstruction , in § 4.13\n- initialized flag , in § 2.2\n- inner event creation steps , in § 2.5\n- inner invoke , in § 2.9\n- in passive listener flag , in § 2.2\n- inputEncoding , in § 4.5\n- insert\n - definition of , in § 4.2.3\n - dfn for live range , in § 5.5\n- insert adjacent , in § 4.9\n- insertAdjacentElement(where, element) , in § 4.9\n- insertAdjacentText(where, data) , in § 4.9\n- insertBefore(node, child) , in § 4.4\n- insertData(offset, data) , in § 4.10\n- insertion steps , in § 4.2.3\n- insertNode(node) , in § 5.5\n- internal createElementNS steps , in § 4.5\n- internalSubset , in § 11\n- intersectsNode(node) , in § 5.5\n- invalidIteratorState , in § 8.1\n- invocation target , in § 2.2\n- invocation-target-in-shadow-tree , in § 2.2\n- invoke , in § 2.9\n- is , in § 4.5\n- is active , in § 6\n- is a global custom element registry , in § 4.5\n- isConnected , in § 4.4\n- isDefaultNamespace(namespace) , in § 4.4\n- isElementContentWhitespace , in § 11\n- isEqualNode(otherNode) , in § 4.4\n- isId , in § 11\n- isPointInRange(node, offset) , in § 5.5\n- isSameNode(otherNode) , in § 4.4\n- isSupported , in § 11\n- isTrusted , in § 2.2\n- is value , in § 4.9\n- item(index)\n - method for DOMTokenList , in § 7.1\n - method for HTMLCollection , in § 4.2.10.2\n - method for NamedNodeMap , in § 4.9.1\n - method for NodeList , in § 4.2.10.1\n- iterateNext() , in § 8.1\n- iterator collection , in § 6.1\n- keep custom element registry null , in § 4.8\n- last child , in § 1.1\n- lastChild , in § 4.4\n- lastChild() , in § 6.2\n- lastElementChild , in § 4.2.6\n- legacy-canceled-activation behavior , in § 2.7\n- legacy-obtain service worker fetch event listener callbacks , in § 2.8\n- legacy-pre-activation behavior , in § 2.7\n- length\n - attribute for CharacterData , in § 4.10\n - attribute for DOMTokenList , in § 7.1\n - attribute for HTMLCollection , in § 4.2.10.2\n - attribute for NamedNodeMap , in § 4.9.1\n - attribute for NodeList , in § 4.2.10.1\n - dfn for Node , in § 4.2\n- light tree , in § 4.2.2\n- limited-quirks mode , in § 4.5\n- list of elements with class names classNames , in § 4.4\n- list of elements with namespace namespace and local name localName , in § 4.4\n- list of elements with qualified name qualifiedName , in § 4.4\n- live , in § 4.2.10\n- live collection , in § 4.2.10\n- live range pre-remove steps , in § 5.5\n- live ranges , in § 5.5\n- local name\n - dfn for Attr , in § 4.9.2\n - dfn for Element , in § 4.9\n- localName\n - attribute for Attr , in § 4.9.2\n - attribute for Element , in § 4.9\n- locate a namespace , in § 4.4\n- locate a namespace prefix , in § 4.4\n- locating a namespace prefix , in § 4.4\n- lookupNamespaceURI(prefix)\n - method for Node , in § 4.4\n - method for XPathNSResolver , in § 8.3\n- lookupPrefix(namespace) , in § 4.4\n- \"manual\" , in § 4.8\n- manual slot assignment , in § 4.2.2.2\n- matches(selectors) , in § 4.9\n- mode\n - attribute for ShadowRoot , in § 4.8\n - dfn for Document , in § 4.5\n - dfn for ShadowRoot , in § 4.8\n - dict-member for ShadowRootInit , in § 4.9\n- move , in § 4.2.3\n- moveBefore(node, child) , in § 4.2.6\n- moving steps , in § 4.2.3\n- MutationCallback , in § 4.3.1\n- MutationEvent , in § 11\n- MutationNameEvent , in § 11\n- MutationObserver , in § 4.3.1\n- MutationObserver(callback) , in § 4.3.1\n- MutationObserverInit , in § 4.3.1\n- mutation observer microtask queued , in § 4.3\n- MutationRecord , in § 4.3.3\n- name\n - attribute for Attr , in § 4.9.2\n - attribute for DocumentType , in § 4.6\n - dfn for DocumentType , in § 4.6\n - dfn for slot , in § 4.2.2.1\n - dfn for slottable , in § 4.2.2.2\n- \"named\" , in § 4.8\n- named attribute , in § 4.9.2\n- namedItem(key) , in § 4.2.10.2\n- namedItem(name) , in § 4.2.10.2\n- NamedNodeMap , in § 4.9.1\n- NameList , in § 11\n- namespace\n - dfn for Attr , in § 4.9.2\n - dfn for Element , in § 4.9\n- namespace prefix\n - dfn for Attr , in § 4.9.2\n - dfn for Element , in § 4.9\n- namespaceURI\n - attribute for Attr , in § 4.9.2\n - attribute for Element , in § 4.9\n- nextElementSibling , in § 4.2.7\n- nextNode()\n - method for NodeIterator , in § 6.1\n - method for TreeWalker , in § 6.2\n- next sibling , in § 1.1\n- nextSibling\n - attribute for MutationRecord , in § 4.3.3\n - attribute for Node , in § 4.4\n- nextSibling() , in § 6.2\n- Node , in § 4.4\n- node\n - dfn for boundary point , in § 5.2\n - dfn for node pointer , in § 6.1\n- node document , in § 4.4\n- NodeFilter , in § 6.3\n- NodeIterator , in § 6.1\n- NodeIterator pre-remove steps , in § 6.1\n- node list , in § 4.3.1\n- NodeList , in § 4.2.10.1\n- nodeName , in § 4.4\n- node pointer , in § 6.1\n- Nodes , in § 4.2\n- node tree , in § 4.2\n- nodeType , in § 4.4\n- nodeValue , in § 4.4\n- NonDocumentTypeChildNode , in § 4.2.7\n- NONE , in § 2.2\n- NonElementParentNode , in § 4.2.4\n- no-quirks mode , in § 4.5\n- normalize() , in § 4.4\n- normalizeDocument() , in § 11\n- Notation , in § 11\n- NOTATION_NODE , in § 4.4\n- notations , in § 11\n- notify mutation observers , in § 4.3\n- NUMBER_TYPE , in § 8.1\n- numberValue , in § 8.1\n- observer , in § 4.3\n- observe(target) , in § 4.3.1\n- observe(target, options) , in § 4.3.1\n- offset , in § 5.2\n- oldValue , in § 4.3.3\n- onabort\n - attribute for AbortSignal , in § 3.2\n - dfn for AbortSignal , in § 3.2\n- once\n - dfn for event listener , in § 2.7\n - dict-member for AddEventListenerOptions , in § 2.7\n- onslotchange\n - attribute for ShadowRoot , in § 4.8\n - dfn for ShadowRoot , in § 4.8\n- \"open\" , in § 4.8\n- options , in § 4.3\n- ORDERED_NODE_ITERATOR_TYPE , in § 8.1\n- ORDERED_NODE_SNAPSHOT_TYPE , in § 8.1\n- ordered set parser , in § 1.2\n- ordered set serializer , in § 1.2\n- origin , in § 4.5\n- other applicable specifications , in § 1\n- ownerDocument , in § 4.4\n- ownerElement , in § 4.9.2\n- parent\n - dfn for clone a node , in § 4.4\n - dfn for tree , in § 1.1\n- parent element , in § 4.9\n- parentElement , in § 4.4\n- ParentNode , in § 4.2.6\n- parentNode , in § 4.4\n- parentNode() , in § 6.2\n- partially contained , in § 5.5\n- participate , in § 1.1\n- participate in a tree , in § 1.1\n- participates in a tree , in § 1.1\n- passive\n - dfn for event listener , in § 2.7\n - dict-member for AddEventListenerOptions , in § 2.7\n- path , in § 2.2\n- pending mutation observers , in § 4.3\n- pointer before , in § 6.1\n- pointerBeforeReferenceNode , in § 6.1\n- position , in § 5.2\n- post-connection steps , in § 4.2.3\n- potential event target , in § 2.2\n- preceding , in § 1.1\n- prefix\n - attribute for Attr , in § 4.9.2\n - attribute for Element , in § 4.9\n- pre-insert , in § 4.2.3\n- prepend() , in § 4.2.6\n- prepend(...nodes) , in § 4.2.6\n- pre-remove , in § 4.2.3\n- preventDefault() , in § 2.2\n- previousElementSibling , in § 4.2.7\n- previousNode()\n - method for NodeIterator , in § 6.1\n - method for TreeWalker , in § 6.2\n- previous sibling , in § 1.1\n- previousSibling\n - attribute for MutationRecord , in § 4.3.3\n - attribute for Node , in § 4.4\n- previousSibling() , in § 6.2\n- ProcessingInstruction , in § 4.13\n- PROCESSING_INSTRUCTION_NODE , in § 4.4\n- ProcessingInstruction(target) , in § 4.13\n- ProcessingInstruction(target, data) , in § 4.13\n- public ID , in § 4.6\n- publicId , in § 4.6\n- qualified name\n - dfn for Attr , in § 4.9.2\n - dfn for Element , in § 4.9\n- querySelectorAll(selectors) , in § 4.2.6\n- querySelector(selectors) , in § 4.2.6\n- queue a mutation observer microtask , in § 4.3\n- queue a mutation record , in § 4.3.2\n- queue a tree mutation record , in § 4.3.2\n- quirks mode , in § 4.5\n- Range , in § 5.5\n- range , in § 5.3\n- Range() , in § 5.5\n- RangeException , in § 11\n- reason , in § 3.2\n- record queue , in § 4.3.1\n- reference , in § 6.1\n- referenceNode , in § 6.1\n- reflect , in § 4.9\n- registered observer , in § 4.3\n- registered observer list , in § 4.3\n- relatedTarget\n - dfn for Event , in § 2.2\n - dfn for event path item , in § 2.2\n- remove\n - definition of , in § 4.2.3\n - dfn for AbortSignal , in § 3.2\n- remove()\n - method for ChildNode , in § 4.2.8\n - method for DOMTokenList , in § 7.1\n- remove all event listeners , in § 2.7\n- remove an attribute , in § 4.9\n- remove an attribute by name , in § 4.9\n- remove an attribute by namespace and local name , in § 4.9\n- remove an event listener , in § 2.7\n- removeAttribute(name) , in § 4.13\n- removeAttributeNode(attr) , in § 4.9\n- removeAttributeNS(namespace, localName) , in § 4.9\n- removeAttribute(qualifiedName) , in § 4.9\n- removeChild(child) , in § 4.4\n- removed , in § 2.7\n- removedNodes , in § 4.3.3\n- removeEventListener(type, callback) , in § 2.7\n- removeEventListener(type, callback, options) , in § 2.7\n- removeNamedItemNS(namespace, localName) , in § 4.9.1\n- removeNamedItem(qualifiedName) , in § 4.9.1\n- removeParameter(namespaceURI, localName) , in § 9.1\n- remove(...tokens) , in § 7.1\n- remove(tokens) , in § 7.1\n- removing steps , in § 4.2.3\n- renameNode() , in § 11\n- replace , in § 4.2.3\n- replace all , in § 4.2.3\n- replace an attribute , in § 4.9\n- replaceChild(node, child) , in § 4.4\n- replaceChildren() , in § 4.2.6\n- replaceChildren(...nodes) , in § 4.2.6\n- replace data , in § 4.10\n- replaceData(offset, count, data) , in § 4.10\n- replace(token, newToken) , in § 7.1\n- replaceWholeText() , in § 11\n- replaceWith() , in § 4.2.8\n- replaceWith(...nodes) , in § 4.2.8\n- represented by the collection , in § 4.2.10\n- reset() , in § 9.1\n- resultType , in § 8.1\n- retarget , in § 4.8\n- retargeting , in § 4.8\n- returnValue , in § 2.2\n- root\n - attribute for NodeIterator , in § 6.1\n - attribute for TreeWalker , in § 6.2\n - dfn for live range , in § 5.5\n - dfn for traversal , in § 6\n - dfn for tree , in § 1.1\n- root-of-closed-tree , in § 2.2\n- run the abort steps , in § 3.2\n- schemaTypeInfo\n - attribute for Attr , in § 11\n - attribute for Element , in § 11\n- scope-match a selectors string , in § 1.3\n- select , in § 5.5\n- selectNodeContents(node) , in § 5.5\n- selectNode(node) , in § 5.5\n- selfOnly , in § 4.5\n- serializable\n - attribute for ShadowRoot , in § 4.8\n - dfn for ShadowRoot , in § 4.8\n - dict-member for ShadowRootInit , in § 4.9\n- serialize steps , in § 7.1\n- set an attribute , in § 4.9\n- set an attribute value , in § 4.9\n- set an existing attribute value , in § 4.9.2\n- setAttribute(name, value) , in § 4.13\n- setAttributeNode(attr) , in § 4.9\n- setAttributeNodeNS(attr) , in § 4.9\n- setAttributeNS(namespace, qualifiedName, value) , in § 4.9\n- setAttribute(qualifiedName, value) , in § 4.9\n- setEndAfter(node) , in § 5.5\n- setEndBefore(node) , in § 5.5\n- setEnd(node, offset) , in § 5.5\n- setIdAttribute() , in § 11\n- setIdAttributeNode() , in § 11\n- setIdAttributeNS() , in § 11\n- setNamedItem(attr) , in § 4.9.1\n- setNamedItemNS(attr) , in § 4.9.1\n- setParameter(namespaceURI, localName, value) , in § 9.1\n- setStartAfter(node) , in § 5.5\n- setStartBefore(node) , in § 5.5\n- setStart(node, offset) , in § 5.5\n- set text content , in § 4.4\n- set the canceled flag , in § 2.2\n- set the end , in § 5.5\n- set the start , in § 5.5\n- setUserData() , in § 11\n- shadow-adjusted target , in § 2.2\n- shadow host , in § 4.9\n- shadow-including ancestor , in § 4.8\n- shadow-including descendant , in § 4.8\n- shadow-including inclusive ancestor , in § 4.8\n- shadow-including inclusive descendant , in § 4.8\n- Shadow-including preorder, depth-first traversal , in § 4.8\n- shadow-including root , in § 4.8\n- shadow-including tree order , in § 4.8\n- shadow root\n - definition of , in § 4.8\n - dfn for Element , in § 4.9\n- ShadowRoot , in § 4.8\n- shadowRoot , in § 4.9\n- ShadowRootInit , in § 4.9\n- ShadowRootMode , in § 4.8\n- shadow tree , in § 4.2.2\n- SHOW_ALL , in § 6.3\n- SHOW_ATTRIBUTE , in § 6.3\n- SHOW_CDATA_SECTION , in § 6.3\n- SHOW_COMMENT , in § 6.3\n- SHOW_DOCUMENT , in § 6.3\n- SHOW_DOCUMENT_FRAGMENT , in § 6.3\n- SHOW_DOCUMENT_TYPE , in § 6.3\n- SHOW_ELEMENT , in § 6.3\n- SHOW_ENTITY , in § 6.3\n- SHOW_ENTITY_REFERENCE , in § 6.3\n- SHOW_NOTATION , in § 6.3\n- SHOW_PROCESSING_INSTRUCTION , in § 6.3\n- SHOW_TEXT , in § 6.3\n- sibling , in § 1.1\n- signal\n - attribute for AbortController , in § 3.1\n - dfn for AbortController , in § 3.1\n - dfn for event listener , in § 2.7\n - dict-member for AddEventListenerOptions , in § 2.7\n- signal abort\n - dfn for AbortController , in § 3.1\n - dfn for AbortSignal , in § 3.2\n- signal a slot change , in § 4.2.2.5\n- signal slots , in § 4.2.2.5\n- singleNodeValue , in § 8.1\n- slot\n - attribute for Element , in § 4.9\n - definition of , in § 4.2.2.1\n- slot assignment , in § 4.8\n- slotAssignment\n - attribute for ShadowRoot , in § 4.8\n - dict-member for ShadowRootInit , in § 4.9\n- SlotAssignmentMode , in § 4.8\n- slotchange , in § 4.3\n- slot-in-closed-tree , in § 2.2\n- Slottable , in § 4.2.9\n- slottable , in § 4.2.2.2\n- snapshotItem(index) , in § 8.1\n- snapshotLength , in § 8.1\n- source , in § 4.3\n- source signals , in § 3.2\n- specified , in § 4.9.2\n- split a Text node , in § 4.11\n- splitText(offset) , in § 4.11\n- srcElement , in § 2.2\n- start , in § 5.3\n- startContainer\n - attribute for AbstractRange , in § 5.3\n - dict-member for StaticRangeInit , in § 5.4\n- start node , in § 5.3\n- start offset , in § 5.3\n- startOffset\n - attribute for AbstractRange , in § 5.3\n - dict-member for StaticRangeInit , in § 5.4\n- START_TO_END , in § 5.5\n- START_TO_START , in § 5.5\n- static collection , in § 4.2.10\n- StaticRange , in § 5.4\n- StaticRange(init) , in § 5.4\n- StaticRangeInit , in § 5.4\n- stopImmediatePropagation() , in § 2.2\n- stop immediate propagation flag , in § 2.2\n- stopPropagation() , in § 2.2\n- stop propagation flag , in § 2.2\n- strictErrorChecking , in § 11\n- stringification behavior , in § 7.1\n- stringificationbehavior , in § 5.5\n- string replace all , in § 4.4\n- STRING_TYPE , in § 8.1\n- stringValue , in § 8.1\n- substring data , in § 4.10\n- substringData(offset, count) , in § 4.10\n- subtree\n - dfn for clone a node , in § 4.4\n - dict-member for MutationObserverInit , in § 4.3.1\n- supported tokens , in § 7.1\n- supports(token) , in § 7.1\n- suppressObservers\n - dfn for insert , in § 4.2.3\n - dfn for remove , in § 4.2.3\n- surroundContents(newParent) , in § 5.5\n- system ID , in § 4.6\n- systemId , in § 4.6\n- tagName , in § 4.9\n- takeRecords() , in § 4.3.1\n- target\n - attribute for Event , in § 2.2\n - attribute for MutationRecord , in § 4.3.3\n - attribute for ProcessingInstruction , in § 4.13\n - dfn for Event , in § 2.2\n - dfn for ProcessingInstruction , in § 4.13\n- Text , in § 4.11\n- Text() , in § 4.11\n- textContent , in § 4.4\n- Text(data) , in § 4.11\n- TEXT_NODE , in § 4.4\n- throwIfAborted() , in § 3.2\n- timeout(milliseconds) , in § 3.2\n- timeStamp , in § 2.2\n- toggleAttribute(name) , in § 4.13\n- toggleAttribute(name, force) , in § 4.13\n- toggleAttribute(qualifiedName) , in § 4.9\n- toggleAttribute(qualifiedName, force) , in § 4.9\n- toggle(token) , in § 7.1\n- toggle(token, force) , in § 7.1\n- token set , in § 7.1\n- touch target list\n - dfn for Event , in § 2.2\n - dfn for event path item , in § 2.2\n- transformToDocument(source) , in § 9.1\n- transformToFragment(source, output) , in § 9.1\n- transient registered observer , in § 4.3\n- traverse , in § 6.1\n- traverse children , in § 6.2\n- traverse siblings , in § 6.2\n- tree , in § 1.1\n- tree order , in § 1.1\n- TreeWalker , in § 6.2\n- type\n - attribute for Event , in § 2.2\n - attribute for MutationRecord , in § 4.3.3\n - dfn for Document , in § 4.5\n - dfn for event listener , in § 2.7\n- TypeInfo , in § 11\n- UNORDERED_NODE_ITERATOR_TYPE , in § 8.1\n- UNORDERED_NODE_SNAPSHOT_TYPE , in § 8.1\n- update attributes from data , in § 4.13\n- update data from attributes , in § 4.13\n- update steps , in § 7.1\n- URL\n - attribute for Document , in § 4.5\n - dfn for Document , in § 4.5\n- UserDataHandler , in § 11\n- valid , in § 5.4\n- validate and extract , in § 1.4\n- validation steps , in § 7.1\n- valid attribute local name , in § 1.4\n- valid doctype name , in § 1.4\n- valid element local name , in § 1.4\n- valid namespace prefix , in § 1.4\n- valid shadow host name , in § 4.9\n- value\n - attribute for Attr , in § 4.9.2\n - attribute for DOMTokenList , in § 7.1\n - dfn for Attr , in § 4.9.2\n- webkitMatchesSelector(selectors) , in § 4.9\n- whatToShow\n - attribute for NodeIterator , in § 6.1\n - attribute for TreeWalker , in § 6.2\n - dfn for traversal , in § 6\n- wholeText , in § 4.11\n- XML document , in § 4.5\n- XMLDocument , in § 4.5\n- xmlEncoding , in § 11\n- xmlStandalone , in § 11\n- xmlVersion , in § 11\n- XPathEvaluator , in § 8.4\n- XPathEvaluator() , in § 8.4\n- XPathEvaluatorBase , in § 8.3\n- XPathExpression , in § 8.2\n- XPathNSResolver , in § 8.3\n- XPathResult , in § 8.1\n- XSLTProcessor , in § 9.1\n- XSLTProcessor() , in § 9.1\n\n### Terms defined by reference\n\n- [] defines the following terms:\n - DeviceMotionEvent\n - DeviceOrientationEvent\n - TouchEvent\n - createContextualFragment()\n- [CONSOLE] defines the following terms:\n - report a warning to the console\n- [CSSOM-VIEW] defines the following terms:\n - getBoundingClientRect()\n - getClientRects()\n- [ECMASCRIPT] defines the following terms:\n - current realm\n - realm\n - surrounding agent\n- [ENCODING] defines the following terms:\n - encoding\n - name\n - UTF-8\n- [HR-TIME-3] defines the following terms:\n - DOMHighResTimeStamp\n - current high resolution time\n - relative high resolution coarse time\n- [HTML] defines the following terms:\n - BeforeUnloadEvent\n - CEReactions\n - CustomElementRegistry\n - DragEvent\n - EventHandler\n - HTMLAnchorElement\n - HTMLElement\n - HTMLHtmlElement\n - HTMLSlotElement\n - HTMLUnknownElement\n - HashChangeEvent\n - MessageEvent\n - StorageEvent\n - Window\n - active custom element constructor map\n - area\n - associated Document\n - browsing context\n - browsing context (for Document)\n - click()\n - constructor\n - current global object\n - custom element constructor\n - custom element definition\n - customized built-in element\n - disable shadow\n - document base URL\n - enqueue a custom element callback reaction\n - enqueue a custom element upgrade reaction\n - event handler\n - event handler event type\n - event handler IDL attribute\n - global object\n - head\n - html\n - HTML parser\n - in parallel\n - input\n - is scoped\n - local name\n - look up a custom element definition\n - look up a custom element registry\n - manually assigned nodes\n - microtask\n - name\n - opaque origin\n - origin\n - queue a global task\n - queue a microtask\n - relevant agent\n - relevant global object\n - relevant realm\n - report an exception\n - run steps after a timeout\n - scoped document set\n - script\n - similar-origin window agent\n - slot\n - style\n - template\n - the body element\n - timer task source\n - title\n - try to upgrade an element\n - upgrade an element\n - valid custom element name\n- [INFRA] defines the following terms:\n - append (for list)\n - append (for set)\n - ASCII alpha\n - ASCII case-insensitive\n - ASCII digit\n - ASCII lowercase\n - ASCII uppercase\n - ASCII whitespace\n - assert\n - break\n - clear\n - clone\n - code point\n - code unit\n - concatenation\n - contain\n - continue\n - empty\n - enqueue\n - exist (for list)\n - exist (for map)\n - for each (for list)\n - for each (for map)\n - getting the keys\n - HTML namespace\n - identical to\n - insert\n - is empty (for list)\n - is empty (for map)\n - is not empty\n - length\n - list\n - map\n - ordered set\n - prepend\n - queue\n - remove (for list)\n - remove (for map)\n - replace (for list)\n - replace (for set)\n - set\n - set (for map)\n - size\n - split on ASCII whitespace\n - string\n - struct\n - SVG namespace\n - tuple\n - with default\n - XML namespace\n - XMLNS namespace\n- [LONG-ANIMATION-FRAMES] defines the following terms:\n - record timing info for event listener\n- [POINTEREVENTS3] defines the following terms:\n - MouseEvent\n- [SELECTORS4] defines the following terms:\n - :defined\n - match a selector against a tree\n - match a selector against an element\n - parse a selector\n - scoping root\n- [SERVICE-WORKERS] defines the following terms:\n - ServiceWorkerGlobalScope\n - has ever been evaluated flag\n - script resource\n - service worker\n - service worker events\n - set of event types to handle\n- [TRUSTED-TYPES] defines the following terms:\n - TrustedType\n - get trusted type compliant attribute value\n- [UIEVENTS] defines the following terms:\n - CompositionEvent\n - FocusEvent\n - KeyboardEvent\n - TextEvent\n - UIEvent\n - detail\n- [URL] defines the following terms:\n - URL\n - URL serializer\n- [WEBIDL] defines the following terms:\n - AbortError\n - DOMException\n - DOMString\n - EnforceRange\n - Exposed\n - HierarchyRequestError\n - InUseAttributeError\n - IndexSizeError\n - InvalidCharacterError\n - InvalidNodeTypeError\n - InvalidStateError\n - LegacyNullToEmptyString\n - LegacyUnenumerableNamedProperties\n - LegacyUnforgeable\n - NamespaceError\n - NewObject\n - NotFoundError\n - NotSupportedError\n - PutForwards\n - Replaceable\n - SameObject\n - SyntaxError\n - TimeoutError\n - USVString\n - Unscopable\n - WrongDocumentError\n - a new promise\n - any\n - associated realm\n - boolean\n - call a user object's operation\n - callback this value\n - construct\n - converted to an IDL value\n - dictionary\n - identifier\n - implements\n - invoke\n - iterable\n - new\n - primary interface\n - reject\n - resolve\n - sequence\n - short\n - supported property indices\n - supported property names\n - this\n - throw\n - undefined\n - unrestricted double\n - unsigned long\n - unsigned long long\n - unsigned short\n- [XML] defines the following terms:\n - Name\n- [XML-STYLESHEET] defines the following terms:\n - name\n - parsing result\n - pseudo-attribute\n - rules for parsing pseudo-attributes from a string\n - value\n\n## References\n\n### Normative References\n\n[CONSOLE]\n Dominic Farolino; Robert Kowalski; Terin Stock. [Console Standard](https://console.spec.whatwg.org/). Living Standard. URL: [https://console.spec.whatwg.org/](https://console.spec.whatwg.org/)\n\n[DEVICE-ORIENTATION]\n Reilly Grant; Marcos Caceres. [Device Orientation and Motion](https://w3c.github.io/deviceorientation/). URL: [https://w3c.github.io/deviceorientation/](https://w3c.github.io/deviceorientation/)\n\n[ECMASCRIPT]\n [ECMAScript Language Specification](https://tc39.es/ecma262/multipage/). URL: [https://tc39.es/ecma262/multipage/](https://tc39.es/ecma262/multipage/)\n\n[ENCODING]\n Anne van Kesteren. [Encoding Standard](https://encoding.spec.whatwg.org/). Living Standard. URL: [https://encoding.spec.whatwg.org/](https://encoding.spec.whatwg.org/)\n\n[HR-TIME-3]\n Yoav Weiss. [High Resolution Time](https://w3c.github.io/hr-time/). URL: [https://w3c.github.io/hr-time/](https://w3c.github.io/hr-time/)\n\n[HTML]\n Anne van Kesteren; et al. [HTML Standard](https://html.spec.whatwg.org/multipage/). Living Standard. URL: [https://html.spec.whatwg.org/multipage/](https://html.spec.whatwg.org/multipage/)\n\n[INFRA]\n Anne van Kesteren; Domenic Denicola. [Infra Standard](https://infra.spec.whatwg.org/). Living Standard. URL: [https://infra.spec.whatwg.org/](https://infra.spec.whatwg.org/)\n\n[LONG-ANIMATION-FRAMES]\n Noam Rosenthal. [Long Animation Frames API](https://w3c.github.io/long-animation-frames/). URL: [https://w3c.github.io/long-animation-frames/](https://w3c.github.io/long-animation-frames/)\n\n[POINTEREVENTS3]\n Patrick Lauke; Robert Flack. [Pointer Events](https://w3c.github.io/pointerevents/). URL: [https://w3c.github.io/pointerevents/](https://w3c.github.io/pointerevents/)\n\n[SELECTORS4]\n Elika Etemad; Tab Atkins Jr.. [Selectors Level 4](https://drafts.csswg.org/selectors/). URL: [https://drafts.csswg.org/selectors/](https://drafts.csswg.org/selectors/)\n\n[SERVICE-WORKERS]\n Monica CHINTALA; Yoshisato Yanagisawa. [Service Workers Nightly](https://w3c.github.io/ServiceWorker/). URL: [https://w3c.github.io/ServiceWorker/](https://w3c.github.io/ServiceWorker/)\n\n[TOUCH-EVENTS]\n Doug Schepers; et al. [Touch Events](https://w3c.github.io/touch-events/). URL: [https://w3c.github.io/touch-events/](https://w3c.github.io/touch-events/)\n\n[TRUSTED-TYPES]\n Krzysztof Kotowicz. [Trusted Types](https://w3c.github.io/trusted-types/dist/spec/). URL: [https://w3c.github.io/trusted-types/dist/spec/](https://w3c.github.io/trusted-types/dist/spec/)\n\n[UIEVENTS]\n Xiaoqian Wu. [UI Events](https://w3c.github.io/uievents/). URL: [https://w3c.github.io/uievents/](https://w3c.github.io/uievents/)\n\n[URL]\n Anne van Kesteren. [URL Standard](https://url.spec.whatwg.org/). Living Standard. URL: [https://url.spec.whatwg.org/](https://url.spec.whatwg.org/)\n\n[WEBIDL]\n Edgar Chen; Timothy Gu. [Web IDL Standard](https://webidl.spec.whatwg.org/). Living Standard. URL: [https://webidl.spec.whatwg.org/](https://webidl.spec.whatwg.org/)\n\n[XML]\n Tim Bray; et al. [Extensible Markup Language (XML) 1.0 (Fifth Edition)](https://www.w3.org/TR/xml/). 26 November 2008. REC. URL: [https://www.w3.org/TR/xml/](https://www.w3.org/TR/xml/)\n\n[XML-NAMES]\n Tim Bray; et al. [Namespaces in XML 1.0 (Third Edition)](https://www.w3.org/TR/xml-names/). 8 December 2009. REC. URL: [https://www.w3.org/TR/xml-names/](https://www.w3.org/TR/xml-names/)\n\n[XML-STYLESHEET]\n James Clark; Simon Pieters; Henry Thompson. [Associating Style Sheets with XML documents 1.0 (Second Edition)](https://www.w3.org/TR/xml-stylesheet/). 28 October 2010. REC. URL: [https://www.w3.org/TR/xml-stylesheet/](https://www.w3.org/TR/xml-stylesheet/)\n\n### Non-Normative References\n\n[CSSOM-VIEW]\n Simon Fraser; Emilio Cobos Álvarez. [CSSOM View Module](https://drafts.csswg.org/cssom-view/). URL: [https://drafts.csswg.org/cssom-view/](https://drafts.csswg.org/cssom-view/)\n\n[DOM-Level-3-XPath]\n Ray Whitmer. [Document Object Model (DOM) Level 3 XPath Specification](https://www.w3.org/TR/DOM-Level-3-XPath/). 3 November 2020. NOTE. URL: [https://www.w3.org/TR/DOM-Level-3-XPath/](https://www.w3.org/TR/DOM-Level-3-XPath/)\n\n[DOM-Parsing]\n Travis Leithead. [DOM Parsing and Serialization](https://w3c.github.io/DOM-Parsing/). URL: [https://w3c.github.io/DOM-Parsing/](https://w3c.github.io/DOM-Parsing/)\n\n[FULLSCREEN]\n Philip Jägenstedt. [Fullscreen API Standard](https://fullscreen.spec.whatwg.org/). Living Standard. URL: [https://fullscreen.spec.whatwg.org/](https://fullscreen.spec.whatwg.org/)\n\n[INDEXEDDB]\n Nikunj Mehta; et al. [Indexed Database API](https://w3c.github.io/IndexedDB/). URL: [https://w3c.github.io/IndexedDB/](https://w3c.github.io/IndexedDB/)\n\n[XPath]\n James Clark; Steven DeRose. [XML Path Language (XPath) Version 1.0](https://www.w3.org/TR/xpath-10/). 16 November 1999. REC. URL: [https://www.w3.org/TR/xpath-10/](https://www.w3.org/TR/xpath-10/)\n\n[XSLT]\n James Clark. [XSL Transformations (XSLT) Version 1.0](https://www.w3.org/TR/xslt-10/). 16 November 1999. REC. URL: [https://www.w3.org/TR/xslt-10/](https://www.w3.org/TR/xslt-10/)\n\n## IDL Index\n\n```\n[Exposed=*]\ninterface Event {\n constructor(DOMString type, optional EventInit eventInitDict = {});\n\n readonly attribute DOMString type;\n readonly attribute EventTarget? target;\n readonly attribute EventTarget? srcElement; // legacy\n readonly attribute EventTarget? currentTarget;\n sequence composedPath();\n\n const unsigned short NONE = 0;\n const unsigned short CAPTURING_PHASE = 1;\n const unsigned short AT_TARGET = 2;\n const unsigned short BUBBLING_PHASE = 3;\n readonly attribute unsigned short eventPhase;\n\n undefined stopPropagation();\n attribute boolean cancelBubble; // legacy alias of .stopPropagation()\n undefined stopImmediatePropagation();\n\n readonly attribute boolean bubbles;\n readonly attribute boolean cancelable;\n attribute boolean returnValue; // legacy\n undefined preventDefault();\n readonly attribute boolean defaultPrevented;\n readonly attribute boolean composed;\n\n [LegacyUnforgeable] readonly attribute boolean isTrusted;\n readonly attribute DOMHighResTimeStamp timeStamp;\n\n undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // legacy\n};\n\ndictionary EventInit {\n boolean bubbles = false;\n boolean cancelable = false;\n boolean composed = false;\n};\n\npartial interface Window {\n [Replaceable] readonly attribute (Event or undefined) event; // legacy\n};\n\n[Exposed=*]\ninterface CustomEvent : Event {\n constructor(DOMString type, optional CustomEventInit eventInitDict = {});\n\n readonly attribute any detail;\n\n undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null); // legacy\n};\n\ndictionary CustomEventInit : EventInit {\n any detail = null;\n};\n\n[Exposed=*]\ninterface EventTarget {\n constructor();\n\n undefined addEventListener(DOMString type, EventListener? callback, optional (AddEventListenerOptions or boolean) options = {});\n undefined removeEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options = {});\n boolean dispatchEvent(Event event);\n};\n\ncallback interface EventListener {\n undefined handleEvent(Event event);\n};\n\ndictionary EventListenerOptions {\n boolean capture = false;\n};\n\ndictionary AddEventListenerOptions : EventListenerOptions {\n boolean passive;\n boolean once = false;\n AbortSignal signal;\n};\n\n[Exposed=*]\ninterface AbortController {\n constructor();\n\n [SameObject] readonly attribute AbortSignal signal;\n\n undefined abort(optional any reason);\n};\n\n[Exposed=*]\ninterface AbortSignal : EventTarget {\n [NewObject] static AbortSignal abort(optional any reason);\n [Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);\n [NewObject] static AbortSignal _any(sequence signals);\n\n readonly attribute boolean aborted;\n readonly attribute any reason;\n undefined throwIfAborted();\n\n attribute EventHandler onabort;\n};\ninterface mixin NonElementParentNode {\n Element? getElementById(DOMString elementId);\n};\nDocument includes NonElementParentNode;\nDocumentFragment includes NonElementParentNode;\n\ninterface mixin DocumentOrShadowRoot {\n readonly attribute CustomElementRegistry? customElementRegistry;\n};\nDocument includes DocumentOrShadowRoot;\nShadowRoot includes DocumentOrShadowRoot;\n\ninterface mixin ParentNode {\n [SameObject] readonly attribute HTMLCollection children;\n readonly attribute Element? firstElementChild;\n readonly attribute Element? lastElementChild;\n readonly attribute unsigned long childElementCount;\n\n [CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);\n\n [CEReactions] undefined moveBefore(Node node, Node? child);\n\n Element? querySelector(DOMString selectors);\n [NewObject] NodeList querySelectorAll(DOMString selectors);\n};\nDocument includes ParentNode;\nDocumentFragment includes ParentNode;\nElement includes ParentNode;\n\ninterface mixin NonDocumentTypeChildNode {\n readonly attribute Element? previousElementSibling;\n readonly attribute Element? nextElementSibling;\n};\nElement includes NonDocumentTypeChildNode;\nCharacterData includes NonDocumentTypeChildNode;\n\ninterface mixin ChildNode {\n [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);\n [CEReactions, Unscopable] undefined remove();\n};\nDocumentType includes ChildNode;\nElement includes ChildNode;\nCharacterData includes ChildNode;\n\ninterface mixin Slottable {\n readonly attribute HTMLSlotElement? assignedSlot;\n};\nElement includes Slottable;\nText includes Slottable;\n\n[Exposed=Window]\ninterface NodeList {\n getter Node? item(unsigned long index);\n readonly attribute unsigned long length;\n iterable;\n};\n\n[Exposed=Window, LegacyUnenumerableNamedProperties]\ninterface HTMLCollection {\n readonly attribute unsigned long length;\n getter Element? item(unsigned long index);\n getter Element? namedItem(DOMString name);\n};\n\n[Exposed=Window]\ninterface MutationObserver {\n constructor(MutationCallback callback);\n\n undefined observe(Node target, optional MutationObserverInit options = {});\n undefined disconnect();\n sequence takeRecords();\n};\n\ncallback MutationCallback = undefined (sequence mutations, MutationObserver observer);\n\ndictionary MutationObserverInit {\n boolean childList = false;\n boolean attributes;\n boolean characterData;\n boolean subtree = false;\n boolean attributeOldValue;\n boolean characterDataOldValue;\n sequence attributeFilter;\n};\n\n[Exposed=Window]\ninterface MutationRecord {\n readonly attribute DOMString type;\n [SameObject] readonly attribute Node target;\n [SameObject] readonly attribute NodeList addedNodes;\n [SameObject] readonly attribute NodeList removedNodes;\n readonly attribute Node? previousSibling;\n readonly attribute Node? nextSibling;\n readonly attribute DOMString? attributeName;\n readonly attribute DOMString? attributeNamespace;\n readonly attribute DOMString? oldValue;\n};\n\n[Exposed=Window]\ninterface Node : EventTarget {\n const unsigned short ELEMENT_NODE = 1;\n const unsigned short ATTRIBUTE_NODE = 2;\n const unsigned short TEXT_NODE = 3;\n const unsigned short CDATA_SECTION_NODE = 4;\n const unsigned short ENTITY_REFERENCE_NODE = 5; // legacy\n const unsigned short ENTITY_NODE = 6; // legacy\n const unsigned short PROCESSING_INSTRUCTION_NODE = 7;\n const unsigned short COMMENT_NODE = 8;\n const unsigned short DOCUMENT_NODE = 9;\n const unsigned short DOCUMENT_TYPE_NODE = 10;\n const unsigned short DOCUMENT_FRAGMENT_NODE = 11;\n const unsigned short NOTATION_NODE = 12; // legacy\n readonly attribute unsigned short nodeType;\n readonly attribute DOMString nodeName;\n\n readonly attribute USVString baseURI;\n\n readonly attribute boolean isConnected;\n readonly attribute Document? ownerDocument;\n Node getRootNode(optional GetRootNodeOptions options = {});\n readonly attribute Node? parentNode;\n readonly attribute Element? parentElement;\n boolean hasChildNodes();\n [SameObject] readonly attribute NodeList childNodes;\n readonly attribute Node? firstChild;\n readonly attribute Node? lastChild;\n readonly attribute Node? previousSibling;\n readonly attribute Node? nextSibling;\n\n [CEReactions] attribute DOMString? nodeValue;\n [CEReactions] attribute DOMString? textContent;\n [CEReactions] undefined normalize();\n\n [CEReactions, NewObject] Node cloneNode(optional boolean subtree = false);\n boolean isEqualNode(Node? otherNode);\n boolean isSameNode(Node? otherNode); // legacy alias of ===\n\n const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;\n const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;\n const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04;\n const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08;\n const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;\n const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;\n unsigned short compareDocumentPosition(Node other);\n boolean contains(Node? other);\n\n DOMString? lookupPrefix(DOMString? namespace);\n DOMString? lookupNamespaceURI(DOMString? prefix);\n boolean isDefaultNamespace(DOMString? namespace);\n\n [CEReactions] Node insertBefore(Node node, Node? child);\n [CEReactions] Node appendChild(Node node);\n [CEReactions] Node replaceChild(Node node, Node child);\n [CEReactions] Node removeChild(Node child);\n};\n\ndictionary GetRootNodeOptions {\n boolean composed = false;\n};\n\n[Exposed=Window]\ninterface Document : Node {\n constructor();\n\n [SameObject] readonly attribute DOMImplementation implementation;\n readonly attribute USVString URL;\n readonly attribute USVString documentURI;\n readonly attribute DOMString compatMode;\n readonly attribute DOMString characterSet;\n readonly attribute DOMString charset; // legacy alias of .characterSet\n readonly attribute DOMString inputEncoding; // legacy alias of .characterSet\n readonly attribute DOMString contentType;\n\n readonly attribute DocumentType? doctype;\n readonly attribute Element? documentElement;\n HTMLCollection getElementsByTagName(DOMString qualifiedName);\n HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);\n HTMLCollection getElementsByClassName(DOMString classNames);\n\n [CEReactions, NewObject] Element createElement(DOMString localName, optional (DOMString or ElementCreationOptions) options = {});\n [CEReactions, NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (DOMString or ElementCreationOptions) options = {});\n [NewObject] DocumentFragment createDocumentFragment();\n [NewObject] Text createTextNode(DOMString data);\n [NewObject] CDATASection createCDATASection(DOMString data);\n [NewObject] Comment createComment(DOMString data);\n [NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);\n\n [CEReactions, NewObject] Node importNode(Node node, optional (boolean or ImportNodeOptions) options = false);\n [CEReactions] Node adoptNode(Node node);\n\n [NewObject] Attr createAttribute(DOMString localName);\n [NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName);\n\n [NewObject] Event createEvent(DOMString interface); // legacy\n\n [NewObject] Range createRange();\n\n // NodeFilter.SHOW_ALL = 0xFFFFFFFF\n [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);\n [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);\n};\n\n[Exposed=Window]\ninterface XMLDocument : Document {};\n\ndictionary ElementCreationOptions {\n CustomElementRegistry? customElementRegistry;\n DOMString is;\n};\n\ndictionary ImportNodeOptions {\n CustomElementRegistry customElementRegistry;\n boolean selfOnly = false;\n};\n\n[Exposed=Window]\ninterface DOMImplementation {\n [NewObject] DocumentType createDocumentType(DOMString name, DOMString publicId, DOMString systemId);\n [NewObject] XMLDocument createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);\n [NewObject] Document createHTMLDocument(optional DOMString title);\n\n boolean hasFeature(); // historical; always returns true\n};\n\n[Exposed=Window]\ninterface DocumentType : Node {\n readonly attribute DOMString name;\n readonly attribute DOMString publicId;\n readonly attribute DOMString systemId;\n};\n\n[Exposed=Window]\ninterface DocumentFragment : Node {\n constructor();\n};\n\n[Exposed=Window]\ninterface ShadowRoot : DocumentFragment {\n readonly attribute ShadowRootMode mode;\n readonly attribute boolean delegatesFocus;\n readonly attribute boolean serializable;\n readonly attribute SlotAssignmentMode slotAssignment;\n readonly attribute boolean clonable;\n readonly attribute Element host;\n\n attribute EventHandler onslotchange;\n};\n\nenum ShadowRootMode { \"open\", \"closed\" };\nenum SlotAssignmentMode { \"manual\", \"named\" };\n\n[Exposed=Window]\ninterface Element : Node {\n readonly attribute DOMString? namespaceURI;\n readonly attribute DOMString? prefix;\n readonly attribute DOMString localName;\n readonly attribute DOMString tagName;\n\n [CEReactions] attribute DOMString id;\n [CEReactions] attribute DOMString className;\n [SameObject, PutForwards=value] readonly attribute DOMTokenList classList;\n [CEReactions, Unscopable] attribute DOMString slot;\n\n boolean hasAttributes();\n [SameObject] readonly attribute NamedNodeMap attributes;\n sequence getAttributeNames();\n DOMString? getAttribute(DOMString qualifiedName);\n DOMString? getAttributeNS(DOMString? namespace, DOMString localName);\n [CEReactions] undefined setAttribute(DOMString qualifiedName, (TrustedType or DOMString) value);\n [CEReactions] undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, (TrustedType or DOMString) value);\n [CEReactions] undefined removeAttribute(DOMString qualifiedName);\n [CEReactions] undefined removeAttributeNS(DOMString? namespace, DOMString localName);\n [CEReactions] boolean toggleAttribute(DOMString qualifiedName, optional boolean force);\n boolean hasAttribute(DOMString qualifiedName);\n boolean hasAttributeNS(DOMString? namespace, DOMString localName);\n\n Attr? getAttributeNode(DOMString qualifiedName);\n Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName);\n [CEReactions] Attr? setAttributeNode(Attr attr);\n [CEReactions] Attr? setAttributeNodeNS(Attr attr);\n [CEReactions] Attr removeAttributeNode(Attr attr);\n\n ShadowRoot attachShadow(ShadowRootInit init);\n readonly attribute ShadowRoot? shadowRoot;\n\n readonly attribute CustomElementRegistry? customElementRegistry;\n\n Element? closest(DOMString selectors);\n boolean matches(DOMString selectors);\n boolean webkitMatchesSelector(DOMString selectors); // legacy alias of .matches\n\n HTMLCollection getElementsByTagName(DOMString qualifiedName);\n HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);\n HTMLCollection getElementsByClassName(DOMString classNames);\n\n [CEReactions] Element? insertAdjacentElement(DOMString where, Element element); // legacy\n undefined insertAdjacentText(DOMString where, DOMString data); // legacy\n};\n\ndictionary ShadowRootInit {\n required ShadowRootMode mode;\n boolean delegatesFocus = false;\n boolean serializable = false;\n SlotAssignmentMode slotAssignment = \"named\";\n boolean clonable = false;\n CustomElementRegistry? customElementRegistry;\n};\n\n[Exposed=Window,\n LegacyUnenumerableNamedProperties]\ninterface NamedNodeMap {\n readonly attribute unsigned long length;\n getter Attr? item(unsigned long index);\n getter Attr? getNamedItem(DOMString qualifiedName);\n Attr? getNamedItemNS(DOMString? namespace, DOMString localName);\n [CEReactions] Attr? setNamedItem(Attr attr);\n [CEReactions] Attr? setNamedItemNS(Attr attr);\n [CEReactions] Attr removeNamedItem(DOMString qualifiedName);\n [CEReactions] Attr removeNamedItemNS(DOMString? namespace, DOMString localName);\n};\n\n[Exposed=Window]\ninterface Attr : Node {\n readonly attribute DOMString? namespaceURI;\n readonly attribute DOMString? prefix;\n readonly attribute DOMString localName;\n readonly attribute DOMString name;\n [CEReactions] attribute DOMString value;\n\n readonly attribute Element? ownerElement;\n\n readonly attribute boolean specified; // historical; always returns true\n};\n[Exposed=Window]\ninterface CharacterData : Node {\n attribute [LegacyNullToEmptyString] DOMString data;\n readonly attribute unsigned long length;\n DOMString substringData(unsigned long offset, unsigned long count);\n undefined appendData(DOMString data);\n undefined insertData(unsigned long offset, DOMString data);\n undefined deleteData(unsigned long offset, unsigned long count);\n undefined replaceData(unsigned long offset, unsigned long count, DOMString data);\n};\n\n[Exposed=Window]\ninterface Text : CharacterData {\n constructor(optional DOMString data = \"\");\n\n [NewObject] Text splitText(unsigned long offset);\n readonly attribute DOMString wholeText;\n};\n\n[Exposed=Window]\ninterface CDATASection : Text {\n};\n[Exposed=Window]\ninterface ProcessingInstruction : CharacterData {\n constructor(DOMString target, optional DOMString data = \"\");\n\n readonly attribute DOMString target;\n\n boolean hasAttributes();\n sequence getAttributeNames();\n DOMString? getAttribute(DOMString name);\n undefined setAttribute(DOMString name, DOMString value);\n undefined removeAttribute(DOMString name);\n boolean toggleAttribute(DOMString name, optional boolean force);\n boolean hasAttribute(DOMString name);\n};\n[Exposed=Window]\ninterface Comment : CharacterData {\n constructor(optional DOMString data = \"\");\n};\n\n[Exposed=Window]\ninterface AbstractRange {\n readonly attribute Node startContainer;\n readonly attribute unsigned long startOffset;\n readonly attribute Node endContainer;\n readonly attribute unsigned long endOffset;\n readonly attribute boolean collapsed;\n};\n\ndictionary StaticRangeInit {\n required Node startContainer;\n required unsigned long startOffset;\n required Node endContainer;\n required unsigned long endOffset;\n};\n\n[Exposed=Window]\ninterface StaticRange : AbstractRange {\n constructor(StaticRangeInit init);\n};\n\n[Exposed=Window]\ninterface Range : AbstractRange {\n constructor();\n\n readonly attribute Node commonAncestorContainer;\n\n undefined setStart(Node node, unsigned long offset);\n undefined setEnd(Node node, unsigned long offset);\n undefined setStartBefore(Node node);\n undefined setStartAfter(Node node);\n undefined setEndBefore(Node node);\n undefined setEndAfter(Node node);\n undefined collapse(optional boolean toStart = false);\n undefined selectNode(Node node);\n undefined selectNodeContents(Node node);\n\n const unsigned short START_TO_START = 0;\n const unsigned short START_TO_END = 1;\n const unsigned short END_TO_END = 2;\n const unsigned short END_TO_START = 3;\n short compareBoundaryPoints(unsigned short how, Range sourceRange);\n\n [CEReactions] undefined deleteContents();\n [CEReactions, NewObject] DocumentFragment extractContents();\n [CEReactions, NewObject] DocumentFragment cloneContents();\n [CEReactions] undefined insertNode(Node node);\n [CEReactions] undefined surroundContents(Node newParent);\n\n [NewObject] Range cloneRange();\n undefined detach();\n\n boolean isPointInRange(Node node, unsigned long offset);\n short comparePoint(Node node, unsigned long offset);\n\n boolean intersectsNode(Node node);\n\n stringifier;\n};\n\n[Exposed=Window]\ninterface NodeIterator {\n [SameObject] readonly attribute Node root;\n readonly attribute Node referenceNode;\n readonly attribute boolean pointerBeforeReferenceNode;\n readonly attribute unsigned long whatToShow;\n readonly attribute NodeFilter? filter;\n\n Node? nextNode();\n Node? previousNode();\n\n undefined detach();\n};\n\n[Exposed=Window]\ninterface TreeWalker {\n [SameObject] readonly attribute Node root;\n readonly attribute unsigned long whatToShow;\n readonly attribute NodeFilter? filter;\n attribute Node currentNode;\n\n Node? parentNode();\n Node? firstChild();\n Node? lastChild();\n Node? previousSibling();\n Node? nextSibling();\n Node? previousNode();\n Node? nextNode();\n};\n[Exposed=Window]\ncallback interface NodeFilter {\n // Constants for acceptNode()\n const unsigned short FILTER_ACCEPT = 1;\n const unsigned short FILTER_REJECT = 2;\n const unsigned short FILTER_SKIP = 3;\n\n // Constants for whatToShow\n const unsigned long SHOW_ALL = 0xFFFFFFFF;\n const unsigned long SHOW_ELEMENT = 0x1;\n const unsigned long SHOW_ATTRIBUTE = 0x2;\n const unsigned long SHOW_TEXT = 0x4;\n const unsigned long SHOW_CDATA_SECTION = 0x8;\n const unsigned long SHOW_ENTITY_REFERENCE = 0x10; // legacy\n const unsigned long SHOW_ENTITY = 0x20; // legacy\n const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x40;\n const unsigned long SHOW_COMMENT = 0x80;\n const unsigned long SHOW_DOCUMENT = 0x100;\n const unsigned long SHOW_DOCUMENT_TYPE = 0x200;\n const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x400;\n const unsigned long SHOW_NOTATION = 0x800; // legacy\n\n unsigned short acceptNode(Node node);\n};\n\n[Exposed=Window]\ninterface DOMTokenList {\n readonly attribute unsigned long length;\n getter DOMString? item(unsigned long index);\n boolean contains(DOMString token);\n [CEReactions] undefined add(DOMString... tokens);\n [CEReactions] undefined remove(DOMString... tokens);\n [CEReactions] boolean toggle(DOMString token, optional boolean force);\n [CEReactions] boolean replace(DOMString token, DOMString newToken);\n boolean supports(DOMString token);\n [CEReactions] stringifier attribute DOMString value;\n iterable;\n};\n\n[Exposed=Window]\ninterface XPathResult {\n const unsigned short ANY_TYPE = 0;\n const unsigned short NUMBER_TYPE = 1;\n const unsigned short STRING_TYPE = 2;\n const unsigned short BOOLEAN_TYPE = 3;\n const unsigned short UNORDERED_NODE_ITERATOR_TYPE = 4;\n const unsigned short ORDERED_NODE_ITERATOR_TYPE = 5;\n const unsigned short UNORDERED_NODE_SNAPSHOT_TYPE = 6;\n const unsigned short ORDERED_NODE_SNAPSHOT_TYPE = 7;\n const unsigned short ANY_UNORDERED_NODE_TYPE = 8;\n const unsigned short FIRST_ORDERED_NODE_TYPE = 9;\n\n readonly attribute unsigned short resultType;\n readonly attribute unrestricted double numberValue;\n readonly attribute DOMString stringValue;\n readonly attribute boolean booleanValue;\n readonly attribute Node? singleNodeValue;\n readonly attribute boolean invalidIteratorState;\n readonly attribute unsigned long snapshotLength;\n\n Node? iterateNext();\n Node? snapshotItem(unsigned long index);\n};\n\n[Exposed=Window]\ninterface XPathExpression {\n // XPathResult.ANY_TYPE = 0\n XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional XPathResult? result = null);\n};\n\ncallback interface XPathNSResolver {\n DOMString? lookupNamespaceURI(DOMString? prefix);\n};\n\ninterface mixin XPathEvaluatorBase {\n [NewObject] XPathExpression createExpression(DOMString expression, optional XPathNSResolver? resolver = null);\n Node createNSResolver(Node nodeResolver); // legacy\n // XPathResult.ANY_TYPE = 0\n XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional XPathResult? result = null);\n};\nDocument includes XPathEvaluatorBase;\n\n[Exposed=Window]\ninterface XPathEvaluator {\n constructor();\n};\n\nXPathEvaluator includes XPathEvaluatorBase;\n\n[Exposed=Window]\ninterface XSLTProcessor {\n constructor();\n undefined importStylesheet(Node style);\n [CEReactions] DocumentFragment transformToFragment(Node source, Document output);\n [CEReactions] Document transformToDocument(Node source);\n undefined setParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName, any value);\n any getParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);\n undefined removeParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);\n undefined clearParameters();\n undefined reset();\n};\n```\n\n**✔**MDN [AbortController/AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController) In all current engines. Firefox57+Safari12.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ [AbortController/abort](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) In all current engines. Firefox57+Safari12.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbortController/signal](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal) In all current engines. Firefox57+Safari12.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) In all current engines. Firefox57+Safari12.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbortSignal/abort_event](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_event) In all current engines. Firefox57+Safari11.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbortSignal/abort_event](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_event) In all current engines. Firefox57+Safari11.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbortSignal/abort_static](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_static) In all current engines. Firefox88+Safari15+Chrome93+ Opera?Edge93+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.12.0+ **✔**MDN [AbortSignal/aborted](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted) In all current engines. Firefox57+Safari11.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbortSignal/reason](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/reason) In all current engines. Firefox97+Safari15.4+Chrome98+ Opera?Edge98+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js17.2.0+ **✔**MDN [AbortSignal/throwIfAborted](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/throwIfAborted) In all current engines. Firefox97+Safari15.4+Chrome100+ Opera?Edge100+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js17.3.0+ **✔**MDN [AbortSignal/timeout_static](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout_static) In all current engines. Firefox100+Safari16+Chrome103+ Opera?Edge103+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js17.3.0+ **✔**MDN [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) In all current engines. Firefox57+Safari11.1+Chrome66+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [AbstractRange/collapsed](https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/collapsed) In all current engines. Firefox69+Safari14.1+Chrome90+ Opera?Edge90+ Edge (Legacy)NoneIENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Range/collapsed](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapsed) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [StaticRange/collapsed](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/collapsed) In all current engines. Firefox69+Safari10.1+Chrome60+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [AbstractRange/endContainer](https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/endContainer) In all current engines. Firefox69+Safari14.1+Chrome90+ Opera?Edge90+ Edge (Legacy)NoneIENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Range/endContainer](https://developer.mozilla.org/en-US/docs/Web/API/Range/endContainer) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [StaticRange/endContainer](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/endContainer) In all current engines. Firefox69+Safari10.1+Chrome60+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [AbstractRange/endOffset](https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/endOffset) In all current engines. Firefox69+Safari14.1+Chrome90+ Opera?Edge90+ Edge (Legacy)NoneIENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Range/endOffset](https://developer.mozilla.org/en-US/docs/Web/API/Range/endOffset) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [StaticRange/endOffset](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/endOffset) In all current engines. Firefox69+Safari10.1+Chrome60+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [AbstractRange/startContainer](https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/startContainer) In all current engines. Firefox69+Safari14.1+Chrome90+ Opera?Edge90+ Edge (Legacy)NoneIENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Range/startContainer](https://developer.mozilla.org/en-US/docs/Web/API/Range/startContainer) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [StaticRange/startContainer](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/startContainer) In all current engines. Firefox69+Safari10.1+Chrome60+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [AbstractRange/startOffset](https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/startOffset) In all current engines. Firefox69+Safari14.1+Chrome90+ Opera?Edge90+ Edge (Legacy)NoneIENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Range/startOffset](https://developer.mozilla.org/en-US/docs/Web/API/Range/startOffset) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [StaticRange/startOffset](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/startOffset) In all current engines. Firefox69+Safari10.1+Chrome60+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [AbstractRange](https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange) In all current engines. Firefox69+Safari14.1+Chrome90+ Opera?Edge90+ Edge (Legacy)NoneIENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Attr/localName](https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Attr/name](https://developer.mozilla.org/en-US/docs/Web/API/Attr/name) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Attr/namespaceURI](https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Attr/ownerElement](https://developer.mozilla.org/en-US/docs/Web/API/Attr/ownerElement) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Attr/prefix](https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Attr/value](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Attr](https://developer.mozilla.org/en-US/docs/Web/API/Attr) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [CDATASection](https://developer.mozilla.org/en-US/docs/Web/API/CDATASection) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/after](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/after) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentType/after](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/after](https://developer.mozilla.org/en-US/docs/Web/API/Element/after) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [CharacterData/appendData](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/appendData) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/before](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/before) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentType/before](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/before](https://developer.mozilla.org/en-US/docs/Web/API/Element/before) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [CharacterData/data](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/data) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/deleteData](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/deleteData) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/insertData](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/insertData) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/length](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/length) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/nextElementSibling](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/nextElementSibling) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/nextElementSibling](https://developer.mozilla.org/en-US/docs/Web/API/Element/nextElementSibling) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [CharacterData/previousElementSibling](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/previousElementSibling) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/previousElementSibling](https://developer.mozilla.org/en-US/docs/Web/API/Element/previousElementSibling) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [CharacterData/remove](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/remove) In all current engines. Firefox23+Safari7+Chrome24+ Opera?Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentType/remove](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/remove) In all current engines. Firefox23+Safari7+Chrome24+ Opera?Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) In all current engines. Firefox23+Safari7+Chrome24+ Opera?Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [CharacterData/replaceData](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceData) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData/replaceWith](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/replaceWith) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentType/replaceWith](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/replaceWith](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith) In all current engines. Firefox49+Safari10+Chrome54+ Opera39+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [CharacterData/substringData](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData/substringData) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CharacterData](https://developer.mozilla.org/en-US/docs/Web/API/CharacterData) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Comment/Comment](https://developer.mozilla.org/en-US/docs/Web/API/Comment/Comment) In all current engines. Firefox24+Safari8+Chrome29+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Comment](https://developer.mozilla.org/en-US/docs/Web/API/Comment) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [CustomEvent/CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent) In all current engines. Firefox11+Safari6+Chrome15+ Opera11.6+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12+ **✔**MDN [CustomEvent/detail](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail) In all current engines. Firefox6+Safari5+Chrome5+ Opera11.6+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari5+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12+ **✔**MDN [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent) In all current engines. Firefox6+Safari5+Chrome5+ Opera11+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari5+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile11+ Node.js19.0.0+ **✔**MDN [DOMImplementation/createDocument](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMImplementation/createDocumentType](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMImplementation/createHTMLDocument](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createHTMLDocument) In all current engines. Firefox4+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMImplementation](https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/add](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera12.1+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/contains](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera12.1+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/item](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/item) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera12.1+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/length](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera12.1+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/remove](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera12.1+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/replace](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/replace) In all current engines. Firefox49+Safari10.1+Chrome61+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [DOMTokenList/supports](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/supports) In all current engines. Firefox49+Safari10.1+Chrome49+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [DOMTokenList/toggle](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera12.1+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [DOMTokenList/value](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value) In all current engines. Firefox47+Safari10+Chrome50+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [DOMTokenList](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList) In all current engines. Firefox3.6+Safari5.1+Chrome8+ Opera11.5+Edge79+ Edge (Legacy)12+IE10+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile11.5+ **✔**MDN [Document/Document](https://developer.mozilla.org/en-US/docs/Web/API/Document/Document) In all current engines. Firefox20+Safari8+Chrome60+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Document/URL](https://developer.mozilla.org/en-US/docs/Web/API/Document/URL) In all current engines. Firefox1+Safari1+Chrome1+ Opera3+Edge79+ Edge (Legacy)12+IE4+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/adoptNode](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/append](https://developer.mozilla.org/en-US/docs/Web/API/Document/append) In all current engines. Firefox49+Safari10+Chrome54+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/append](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append) In all current engines. Firefox49+Safari10+Chrome54+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/append](https://developer.mozilla.org/en-US/docs/Web/API/Element/append) In all current engines. Firefox49+Safari10+Chrome54+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Document/characterSet](https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView1+Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/childElementCount](https://developer.mozilla.org/en-US/docs/Web/API/Document/childElementCount) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/childElementCount](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/childElementCount) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/childElementCount](https://developer.mozilla.org/en-US/docs/Web/API/Element/childElementCount) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/children](https://developer.mozilla.org/en-US/docs/Web/API/Document/children) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/children](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/children) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/children](https://developer.mozilla.org/en-US/docs/Web/API/Element/children) In all current engines. Firefox3.5+Safari4+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/compatMode](https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/contentType](https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType) In all current engines. Firefox1+Safari9+Chrome36+ Opera23+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile24+ **✔**MDN [Document/createAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute) In all current engines. Firefox44+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createAttributeNS](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttributeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createCDATASection](https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ [Document/createComment](https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createDocumentFragment](https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createElement](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement) In all current engines. Firefox1+Safari1+Chrome1+ Opera6+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android4+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/createElementNS](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createEvent](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/createExpression](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ [XPathEvaluator/createExpression](https://developer.mozilla.org/en-US/docs/Web/API/XPathEvaluator/createExpression) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createNodeIterator](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator) In all current engines. Firefox1+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/createNSResolver](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ [XPathEvaluator/createNSResolver](https://developer.mozilla.org/en-US/docs/Web/API/XPathEvaluator/createNSResolver) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createProcessingInstruction](https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createRange](https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/createTextNode](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/createTreeWalker](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker) In all current engines. Firefox1+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/doctype](https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/documentElement](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/documentURI](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/evaluate](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate) In all current engines. Firefox1+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ [XPathEvaluator/evaluate](https://developer.mozilla.org/en-US/docs/Web/API/XPathEvaluator/evaluate) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/firstElementChild](https://developer.mozilla.org/en-US/docs/Web/API/Document/firstElementChild) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/firstElementChild](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/firstElementChild) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/firstElementChild](https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/getElementById](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/getElementsByClassName](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName) In all current engines. Firefox3+Safari3.1+Chrome1+ Opera9.5+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/getElementsByTagName](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName) In all current engines. Firefox1+Safari1+Chrome1+ Opera5.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/getElementsByTagNameNS](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/implementation](https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Document/importNode](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/lastElementChild](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastElementChild) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/lastElementChild](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/lastElementChild) In all current engines. Firefox25+Safari9+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/lastElementChild](https://developer.mozilla.org/en-US/docs/Web/API/Element/lastElementChild) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/prepend](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend) In all current engines. Firefox49+Safari10+Chrome54+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/prepend](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend) In all current engines. Firefox49+Safari10+Chrome54+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/prepend](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend) In all current engines. Firefox49+Safari10+Chrome54+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Document/querySelector](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector) In all current engines. Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [DocumentFragment/querySelector](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelector) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) In all current engines. Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [DocumentFragment/querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelectorAll) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ [Element/querySelector](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector) In all current engines. Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ [Element/querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll) In all current engines. Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Document/replaceChildren](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren) In all current engines. Firefox78+Safari14+Chrome86+ Opera?Edge86+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [DocumentFragment/replaceChildren](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren) In all current engines. Firefox78+Safari14+Chrome86+ Opera?Edge86+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Element/replaceChildren](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren) In all current engines. Firefox78+Safari14+Chrome86+ Opera?Edge86+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Document](https://developer.mozilla.org/en-US/docs/Web/API/Document) In all current engines. Firefox1+Safari1+Chrome1+ Opera3+Edge79+ Edge (Legacy)12+IE4+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [DocumentFragment/DocumentFragment](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/DocumentFragment) In all current engines. Firefox24+Safari8+Chrome29+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [DocumentFragment/getElementById](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/getElementById) In all current engines. Firefox28+Safari9+Chrome36+ Opera?Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [DocumentFragment](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment) In all current engines. Firefox1+Safari3+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [DocumentType/name](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/name) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DocumentType/publicId](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/publicId) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DocumentType/systemId](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/systemId) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [DocumentType](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/assignedSlot](https://developer.mozilla.org/en-US/docs/Web/API/Element/assignedSlot) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Text/assignedSlot](https://developer.mozilla.org/en-US/docs/Web/API/Text/assignedSlot) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element/attachShadow](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element/attributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/classList](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList) In all current engines. Firefox3.6+Safari7+Chrome22+ Opera11.5+Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView4.4+Samsung Internet?Opera Mobile11.5+ **✔**MDN [Element/className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) In all current engines. Firefox1+Safari1+Chrome22+ Opera8+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/closest](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest) In all current engines. Firefox35+Safari6+Chrome41+ Opera?Edge79+ Edge (Legacy)15+IENone Firefox for Android?iOS Safari9+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element/getAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/getAttributeNames](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames) In all current engines. Firefox45+Safari10.1+Chrome61+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element/getAttributeNode](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/getAttributeNodeNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/getAttributeNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/getElementsByClassName](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByClassName) In all current engines. Firefox3+Safari3.1+Chrome1+ Opera9.5+Edge79+ Edge (Legacy)16+IENone Firefox for Android4+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/getElementsByTagName](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/getElementsByTagNameNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagNameNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/hasAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/hasAttributeNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/hasAttributes](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/id](https://developer.mozilla.org/en-US/docs/Web/API/Element/id) In all current engines. Firefox1+Safari1+Chrome23+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/insertAdjacentElement](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement) In all current engines. Firefox48+Safari3+Chrome1+ Opera8+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/insertAdjacentText](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText) In all current engines. Firefox48+Safari4+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari4+Chrome for Android?Android WebView2.2+Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/localName](https://developer.mozilla.org/en-US/docs/Web/API/Element/localName) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/matches](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches) In all current engines. Firefox34+Safari8+Chrome33+ Opera21+Edge79+ Edge (Legacy)15+IENone Firefox for Android34+iOS Safari?Chrome for Android?Android WebView4.4+Samsung Internet?Opera Mobile21+ **✔**MDN [Element/namespaceURI](https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/prefix](https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/removeAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/removeAttributeNode](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/removeAttributeNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/setAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/setAttributeNode](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/setAttributeNodeNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/setAttributeNS](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/shadowRoot](https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot) In all current engines. Firefox63+Safari10+Chrome35+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element/slot](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Global_attributes/slot](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/slot) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)NoneIE? Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element/tagName](https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Element/toggleAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute) In all current engines. Firefox63+Safari12+Chrome69+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE4+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [Event/Event](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event) In all current engines. Firefox11+Safari6+Chrome15+ Opera11.6+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12+ Node.js15.0.0+ **✔**MDN [Event/bubbles](https://developer.mozilla.org/en-US/docs/Web/API/Event/bubbles) In all current engines. Firefox1.5+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ Node.js14.5.0+ **✔**MDN [Event/cancelable](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelable) In all current engines. Firefox1.5+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ Node.js14.5.0+ **✔**MDN [Event/composed](https://developer.mozilla.org/en-US/docs/Web/API/Event/composed) In all current engines. Firefox52+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js14.5.0+ **✔**MDN [Event/composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) In all current engines. Firefox59+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js14.5.0+ **✔**MDN [Event/currentTarget](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [Event/defaultPrevented](https://developer.mozilla.org/en-US/docs/Web/API/Event/defaultPrevented) In all current engines. Firefox6+Safari5+Chrome5+ Opera11+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari5+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile11+ Node.js14.5.0+ **✔**MDN [Event/eventPhase](https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase) In all current engines. Firefox1.5+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ Node.js14.5.0+ **✔**MDN [Event/isTrusted](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted) In all current engines. Firefox1.5+Safari10+Chrome46+ Opera33+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView46+Samsung Internet?Opera Mobile33+ Node.js14.5.0+ **✔**MDN [Event/preventDefault](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [Event/stopImmediatePropagation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation) In all current engines. Firefox10+Safari5+Chrome5+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari5+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ Node.js14.5.0+ **✔**MDN [Event/stopPropagation](https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [Event/target](https://developer.mozilla.org/en-US/docs/Web/API/Event/target) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [Event/timeStamp](https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp) In all current engines. Firefox1.5+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView1+Samsung Internet?Opera Mobile12.1+ Node.js14.5.0+ **✔**MDN [Event/type](https://developer.mozilla.org/en-US/docs/Web/API/Event/type) In all current engines. Firefox1.5+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event) In all current engines. Firefox1+Safari1+Chrome1+ Opera4+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [EventTarget/EventTarget](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/EventTarget) In all current engines. Firefox59+Safari14+Chrome64+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? Node.js15.0.0+ **✔**MDN [EventTarget/addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView1+Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [EventTarget/dispatchEvent](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent) In all current engines. Firefox2+Safari3.1+Chrome4+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView4+Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [EventTarget/removeEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [EventTarget](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ Node.js14.5.0+ **✔**MDN [HTMLCollection/item](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/item) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [HTMLCollection/length](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/length) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [HTMLCollection/namedItem](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection/namedItem) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [HTMLCollection](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [HTMLSlotElement/slotchange_event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/slotchange_event) In all current engines. Firefox63+Safari10.1+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationObserver/MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/MutationObserver) In all current engines. Firefox14+Safari7+Chrome26+ Opera15+Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView4.4+Samsung Internet?Opera Mobile14+ **✔**MDN [MutationObserver/disconnect](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/disconnect) In all current engines. Firefox14+Safari6+Chrome18+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationObserver/observe](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe) In all current engines. Firefox14+Safari6+Chrome18+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari6+Chrome for Android?Android WebView4.4+Samsung Internet?Opera Mobile? **✔**MDN [MutationObserver/takeRecords](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/takeRecords) In all current engines. Firefox14+Safari6+Chrome20+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) In all current engines. Firefox14+Safari7+Chrome26+ Opera15+Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView4.4+Samsung Internet?Opera Mobile14+ **✔**MDN [MutationRecord/addedNodes](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/addedNodes) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/attributeName](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeName) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/attributeNamespace](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeNamespace) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/nextSibling](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/nextSibling) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/oldValue](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/oldValue) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/previousSibling](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/previousSibling) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/removedNodes](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/removedNodes) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/target](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/target) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord/type](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/type) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [MutationRecord](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord) In all current engines. Firefox14+Safari7+Chrome16+ Opera?Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [NamedNodeMap/getNamedItem](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItem) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/getNamedItemNS](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/getNamedItemNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/item](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/item) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/length](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/length) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/removeNamedItem](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItem) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/removeNamedItemNS](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItemNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/setNamedItem](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItem) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap/setNamedItemNS](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/setNamedItemNS) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NamedNodeMap](https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap) In all current engines. Firefox34+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/appendChild](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/baseURI](https://developer.mozilla.org/en-US/docs/Web/API/Node/baseURI) In all current engines. Firefox1+Safari4+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes) In all current engines. Firefox1+Safari1.2+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/cloneNode](https://developer.mozilla.org/en-US/docs/Web/API/Node/cloneNode) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/compareDocumentPosition](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition) In all current engines. Firefox1+Safari4+Chrome2+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/contains](https://developer.mozilla.org/en-US/docs/Web/API/Node/contains) In all current engines. Firefox9+Safari1.1+Chrome16+ Opera7+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/firstChild](https://developer.mozilla.org/en-US/docs/Web/API/Node/firstChild) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/getRootNode](https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode) In all current engines. Firefox53+Safari10.1+Chrome54+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Node/hasChildNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/hasChildNodes) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/insertBefore](https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/isConnected](https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected) In all current engines. Firefox49+Safari10+Chrome51+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet6.0+Opera Mobile? **✔**MDN [Node/isDefaultNamespace](https://developer.mozilla.org/en-US/docs/Web/API/Node/isDefaultNamespace) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/isEqualNode](https://developer.mozilla.org/en-US/docs/Web/API/Node/isEqualNode) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/isSameNode](https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode) In all current engines. Firefox48+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/lastChild](https://developer.mozilla.org/en-US/docs/Web/API/Node/lastChild) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android45+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/lookupNamespaceURI](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupNamespaceURI) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/lookupPrefix](https://developer.mozilla.org/en-US/docs/Web/API/Node/lookupPrefix) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/nextSibling](https://developer.mozilla.org/en-US/docs/Web/API/Node/nextSibling) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/nodeName](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/nodeType](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/nodeValue](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeValue) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/normalize](https://developer.mozilla.org/en-US/docs/Web/API/Node/normalize) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/ownerDocument](https://developer.mozilla.org/en-US/docs/Web/API/Node/ownerDocument) In all current engines. Firefox9+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/parentElement](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement) In all current engines. Firefox9+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE8+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/parentNode](https://developer.mozilla.org/en-US/docs/Web/API/Node/parentNode) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/previousSibling](https://developer.mozilla.org/en-US/docs/Web/API/Node/previousSibling) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5.5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Node/removeChild](https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/replaceChild](https://developer.mozilla.org/en-US/docs/Web/API/Node/replaceChild) In all current engines. Firefox1+Safari1.1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE6+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node/textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) In all current engines. Firefox1+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Node](https://developer.mozilla.org/en-US/docs/Web/API/Node) In all current engines. Firefox1+Safari1+Chrome1+ Opera7+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeIterator/filter](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/filter) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeIterator/nextNode](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/nextNode) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeIterator/pointerBeforeReferenceNode](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/pointerBeforeReferenceNode) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera15+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile14+ **✔**MDN [NodeIterator/previousNode](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/previousNode) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeIterator/referenceNode](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/referenceNode) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera15+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile14+ **✔**MDN [NodeIterator/root](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/root) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeIterator/whatToShow](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator/whatToShow) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeIterator](https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator) In all current engines. Firefox3.5+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeList/forEach](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach) In all current engines. Firefox50+Safari10+Chrome51+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [Reference/Global_Objects/Array/@@iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@iterator) In all current engines. Firefox36+Safari10+Chrome51+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? [NodeList](https://developer.mozilla.org/en-US/docs/Web/API/NodeList) In all current engines. Firefox1+Safari1+Chrome1+ Opera8+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [NodeList/item](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [NodeList/length](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/length) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [ProcessingInstruction/target](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction/target) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [ProcessingInstruction](https://developer.mozilla.org/en-US/docs/Web/API/ProcessingInstruction) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Range/Range](https://developer.mozilla.org/en-US/docs/Web/API/Range/Range) In all current engines. Firefox24+Safari8+Chrome29+ Opera?Edge79+ Edge (Legacy)15+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Range/cloneContents](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneContents) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/cloneRange](https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneRange) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/collapse](https://developer.mozilla.org/en-US/docs/Web/API/Range/collapse) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/commonAncestorContainer](https://developer.mozilla.org/en-US/docs/Web/API/Range/commonAncestorContainer) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/compareBoundaryPoints](https://developer.mozilla.org/en-US/docs/Web/API/Range/compareBoundaryPoints) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/comparePoint](https://developer.mozilla.org/en-US/docs/Web/API/Range/comparePoint) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)17+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Range/deleteContents](https://developer.mozilla.org/en-US/docs/Web/API/Range/deleteContents) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ MDN [Range/detach](https://developer.mozilla.org/en-US/docs/Web/API/Range/detach) Firefox1–15Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/extractContents](https://developer.mozilla.org/en-US/docs/Web/API/Range/extractContents) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/insertNode](https://developer.mozilla.org/en-US/docs/Web/API/Range/insertNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/intersectsNode](https://developer.mozilla.org/en-US/docs/Web/API/Range/intersectsNode) In all current engines. Firefox17+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)17+IENone Firefox for Android19+iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Range/isPointInRange](https://developer.mozilla.org/en-US/docs/Web/API/Range/isPointInRange) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)15+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Range/selectNode](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNode) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/selectNodeContents](https://developer.mozilla.org/en-US/docs/Web/API/Range/selectNodeContents) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/setEnd](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEnd) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/setEndAfter](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndAfter) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/setEndBefore](https://developer.mozilla.org/en-US/docs/Web/API/Range/setEndBefore) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/setStart](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStart) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/setStartAfter](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartAfter) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/setStartBefore](https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartBefore) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/surroundContents](https://developer.mozilla.org/en-US/docs/Web/API/Range/surroundContents) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range/toString](https://developer.mozilla.org/en-US/docs/Web/API/Range/toString) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [Range](https://developer.mozilla.org/en-US/docs/Web/API/Range) In all current engines. Firefox1+Safari1+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile10.1+ **✔**MDN [ShadowRoot/delegatesFocus](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus) In all current engines. Firefox94+Safari15+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [ShadowRoot/host](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/host) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [ShadowRoot/mode](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/mode) In all current engines. Firefox63+Safari10.1+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [ShadowRoot/slotAssignment](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/slotAssignment) In all current engines. Firefox92+Safari16.4+Chrome86+ Opera?Edge86+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [ShadowRoot](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [StaticRange/StaticRange](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/StaticRange) In all current engines. Firefox71+Safari13.1+Chrome90+ Opera?Edge90+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [StaticRange](https://developer.mozilla.org/en-US/docs/Web/API/StaticRange) In all current engines. Firefox69+Safari10.1+Chrome60+ Opera?Edge79+ Edge (Legacy)18IENone Firefox for Android79+iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Text/Text](https://developer.mozilla.org/en-US/docs/Web/API/Text/Text) In all current engines. Firefox24+Safari8+Chrome29+ Opera?Edge79+ Edge (Legacy)16+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile? **✔**MDN [Text/splitText](https://developer.mozilla.org/en-US/docs/Web/API/Text/splitText) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView1+Samsung Internet?Opera Mobile12.1+ **✔**MDN [Text/wholeText](https://developer.mozilla.org/en-US/docs/Web/API/Text/wholeText) In all current engines. Firefox3.5+Safari4+Chrome2+ Opera12.1+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [Text](https://developer.mozilla.org/en-US/docs/Web/API/Text) In all current engines. Firefox1+Safari1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IE5+ Firefox for Android?iOS Safari?Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ **✔**MDN [TreeWalker/currentNode](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/filter](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/firstChild](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/firstChild) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/lastChild](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/lastChild) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/nextNode](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextNode) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/nextSibling](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextSibling) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/parentNode](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/parentNode) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/previousNode](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousNode) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/previousSibling](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousSibling) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/root](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker/whatToShow](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [TreeWalker](https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker) In all current engines. Firefox4+Safari3+Chrome1+ Opera9+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android?iOS Safari3+Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile10.1+ **✔**MDN [XMLDocument](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument) In all current engines. Firefox1+Safari10+Chrome34+ Opera21+Edge79+ Edge (Legacy)12+IE11 Firefox for Android?iOS Safari10+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile21+ **✔**MDN [XPathEvaluator/XPathEvaluator](https://developer.mozilla.org/en-US/docs/Web/API/XPathEvaluator/XPathEvaluator) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathEvaluator](https://developer.mozilla.org/en-US/docs/Web/API/XPathEvaluator) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathExpression/evaluate](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression/evaluate) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathExpression](https://developer.mozilla.org/en-US/docs/Web/API/XPathExpression) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/booleanValue](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/invalidIteratorState](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/iterateNext](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/numberValue](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/resultType](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView37+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/singleNodeValue](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/snapshotItem](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/snapshotLength](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult/stringValue](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XPathResult](https://developer.mozilla.org/en-US/docs/Web/API/XPathResult) In all current engines. Firefox1+Safari3+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari1+Chrome for Android?Android WebView?Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/XSLTProcessor](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/XSLTProcessor) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/clearParameters](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/clearParameters) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/getParameter](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/getParameter) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/importStylesheet](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/importStylesheet) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/removeParameter](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/removeParameter) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/reset](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/reset) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/setParameter](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/setParameter) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/transformToDocument](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToDocument) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor/transformToFragment](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor/transformToFragment) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [XSLTProcessor](https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor) In all current engines. Firefox1+Safari3.1+Chrome1+ Opera12.1+Edge79+ Edge (Legacy)12+IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView3+Samsung Internet?Opera Mobile12.1+ **✔**MDN [Element/slot](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot) In all current engines. Firefox63+Safari10+Chrome53+ Opera?Edge79+ Edge (Legacy)?IENone Firefox for Android?iOS Safari?Chrome for Android?Android WebView?Samsung Internet?Opera Mobile?", "znaku_textu": 520284, "slov": 59376, "odkazu": 1790, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:50", "sha256": "bfde1117739cf93463ed17ba0af7d663abf098fbd126f2bcf92e93ce7d787487", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://whatwg.org/", "https://github.com/whatwg/dom", "https://github.com/whatwg/dom/issues/new/choose", "https://github.com/whatwg/dom/issues", "https://whatwg.org/chat", "https://github.com/whatwg/dom/commits", "https://github.com/web-platform-tests/wpt/tree/master/dom", "https://github.com/web-platform-tests/wpt/labels/dom", "https://triple-underscore.github.io/DOM4-ja.html", "https://htmlspecs.com/dom/", "https://ko.htmlspecs.com/dom/", "https://infra.spec.whatwg.org/", "https://drafts.csswg.org/selectors-4/", "https://webidl.spec.whatwg.org/", "https://w3c.github.io/hr-time/", "https://w3c.github.io/touch-events/", "https://html.spec.whatwg.org/multipage/interaction.html", "https://html.spec.whatwg.org/multipage/nav-history-apis.html", "https://tc39.es/ecma262/", "https://github.com/whatwg/dom/issues/600", "https://github.com/whatwg/webidl/issues/135", "https://html.spec.whatwg.org/multipage/webappapis.html", "https://www.w3.org/2008/webapps/", "https://html.spec.whatwg.org/multipage/image-maps.html", "https://w3c.github.io/pointerevents/", "https://html.spec.whatwg.org/multipage/input.html", "https://github.com/whatwg/dom/issues/583", "https://html.spec.whatwg.org/multipage/dom.html", "https://w3c.github.io/ServiceWorker/", "https://console.spec.whatwg.org/", "https://html.spec.whatwg.org/multipage/infrastructure.html", "https://w3c.github.io/long-animation-frames/", "https://w3c.github.io/uievents/", "https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html", "https://html.spec.whatwg.org/multipage/parsing.html", "https://software.hixie.ch/utilities/js/live-dom-viewer/", "https://html.spec.whatwg.org/multipage/text-level-semantics.html", "https://html.spec.whatwg.org/multipage/scripting.html", "https://html.spec.whatwg.org/multipage/document-sequences.html", "https://html.spec.whatwg.org/multipage/semantics.html", "https://html.spec.whatwg.org/multipage/custom-elements.html", "https://html.spec.whatwg.org/multipage/urls-and-fetching.html", "https://url.spec.whatwg.org/", "https://encoding.spec.whatwg.org/", "https://html.spec.whatwg.org/multipage/browsers.html", "https://www.w3.org/TR/xml/", "https://w3c.github.io/deviceorientation/spec-source-orientation.html", "https://html.spec.whatwg.org/multipage/dnd.html", "https://html.spec.whatwg.org/multipage/comms.html", "https://html.spec.whatwg.org/multipage/webstorage.html", "https://w3c.github.io/trusted-types/dist/spec/", "https://www.w3.org/TR/xml-stylesheet/", "https://w3c.github.io/DOM-Parsing/", "https://drafts.csswg.org/cssom-view-1/", "https://github.com/whatwg/dom/issues/67", "https://github.com/whatwg/dom/issues/181", "https://annevankesteren.nl/", "https://www.apple.com/", "https://github.com/w3c/webcomponents", "https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document", "https://creativecommons.org/licenses/by/4.0/", "https://opensource.org/licenses/BSD-3-Clause", "https://w3c.github.io/deviceorientation/", "https://tc39.es/ecma262/multipage/", "https://html.spec.whatwg.org/multipage/", "https://drafts.csswg.org/selectors/", "https://www.w3.org/TR/xml-names/", "https://drafts.csswg.org/cssom-view/", "https://www.w3.org/TR/DOM-Level-3-XPath/", "https://fullscreen.spec.whatwg.org/", "https://w3c.github.io/IndexedDB/", "https://www.w3.org/TR/xpath-10/", "https://www.w3.org/TR/xslt-10/", "https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController", "https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort", "https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal", "https://developer.mozilla.org/en-US/docs/Web/API/AbortController", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_event", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_static", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/reason", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/throwIfAborted", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout_static", "https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal", "https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/collapsed", "https://developer.mozilla.org/en-US/docs/Web/API/Range/collapsed", "https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/collapsed", "https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/endContainer", "https://developer.mozilla.org/en-US/docs/Web/API/Range/endContainer", "https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/endContainer", "https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/endOffset", "https://developer.mozilla.org/en-US/docs/Web/API/Range/endOffset", "https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/endOffset", "https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/startContainer", "https://developer.mozilla.org/en-US/docs/Web/API/Range/startContainer", "https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/startContainer", "https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/startOffset", "https://developer.mozilla.org/en-US/docs/Web/API/Range/startOffset", "https://developer.mozilla.org/en-US/docs/Web/API/StaticRange/startOffset", "https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange"]} {"url": "https://e-sbirka.gov.cz/sb/1995/40", "titulek": "e-Sbírka", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "cs", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:54", "sha256": "37dd573097faa5830749931e30b018a341e43056acc2abeac756bddd062b419d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://e-sbirka.gov.cz/sb/2004/480", "titulek": "e-Sbírka", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "cs", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://e-sbirka.gov.cz/sb/1995/40", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:55", "sha256": "37dd573097faa5830749931e30b018a341e43056acc2abeac756bddd062b419d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://e-sbirka.gov.cz/sb/2005/127", "titulek": "e-Sbírka", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "cs", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://e-sbirka.gov.cz/sb/1995/40", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:56", "sha256": "37dd573097faa5830749931e30b018a341e43056acc2abeac756bddd062b419d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://eur-lex.europa.eu/", "titulek": "EUR-Lex — Access to European Union law — choose your language", "h1": "EUR-Lex.europa.eu", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "EUR-Lex.europa.eu"}], "markdown": "# EUR-Lex.europa.eu\n\n- [bg Достъп до правото на Европейския съюз](./homepage.html?locale=bg)\n- [es El acceso al Derecho de la Unión Europea](./homepage.html?locale=es)\n- [cs Přístup k právu Evropské unie](./homepage.html?locale=cs)\n- [da Adgang til EU-lovgivningen](./homepage.html?locale=da)\n- [de Der Zugang zum EU-Recht](./homepage.html?locale=de)\n- [et Juurdepääs Euroopa Liidu õigusaktidele](./homepage.html?locale=et)\n- [el Πρόσβαση στο δίκαιο της Ευρωπαϊκής Ένωσης](./homepage.html?locale=el)\n- [en Access to European Union law](./homepage.html?locale=en)\n- [fr Accès au droit de l'Union européenne](./homepage.html?locale=fr)\n- [ga Rochtain ar dhlí an Aontais Eorpaigh](./homepage.html?locale=ga)\n- [hr Pristup zakonodavstvu Europske unije](./homepage.html?locale=hr)\n- [it L'accesso al diritto dell'Unione europea](./homepage.html?locale=it)\n- [lv Piekļuve Eiropas Savienības tiesību aktiem](./homepage.html?locale=lv)\n- [lt Prieiga prie Europos Sąjungos teisės](./homepage.html?locale=lt)\n- [hu Hozzáférés az európai uniós joghoz](./homepage.html?locale=hu)\n- [mt Aċċess għal-liġi tal-Unjoni Ewropea](./homepage.html?locale=mt)\n- [nl De toegang tot het recht van de Europese Unie](./homepage.html?locale=nl)\n- [pl Dostęp do aktów prawnych Unii Europejskiej](./homepage.html?locale=pl)\n- [pt Acesso ao direito da União Europeia](./homepage.html?locale=pt)\n- [ro Accesul la dreptul Uniunii Europene](./homepage.html?locale=ro)\n- [sk Prístup k právu Európskej únie](./homepage.html?locale=sk)\n- [sl Dostop do prava EU](./homepage.html?locale=sl)\n- [fi Euroopan unionin oikeus ulottuvillasi](./homepage.html?locale=fi)\n- [sv Ingång till EU-rätten](./homepage.html?locale=sv)", "znaku_textu": 1653, "slov": 154, "odkazu": 24, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:29:56", "sha256": "d04eb94de3a766b8291e8edba6656e8d4200ca93515d7914c18f458c3d0cea0e", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://eur-lex.europa.eu/eli/dec_impl/2018/1523/oj", "titulek": "Implementing decision - 2018/1523 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dec_impl/2018/1523/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Implementing decision - 2018/1523 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Implementing decision - 2018/1523 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32018D1523\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 639, "slov": 88, "odkazu": 209, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:30:08", "sha256": "d5a8af9fd95dc4322e0dd81c60e8bf8d359093346fdd3443b760323f036cca02", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dec_impl/2018/1523", "http://data.europa.eu/eli/dec_impl/2018/1523/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dec_impl/2018/1524/oj", "titulek": "Implementing decision - 2018/1524 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dec_impl/2018/1524/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Implementing decision - 2018/1524 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Implementing decision - 2018/1524 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32018D1524\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 639, "slov": 88, "odkazu": 209, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:30:19", "sha256": "0e8755ddb6b56726b71f153c60c174789a870b81654a6321c930c670ae542de3", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dec_impl/2018/1524", "http://data.europa.eu/eli/dec_impl/2018/1524/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2002/58/oj", "titulek": "Directive - 2002/58 - EN - eprivacy directive - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2002/58/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2002/58 - EN - eprivacy directive - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2002/58 - EN - eprivacy directive - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32002L0058\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 644, "slov": 89, "odkazu": 213, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:30:29", "sha256": "e3563883e4f0c70020a41d8e02534908b09c242287a107fcf6524f02c045ad38", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2002/58", "http://data.europa.eu/eli/dir/2002/58/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2005/29/oj", "titulek": "Directive - 2005/29 - EN - Unfair Commercial Practices Directive - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2005/29/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2005/29 - EN - Unfair Commercial Practices Directive - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2005/29 - EN - Unfair Commercial Practices Directive - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32005L0029\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 663, "slov": 91, "odkazu": 214, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:30:38", "sha256": "488a34d3034a9f834b001b9231191efd8ce9fa95bd4f76e90a845551c5500469", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2005/29", "http://data.europa.eu/eli/dir/2005/29/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2006/114/oj", "titulek": "Directive - 2006/114 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2006/114/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2006/114 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2006/114 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32006L0114\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 626, "slov": 87, "odkazu": 211, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:30:48", "sha256": "e5cf51216a68c21fdae9b990ae634211707382db627c007e61952e79ec4245e2", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2006/114", "http://data.europa.eu/eli/dir/2006/114/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2011/83/oj", "titulek": "Directive - 2011/83 - EN - consumer rights directive - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2011/83/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2011/83 - EN - consumer rights directive - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2011/83 - EN - consumer rights directive - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32011L0083\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 651, "slov": 90, "odkazu": 215, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:30:57", "sha256": "d78af13ece4096d6e13f06f1ba0088f760428a261e5d240d481e37b2d647071a", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2011/83", "http://data.europa.eu/eli/dir/2011/83/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2016/2102/oj", "titulek": "Directive - 2016/2102 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2016/2102/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2016/2102 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2016/2102 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32016L2102\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 627, "slov": 87, "odkazu": 212, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:31:08", "sha256": "debb647300138253ef6970d60d2535b688bfff6bef742c0f13db5f8576f5b5aa", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2016/2102", "http://data.europa.eu/eli/dir/2016/2102/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2019/2161/oj", "titulek": "Directive - 2019/2161 - EN - omnibus directive - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2019/2161/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2019/2161 - EN - omnibus directive - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2019/2161 - EN - omnibus directive - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32019L2161\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 645, "slov": 89, "odkazu": 211, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:31:18", "sha256": "0d9701fcda56c4ea13c402c6b6cf01850ed44ac63a55153ea842b0043873f327", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2019/2161", "http://data.europa.eu/eli/dir/2019/2161/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2019/770/oj", "titulek": "Directive - 2019/770 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2019/770/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2019/770 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2019/770 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32019L0770\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 626, "slov": 87, "odkazu": 212, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:31:29", "sha256": "4ef2eda72b5cee6861086ca5b154e09c41a4b09981cbba9601f6073dbe9597e5", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2019/770", "http://data.europa.eu/eli/dir/2019/770/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2019/771/oj", "titulek": "Directive - 2019/771 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2019/771/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2019/771 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2019/771 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32019L0771\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 626, "slov": 87, "odkazu": 213, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:31:37", "sha256": "01656158e893d5379e90956bbeb00852ca50cc00f6181e069f24e31e3b1fcbc6", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2019/771", "http://data.europa.eu/eli/dir/2019/771/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2019/882/oj", "titulek": "Directive - 2019/882 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2019/882/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2019/882 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2019/882 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32019L0882\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 626, "slov": 87, "odkazu": 212, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 00:31:46", "sha256": "6fb68be7caa6977720cbd595bad4d0284abc854ca4dba3ce97b23f20a44a334c", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2019/882", "http://data.europa.eu/eli/dir/2019/882/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/dir/2022/2555/oj", "titulek": "Directive - 2022/2555 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/dir/2022/2555/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Directive - 2022/2555 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Directive - 2022/2555 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32022L2555\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 627, "slov": 87, "odkazu": 212, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:13:16", "sha256": "5afb3c3721ecffb61e8fe4de5748dd43163990226dd8f2c73695bc4bfc8e412d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/dir/2022/2555", "http://data.europa.eu/eli/dir/2022/2555/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2016/679/oj", "titulek": "Regulation - 2016/679 - EN - gdpr - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2016/679/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - 2016/679 - EN - gdpr - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - 2016/679 - EN - gdpr - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32016R0679\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 632, "slov": 88, "odkazu": 211, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:13:32", "sha256": "62b8954cc83966cf446d48930e49a32eb7b2daac3300ef59d005b6670269ffd3", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2016/679", "http://data.europa.eu/eli/reg/2016/679/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2019/1150/oj", "titulek": "Regulation - 2019/1150 - EN - p2b regulation - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2019/1150/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - 2019/1150 - EN - p2b regulation - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - 2019/1150 - EN - p2b regulation - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32019R1150\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 643, "slov": 89, "odkazu": 211, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:13:44", "sha256": "12a8967787ca2f907f36c48c088d5e11a48bf8dbc7909b41af8cab2a50feb271", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2019/1150", "http://data.europa.eu/eli/reg/2019/1150/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2022/1925/oj", "titulek": "Regulation - 2022/1925 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2022/1925/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - 2022/1925 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - 2022/1925 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32022R1925\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 628, "slov": 87, "odkazu": 211, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:13:46", "sha256": "7e071161dc965f33035563db095e951d11c3fa1b2b4907568726ec5df66cbe9c", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2022/1925", "http://data.europa.eu/eli/reg/2022/1925/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2022/2065/oj", "titulek": "Regulation - 2022/2065 - EN - DSA - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2022/2065/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - 2022/2065 - EN - DSA - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - 2022/2065 - EN - DSA - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32022R2065\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 632, "slov": 88, "odkazu": 211, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:13:56", "sha256": "dcdf388f12335db95b7f861bd5d96b825292b9b539f7b7a323b6d0462e92e37f", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2022/2065", "http://data.europa.eu/eli/reg/2022/2065/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2022/868/oj", "titulek": "Regulation - 2022/868 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2022/868/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - 2022/868 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - 2022/868 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32022R0868\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 627, "slov": 87, "odkazu": 211, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:14:07", "sha256": "7d73e9773566c7c85b5dd2df859865be99a33f1c6b292abd794079aebcbc5872", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2022/868", "http://data.europa.eu/eli/reg/2022/868/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2023/2854/oj", "titulek": "Regulation - EU - 2023/2854 - EN - Data Act - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2023/2854/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - EU - 2023/2854 - EN - Data Act - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - EU - 2023/2854 - EN - Data Act - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32023R2854\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 640, "slov": 90, "odkazu": 212, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:14:16", "sha256": "b87cfee8dd7bb6e48c11097bdeae32650a9309afa82416d6f4c80b85fc4b0ff3", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2023/2854", "http://data.europa.eu/eli/reg/2023/2854/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2024/1183/oj", "titulek": "Regulation - EU - 2024/1183 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2024/1183/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - EU - 2024/1183 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - EU - 2024/1183 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32024R1183\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 631, "slov": 88, "odkazu": 211, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:14:42", "sha256": "d290053eec4bd42881c4ba522977b01a4e7f0233a00066e83eea07c91e6a1345", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2024/1183", "http://data.europa.eu/eli/reg/2024/1183/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2024/1689/oj", "titulek": "Regulation - EU - 2024/1689 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - EU - 2024/1689 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - EU - 2024/1689 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32024R1689\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 631, "slov": 88, "odkazu": 213, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:15:02", "sha256": "bb4787f81a41af1f4b1679298816b809078fbadc79a90eee899b3e781b9b115a", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2024/1689", "http://data.europa.eu/eli/reg/2024/1689/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2024/2847/oj", "titulek": "Regulation - 2024/2847 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2024/2847/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - 2024/2847 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - 2024/2847 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32024R2847\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 628, "slov": 87, "odkazu": 212, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:15:11", "sha256": "69524775039079476f6d80c5630948e076ce1a0303a3e03ef3ba466b0f3ea273", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2024/2847", "http://data.europa.eu/eli/reg/2024/2847/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg/2026/1744/oj", "titulek": "Regulation - EU - 2026/1744 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2026/1744/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Regulation - EU - 2026/1744 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Regulation - EU - 2026/1744 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32026R1744\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 631, "slov": 88, "odkazu": 210, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:15:20", "sha256": "50f9673d070d34a9aa8366a76f183359709f93c070d126884b32c8eb0a36d961", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2026/1744", "http://data.europa.eu/eli/reg/2026/1744/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/eli/reg_impl/2024/2979/oj", "titulek": "Implementing regulation - EU - 2024/2979 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg_impl/2024/2979/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Implementing regulation - EU - 2024/2979 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../../homepage.html)\n3. Implementing regulation - EU - 2024/2979 - EN - EUR-Lex\n\n- [Help](./../../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../../advanced-search-form.html)\n\nDocument 32024R2979\n\n- [Help](./../../../../content/help.html)", "znaku_textu": 644, "slov": 89, "odkazu": 212, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:15:27", "sha256": "987805db0d161d7330ba54ae19f15b35b2e249528e3b5c06cfb5c850ec54af6e", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg_impl/2024/2979", "http://data.europa.eu/eli/reg_impl/2024/2979/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/legal-content/CS/ALL/?uri=CELEX%3A32019R1150", "titulek": "Nařízení - 2019/1150 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2019/1150/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Nařízení - 2019/1150 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../homepage.html)\n3. Nařízení - 2019/1150 - EN - EUR-Lex\n\n- [Help](./../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../advanced-search-form.html)\n\nDocument 32019R1150\n\n- [Help](./../../../content/help.html)", "znaku_textu": 614, "slov": 87, "odkazu": 267, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:15:46", "sha256": "14d6229d158d462c239c2f36ceb39cfd41ecdf0ddaf96c4ea6633280d2a7e3e4", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2019/1150", "http://data.europa.eu/eli/reg/2019/1150/oj", "https://oeil.secure.europarl.europa.eu/oeil/en/procedure-file?reference=2018%2F0112%28COD%29", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/legal-content/CS/TXT/?uri=CELEX%3A32022R2065", "titulek": "Nařízení - 2022/2065 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/eli/reg/2022/2065/oj/eng", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "Nařízení - 2022/2065 - EN - EUR-Lex"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../homepage.html)\n3. Nařízení - 2022/2065 - EN - EUR-Lex\n\n- [Help](./../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../advanced-search-form.html)\n\nDocument 32022R2065\n\n- [Help](./../../../content/help.html)", "znaku_textu": 614, "slov": 87, "odkazu": 211, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:16:02", "sha256": "434e48f005287c1060fbf90fac05d1668d71396b4dbf1b410bc20959f789ee45", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://data.europa.eu/eli/reg/2022/2065", "http://data.europa.eu/eli/reg/2022/2065/oj", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/legal-content/EN/HIS/?uri=CELEX%3A52017PC0010", "titulek": "EUR-Lex - 52017PC0010 - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/legal-content/EN/HIS/?uri=celex:52017PC0010", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "EUR-Lex - 52017PC0010 - EN"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../homepage.html)\n3. EUR-Lex - 52017PC0010 - EN\n\n- [Help](./../../../content/help.html)\n- [Export PDF](./../../../print-pdf.html?pageTitle=EUR-Lex+-+52017PC0010+-+EN¤tUrl=%2Flegal-content%2FEN%2FHIS%2F%3Furi%3DCELEX%253A52017PC0010)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../advanced-search-form.html)\n\nDocument 52017PC0010\n\n- [Help](./../../../content/help.html)\n- [Export PDF](./../../../print-pdf.html?pageTitle=EUR-Lex+-+52017PC0010+-+EN¤tUrl=%2Flegal-content%2FEN%2FHIS%2F%3Furi%3DCELEX%253A52017PC0010)", "znaku_textu": 908, "slov": 100, "odkazu": 204, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 01:16:19", "sha256": "1b9e3d841583372fe707b7a296d883a885aa166794006e536aa5ef1e9d211c37", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "https://oeil.secure.europarl.europa.eu/oeil/en/procedure-file?reference=2017%2F0003%28COD%29", "https://law-tracker.europa.eu/procedure/2017_3", "https://dmsearch.eesc.europa.eu/search/opinion?k=%28documentyear%3A2017%29%28documentnumber%3A655%29&lang=all", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32002L0058", "titulek": "EUR-Lex - 32002L0058 - EN - EUR-Lex", "h1": "EUR-Lex Access to European Union law", "popis": "", "klicova_slova": "", "kanonicka": "http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32002L0058", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["EUROPA", "EU law and publications", "EUR-Lex", "EUR-Lex - 32002L0058 - EN"], "osnova": [{"uroven": 2, "text": "Document 32002L0058"}, {"uroven": 1, "text": "32002L0058"}], "markdown": "## Document 32002L0058\n\n[Permanent link](javascript:;) [Bookmark this item](javascript:;) [Download notice](./../../../download-notice.html?legalContentId=cellar:cb5af945-9d9f-40e6-acee-bd0c5bb4ed0a¬iceType=branch&callingUrl=%2Flegal-content%2FEN%2FTXT%2F%3Furi%3DCELEX%253A32002L0058&lng=EN)\n\n[Collapse all](javascript:;) | [Expand all](javascript:;)\n\n- [Text](./../../../legal-content/EN/TXT/?uri=CELEX:32002L0058)\n- [Document information](./../../../legal-content/EN/ALL/?uri=CELEX:32002L0058)\n- [Procedure](./../../../legal-content/EN/HIS/?uri=CELEX:32002L0058)\n- [National transposition](./../../../legal-content/EN/NIM/?uri=CELEX:32002L0058)\n- [Summary of legislation](./../../../legal-content/EN/LSU/?uri=CELEX:32002L0058)\n\nTitle and reference\n\n**Directive 2002/58/EC of the European Parliament and of the Council of 12 July 2002 concerning the processing of personal data and the protection of privacy in the electronic communications sector (Directive on privacy and electronic communications)**\n\n**Directive 2002/58/EC of the European Parliament and of the Council of 12 July 2002 concerning the processing of personal data and the protection of privacy in the electronic communications sector (Directive on privacy and electronic communications)**\n\n- In force\n\n*OJ L 201, 31.7.2002, p. 37–47 (ES, DA, DE, EL, EN, FR, IT, NL, PT, FI, SV)\nSpecial edition in Czech: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Estonian: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Latvian: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Lithuanian: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Hungarian Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Maltese: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Polish: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Slovak: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Slovene: Chapter 13 Volume 029 P. 514 - 524\nSpecial edition in Bulgarian: Chapter 13 Volume 036 P. 63 - 73\nSpecial edition in Romanian: Chapter 13 Volume 036 P. 63 - 73\nSpecial edition in Croatian: Chapter 13 Volume 052 P. 111 - 121* \n ELI: [http://data.europa.eu/eli/dir/2002/58/oj](http://data.europa.eu/eli/dir/2002/58/oj)\n\nLanguages, formats and link to OJ\n\n| | [BG](./../../../legal-content/BG/TXT/?uri=CELEX:32002L0058) | [ES](./../../../legal-content/ES/TXT/?uri=CELEX:32002L0058) | [CS](./../../../legal-content/CS/TXT/?uri=CELEX:32002L0058) | [DA](./../../../legal-content/DA/TXT/?uri=CELEX:32002L0058) | [DE](./../../../legal-content/DE/TXT/?uri=CELEX:32002L0058) | [ET](./../../../legal-content/ET/TXT/?uri=CELEX:32002L0058) | [EL](./../../../legal-content/EL/TXT/?uri=CELEX:32002L0058) | [EN](./../../../legal-content/EN/TXT/?uri=CELEX:32002L0058) | [FR](./../../../legal-content/FR/TXT/?uri=CELEX:32002L0058) | GA | [HR](./../../../legal-content/HR/TXT/?uri=CELEX:32002L0058) | [IT](./../../../legal-content/IT/TXT/?uri=CELEX:32002L0058) | [LV](./../../../legal-content/LV/TXT/?uri=CELEX:32002L0058) | [LT](./../../../legal-content/LT/TXT/?uri=CELEX:32002L0058) | [HU](./../../../legal-content/HU/TXT/?uri=CELEX:32002L0058) | [MT](./../../../legal-content/MT/TXT/?uri=CELEX:32002L0058) | [NL](./../../../legal-content/NL/TXT/?uri=CELEX:32002L0058) | [PL](./../../../legal-content/PL/TXT/?uri=CELEX:32002L0058) | [PT](./../../../legal-content/PT/TXT/?uri=CELEX:32002L0058) | [RO](./../../../legal-content/RO/TXT/?uri=CELEX:32002L0058) | [SK](./../../../legal-content/SK/TXT/?uri=CELEX:32002L0058) | [SL](./../../../legal-content/SL/TXT/?uri=CELEX:32002L0058) | [FI](./../../../legal-content/FI/TXT/?uri=CELEX:32002L0058) | [SV](./../../../legal-content/SV/TXT/?uri=CELEX:32002L0058) |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| HTML | | | | | | | | | | | | | | | | | | | | | | | | |\n| PDF | | | | | | | | | | | | | | | | | | | | | | | | |\n| Official Journal | | | | | | | | | | | | | | | | | | | | | | | | |\n\nMultilingual display\n\nText\n\n# 32002L0058\n\n**Directive 2002/58/EC of the European Parliament and of the Council of 12 July 2002 concerning the processing of personal data and the protection of privacy in the electronic communications sector (Directive on privacy and electronic communications)** \n *Official Journal L 201 , 31/07/2002 P. 0037 - 0047*\n\nDirective 2002/58/EC of the European Parliament and of the Council\n\nof 12 July 2002\n\nconcerning the processing of personal data and the protection of privacy in the electronic communications sector (Directive on privacy and electronic communications)\n\nTHE EUROPEAN PARLIAMENT AND THE COUNCIL OF THE EUROPEAN UNION,\n\nHaving regard to the Treaty establishing the European Community, and in particular Article 95 thereof,\n\nHaving regard to the proposal from the Commission(1),\n\nHaving regard to the opinion of the Economic and Social Committee(2),\n\nHaving consulted the Committee of the Regions,\n\nActing in accordance with the procedure laid down in Article 251 of the Treaty(3),\n\nWhereas:\n\n(1) Directive 95/46/EC of the European Parliament and of the Council of 24 October 1995 on the protection of individuals with regard to the processing of personal data and on the free movement of such data(4) requires Member States to ensure the rights and freedoms of natural persons with regard to the processing of personal data, and in particular their right to privacy, in order to ensure the free flow of personal data in the Community.\n\n(2) This Directive seeks to respect the fundamental rights and observes the principles recognised in particular by the Charter of fundamental rights of the European Union. In particular, this Directive seeks to ensure full respect for the rights set out in Articles 7 and 8 of that Charter.\n\n(3) Confidentiality of communications is guaranteed in accordance with the international instruments relating to human rights, in particular the European Convention for the Protection of Human Rights and Fundamental Freedoms, and the constitutions of the Member States.\n\n(4) Directive 97/66/EC of the European Parliament and of the Council of 15 December 1997 concerning the processing of personal data and the protection of privacy in the telecommunications sector(5) translated the principles set out in Directive 95/46/EC into specific rules for the telecommunications sector. Directive 97/66/EC has to be adapted to developments in the markets and technologies for electronic communications services in order to provide an equal level of protection of personal data and privacy for users of publicly available electronic communications services, regardless of the technologies used. That Directive should therefore be repealed and replaced by this Directive.\n\n(5) New advanced digital technologies are currently being introduced in public communications networks in the Community, which give rise to specific requirements concerning the protection of personal data and privacy of the user. The development of the information society is characterised by the introduction of new electronic communications services. Access to digital mobile networks has become available and affordable for a large public. These digital networks have large capacities and possibilities for processing personal data. The successful cross-border development of these services is partly dependent on the confidence of users that their privacy will not be at risk.\n\n(6) The Internet is overturning traditional market structures by providing a common, global infrastructure for the delivery of a wide range of electronic communications services. Publicly available electronic communications services over the Internet open new possibilities for users but also new risks for their personal data and privacy.\n\n(7) In the case of public communications networks, specific legal, regulatory and technical provisions should be made in order to protect fundamental rights and freedoms of natural persons and legitimate interests of legal persons, in particular with regard to the increasing capacity for automated storage and processing of data relating to subscribers and users.\n\n(8) Legal, regulatory and technical provisions adopted by the Member States concerning the protection of personal data, privacy and the legitimate interest of legal persons, in the electronic communication sector, should be harmonised in order to avoid obstacles to the internal market for electronic communication in accordance with Article 14 of the Treaty. Harmonisation should be limited to requirements necessary to guarantee that the promotion and development of new electronic communications services and networks between Member States are not hindered.\n\n(9) The Member States, providers and users concerned, together with the competent Community bodies, should cooperate in introducing and developing the relevant technologies where this is necessary to apply the guarantees provided for by this Directive and taking particular account of the objectives of minimising the processing of personal data and of using anonymous or pseudonymous data where possible.\n\n(10) In the electronic communications sector, Directive 95/46/EC applies in particular to all matters concerning protection of fundamental rights and freedoms, which are not specifically covered by the provisions of this Directive, including the obligations on the controller and the rights of individuals. Directive 95/46/EC applies to non-public communications services.\n\n(11) Like Directive 95/46/EC, this Directive does not address issues of protection of fundamental rights and freedoms related to activities which are not governed by Community law. Therefore it does not alter the existing balance between the individual's right to privacy and the possibility for Member States to take the measures referred to in Article 15(1) of this Directive, necessary for the protection of public security, defence, State security (including the economic well-being of the State when the activities relate to State security matters) and the enforcement of criminal law. Consequently, this Directive does not affect the ability of Member States to carry out lawful interception of electronic communications, or take other measures, if necessary for any of these purposes and in accordance with the European Convention for the Protection of Human Rights and Fundamental Freedoms, as interpreted by the rulings of the European Court of Human Rights. Such measures must be appropriate, strictly proportionate to the intended purpose and necessary within a democratic society and should be subject to adequate safeguards in accordance with the European Convention for the Protection of Human Rights and Fundamental Freedoms.\n\n(12) Subscribers to a publicly available electronic communications service may be natural or legal persons. By supplementing Directive 95/46/EC, this Directive is aimed at protecting the fundamental rights of natural persons and particularly their right to privacy, as well as the legitimate interests of legal persons. This Directive does not entail an obligation for Member States to extend the application of Directive 95/46/EC to the protection of the legitimate interests of legal persons, which is ensured within the framework of the applicable Community and national legislation.\n\n(13) The contractual relation between a subscriber and a service provider may entail a periodic or a one-off payment for the service provided or to be provided. Prepaid cards are also considered as a contract.\n\n(14) Location data may refer to the latitude, longitude and altitude of the user's terminal equipment, to the direction of travel, to the level of accuracy of the location information, to the identification of the network cell in which the terminal equipment is located at a certain point in time and to the time the location information was recorded.\n\n(15) A communication may include any naming, numbering or addressing information provided by the sender of a communication or the user of a connection to carry out the communication. Traffic data may include any translation of this information by the network over which the communication is transmitted for the purpose of carrying out the transmission. Traffic data may, inter alia, consist of data referring to the routing, duration, time or volume of a communication, to the protocol used, to the location of the terminal equipment of the sender or recipient, to the network on which the communication originates or terminates, to the beginning, end or duration of a connection. They may also consist of the format in which the communication is conveyed by the network.\n\n(16) Information that is part of a broadcasting service provided over a public communications network is intended for a potentially unlimited audience and does not constitute a communication in the sense of this Directive. However, in cases where the individual subscriber or user receiving such information can be identified, for example with video-on-demand services, the information conveyed is covered within the meaning of a communication for the purposes of this Directive.\n\n(17) For the purposes of this Directive, consent of a user or subscriber, regardless of whether the latter is a natural or a legal person, should have the same meaning as the data subject's consent as defined and further specified in Directive 95/46/EC. Consent may be given by any appropriate method enabling a freely given specific and informed indication of the user's wishes, including by ticking a box when visiting an Internet website.\n\n(18) Value added services may, for example, consist of advice on least expensive tariff packages, route guidance, traffic information, weather forecasts and tourist information.\n\n(19) The application of certain requirements relating to presentation and restriction of calling and connected line identification and to automatic call forwarding to subscriber lines connected to analogue exchanges should not be made mandatory in specific cases where such application would prove to be technically impossible or would require a disproportionate economic effort. It is important for interested parties to be informed of such cases and the Member States should therefore notify them to the Commission.\n\n(20) Service providers should take appropriate measures to safeguard the security of their services, if necessary in conjunction with the provider of the network, and inform subscribers of any special risks of a breach of the security of the network. Such risks may especially occur for electronic communications services over an open network such as the Internet or analogue mobile telephony. It is particularly important for subscribers and users of such services to be fully informed by their service provider of the existing security risks which lie outside the scope of possible remedies by the service provider. Service providers who offer publicly available electronic communications services over the Internet should inform users and subscribers of measures they can take to protect the security of their communications for instance by using specific types of software or encryption technologies. The requirement to inform subscribers of particular security risks does not discharge a service provider from the obligation to take, at its own costs, appropriate and immediate measures to remedy any new, unforeseen security risks and restore the normal security level of the service. The provision of information about security risks to the subscriber should be free of charge except for any nominal costs which the subscriber may incur while receiving or collecting the information, for instance by downloading an electronic mail message. Security is appraised in the light of Article 17 of Directive 95/46/EC.\n\n(21) Measures should be taken to prevent unauthorised access to communications in order to protect the confidentiality of communications, including both the contents and any data related to such communications, by means of public communications networks and publicly available electronic communications services. National legislation in some Member States only prohibits intentional unauthorised access to communications.\n\n(22) The prohibition of storage of communications and the related traffic data by persons other than the users or without their consent is not intended to prohibit any automatic, intermediate and transient storage of this information in so far as this takes place for the sole purpose of carrying out the transmission in the electronic communications network and provided that the information is not stored for any period longer than is necessary for the transmission and for traffic management purposes, and that during the period of storage the confidentiality remains guaranteed. Where this is necessary for making more efficient the onward transmission of any publicly accessible information to other recipients of the service upon their request, this Directive should not prevent such information from being further stored, provided that this information would in any case be accessible to the public without restriction and that any data referring to the individual subscribers or users requesting such information are erased.\n\n(23) Confidentiality of communications should also be ensured in the course of lawful business practice. Where necessary and legally authorised, communications can be recorded for the purpose of providing evidence of a commercial transaction. Directive 95/46/EC applies to such processing. Parties to the communications should be informed prior to the recording about the recording, its purpose and the duration of its storage. The recorded communication should be erased as soon as possible and in any case at the latest by the end of the period during which the transaction can be lawfully challenged.\n\n(24) Terminal equipment of users of electronic communications networks and any information stored on such equipment are part of the private sphere of the users requiring protection under the European Convention for the Protection of Human Rights and Fundamental Freedoms. So-called spyware, web bugs, hidden identifiers and other similar devices can enter the user's terminal without their knowledge in order to gain access to information, to store hidden information or to trace the activities of the user and may seriously intrude upon the privacy of these users. The use of such devices should be allowed only for legitimate purposes, with the knowledge of the users concerned.\n\n(25) However, such devices, for instance so-called \"cookies\", can be a legitimate and useful tool, for example, in analysing the effectiveness of website design and advertising, and in verifying the identity of users engaged in on-line transactions. Where such devices, for instance cookies, are intended for a legitimate purpose, such as to facilitate the provision of information society services, their use should be allowed on condition that users are provided with clear and precise information in accordance with Directive 95/46/EC about the purposes of cookies or similar devices so as to ensure that users are made aware of information being placed on the terminal equipment they are using. Users should have the opportunity to refuse to have a cookie or similar device stored on their terminal equipment. This is particularly important where users other than the original user have access to the terminal equipment and thereby to any data containing privacy-sensitive information stored on such equipment. Information and the right to refuse may be offered once for the use of various devices to be installed on the user's terminal equipment during the same connection and also covering any further use that may be made of those devices during subsequent connections. The methods for giving information, offering a right to refuse or requesting consent should be made as user-friendly as possible. Access to specific website content may still be made conditional on the well-informed acceptance of a cookie or similar device, if it is used for a legitimate purpose.\n\n(26) The data relating to subscribers processed within electronic communications networks to establish connections and to transmit information contain information on the private life of natural persons and concern the right to respect for their correspondence or concern the legitimate interests of legal persons. Such data may only be stored to the extent that is necessary for the provision of the service for the purpose of billing and for interconnection payments, and for a limited time. Any further processing of such data which the provider of the publicly available electronic communications services may want to perform, for the marketing of electronic communications services or for the provision of value added services, may only be allowed if the subscriber has agreed to this on the basis of accurate and full information given by the provider of the publicly available electronic communications services about the types of further processing it intends to perform and about the subscriber's right not to give or to withdraw his/her consent to such processing. Traffic data used for marketing communications services or for the provision of value added services should also be erased or made anonymous after the provision of the service. Service providers should always keep subscribers informed of the types of data they are processing and the purposes and duration for which this is done.\n\n(27) The exact moment of the completion of the transmission of a communication, after which traffic data should be erased except for billing purposes, may depend on the type of electronic communications service that is provided. For instance for a voice telephony call the transmission will be completed as soon as either of the users terminates the connection. For electronic mail the transmission is completed as soon as the addressee collects the message, typically from the server of his service provider.\n\n(28) The obligation to erase traffic data or to make such data anonymous when it is no longer needed for the purpose of the transmission of a communication does not conflict with such procedures on the Internet as the caching in the domain name system of IP addresses or the caching of IP addresses to physical address bindings or the use of log-in information to control the right of access to networks or services.\n\n(29) The service provider may process traffic data relating to subscribers and users where necessary in individual cases in order to detect technical failure or errors in the transmission of communications. Traffic data necessary for billing purposes may also be processed by the provider in order to detect and stop fraud consisting of unpaid use of the electronic communications service.\n\n(30) Systems for the provision of electronic communications networks and services should be designed to limit the amount of personal data necessary to a strict minimum. Any activities related to the provision of the electronic communications service that go beyond the transmission of a communication and the billing thereof should be based on aggregated, traffic data that cannot be related to subscribers or users. Where such activities cannot be based on aggregated data, they should be considered as value added services for which the consent of the subscriber is required.\n\n(31) Whether the consent to be obtained for the processing of personal data with a view to providing a particular value added service should be that of the user or of the subscriber, will depend on the data to be processed and on the type of service to be provided and on whether it is technically, procedurally and contractually possible to distinguish the individual using an electronic communications service from the legal or natural person having subscribed to it.\n\n(32) Where the provider of an electronic communications service or of a value added service subcontracts the processing of personal data necessary for the provision of these services to another entity, such subcontracting and subsequent data processing should be in full compliance with the requirements regarding controllers and processors of personal data as set out in Directive 95/46/EC. Where the provision of a value added service requires that traffic or location data are forwarded from an electronic communications service provider to a provider of value added services, the subscribers or users to whom the data are related should also be fully informed of this forwarding before giving their consent for the processing of the data.\n\n(33) The introduction of itemised bills has improved the possibilities for the subscriber to check the accuracy of the fees charged by the service provider but, at the same time, it may jeopardise the privacy of the users of publicly available electronic communications services. Therefore, in order to preserve the privacy of the user, Member States should encourage the development of electronic communication service options such as alternative payment facilities which allow anonymous or strictly private access to publicly available electronic communications services, for example calling cards and facilities for payment by credit card. To the same end, Member States may ask the operators to offer their subscribers a different type of detailed bill in which a certain number of digits of the called number have been deleted.\n\n(34) It is necessary, as regards calling line identification, to protect the right of the calling party to withhold the presentation of the identification of the line from which the call is being made and the right of the called party to reject calls from unidentified lines. There is justification for overriding the elimination of calling line identification presentation in specific cases. Certain subscribers, in particular help lines and similar organisations, have an interest in guaranteeing the anonymity of their callers. It is necessary, as regards connected line identification, to protect the right and the legitimate interest of the called party to withhold the presentation of the identification of the line to which the calling party is actually connected, in particular in the case of forwarded calls. The providers of publicly available electronic communications services should inform their subscribers of the existence of calling and connected line identification in the network and of all services which are offered on the basis of calling and connected line identification as well as the privacy options which are available. This will allow the subscribers to make an informed choice about the privacy facilities they may want to use. The privacy options which are offered on a per-line basis do not necessarily have to be available as an automatic network service but may be obtainable through a simple request to the provider of the publicly available electronic communications service.\n\n(35) In digital mobile networks, location data giving the geographic position of the terminal equipment of the mobile user are processed to enable the transmission of communications. Such data are traffic data covered by Article 6 of this Directive. However, in addition, digital mobile networks may have the capacity to process location data which are more precise than is necessary for the transmission of communications and which are used for the provision of value added services such as services providing individualised traffic information and guidance to drivers. The processing of such data for value added services should only be allowed where subscribers have given their consent. Even in cases where subscribers have given their consent, they should have a simple means to temporarily deny the processing of location data, free of charge.\n\n(36) Member States may restrict the users' and subscribers' rights to privacy with regard to calling line identification where this is necessary to trace nuisance calls and with regard to calling line identification and location data where this is necessary to allow emergency services to carry out their tasks as effectively as possible. For these purposes, Member States may adopt specific provisions to entitle providers of electronic communications services to provide access to calling line identification and location data without the prior consent of the users or subscribers concerned.\n\n(37) Safeguards should be provided for subscribers against the nuisance which may be caused by automatic call forwarding by others. Moreover, in such cases, it must be possible for subscribers to stop the forwarded calls being passed on to their terminals by simple request to the provider of the publicly available electronic communications service.\n\n(38) Directories of subscribers to electronic communications services are widely distributed and public. The right to privacy of natural persons and the legitimate interest of legal persons require that subscribers are able to determine whether their personal data are published in a directory and if so, which. Providers of public directories should inform the subscribers to be included in such directories of the purposes of the directory and of any particular usage which may be made of electronic versions of public directories especially through search functions embedded in the software, such as reverse search functions enabling users of the directory to discover the name and address of the subscriber on the basis of a telephone number only.\n\n(39) The obligation to inform subscribers of the purpose(s) of public directories in which their personal data are to be included should be imposed on the party collecting the data for such inclusion. Where the data may be transmitted to one or more third parties, the subscriber should be informed of this possibility and of the recipient or the categories of possible recipients. Any transmission should be subject to the condition that the data may not be used for other purposes than those for which they were collected. If the party collecting the data from the subscriber or any third party to whom the data have been transmitted wishes to use the data for an additional purpose, the renewed consent of the subscriber is to be obtained either by the initial party collecting the data or by the third party to whom the data have been transmitted.\n\n(40) Safeguards should be provided for subscribers against intrusion of their privacy by unsolicited communications for direct marketing purposes in particular by means of automated calling machines, telefaxes, and e-mails, including SMS messages. These forms of unsolicited commercial communications may on the one hand be relatively easy and cheap to send and on the other may impose a burden and/or cost on the recipient. Moreover, in some cases their volume may also cause difficulties for electronic communications networks and terminal equipment. For such forms of unsolicited communications for direct marketing, it is justified to require that prior explicit consent of the recipients is obtained before such communications are addressed to them. The single market requires a harmonised approach to ensure simple, Community-wide rules for businesses and users.\n\n(41) Within the context of an existing customer relationship, it is reasonable to allow the use of electronic contact details for the offering of similar products or services, but only by the same company that has obtained the electronic contact details in accordance with Directive 95/46/EC. When electronic contact details are obtained, the customer should be informed about their further use for direct marketing in a clear and distinct manner, and be given the opportunity to refuse such usage. This opportunity should continue to be offered with each subsequent direct marketing message, free of charge, except for any costs for the transmission of this refusal.\n\n(42) Other forms of direct marketing that are more costly for the sender and impose no financial costs on subscribers and users, such as person-to-person voice telephony calls, may justify the maintenance of a system giving subscribers or users the possibility to indicate that they do not want to receive such calls. Nevertheless, in order not to decrease existing levels of privacy protection, Member States should be entitled to uphold national systems, only allowing such calls to subscribers and users who have given their prior consent.\n\n(43) To facilitate effective enforcement of Community rules on unsolicited messages for direct marketing, it is necessary to prohibit the use of false identities or false return addresses or numbers while sending unsolicited messages for direct marketing purposes.\n\n(44) Certain electronic mail systems allow subscribers to view the sender and subject line of an electronic mail, and also to delete the message, without having to download the rest of the electronic mail's content or any attachments, thereby reducing costs which could arise from downloading unsolicited electronic mails or attachments. These arrangements may continue to be useful in certain cases as an additional tool to the general obligations established in this Directive.\n\n(45) This Directive is without prejudice to the arrangements which Member States make to protect the legitimate interests of legal persons with regard to unsolicited communications for direct marketing purposes. Where Member States establish an opt-out register for such communications to legal persons, mostly business users, the provisions of Article 7 of Directive 2000/31/EC of the European Parliament and of the Council of 8 June 2000 on certain legal aspects of information society services, in particular electronic commerce, in the internal market (Directive on electronic commerce)(6) are fully applicable.\n\n(46) The functionalities for the provision of electronic communications services may be integrated in the network or in any part of the terminal equipment of the user, including the software. The protection of the personal data and the privacy of the user of publicly available electronic communications services should be independent of the configuration of the various components necessary to provide the service and of the distribution of the necessary functionalities between these components. Directive 95/46/EC covers any form of processing of personal data regardless of the technology used. The existence of specific rules for electronic communications services alongside general rules for other components necessary for the provision of such services may not facilitate the protection of personal data and privacy in a technologically neutral way. It may therefore be necessary to adopt measures requiring manufacturers of certain types of equipment used for electronic communications services to construct their product in such a way as to incorporate safeguards to ensure that the personal data and privacy of the user and subscriber are protected. The adoption of such measures in accordance with Directive 1999/5/EC of the European Parliament and of the Council of 9 March 1999 on radio equipment and telecommunications terminal equipment and the mutual recognition of their conformity(7) will ensure that the introduction of technical features of electronic communication equipment including software for data protection purposes is harmonised in order to be compatible with the implementation of the internal market.\n\n(47) Where the rights of the users and subscribers are not respected, national legislation should provide for judicial remedies. Penalties should be imposed on any person, whether governed by private or public law, who fails to comply with the national measures taken under this Directive.\n\n(48) It is useful, in the field of application of this Directive, to draw on the experience of the Working Party on the Protection of Individuals with regard to the Processing of Personal Data composed of representatives of the supervisory authorities of the Member States, set up by Article 29 of Directive 95/46/EC.\n\n(49) To facilitate compliance with the provisions of this Directive, certain specific arrangements are needed for processing of data already under way on the date that national implementing legislation pursuant to this Directive enters into force,\n\nHAVE ADOPTED THIS DIRECTIVE:\n\nArticle 1\n\nScope and aim\n\n1. This Directive harmonises the provisions of the Member States required to ensure an equivalent level of protection of fundamental rights and freedoms, and in particular the right to privacy, with respect to the processing of personal data in the electronic communication sector and to ensure the free movement of such data and of electronic communication equipment and services in the Community.\n\n2. The provisions of this Directive particularise and complement Directive 95/46/EC for the purposes mentioned in paragraph 1. Moreover, they provide for protection of the legitimate interests of subscribers who are legal persons.\n\n3. This Directive shall not apply to activities which fall outside the scope of the Treaty establishing the European Community, such as those covered by Titles V and VI of the Treaty on European Union, and in any case to activities concerning public security, defence, State security (including the economic well-being of the State when the activities relate to State security matters) and the activities of the State in areas of criminal law.\n\nArticle 2\n\nDefinitions\n\nSave as otherwise provided, the definitions in Directive 95/46/EC and in Directive 2002/21/EC of the European Parliament and of the Council of 7 March 2002 on a common regulatory framework for electronic communications networks and services (Framework Directive)(8) shall apply.\n\nThe following definitions shall also apply:\n\n(a) \"user\" means any natural person using a publicly available electronic communications service, for private or business purposes, without necessarily having subscribed to this service;\n\n(b) \"traffic data\" means any data processed for the purpose of the conveyance of a communication on an electronic communications network or for the billing thereof;\n\n(c) \"location data\" means any data processed in an electronic communications network, indicating the geographic position of the terminal equipment of a user of a publicly available electronic communications service;\n\n(d) \"communication\" means any information exchanged or conveyed between a finite number of parties by means of a publicly available electronic communications service. This does not include any information conveyed as part of a broadcasting service to the public over an electronic communications network except to the extent that the information can be related to the identifiable subscriber or user receiving the information;\n\n(e) \"call\" means a connection established by means of a publicly available telephone service allowing two-way communication in real time;\n\n(f) \"consent\" by a user or subscriber corresponds to the data subject's consent in Directive 95/46/EC;\n\n(g) \"value added service\" means any service which requires the processing of traffic data or location data other than traffic data beyond what is necessary for the transmission of a communication or the billing thereof;\n\n(h) \"electronic mail\" means any text, voice, sound or image message sent over a public communications network which can be stored in the network or in the recipient's terminal equipment until it is collected by the recipient.\n\nArticle 3\n\nServices concerned\n\n1. This Directive shall apply to the processing of personal data in connection with the provision of publicly available electronic communications services in public communications networks in the Community.\n\n2. Articles 8, 10 and 11 shall apply to subscriber lines connected to digital exchanges and, where technically possible and if it does not require a disproportionate economic effort, to subscriber lines connected to analogue exchanges.\n\n3. Cases where it would be technically impossible or require a disproportionate economic effort to fulfil the requirements of Articles 8, 10 and 11 shall be notified to the Commission by the Member States.\n\nArticle 4\n\nSecurity\n\n1. The provider of a publicly available electronic communications service must take appropriate technical and organisational measures to safeguard security of its services, if necessary in conjunction with the provider of the public communications network with respect to network security. Having regard to the state of the art and the cost of their implementation, these measures shall ensure a level of security appropriate to the risk presented.\n\n2. In case of a particular risk of a breach of the security of the network, the provider of a publicly available electronic communications service must inform the subscribers concerning such risk and, where the risk lies outside the scope of the measures to be taken by the service provider, of any possible remedies, including an indication of the likely costs involved.\n\nArticle 5\n\nConfidentiality of the communications\n\n1. Member States shall ensure the confidentiality of communications and the related traffic data by means of a public communications network and publicly available electronic communications services, through national legislation. In particular, they shall prohibit listening, tapping, storage or other kinds of interception or surveillance of communications and the related traffic data by persons other than users, without the consent of the users concerned, except when legally authorised to do so in accordance with Article 15(1). This paragraph shall not prevent technical storage which is necessary for the conveyance of a communication without prejudice to the principle of confidentiality.\n\n2. Paragraph 1 shall not affect any legally authorised recording of communications and the related traffic data when carried out in the course of lawful business practice for the purpose of providing evidence of a commercial transaction or of any other business communication.\n\n3. Member States shall ensure that the use of electronic communications networks to store information or to gain access to information stored in the terminal equipment of a subscriber or user is only allowed on condition that the subscriber or user concerned is provided with clear and comprehensive information in accordance with Directive 95/46/EC, inter alia about the purposes of the processing, and is offered the right to refuse such processing by the data controller. This shall not prevent any technical storage or access for the sole purpose of carrying out or facilitating the transmission of a communication over an electronic communications network, or as strictly necessary in order to provide an information society service explicitly requested by the subscriber or user.\n\nArticle 6\n\nTraffic data\n\n1. Traffic data relating to subscribers and users processed and stored by the provider of a public communications network or publicly available electronic communications service must be erased or made anonymous when it is no longer needed for the purpose of the transmission of a communication without prejudice to paragraphs 2, 3 and 5 of this Article and Article 15(1).\n\n2. Traffic data necessary for the purposes of subscriber billing and interconnection payments may be processed. Such processing is permissible only up to the end of the period during which the bill may lawfully be challenged or payment pursued.\n\n3. For the purpose of marketing electronic communications services or for the provision of value added services, the provider of a publicly available electronic communications service may process the data referred to in paragraph 1 to the extent and for the duration necessary for such services or marketing, if the subscriber or user to whom the data relate has given his/her consent. Users or subscribers shall be given the possibility to withdraw their consent for the processing of traffic data at any time.\n\n4. The service provider must inform the subscriber or user of the types of traffic data which are processed and of the duration of such processing for the purposes mentioned in paragraph 2 and, prior to obtaining consent, for the purposes mentioned in paragraph 3.\n\n5. Processing of traffic data, in accordance with paragraphs 1, 2, 3 and 4, must be restricted to persons acting under the authority of providers of the public communications networks and publicly available electronic communications services handling billing or traffic management, customer enquiries, fraud detection, marketing electronic communications services or providing a value added service, and must be restricted to what is necessary for the purposes of such activities.\n\n6. Paragraphs 1, 2, 3 and 5 shall apply without prejudice to the possibility for competent bodies to be informed of traffic data in conformity with applicable legislation with a view to settling disputes, in particular interconnection or billing disputes.\n\nArticle 7\n\nItemised billing\n\n1. Subscribers shall have the right to receive non-itemised bills.\n\n2. Member States shall apply national provisions in order to reconcile the rights of subscribers receiving itemised bills with the right to privacy of calling users and called subscribers, for example by ensuring that sufficient alternative privacy enhancing methods of communications or payments are available to such users and subscribers.\n\nArticle 8\n\nPresentation and restriction of calling and connected line identification\n\n1. Where presentation of calling line identification is offered, the service provider must offer the calling user the possibility, using a simple means and free of charge, of preventing the presentation of the calling line identification on a per-call basis. The calling subscriber must have this possibility on a per-line basis.\n\n2. Where presentation of calling line identification is offered, the service provider must offer the called subscriber the possibility, using a simple means and free of charge for reasonable use of this function, of preventing the presentation of the calling line identification of incoming calls.\n\n3. Where presentation of calling line identification is offered and where the calling line identification is presented prior to the call being established, the service provider must offer the called subscriber the possibility, using a simple means, of rejecting incoming calls where the presentation of the calling line identification has been prevented by the calling user or subscriber.\n\n4. Where presentation of connected line identification is offered, the service provider must offer the called subscriber the possibility, using a simple means and free of charge, of preventing the presentation of the connected line identification to the calling user.\n\n5. Paragraph 1 shall also apply with regard to calls to third countries originating in the Community. Paragraphs 2, 3 and 4 shall also apply to incoming calls originating in third countries.\n\n6. Member States shall ensure that where presentation of calling and/or connected line identification is offered, the providers of publicly available electronic communications services inform the public thereof and of the possibilities set out in paragraphs 1, 2, 3 and 4.\n\nArticle 9\n\nLocation data other than traffic data\n\n1. Where location data other than traffic data, relating to users or subscribers of public communications networks or publicly available electronic communications services, can be processed, such data may only be processed when they are made anonymous, or with the consent of the users or subscribers to the extent and for the duration necessary for the provision of a value added service. The service provider must inform the users or subscribers, prior to obtaining their consent, of the type of location data other than traffic data which will be processed, of the purposes and duration of the processing and whether the data will be transmitted to a third party for the purpose of providing the value added service. Users or subscribers shall be given the possibility to withdraw their consent for the processing of location data other than traffic data at any time.\n\n2. Where consent of the users or subscribers has been obtained for the processing of location data other than traffic data, the user or subscriber must continue to have the possibility, using a simple means and free of charge, of temporarily refusing the processing of such data for each connection to the network or for each transmission of a communication.\n\n3. Processing of location data other than traffic data in accordance with paragraphs 1 and 2 must be restricted to persons acting under the authority of the provider of the public communications network or publicly available communications service or of the third party providing the value added service, and must be restricted to what is necessary for the purposes of providing the value added service.\n\nArticle 10\n\nExceptions\n\nMember States shall ensure that there are transparent procedures governing the way in which a provider of a public communications network and/or a publicly available electronic communications service may override:\n\n(a) the elimination of the presentation of calling line identification, on a temporary basis, upon application of a subscriber requesting the tracing of malicious or nuisance calls. In this case, in accordance with national law, the data containing the identification of the calling subscriber will be stored and be made available by the provider of a public communications network and/or publicly available electronic communications service;\n\n(b) the elimination of the presentation of calling line identification and the temporary denial or absence of consent of a subscriber or user for the processing of location data, on a per-line basis for organisations dealing with emergency calls and recognised as such by a Member State, including law enforcement agencies, ambulance services and fire brigades, for the purpose of responding to such calls.\n\nArticle 11\n\nAutomatic call forwarding\n\nMember States shall ensure that any subscriber has the possibility, using a simple means and free of charge, of stopping automatic call forwarding by a third party to the subscriber's terminal.\n\nArticle 12\n\nDirectories of subscribers\n\n1. Member States shall ensure that subscribers are informed, free of charge and before they are included in the directory, about the purpose(s) of a printed or electronic directory of subscribers available to the public or obtainable through directory enquiry services, in which their personal data can be included and of any further usage possibilities based on search functions embedded in electronic versions of the directory.\n\n2. Member States shall ensure that subscribers are given the opportunity to determine whether their personal data are included in a public directory, and if so, which, to the extent that such data are relevant for the purpose of the directory as determined by the provider of the directory, and to verify, correct or withdraw such data. Not being included in a public subscriber directory, verifying, correcting or withdrawing personal data from it shall be free of charge.\n\n3. Member States may require that for any purpose of a public directory other than the search of contact details of persons on the basis of their name and, where necessary, a minimum of other identifiers, additional consent be asked of the subscribers.\n\n4. Paragraphs 1 and 2 shall apply to subscribers who are natural persons. Member States shall also ensure, in the framework of Community law and applicable national legislation, that the legitimate interests of subscribers other than natural persons with regard to their entry in public directories are sufficiently protected.\n\nArticle 13\n\nUnsolicited communications\n\n1. The use of automated calling systems without human intervention (automatic calling machines), facsimile machines (fax) or electronic mail for the purposes of direct marketing may only be allowed in respect of subscribers who have given their prior consent.\n\n2. Notwithstanding paragraph 1, where a natural or legal person obtains from its customers their electronic contact details for electronic mail, in the context of the sale of a product or a service, in accordance with Directive 95/46/EC, the same natural or legal person may use these electronic contact details for direct marketing of its own similar products or services provided that customers clearly and distinctly are given the opportunity to object, free of charge and in an easy manner, to such use of electronic contact details when they are collected and on the occasion of each message in case the customer has not initially refused such use.\n\n3. Member States shall take appropriate measures to ensure that, free of charge, unsolicited communications for purposes of direct marketing, in cases other than those referred to in paragraphs 1 and 2, are not allowed either without the consent of the subscribers concerned or in respect of subscribers who do not wish to receive these communications, the choice between these options to be determined by national legislation.\n\n4. In any event, the practice of sending electronic mail for purposes of direct marketing disguising or concealing the identity of the sender on whose behalf the communication is made, or without a valid address to which the recipient may send a request that such communications cease, shall be prohibited.\n\n5. Paragraphs 1 and 3 shall apply to subscribers who are natural persons. Member States shall also ensure, in the framework of Community law and applicable national legislation, that the legitimate interests of subscribers other than natural persons with regard to unsolicited communications are sufficiently protected.\n\nArticle 14\n\nTechnical features and standardisation\n\n1. In implementing the provisions of this Directive, Member States shall ensure, subject to paragraphs 2 and 3, that no mandatory requirements for specific technical features are imposed on terminal or other electronic communication equipment which could impede the placing of equipment on the market and the free circulation of such equipment in and between Member States.\n\n2. Where provisions of this Directive can be implemented only by requiring specific technical features in electronic communications networks, Member States shall inform the Commission in accordance with the procedure provided for by Directive 98/34/EC of the European Parliament and of the Council of 22 June 1998 laying down a procedure for the provision of information in the field of technical standards and regulations and of rules on information society services(9).\n\n3. Where required, measures may be adopted to ensure that terminal equipment is constructed in a way that is compatible with the right of users to protect and control the use of their personal data, in accordance with Directive 1999/5/EC and Council Decision 87/95/EEC of 22 December 1986 on standardisation in the field of information technology and communications(10).\n\nArticle 15\n\nApplication of certain provisions of Directive 95/46/EC\n\n1. Member States may adopt legislative measures to restrict the scope of the rights and obligations provided for in Article 5, Article 6, Article 8(1), (2), (3) and (4), and Article 9 of this Directive when such restriction constitutes a necessary, appropriate and proportionate measure within a democratic society to safeguard national security (i.e. State security), defence, public security, and the prevention, investigation, detection and prosecution of criminal offences or of unauthorised use of the electronic communication system, as referred to in Article 13(1) of Directive 95/46/EC. To this end, Member States may, inter alia, adopt legislative measures providing for the retention of data for a limited period justified on the grounds laid down in this paragraph. All the measures referred to in this paragraph shall be in accordance with the general principles of Community law, including those referred to in Article 6(1) and (2) of the Treaty on European Union.\n\n2. The provisions of Chapter III on judicial remedies, liability and sanctions of Directive 95/46/EC shall apply with regard to national provisions adopted pursuant to this Directive and with regard to the individual rights derived from this Directive.\n\n3. The Working Party on the Protection of Individuals with regard to the Processing of Personal Data instituted by Article 29 of Directive 95/46/EC shall also carry out the tasks laid down in Article 30 of that Directive with regard to matters covered by this Directive, namely the protection of fundamental rights and freedoms and of legitimate interests in the electronic communications sector.\n\nArticle 16\n\nTransitional arrangements\n\n1. Article 12 shall not apply to editions of directories already produced or placed on the market in printed or off-line electronic form before the national provisions adopted pursuant to this Directive enter into force.\n\n2. Where the personal data of subscribers to fixed or mobile public voice telephony services have been included in a public subscriber directory in conformity with the provisions of Directive 95/46/EC and of Article 11 of Directive 97/66/EC before the national provisions adopted in pursuance of this Directive enter into force, the personal data of such subscribers may remain included in this public directory in its printed or electronic versions, including versions with reverse search functions, unless subscribers indicate otherwise, after having received complete information about purposes and options in accordance with Article 12 of this Directive.\n\nArticle 17\n\nTransposition\n\n1. Before 31 October 2003 Member States shall bring into force the provisions necessary to comply with this Directive. They shall forthwith inform the Commission thereof.\n\nWhen Member States adopt those provisions, they shall contain a reference to this Directive or be accompanied by such a reference on the occasion of their official publication. The methods of making such reference shall be laid down by the Member States.\n\n2. Member States shall communicate to the Commission the text of the provisions of national law which they adopt in the field governed by this Directive and of any subsequent amendments to those provisions.\n\nArticle 18\n\nReview\n\nThe Commission shall submit to the European Parliament and the Council, not later than three years after the date referred to in Article 17(1), a report on the application of this Directive and its impact on economic operators and consumers, in particular as regards the provisions on unsolicited communications, taking into account the international environment. For this purpose, the Commission may request information from the Member States, which shall be supplied without undue delay. Where appropriate, the Commission shall submit proposals to amend this Directive, taking account of the results of that report, any changes in the sector and any other proposal it may deem necessary in order to improve the effectiveness of this Directive.\n\nArticle 19\n\nRepeal\n\nDirective 97/66/EC is hereby repealed with effect from the date referred to in Article 17(1).\n\nReferences made to the repealed Directive shall be construed as being made to this Directive.\n\nArticle 20\n\nEntry into force\n\nThis Directive shall enter into force on the day of its publication in the Official Journal of the European Communities.\n\nArticle 21\n\nAddressees\n\nThis Directive is addressed to the Member States.\n\nDone at Brussels, 12 July 2002.\n\nFor the European Parliament\n\nThe President\n\nP. Cox\n\nFor the Council\n\nThe President\n\nT. Pedersen\n\n(1) OJ C 365 E, 19.12.2000, p. 223.\n\n(2) OJ C 123, 25.4.2001, p. 53.\n\n(3) Opinion of the European Parliament of 13 November 2001 (not yet published in the Official Journal), Council Common Position of 28 January 2002 (OJ C 113 E, 14.5.2002, p. 39) and Decision of the European Parliament of 30 May 2002 (not yet published in the Official Journal). Council Decision of 25 June 2002.\n\n(4) OJ L 281, 23.11.1995, p. 31.\n\n(5) OJ L 24, 30.1.1998, p. 1.\n\n(6) OJ L 178, 17.7.2000, p. 1.\n\n(7) OJ L 91, 7.4.1999, p. 10.\n\n(8) OJ L 108, 24.4.2002, p. 33.\n\n(9) OJ L 204, 21.7.1998, p. 37. Directive as amended by Directive 98/48/EC (OJ L 217, 5.8.1998, p. 18).\n\n(10) OJ L 36, 7.2.1987, p. 31. Decision as last amended by the 1994 Act of Accession.\n\nTop", "znaku_textu": 59856, "slov": 9024, "odkazu": 163, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "archiv", "wb_ts": "20170910125955", "stazeno": "2026-09-14 02:10:35", "sha256": "ab3a2a012a1ce90db36193c1237ad29c0bcba8fe2be0022092eb80754c8f3a33", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://europa.eu/european-union/index_en", "http://publications.europa.eu/", "http://data.europa.eu/eli/dir/2002/58/oj", "http://bookshop.europa.eu/en/home/?request_locale=en", "http://data.europa.eu/euodp/en/data/", "http://ted.europa.eu/TED/misc/chooseLanguage.do", "http://europa.eu/whoiswho/public/index.cfm?lang=en", "http://cordis.europa.eu/", "http://eurovoc.europa.eu/drupal/"]} {"url": "https://eur-lex.europa.eu/legal-content/en/TXT/?uri=oj%3AJOC_2021_526_R_0001", "titulek": "EUR-Lex - 52021XC1229(05) - EN - EUR-Lex", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=oj:JOC_2021_526_R_0001", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": ["You are here", "EUROPA", "EUR-Lex home", "EUR-Lex - 52021XC1229(05) - EN"], "osnova": [], "markdown": "You are here\n\n1. [EUROPA](https://europa.eu/european-union/index_en)\n2. [EUR-Lex home](./../../../homepage.html)\n3. EUR-Lex - 52021XC1229(05) - EN\n\n- [Help](./../../../content/help.html)\n\nUse quotation marks to search for an \"exact phrase\". Append an asterisk ( * ) to a search term to find variations of it (transp * , 32019R * ). Use a question mark ( ? ) instead of a single character in your search term to find variations of it (ca ? e finds case, cane, care).\n\nSearch tips\n\nNeed more search options? Use the [Advanced search](./../../../advanced-search-form.html)\n\nDocument 52021XC1229(05)\n\n- [Help](./../../../content/help.html)", "znaku_textu": 616, "slov": 86, "odkazu": 1166, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "archiv", "wb_ts": "20260911023800", "stazeno": "2026-09-14 02:10:55", "sha256": "8e4e1d805832c98c326642937b19a0b0384955518a82a96b98572337b7b57856", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://european-union.europa.eu/index_en", "https://ecas.ec.europa.eu/cas/eim/external/register.cgi/", "https://europa.eu/european-union/index_en", "http://op.europa.eu/en/home", "https://x.com/EUPublications", "https://data.europa.eu/euodp/en/data/", "https://ted.europa.eu/TED/main/HomePage.do", "http://cordis.europa.eu/en/", "http://op.europa.eu/en/web/who-is-who", "http://op.europa.eu/en/web/general-publications/publications", "http://n-lex.europa.eu/n-lex/index?lang=en", "http://op.europa.eu/en/web/eu-law-in-force", "http://law-tracker.europa.eu/homepage?lang=en", "https://european-union.europa.eu/", "https://europa.eu/", "https://european-union.europa.eu/contact-eu/call-us_en", "https://european-union.europa.eu/contact-eu/write-us_en", "https://european-union.europa.eu/contact-eu/meet-us_en", "https://european-union.europa.eu/contact-eu/social-media-channels_en", "https://european-union.europa.eu/languages-our-websites_en", "https://european-union.europa.eu/privacy-policy_en", "https://european-union.europa.eu/legal-notice_en", "https://european-union.europa.eu/cookies_en", "https://www.europarl.europa.eu/portal/", "https://www.consilium.europa.eu/en/european-council/", "https://www.consilium.europa.eu/en/home/", "https://commission.europa.eu/index_en", "https://curia.europa.eu/jcms/jcms/j_6/en/", "https://www.ecb.europa.eu/home/html/index.en.html", "https://www.eca.europa.eu/en", "https://eeas.europa.eu/headquarters/headquarters-homepage_en", "https://www.eesc.europa.eu/?i=portal.en.home", "https://cor.europa.eu/en/", "https://www.eib.org/en/index.htm", "https://www.ombudsman.europa.eu/en/home", "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en", "https://edpb.europa.eu/edpb_en", "https://epso.europa.eu/en", "https://op.europa.eu/en/home", "https://european-union.europa.eu/institutions-law-budget/institutions-and-bodies/institutions-and-bodies-profiles_en?f%5B0%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_DEC&f%5B1%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FAGENCY_EXEC&f%5B2%5D=oe_organisation_eu_type%3Ahttp%3A%2F%2Fpublications.europa.eu%2Fresource%2Fauthority%2Fcorporate-body-classification%2FEU_JU"]} {"url": "https://ferovyinfluencer.cz/kodex", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 33407, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:10:58", "sha256": "076cee7fab313a6fe4f4cd98b7a7ca94b0a1a7d7cc25f1e6347a96c893aa48ba", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://github.com/advisories", "titulek": "GitHub Advisory Database · GitHub", "h1": "GitHub Advisory Database", "popis": "GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://github.githubassets.com/assets/advisory-database-index-a58a6165227c.png", "og:image:alt": "A database of software vulnerabilities, using data from maintainer-submitted advisories and from other vulnerability databases.", "og:site_name": "GitHub", "og:type": "object", "og:title": "GitHub Advisory Database", "og:url": "https://github.com/advisories", "og:description": "A database of software vulnerabilities, using data from maintainer-submitted advisories and from other vulnerability databases."}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "GitHub Advisory Database"}, {"uroven": 2, "text": "Filter advisories"}, {"uroven": 3, "text": "GitHub reviewed advisories"}, {"uroven": 3, "text": "Unreviewed advisories"}, {"uroven": 3, "text": "Malware advisories"}], "markdown": "# GitHub Advisory Database\n\nSecurity vulnerability database inclusive of CVEs and GitHub originated security advisories from the world of open source software.\n\n## Filter advisories\n\n### GitHub reviewed advisories\n\n- [All reviewed\n 35,538](/advisories?query=type%3Areviewed)\n- [Composer\n 6,472](/advisories?query=type%3Areviewed+ecosystem%3Acomposer)\n- [Erlang\n 116](/advisories?query=type%3Areviewed+ecosystem%3Aerlang)\n- [GitHub Actions\n 55](/advisories?query=type%3Areviewed+ecosystem%3Aactions)\n- [Go\n 4,741](/advisories?query=type%3Areviewed+ecosystem%3Ago)\n- [Maven\n 7,071](/advisories?query=type%3Areviewed+ecosystem%3Amaven)\n- [npm\n 7,402](/advisories?query=type%3Areviewed+ecosystem%3Anpm)\n- [NuGet\n 1,116](/advisories?query=type%3Areviewed+ecosystem%3Anuget)\n- [pip\n 6,234](/advisories?query=type%3Areviewed+ecosystem%3Apip)\n- [Pub\n 13](/advisories?query=type%3Areviewed+ecosystem%3Apub)\n- [RubyGems\n 1,152](/advisories?query=type%3Areviewed+ecosystem%3Arubygems)\n- [Rust\n 1,570](/advisories?query=type%3Areviewed+ecosystem%3Arust)\n- [Swift\n 62](/advisories?query=type%3Areviewed+ecosystem%3Aswift)\n\n### Unreviewed advisories\n\n- [All unreviewed\n 335,406](/advisories?query=type%3Aunreviewed)\n\n### Malware advisories\n\n- [All malware\n 111,810](/advisories?query=type%3Amalware)\n- [Composer\n 2](/advisories?query=type%3Amalware+ecosystem%3Acomposer)\n- [Go\n 18](/advisories?query=type%3Amalware+ecosystem%3Ago)\n- [Maven\n 2](/advisories?query=type%3Amalware+ecosystem%3Amaven)\n- [npm\n 96,296](/advisories?query=type%3Amalware+ecosystem%3Anpm)\n- [NuGet\n 264](/advisories?query=type%3Amalware+ecosystem%3Anuget)\n- [pip\n 11,699](/advisories?query=type%3Amalware+ecosystem%3Apip)\n- [RubyGems\n 3,510](/advisories?query=type%3Amalware+ecosystem%3Arubygems)\n- [Rust\n 19](/advisories?query=type%3Amalware+ecosystem%3Arust)\n\n[CC-BY-4.0 License](https://docs.github.com/en/github/site-policy/github-additional-product-terms#12-advisory-database)\n\n[Language support](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database#github-reviewed-advisories)\n\n[About GitHub Advisory Database](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database)\n\n**ProTip!** \n Advisories are also available from the \n [GraphQL API](https://docs.github.com/graphql/reference/queries#securityadvisories)\n\n[CC-BY-4.0 License](https://docs.github.com/en/github/site-policy/github-additional-product-terms#12-advisory-database)\n\n[Language support](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database#github-reviewed-advisories)\n\n[About GitHub Advisory Database](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database)", "znaku_textu": 2981, "slov": 190, "odkazu": 163, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:47", "sha256": "4cf2ad8e9b93ad391ee160b0b7bad757b0084d2702c807b09e30d7c68cda85cf", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://docs.github.com/", "https://github.blog/", "https://github.blog/changelog", "https://skills.github.com/", "https://support.github.com/", "https://securitylab.github.com/", "https://maintainers.github.com/", "https://stars.github.com/", "https://archiveprogram.github.com/", "https://docs.github.com/en/github/site-policy/github-additional-product-terms", "https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database", "https://docs.github.com/graphql/reference/queries", "https://docs.github.com/site-policy/github-terms/github-terms-of-service", "https://docs.github.com/site-policy/privacy-policies/github-privacy-statement", "https://www.githubstatus.com/", "https://github.community/", "https://support.github.com/?tags=dotcom-footer"]} {"url": "https://github.com/mdn/browser-compat-data", "titulek": "GitHub - mdn/browser-compat-data: Browser compatibility data for Web technologies as displayed on MDN · GitHub", "h1": "@mdn/browser-compat-data", "popis": "Browser compatibility data for Web technologies as displayed on MDN - mdn/browser-compat-data", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://repository-images.githubusercontent.com/55001853/9320df00-b6f1-11ea-8655-8bbd5c4cff09", "og:image:alt": "Browser compatibility data for Web technologies as displayed on MDN - mdn/browser-compat-data", "og:site_name": "GitHub", "og:type": "object", "og:title": "GitHub - mdn/browser-compat-data: Browser compatibility data for Web technologies as displayed on MDN", "og:url": "https://github.com/mdn/browser-compat-data", "og:description": "Browser compatibility data for Web technologies as displayed on MDN - mdn/browser-compat-data"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "@mdn/browser-compat-data"}, {"uroven": 2, "text": "Installation and Import"}, {"uroven": 3, "text": "NodeJS"}, {"uroven": 3, "text": "Deno/Browsers"}, {"uroven": 3, "text": "Other Languages"}, {"uroven": 2, "text": "Usage"}, {"uroven": 3, "text": "TypeScript Support"}, {"uroven": 2, "text": "Package contents"}, {"uroven": 3, "text": "__meta"}, {"uroven": 3, "text": "api"}, {"uroven": 3, "text": "browsers"}, {"uroven": 3, "text": "css"}, {"uroven": 3, "text": "html"}, {"uroven": 3, "text": "http"}, {"uroven": 3, "text": "javascript"}, {"uroven": 3, "text": "manifests"}, {"uroven": 3, "text": "mathml"}, {"uroven": 3, "text": "mediatypes"}, {"uroven": 3, "text": "svg"}, {"uroven": 3, "text": "webassembly"}, {"uroven": 3, "text": "webdriver"}, {"uroven": 3, "text": "webextensions"}, {"uroven": 2, "text": "Semantic versioning policy"}, {"uroven": 2, "text": "What isn't tracked?"}, {"uroven": 2, "text": "Issues?"}, {"uroven": 2, "text": "Contributing"}, {"uroven": 2, "text": "Projects using the data"}, {"uroven": 2, "text": "Acknowledgments"}], "markdown": "# `@mdn/browser-compat-data`\n\n[https://github.com/mdn/browser-compat-data](https://github.com/mdn/browser-compat-data)\n\nThe `browser-compat-data` (\"BCD\") project contains machine-readable browser (and JavaScript runtime) compatibility data for Web technologies, such as Web APIs, JavaScript features, CSS properties and more. Our goal is to document accurate compatibility data for Web technologies, so web developers may write cross-browser compatible websites easier. BCD is used in web apps and software such as [MDN Web Docs](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs), CanIUse, Visual Studio Code, WebStorm and more.\n\nRead how this project is [governed](/mdn/browser-compat-data/blob/main/GOVERNANCE.md).\n\nChat with us on Matrix at [chat.mozilla.org#mdn](https://chat.mozilla.org/#/room/#mdn:mozilla.org)!\n\nAre you interested in contributing to this project? Check out the [Contributing to browser-compat-data](/mdn/browser-compat-data/blob/main/docs/contributing.md) documentation.\n\nTip\n\nLooking for something? Consult the [alphabetical index](/mdn/browser-compat-data/blob/main/docs/README.md) of the project documentation.\n\n## Installation and Import\n\n### NodeJS\n\nYou can install `@mdn/browser-compat-data` as a node package.\n\n```\nnpm install @mdn/browser-compat-data\n# ...or...\nyarn add @mdn/browser-compat-data\n```\n\nThen, you can import BCD into your project with either `import` or `require()`:\n\n```\n// ESM with Import Attributes (NodeJS 20+) import bcd from '@mdn/browser-compat-data' with { type: 'json' }; // ...or... const { default: bcd } = await import('@mdn/browser-compat-data', { with: { type: 'json' }, }); // ...or... // ESM with Import Assertions (NodeJS 16+) import bcd from '@mdn/browser-compat-data' assert { type: 'json' }; // ...or... const { default: bcd } = await import('@mdn/browser-compat-data', { assert: { type: 'json' }, }); // ...or... // ESM Wrapper for older NodeJS versions (NodeJS v12+) import bcd from '@mdn/browser-compat-data/forLegacyNode'; // ...or... const { default: bcd } = await import('@mdn/browser-compat-data/forLegacyNode'); // ...or... // CommonJS Module (Any NodeJS) const bcd = require('@mdn/browser-compat-data');\n```\n\n### Deno/Browsers\n\nYou can import `@mdn/browser-compat-data` using a CDN.\n\n```\n// ESM with Import Attributes (Deno 1.37+) import bcd from 'https://unpkg.com/@mdn/browser-compat-data' with { type: 'json' }; // ...or... const { default: bcd } = await import( 'https://unpkg.com/@mdn/browser-compat-data', { with: { type: 'json' }, } ); // ...or... // ESM with Import Assertions (Deno 1.17+) import bcd from 'https://unpkg.com/@mdn/browser-compat-data' assert { type: 'json' }; // ...or... const { default: bcd } = await import( 'https://unpkg.com/@mdn/browser-compat-data', { assert: { type: 'json' }, } ); // ...or... // Fetch Method (Deno 1.0+) const bcd = await fetch('https://unpkg.com/@mdn/browser-compat-data').then( (response) => response.json(), );\n```\n\n### Other Languages\n\nYou can obtain the raw compatibility data for `@mdn/browser-compat-data` using a CDN and loading the `data.json` file included in releases.\n\n```\nhttps://unpkg.com/@mdn/browser-compat-data/data.json\n```\n\n## Usage\n\nOnce you have imported BCD, you can access the compatibility data for any feature by accessing the properties of the dictionary.\n\n```\n// Grab the desired support statement const support = bcd.css.properties.background.__compat; // returns a compat data object (see schema) // You may use any syntax to obtain dictionary items const support = bcd['api']['Document']['body']['__compat'];\n```\n\n### TypeScript Support\n\nBCD exports TypeScript type definitions. Type definitions are automatically generated from the [schema definitions](https://github.com/mdn/browser-compat-data/blob/main/schemas).\n\n## Package contents\n\nThe `@mdn/browser-compat-data` package contains a tree of objects, with support and browser data objects at their leaves. There are over 15,000 features in the dataset; this documentation highlights significant portions, but many others exist at various levels of the tree.\n\nThe definitive description of the format used to represent individual features and browsers is the [schema definitions](/mdn/browser-compat-data/blob/main/schemas).\n\nApart from the explicitly documented objects below, feature-level support data may change at any time. See *Semantic versioning policy* for details.\n\nThe package contains the following top-level objects:\n\n### `__meta`\n\nAn object containing the following package metadata:\n\n- `version` - the package version\n- `timestamp` - the timestamp of when the package version was built\n\n### [`api`](/mdn/browser-compat-data/blob/main/api)\n\nData for [Web API](https://developer.mozilla.org/en-US/docs/Web/API) features.\n\n### [`browsers`](/mdn/browser-compat-data/blob/main/browsers)\n\nData for browsers and JavaScript runtimes. See the [browser schema](/mdn/browser-compat-data/blob/main/schemas/browsers-schema.md) for details.\n\n### [`css`](/mdn/browser-compat-data/blob/main/css)\n\nData for [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) features, including:\n\n- `at-rules` - at-rules (e.g. `@media` )\n- `properties` - Properties (e.g. `background` , `color` , `font-variant` )\n- `selectors` - Selectors (such as basic selectors, combinators, or pseudo elements)\n- `types` - Value types for rule values\n\n### [`html`](/mdn/browser-compat-data/blob/main/html)\n\nData for [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML) features, including:\n\n- `elements` - Elements\n- `global_attributes` - Global attributes\n\n### [`http`](/mdn/browser-compat-data/blob/main/http)\n\nData for [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) features, including:\n\n- `headers` - Request and response headers\n- `methods` - Request methods\n- `status` - Status codes\n\n### [`javascript`](/mdn/browser-compat-data/blob/main/javascript)\n\nData for JavaScript language features, including:\n\n- `builtins` - Built-in objects\n- `classes` - Class definition features\n- `functions` - Function features\n- `grammar` - Language grammar\n- `operators` - Mathematical and logical operators\n- `statements` - Language statements and expressions\n\n### [`manifests`](/mdn/browser-compat-data/blob/main/manifests)\n\n- `webapp` - Web App manifest keys\n\n### [`mathml`](/mdn/browser-compat-data/blob/main/mathml)\n\nData for [MathML](https://developer.mozilla.org/en-US/docs/Web/MathML) features, including:\n\n- `elements` - Elements\n\n### [`mediatypes`](/mdn/browser-compat-data/blob/main/mediatypes)\n\nData for [Media types](https://developer.mozilla.org/docs/Web/HTTP/Guides/MIME_types), including:\n\n- `mediatypes/image` - Image types\n\nAn image type is considered supported if it displays correctly when used in an `` element's `src` attribute, or as a CSS `background-image`.\n\n### [`svg`](/mdn/browser-compat-data/blob/main/svg)\n\nData for [SVG](https://developer.mozilla.org/en-US/docs/Web/SVG) features, including:\n\n- `attributes` - Attributes\n- `elements` - Elements\n\n### [`webassembly`](/mdn/browser-compat-data/blob/main/webassembly)\n\nData for [WebAssembly](https://developer.mozilla.org/docs/WebAssembly) features.\n\n### [`webdriver`](/mdn/browser-compat-data/blob/main/webdriver)\n\nData for [WebDriver](https://developer.mozilla.org/en-US/docs/Web/WebDriver) features, including:\n\n- `bidi` - WebDriver BiDi protocol\n- `classic` - WebDriver Classic protocol\n\n### [`webextensions`](/mdn/browser-compat-data/blob/main/webextensions)\n\nData for [WebExtensions](https://developer.mozilla.org/en-US/Add-ons/WebExtensions) features, including:\n\n- `api` - WebExtension-specific APIs\n- `manifest` - `manifest.json` keys\n\n## Semantic versioning policy\n\nFor the purposes of [semantic versioning](https://semver.org/) (SemVer), the public API consists of:\n\n- The high-level namespace objects documented in *Package contents*\n- The schema definitions for browser and support data structures\n- The TypeScript definitions\n\nThe details of browser compatibility change frequently, as browsers ship new features, standards organizations revise specifications, and Web developers discover new bugs. We routinely publish updates to the package to reflect these changes.\n\nYou should expect lower-level namespaces, feature data, and browser data to be added, removed, or modified at any time. That said, we strive to communicate changes and preserve backward compatibility; if you rely on a currently undocumented portion of the package and want SemVer to apply to it, please [open an issue](https://github.com/mdn/browser-compat-data/issues).\n\n## What isn't tracked?\n\nNow that you know what this project *is*, let's mention what this project *isn't*. This project is not:\n\n- An extensive description of every possible detail about a feature in a browser. We do not track UI changes, [irrelevant features](/mdn/browser-compat-data/blob/main/docs/data-guidelines/README.md#removal-of-irrelevant-features) or [irrelevant flag data](/mdn/browser-compat-data/blob/main/docs/data-guidelines/README.md#removal-of-irrelevant-flag-data) .\n- A source for custom features added by web frameworks (e.g. React, Vue) or corporate runtimes (e.g. AWS Lambda, Azure Functions).\n- A documentation of screen reader compatibility; for screen reader compatibility, check out [https://a11ysupport.io/](https://a11ysupport.io/) instead.\n- The location where Baseline data is hosted; while Baseline pulls from BCD, the Baseline data is managed by the W3C WebDX Community Group on their own [GitHub repo](https://github.com/web-platform-dx/web-features) .\n\n## Issues?\n\nIf you find a problem with the compatibility data (such as incorrect version numbers) or there is a new web feature you think we should document, please [file a bug](https://github.com/mdn/browser-compat-data/issues/new).\n\n## Contributing\n\nThank you for your interest in contributing to this project! See [Contributing to browser-compat-data](/mdn/browser-compat-data/blob/main/docs/contributing.md) for more information.\n\n## Projects using the data\n\nHere are some projects using the data, as an [npm module](https://www.npmjs.com/browse/depended/@mdn/browser-compat-data) or directly:\n\n- [Add-ons Linter](https://github.com/mozilla/addons-linter) - NPM package that checks add-ons for features that aren't supported by the targeted Firefox version. Used by [addons.mozilla.org](https://addons.mozilla.org/) and the [web-ext](https://github.com/mozilla/web-ext/) tool.\n- [ast-metadata-inferer](https://www.npmjs.com/package/ast-metadata-inferer) - NPM package that annotates JavaScript AST nodes with metadata derived from BCD data. Used by [eslint-plugin-compat](https://www.npmjs.com/package/eslint-plugin-compat) .\n- [BCD Watch](https://bcd-watch.igalia.com/) - Website that shows a weekly report of BCD changes.\n- [caniuse](https://caniuse.com/) - Website that shows browser support tables based on caniuse and BCD data.\n- [caniuse-lite](https://github.com/browserslist/caniuse-lite) - NPM package that republishes BCD data in the caniuse format.\n- [CanIUse Embed](https://caniuse.bitsofco.de/) - Service that allows embedding caniuse (including BCD data) into any website.\n- [CanIWebView](https://caniwebview.com/) - Website that shows support tables based on BCD data for WebViews and mobile browsers for comparison.\n- [css-declaration-sorter](https://www.npmjs.com/package/css-declaration-sorter) - NPM package that sorts CSS properties alphabetically.\n- [csstype](https://www.npmjs.com/package/csstype) - NPM package that publishes strict TypeScript/Flow types for CSS.\n- [Compat Report](https://addons.mozilla.org/en-US/firefox/addon/compat-report/) - Firefox Add-on that shows BCD data for the current site in the developer tools.\n- [compat-tester](https://github.com/SphinxKnight/compat-tester) - NPM package that scans HTML, CSS and JS files for compatibility issues.\n- [JetBrains WebStorm](https://www.jetbrains.com/webstorm/) - IDE that uses BCD data to [check browser support of used CSS properties](https://www.jetbrains.com/guide/javascript/tips/browser-compatibility-css/) (see [2019.1 releasenotes](https://web.archive.org/web/20190524063428/http://www.jetbrains.com/webstorm/whatsnew/#:~:text=Browser%20compatibility%20check%20for%20CSS) ) by [generating feature lists with support data](https://github.com/JetBrains/intellij-community/blob/master/xml/xml-psi-impl/mdn-doc-gen/src/GenerateMdnDocumentation.kt) .\n- [JSR](https://jsr.io/) - Package registry that uses BCD data to [generate a list of web builtins](https://github.com/jsr-io/jsr/blob/main/tools/generate_web_symbols.ts) .\n- [Mozilla Firefox](https://www.mozilla.org/firefox/) - Web browser that uses BCD data in the DevTools to show [CSS property compatibility data](https://searchfox.org/mozilla-central/source/devtools/shared/compatibility/README.md) mapped against a [list of non-retired browsers](https://github.com/firefox-devtools/remote-settings-mdn-browser-compat-data/) .\n- [TypeScript](https://www.typescriptlang.org/) - Programming language that uses BCD data to [generate DOM typings](https://github.com/microsoft/TypeScript-DOM-lib-generator) .\n- [Visual Studio Code](https://code.visualstudio.com) - IDE that uses BCD to show compatibility information for [CSS features](https://github.com/microsoft/vscode-custom-data/blob/c008a80baa3c6ea9d6757d2640eaab215b28f9a6/web-data/css/generateData.js#L349) (see [VSCode 1.25 release notes](https://code.visualstudio.com/updates/v1_25#_improved-accuracy-of-browser-compatibility-data) ), and to [extract MDN urls for HTML elements](https://github.com/microsoft/vscode-custom-data/blob/c008a80baa3c6ea9d6757d2640eaab215b28f9a6/web-data/html/generateData.js#L53-L67) .\n- [web-features](https://www.npmjs.com/package/web-features) - NPM package that publishes web feature groups with Baseline statuses based on BCD data.\n- [web-features-explorer](https://web-platform-dx.github.io/web-features-explorer/) - Website that visualizes web features by Baseline status and month.\n- [`webhint.io`](https://webhint.io/docs/user-guide/hints/hint-compat-api/) - Tool that uses BCD to checks CSS and HTML for unsupported features (see [`@hint/utils-compat-data` package](https://github.com/webhintio/hint/tree/main/packages/utils-compat-data) ).\n\n## Acknowledgments\n\nThanks to:\n\nThe\n [BrowserStack Open Source Program](https://www.browserstack.com/open-source)\n for testing services\n [Sauce Labs Open Source](https://opensource.saucelabs.com/)\n for testing services\n [LambdaTest Open Source](https://www.lambdatest.com/hyperexecute)\n for testing services", "znaku_textu": 14135, "slov": 1616, "odkazu": 253, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:50", "sha256": "fd37926482f7ddc27d78eb153e47d2dd82d9d9de95f0c052c659702e10721365", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://docs.github.com/", "https://github.blog/", "https://github.blog/changelog", "https://skills.github.com/", "https://support.github.com/", "https://securitylab.github.com/", "https://maintainers.github.com/", "https://stars.github.com/", "https://archiveprogram.github.com/", "https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs", "https://chat.mozilla.org/", "https://developer.mozilla.org/en-US/docs/Web/API", "https://developer.mozilla.org/en-US/docs/Web/CSS", "https://developer.mozilla.org/en-US/docs/Web/HTML", "https://developer.mozilla.org/en-US/docs/Web/HTTP", "https://developer.mozilla.org/en-US/docs/Web/MathML", "https://developer.mozilla.org/docs/Web/HTTP/Guides/MIME_types", "https://developer.mozilla.org/en-US/docs/Web/SVG", "https://developer.mozilla.org/docs/WebAssembly", "https://developer.mozilla.org/en-US/docs/Web/WebDriver", "https://developer.mozilla.org/en-US/Add-ons/WebExtensions", "https://semver.org/", "https://a11ysupport.io/", "https://www.npmjs.com/browse/depended/@mdn/browser-compat-data", "https://addons.mozilla.org/", "https://www.npmjs.com/package/ast-metadata-inferer", "https://www.npmjs.com/package/eslint-plugin-compat", "https://bcd-watch.igalia.com/", "https://caniuse.com/", "https://caniuse.bitsofco.de/", "https://caniwebview.com/", "https://www.npmjs.com/package/css-declaration-sorter", "https://www.npmjs.com/package/csstype", "https://addons.mozilla.org/en-US/firefox/addon/compat-report/", "https://www.jetbrains.com/webstorm/", "https://www.jetbrains.com/guide/javascript/tips/browser-compatibility-css/", "http://www.jetbrains.com/webstorm/whatsnew/", "https://jsr.io/", "https://www.mozilla.org/firefox/", "https://searchfox.org/mozilla-central/source/devtools/shared/compatibility/README.md", "https://www.typescriptlang.org/", "https://code.visualstudio.com/", "https://code.visualstudio.com/updates/v1_25", "https://www.npmjs.com/package/web-features", "https://web-platform-dx.github.io/web-features-explorer/", "https://webhint.io/docs/user-guide/hints/hint-compat-api/", "https://user-images.githubusercontent.com/498917/52569900-852b3080-2e12-11e9-9bd0-f1e256b13e53.png", "https://www.browserstack.com/open-source", "https://camo.githubusercontent.com/57dccdd976df5375c337d4704f5be7443b40e5c7e4b3a40ef30746fc954aed7e/68747470733a2f2f6f70656e736f757263652e73617563656c6162732e636f6d2f696d616765732f6f70656e73617563652f706f77657265642d62792d73617563656c6162732d62616467652d77686974652e706e673f73616e6974697a653d74727565", "https://opensource.saucelabs.com/", "https://user-images.githubusercontent.com/5179191/203835995-e4cf2b3f-483f-419f-afda-bad1200c04f2.png", "https://www.lambdatest.com/hyperexecute", "https://developer.mozilla.org/", "https://docs.github.com/site-policy/github-terms/github-terms-of-service", "https://docs.github.com/site-policy/privacy-policies/github-privacy-statement", "https://www.githubstatus.com/", "https://github.community/", "https://support.github.com/?tags=dotcom-footer"]} {"url": "https://github.com/open-telemetry/semantic-conventions-genai", "titulek": "GitHub - open-telemetry/semantic-conventions-genai · GitHub", "h1": "OpenTelemetry GenAI Semantic Conventions", "popis": "Contribute to open-telemetry/semantic-conventions-genai development by creating an account on GitHub.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://opengraph.githubassets.com/60c248be3b32cd9e13edb53e4b72b0ca8065025c0d4adf473725aa2d49bedafb/open-telemetry/semantic-conventions-genai", "og:image:alt": "Contribute to open-telemetry/semantic-conventions-genai development by creating an account on GitHub.", "og:image:width": "1200", "og:image:height": "600", "og:site_name": "GitHub", "og:type": "object", "og:title": "GitHub - open-telemetry/semantic-conventions-genai", "og:url": "https://github.com/open-telemetry/semantic-conventions-genai", "og:description": "Contribute to open-telemetry/semantic-conventions-genai development by creating an account on GitHub."}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "OpenTelemetry GenAI Semantic Conventions"}, {"uroven": 2, "text": "Schema URL"}, {"uroven": 2, "text": "Read the docs"}, {"uroven": 2, "text": "Contributing"}], "markdown": "# OpenTelemetry GenAI Semantic Conventions\n\nSemantic Conventions for Generative AI (GenAI), including spans, metrics,\nand events for GenAI clients, MCP (Model Context Protocol), and\nprovider-specific conventions (OpenAI, etc.).\n\nThis repository extends the\n[OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions)\nwith GenAI-specific conventions, using\n[Weaver](https://github.com/open-telemetry/weaver) to manage dependencies\non the core semantic conventions.\n\n## Schema URL\n\nTODO\n\n## Read the docs\n\nThe human-readable version of the semantic conventions resides in the\n[docs](/open-telemetry/semantic-conventions-genai/blob/main/docs) folder. Major parts of these Markdown documents are generated\nfrom the YAML definitions located in the [model](/open-telemetry/semantic-conventions-genai/blob/main/model) folder.\n\nReference implementations and their tooling live under [reference](/open-telemetry/semantic-conventions-genai/blob/main/reference).\nFor the Python reference compliance matrix and per-signal support reports, see\n[reference/README.md](/open-telemetry/semantic-conventions-genai/blob/main/reference/README.md).\nFor contribution guidance specific to that project, see\n[reference/CONTRIBUTING.md](/open-telemetry/semantic-conventions-genai/blob/main/reference/CONTRIBUTING.md).\n\n## Contributing\n\nSee [CONTRIBUTING.md](/open-telemetry/semantic-conventions-genai/blob/main/CONTRIBUTING.md).", "znaku_textu": 1419, "slov": 139, "odkazu": 125, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:53", "sha256": "bc594a943d3b4a741849ff5f43ad5fbdfcb2bee5750d988d761ac972c687d38f", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://docs.github.com/", "https://github.blog/", "https://github.blog/changelog", "https://skills.github.com/", "https://support.github.com/", "https://securitylab.github.com/", "https://maintainers.github.com/", "https://stars.github.com/", "https://archiveprogram.github.com/", "https://camo.githubusercontent.com/4dda6bcbcc0cb08fefcea1676ed7698e961bb95b3a9ab728a2a517ccb558172d/68747470733a2f2f6f70656e74656c656d657472792e696f2f696d672f6c6f676f732f6f70656e74656c656d657472792d6c6f676f2d6e61762e706e67", "https://opentelemetry.io/", "https://docs.github.com/site-policy/github-terms/github-terms-of-service", "https://docs.github.com/site-policy/privacy-policies/github-privacy-statement", "https://www.githubstatus.com/", "https://github.community/", "https://support.github.com/?tags=dotcom-footer"]} {"url": "https://github.com/swisskyrepo/PayloadsAllTheThings", "titulek": "GitHub - swisskyrepo/PayloadsAllTheThings: A list of useful payloads and bypass for Web Application Security and Pentest/CTF · GitHub", "h1": "Payloads All The Things", "popis": "A list of useful payloads and bypass for Web Application Security and Pentest/CTF - swisskyrepo/PayloadsAllTheThings", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://repository-images.githubusercontent.com/71220757/c7175e80-dafd-11ea-8e0b-9c42c639ae35", "og:image:alt": "A list of useful payloads and bypass for Web Application Security and Pentest/CTF - swisskyrepo/PayloadsAllTheThings", "og:site_name": "GitHub", "og:type": "object", "og:title": "GitHub - swisskyrepo/PayloadsAllTheThings: A list of useful payloads and bypass for Web Application Security and Pentest/CTF", "og:url": "https://github.com/swisskyrepo/PayloadsAllTheThings", "og:description": "A list of useful payloads and bypass for Web Application Security and Pentest/CTF - swisskyrepo/PayloadsAllTheThings"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Payloads All The Things"}, {"uroven": 2, "text": "📖 Documentation"}, {"uroven": 2, "text": "🧑‍💻 Contributions"}, {"uroven": 2, "text": "🍻 Sponsors"}], "markdown": "# Payloads All The Things\n\nA list of useful payloads and bypasses for Web Application Security.\nFeel free to improve with your payloads and techniques!\n\nYou can also contribute with a 🍻 IRL, or using the sponsor button.\n\nAn alternative display version is available at [PayloadsAllTheThingsWeb](https://swisskyrepo.github.io/PayloadsAllTheThings/).\n\n## 📖 Documentation\n\nEvery section contains the following files, you can use the `_template_vuln` folder to create a new chapter:\n\n- README.md - vulnerability description and how to exploit it, including several payloads\n- Intruder - a set of files to give to Burp Intruder\n- Images - pictures for the README.md\n- Files - some files referenced in the README.md\n\nYou might also like the other projects from the AllTheThings family :\n\n- [InternalAllTheThings](https://swisskyrepo.github.io/InternalAllTheThings/) - Active Directory and Internal Pentest Cheatsheets\n- [HardwareAllTheThings](https://swisskyrepo.github.io/HardwareAllTheThings/) - Hardware/IOT Pentesting Wiki\n\nYou want more? Check the [Books](https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/_LEARNING_AND_SOCIALS/BOOKS.md) and [YouTube channel](https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/_LEARNING_AND_SOCIALS/YOUTUBE.md) selections.\n\n## 🧑‍💻 Contributions\n\nBe sure to read [CONTRIBUTING.md](https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/CONTRIBUTING.md)\n\nThanks again for your contribution! ❤️\n\n## 🍻 Sponsors\n\nThis project is proudly sponsored by these companies.\n\nLogo Description **SerpApi** is a real time API to access Google search results. It solves the issues of having to rent proxies, solving captchas, and JSON parsing. **ProjectDiscovery** - Detect real, exploitable vulnerabilities. Harness the power of Nuclei for fast and accurate findings without false positives. **VAADATA** - Ethical Hacking Services", "znaku_textu": 1824, "slov": 202, "odkazu": 196, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:55", "sha256": "8d352028acfb6763f38f11503d927dffe005688a025805eb0dc72591957c53a6", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://docs.github.com/", "https://github.blog/", "https://github.blog/changelog", "https://skills.github.com/", "https://support.github.com/", "https://securitylab.github.com/", "https://maintainers.github.com/", "https://stars.github.com/", "https://archiveprogram.github.com/", "https://twitter.com/intent/tweet?text=Payloads+All+The+Things%2C+a+list+of+useful+payloads+and+bypasses+for+Web+Application+Security+-+by+%40pentest_swissky&url=https%3A%2F%2Fgithub.com%2Fswisskyrepo%2FPayloadsAllTheThings%2F", "https://swisskyrepo.github.io/PayloadsAllTheThings/", "https://raw.githubusercontent.com/swisskyrepo/PayloadsAllTheThings/master/.github/banner.png", "https://swisskyrepo.github.io/InternalAllTheThings/", "https://swisskyrepo.github.io/HardwareAllTheThings/", "https://serpapi.com/", "https://projectdiscovery.io/", "https://www.vaadata.com/", "https://docs.github.com/site-policy/github-terms/github-terms-of-service", "https://docs.github.com/site-policy/privacy-policies/github-privacy-statement", "https://www.githubstatus.com/", "https://github.community/", "https://support.github.com/?tags=dotcom-footer"]} {"url": "https://guardrails.openai.com/", "titulek": "OpenAI Guardrails", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:56", "sha256": "9c27110e7f1de1b8688603551cb6fa8fb81be5399c578ea86cd9ba3ecfdc711f", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://help.pinterest.com/en/business/article/pinterest-product-specs", "titulek": "Review ad specs | Pinterest Business help", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "https://help.pinterest.com/en/business/article/pinterest-product-specs", "jazyk": "en", "robots_meta": "", "og": {"og:site_name": "Pinterest Help", "og:type": "article", "og:url": "https://help.pinterest.com/en/business/article/pinterest-product-specs", "og:title": "Review ad specs", "og:image": "https://help.pinterest.com/sub/meta/artboard_horizontal.jpg"}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "You can choose from several ad content formats on Pinterest, from a static image to a multi-image collection or video. Use this ad spec guide for image dimensions, file sizes and character limits for Pinterest ads. General information **Image formats and colors** All uploaded images are converted to standard 8-bit RGB JPEGs before being turned into Pins and ads. Advertisers should upload images in PNG with sRGB formats to avoid any reduction in image quality. Custom color profiles are not supported on Pinterest and may result in slightly different colors on published Pins and ads. **Image Backgrounds** Pinterest adds a faint color layer to image Pins in the home feed with white or black backgrounds. This distinguishes the pins from the app background color and helps to highlight links included in the Pin. This feature applies to all organic and paid image Pins and ad types but does not apply to videos. For Pins with a white or near white background: Light mode: A faint black layer (#000000 at 4% opacity) is automatically applied on top of creative.Dark mode: No changes. For Pins with a black or near black background: Light mode: No changes.Dark mode: A faint white layer (#FFFFFF at 10% opacity) is automatically applied on top of creative.\n Standard image ads Standard ads feature only one image. \n See standard image ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop through PinBuilder for Ads or bulk editor. You can also make a new standard image ad when you're setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns or to generate organic impressions Images **File type** .PNG or .JPEG **Max file size** Desktop 20 MB, In-app 32 MB **Aspect ratio** We recommend using a 2:3 aspect ratio, or 1000 x 1500 pixels. Pins with an aspect ratio greater than 2:3 might get cut off in people's feeds. Character counts **Title** Enter up to 100 characters. Depending on the device, the first 40 characters may show in people’s feeds. When entered, titles will appear in the home feed or search feed. If a title is not entered and no rich Pin title exists, nothing will show in its place in the home feed. **Note:** For Chinese, Japanese, Korean, Arabic and other double byte languages, only the first 30 characters will show in people's feeds. **Description** Enter up to 800 characters. Descriptions do not appear when viewing the Pin in the home feed or search feed. Additionally, descriptions do not appear for ads when viewed up close. Descriptions are used by our algorithm to determine relevance for delivery. We recommend entering a description to help get your Pin or ad in front of the right audience. Standard width video ads Standard width video ads are videos that are the same size as a regular Pin. \n See standard width video ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop through PinBuilder for Ads or bulk editor. You can also make a new video ad when you're setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns or to generate organic impressions Videos **File type** .MP4, .MOV or .M4V **Encoding** H.264 or H.265 **Max file size** Up to 2GB **Video length** Minimum 4 seconds, maximum 15 minutes Recommended length for video ads: 6 to 15 seconds **Aspect ratio** Shorter than 1:2 (width:height), taller than 1.91:1. We recommend making your videos square (1:1) or vertical (2:3, 4:5, or 9:16). Character counts **Title** Enter up to 100 characters. Depending on the device, the first 40 characters may show in people’s feeds. When entered, titles will appear in the home feed or search feed. If a title is not entered and no rich Pin title exists, nothing will show in its place. **Note:** For Chinese, Japanese, Korean, Arabic and other double byte languages, only the first 30 characters will show in people's feeds. **Description** Enter up to 800 characters. Descriptions do not appear when viewing the Pin in the home feed or search feed. Additionally, descriptions do not appear for ads when viewed up close. Descriptions are used by our algorithm to determine relevance for delivery. We recommend entering a description to help get your Pin or ad in front of the right audience. Max. width video ads Max. width video ads are videos that expand across people’s entire feed on mobile. Max. width video ads are only available as a paid format. These specs only apply to max. width video ads. \n See max. width video ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop through PinBuilder for Ads or bulk editor. You can also make a new video ad when you're setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns only Videos **File type** .MP4, .MOV or .M4V **Encoding** H.264 or H.265 **Max file size** Up to 2GB **Video length** Minimum 4 seconds, maximum 15 minutes Recommended length for video ads: 6 to 15 seconds **Aspect ratio** Max. width videos cannot exceed the height of a 1:1 aspect ratio Character counts **Title** Enter up to 100 characters. Depending on the device, the first 40 characters may show in people’s feeds. When entered, titles will appear in the home feed or search feed. If a title is not entered and no rich Pin title exists, nothing will show in its place. **Description** Enter up to 800 characters. Descriptions do not appear when viewing the ad in the home feed, search feed, or up close. Descriptions are used by our algorithm to determine relevance for delivery. We recommend entering a description to help get your ad in front of the right audience. Video and audio codecs \n See video and audio codec specs\n **Container format** **Video codecs** **Audio codecs** **No container** DV/DVCPRO AVC (H.264) HEVC (H.265) MPEG-1 MPEG-2 PCM **Audio video interleave (AVI)** Uncompressed Canopus HQ DivX/Xvid DV/DVCPRO Dolby Digital (AC3) Dolby Digital Plus (EAC3) Dolby E frames carried in PCM streams MP3 MPEG Audio PCM **Adobe Flash** AVC (H.264) Flash 9 File H.263 AAC **Matroska** AVC (H.264) PCM MPEG-2 MPEG-4 part 2 VC-1 AAC Dolby Digital (AC3) Dolby Digital Plus (EAC3) WMA WMA2 **IMF** Apple ProRes JPEG 2000 (J2K) PCM **MPEG Transport Streams** AVC (H.264) HEVC (H.265) MPEG-2 VC-1 AAC AIFF Dolby Digital (AC3) Dolby Digital Plus (EAC3) Dolby E frames carried in PCM streams MPEG audio PCM WMA WMA2 **MPEG-1 System Streams** MPEG-1 MPEG-2 AAC AIFF Dolby Digital (AC3) Dolby Digital (EAC3) MPEG Audio PCM **MPEG-4** Uncompressed AVC Intra 50/100 DivX/Xvid H.261 H.262 H.263 AVC (H.264) HEVC (H.265) JPEG 2000 MJPEG MPEG-2 MPEG-4 part 2 VC-1 AAC Dolby Digital (AC3) Dolby Digital Plus (EAC3) PCM WMA WMA2 **MXF** Uncompressed Apple ProRes AVC Intra 50/100 DNxHD DV/DVCPRO DV25 DV50 DVCPro HD AVC (H.264) JPEG 2000 (J2K) MPEG-2 Panasonic P2 SonyXDCam SonyXDCam MPEG-4 Proxy AAC AIFF Dolby E frames carried in PCM streams MPEG Audio PCM **QuickTime** Uncompressed Apple ProRes AVC Intra 50/100 DivX/Xvid DV/DVCPRO H.261 H.262 H.263 AVC (H.264) HEVC (H.265) JPEG 2000 (J2K) MJPEG MPEG-2 MPEG-4 part 2 QuickTime Animation (RLE) AAC MP3 PCM **WebM** VP8 VP9 Vorbis **WMV/ASF** VC-1 WMA WMA2 Carousel ads Carousel ads feature multiple images for people to swipe through. \n See carousel ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop through PinBuilder for Ads or bulk editor. You can also make a new carousel ad when you're setting up a campaign in Ads Manager. Dynamic carousels will automatically pull cards from your product groups. **Creation options** Can be used in paid ad campaigns or to generate organic impressions Images for non-Sales **File type** .PNG or .JPEG **Max file size** 20 MB per image **Creative quantity** 2 to 5 images per carousel **Aspect ratio** 1:1 or 2:3 Image or video for non-Sales **File type** Static images (.PNG or .JPEG) or Video **Max file size** N/A. Pulled from catalog creative **Creative quantity** 2 to 10 images and video per carousel. This only applies to the sales objective. **Aspect ratio** N/A. Pulled from catalog creative Character counts **Title** Enter up to 100 characters. Depending on the device, the first 40 characters may show in people’s feeds. When entered, titles will appear in the home feed or search feed. If a title is not entered and no rich Pin title exists, nothing will show in its place. **Note:** For Chinese, Japanese, Korean, Arabic and other double byte languages, only the first 30 characters will show in people's feeds. **Description** Enter up to 800 characters. Descriptions do not appear when viewing the Pin in the home feed or search feed. Additionally, descriptions do not appear for ads when viewed up close. Descriptions are used by our algorithm to determine relevance for delivery. We recommend entering a description to help get your Pin or ad in front of the right audience. Shopping ads Shopping ads feature one image or video at a time and allow people to purchase products they find on Pinterest. Shopping ads follow the same specs as standard image and video ads. Collections ads Collections ads appear as one main image above three smaller images, in feeds on mobile devices. \n See collections ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop through PinBuilder for Ads or bulk editor. You can also make a new collections ad when you're setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns or to generate organic impressions Static image hero creative and secondary creatives **File type** .PNG or .JPEG **Max file size** 10MB **Creative quantity** Must have 1 hero creative. Minimum of 3 secondary creatives recommended. Maximum of 24 secondary creatives. **Aspect ratio** The hero creative must have either a 1:1 or 2:3 aspect ratio and can differ from the aspect ratios of the secondary creatives. All secondary creatives must have the same aspect ratio-either 1:1 (square) or 2:3 (vertical). We recommend making your secondary creatives with a 1:1 ratio to best control how they appear in people’s feeds. If the creative is not 1:1, the cropping will occur at the center of the image. Video hero creative **File type** .MP4, .MOV or .M4V **Encoding** H.264 or H.265 **Max file size** Up to 2GB **Video length** Minimum 4 seconds, maximum 15 minutes **Aspect ratio** Shorter than 1:2 (width:height), taller than 1.91:1. We recommend making your videos square (1:1) or vertical (2:3 or 9:16). Character counts **Title** Enter up to 100 characters. Depending on the device, the first 40 characters may show in people’s feeds. When entered, titles will appear in the home feed or search feed. If a title is not entered and no rich Pin title exists, nothing will show in its place. **Note:** For Chinese, Japanese, Korean, Arabic and other double byte languages, only the first 30 characters will show in people's feeds. **Description** Enter up to 800 characters. Descriptions will only appear for organic collections Pins when viewed up close. Otherwise, descriptions will not show up for promoted collections ads. Descriptions are used by our algorithm to determine relevance for delivery. We recommend entering a description to help get your Pin or ad in front of the right audience. Idea ads Idea ads appear as a set of multiple videos, images, lists and custom text in a single Pin. You can promote an organic Pin as an Idea ad in countries where ads are available. \n See Idea ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop or mobile devices through Pin creation tool. You can also make a new Idea ad when you’re setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns or to generate organic impressions Images and videos **File type** **Image**: .BMP, .JPEG, .PNG, .TIFF, .WEBP **Video**: .MP4, .M4V, and .MOV files are available on iOS and Android only **File size** 1 GB recommended **Video encoding** H.264 or H.265 **Max file size** **Android and iOS**: 2GB max **Web**: 100MB max **Video length** The maximum duration is 5 minutes. **Resolution** For full-bleed images and videos, or images and videos that extend to take up the entire screen, we recommend using 1080x1920 pixel size (9:16 ratio) **Aspect ratio** Aspect ratio is 9:16, but there are no restrictions for image or video **Character length** **Title:** 100 characters max **On page:** 250 characters max **Safe zones** Put text and other elements within the dimensions below so users can easily see on any device when viewing. **Top:** 270 px\n**Left:** 65 px\n**Right:** 195 px\n**Bottom:** 440 px Showcase ads A Showcase ad is a multi-layered ad format featuring multiple cards. Within each swipeable card, advertisers can add up to three features with outbound links to more content, products and more. \n See Showcase ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop or mobile devices through Pin creation tool. You can also make a new Showcase ad when you’re setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns only Images and videos **File type** **Image**: .BMP, .JPEG, .PNG, .TIFF, .WEBP **Video**: .MP4, .MOV, or .M4V files are available on iOS and Android only **Max file size** Up to 32MB **Video length** Videos should be between 3-60 seconds **Resolution** For full-bleed images and videos, or images and videos that extend to take up the entire screen, we recommend using 1000 x 1500 pixel size **Aspect ratio** **Title Pin**: 2:3 ratio\n**Card**: 2:3 ratio\n**Feature**: 1:1 static **Creative quantity** **Card**: Up to four cards in addition to primary title Pin.\n**Feature**: Minimum of 1 and maximum 3 per card **Safe zones** Put text and other elements within the dimensions below so users can easily see on any device when viewing. 342 x 430 pixels All creative should be mindful of safe zones and ensure no copy or logos are obscured by UI elements. Avoid placing any text or important information in the bottom 80px of the Showcase card since it will be covered. Safe zones do not apply to features. **Character length** **Text overlay**: Limited to no more than 10 words. Font must be legible. \n\n**Features**: Limited to 50 characters including spaces. For titles, anything after 50 characters will be hidden. Quiz ads A Quiz ad is an ad format with multiple choice questions and answers. Within each quiz result, advertisers can add outbound links to more content, products and more. \n See Quiz ad specs\n Creation **Account type** Business accounts only **Creation tool / device** Can be made on desktop or mobile devices through Pin creation tool. You can also make a new Quiz ad when you’re setting up a campaign in Ads Manager. **Creation options** Can be used in paid ad campaigns only Images and videos **File type** **Image**: .BMP, .JPEG, .PNG, .TIFF, .WEBP **Video**: .MP4, .MOV, or .M4V files are available on iOS and Android only **Max file size** Up to 32MB **Video length** Videos should be between 3-60 seconds **Resolution** For full-bleed images and videos, or images and videos that extend to take up the entire screen, we recommend using 1000 x 1500 pixel size **Aspect ratio** **Title Pin**: 2:3 ratio\n**Results Pin**: 2:3 ratio **Creative quantity** Up to three results Pins with one title Pin. We recommend use of bold, lifestyle photography. Preference for inclusive and DEI representation. **Safe zones** Put text and other elements within the dimensions below so users can easily see on any device when viewing. 342 x 376 pixels All creative should be mindful of safe zones and ensure no copy or logos are obscured by UI elements. The bottom sheet will overlap with the title Pin upon expansion. While it’s possible to scroll to see the whole Pin, consider placing any important disclosures for restricted verticals at the top to ensure constant visibility. **Character length** **Title:**100 characters max. **Text overlay**: Limited to no more than 10 words. Font should be easy to read. Consider stacking brand logo, quiz title and CTA at the top of the Pin. **Questions and answers**: Questions can be up to 96 characters, including spaces. Answers can be up to 48 characters, including spaces. \n\n**Results**: 100 characters max in title and 800 characters max for description. Visit site button cannot be edited but the destination URL can be edited. Max Width Collections Ads Max width collections ads feature a hero image or video pin that spans the full width of the mobile feed, with a set of smaller secondary pins displayed beneath it. The format allows you to pair video or imagery with relevant products in an engaging layout that drives product discovery and engagement. \n See Max Width Collections Ads specs\n Creation Account type Business accounts only Creation tool / device Can be made on desktop through PinBuilder for Ads or bulk editor. You can also make a new max width collections ad when you're setting up a campaign in Ads Manager. Creation options Can be used in paid ad campaigns or to generate organic impressions Static image hero creative and secondary creatives File type .PNG or .JPEG Max file size 10MB Creative quantity Must have 1 hero creative. Minimum of 4 secondary pins recommended. Aspect ratio The hero creative must have either a 1:1 or 2:3 aspect ratio and can differ from the aspect ratios of the secondary creatives. All secondary creatives must have the same aspect ratio-either 1:1 (square) or 2:3 (vertical). We recommend making your secondary creatives with a 1:1 ratio to best control how they appear in people’s feeds. If the creative is not 1:1, the cropping will occur at the center of the image. Video hero creative File type .MP4, .MOV or .M4V Encoding H.264 or H.265 Max file size Up to 2GB Video length Minimum 4 seconds, maximum 15 minutes Aspect ratio 1:1 or 16:9 Character counts Title Enter up to 100 characters. Depending on the device, the first 40 characters may show in people’s feeds. When entered, titles will appear in the home feed or search feed. If a title is not entered and no rich Pin title exists, nothing will show in its place. **Note:** For Chinese, Japanese, Korean, Arabic and other double byte languages, only the first 30 characters will show in people's feeds. Description Enter up to 800 characters. Descriptions will only appear for organic collections Pins when viewed up close. Otherwise, descriptions will not show up for promoted collections ads. Descriptions are used by our algorithm to determine relevance for delivery. We recommend entering a description to help get your Pin or ad in front of the right audience. What's next? Once you’ve picked a format, get tips on image selection and more in our creative best practices. End of Other articles Links\n\nStill need help?\n \n Contact us", "znaku_textu": 18473, "slov": 3212, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:57", "sha256": "d68b54838b476bf023e259d7cc94ea412b6d21b22fa43a449477a490c0cd0f6e", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://hemingwayapp.com/", "titulek": "Hemingway Editor", "h1": "", "popis": "Hemingway Editor makes your writing bold and clear.", "klicova_slova": "", "kanonicka": "", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "Edit your writing faster with Hemingway Editor Plus", "znaku_textu": 51, "slov": 8, "odkazu": 13, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 02:59:58", "sha256": "acd00b455ce7c59dfb0cfc0f8b683a15ba5d2ef43e59b0d7504dd295eb6e9afd", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://boondoggle.studio/"]} {"url": "https://html.spec.whatwg.org/", "titulek": "HTML Standard", "h1": "HTML", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "en-US-x-hixie", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 2, "text": "Table of contents"}, {"uroven": 2, "text": "Full table of contents"}, {"uroven": 2, "text": "1 Introduction"}, {"uroven": 3, "text": "1.1 Where does this specification fit?"}, {"uroven": 3, "text": "1.2 Is this HTML5?"}, {"uroven": 3, "text": "1.3 Background"}, {"uroven": 3, "text": "1.4 Audience"}, {"uroven": 3, "text": "1.5 Scope"}, {"uroven": 3, "text": "1.6 History"}, {"uroven": 3, "text": "1.7 Design notes"}, {"uroven": 4, "text": "1.7.1 Serializability of script execution"}, {"uroven": 4, "text": "1.7.2 Extensibility"}, {"uroven": 3, "text": "1.8 HTML vs XML syntax"}, {"uroven": 3, "text": "1.9 Structure of this specification"}, {"uroven": 4, "text": "1.9.1 How to read this specification"}, {"uroven": 4, "text": "1.9.2 Typographic conventions"}, {"uroven": 3, "text": "1.10 A quick introduction to HTML"}, {"uroven": 4, "text": "1.10.1 Writing secure applications with HTML"}, {"uroven": 4, "text": "1.10.2 Common pitfalls to avoid when using the scripting APIs"}, {"uroven": 4, "text": "1.10.3 How to catch mistakes when writing HTML: validators and conformance checkers"}, {"uroven": 3, "text": "1.11 Conformance requirements for authors"}, {"uroven": 4, "text": "1.11.1 Presentational markup"}, {"uroven": 4, "text": "1.11.2 Syntax errors"}, {"uroven": 4, "text": "1.11.3 Restrictions on content models and on attribute values"}, {"uroven": 3, "text": "1.12 Suggested reading"}, {"uroven": 2, "text": "2 Common infrastructure"}, {"uroven": 3, "text": "2.1 Terminology"}, {"uroven": 4, "text": "2.1.1 Parallelism"}, {"uroven": 4, "text": "2.1.2 Resources"}, {"uroven": 4, "text": "2.1.3 XML compatibility"}, {"uroven": 4, "text": "2.1.4 DOM trees"}, {"uroven": 4, "text": "2.1.5 Scripting"}, {"uroven": 4, "text": "2.1.6 Plugins"}, {"uroven": 4, "text": "2.1.7 Character encodings"}, {"uroven": 4, "text": "2.1.8 Conformance classes"}, {"uroven": 4, "text": "2.1.9 Dependencies"}, {"uroven": 4, "text": "2.1.10 Extensibility"}, {"uroven": 4, "text": "2.1.11 Interactions with XPath and XSLT"}, {"uroven": 3, "text": "2.2 Policy-controlled features"}, {"uroven": 3, "text": "2.3 Common microsyntaxes"}, {"uroven": 4, "text": "2.3.1 Common parser idioms"}, {"uroven": 4, "text": "2.3.2 Boolean attributes"}, {"uroven": 4, "text": "2.3.3 Keywords and enumerated attributes"}, {"uroven": 4, "text": "2.3.4 Numbers"}, {"uroven": 5, "text": "2.3.4.1 Signed integers"}, {"uroven": 5, "text": "2.3.4.2 Non-negative integers"}, {"uroven": 5, "text": "2.3.4.3 Floating-point numbers"}, {"uroven": 5, "text": "2.3.4.4 Percentages and lengths"}, {"uroven": 5, "text": "2.3.4.5 Nonzero percentages and lengths"}, {"uroven": 5, "text": "2.3.4.6 Lists of floating-point numbers"}, {"uroven": 5, "text": "2.3.4.7 Lists of dimensions"}, {"uroven": 4, "text": "2.3.5 Dates and times"}, {"uroven": 5, "text": "2.3.5.1 Months"}, {"uroven": 5, "text": "2.3.5.2 Dates"}, {"uroven": 5, "text": "2.3.5.3 Yearless dates"}, {"uroven": 5, "text": "2.3.5.4 Times"}, {"uroven": 5, "text": "2.3.5.5 Local dates and times"}, {"uroven": 5, "text": "2.3.5.6 Time zones"}, {"uroven": 5, "text": "2.3.5.7 Global dates and times"}, {"uroven": 5, "text": "2.3.5.8 Weeks"}, {"uroven": 5, "text": "2.3.5.9 Durations"}, {"uroven": 5, "text": "2.3.5.10 Vaguer moments in time"}, {"uroven": 4, "text": "2.3.6 Legacy colors"}, {"uroven": 4, "text": "2.3.7 Space-separated tokens"}, {"uroven": 4, "text": "2.3.8 Comma-separated tokens"}, {"uroven": 4, "text": "2.3.9 References"}, {"uroven": 4, "text": "2.3.10 Media queries"}, {"uroven": 4, "text": "2.3.11 Unique internal values"}, {"uroven": 3, "text": "2.4 URLs"}, {"uroven": 4, "text": "2.4.1 Terminology"}, {"uroven": 4, "text": "2.4.2 Parsing URLs"}, {"uroven": 4, "text": "2.4.3 Document base URLs"}, {"uroven": 3, "text": "2.5 Fetching resources"}, {"uroven": 4, "text": "2.5.1 Terminology"}, {"uroven": 4, "text": "2.5.2 Determining the type of a resource"}, {"uroven": 4, "text": "2.5.3 Extracting character encodings from meta elements"}, {"uroven": 4, "text": "2.5.4 CORS settings attributes"}, {"uroven": 4, "text": "2.5.5 Referrer policy attributes"}, {"uroven": 4, "text": "2.5.6 Nonce attributes"}, {"uroven": 4, "text": "2.5.7 Lazy loading attributes"}, {"uroven": 4, "text": "2.5.8 Blocking attributes"}, {"uroven": 4, "text": "2.5.9 Fetch priority attributes"}, {"uroven": 3, "text": "2.6 Common DOM interfaces"}, {"uroven": 4, "text": "2.6.1 Reflecting content attributes in IDL attributes"}, {"uroven": 4, "text": "2.6.2 Using reflect via IDL extended attributes"}, {"uroven": 4, "text": "2.6.3 Using reflect in specifications"}, {"uroven": 4, "text": "2.6.4 Collections"}, {"uroven": 5, "text": "2.6.4.1 The HTMLAllCollection interface"}, {"uroven": 6, "text": "2.6.4.1.1 [[Call]] ( thisArgument, argumentsList )"}, {"uroven": 5, "text": "2.6.4.2 The HTMLFormControlsCollection interface"}, {"uroven": 5, "text": "2.6.4.3 The HTMLOptionsCollection interface"}, {"uroven": 4, "text": "2.6.5 The DOMStringList interface"}, {"uroven": 3, "text": "2.7 Safe passing of structured data"}, {"uroven": 4, "text": "2.7.1 Serializable objects"}, {"uroven": 4, "text": "2.7.2 Transferable objects"}, {"uroven": 4, "text": "2.7.3 StructuredSerializeInternal ( value, forStorage [ ,\n memory ] )"}, {"uroven": 4, "text": "2.7.4 StructuredSerialize ( value )"}, {"uroven": 4, "text": "2.7.5 StructuredSerializeForStorage ( value )"}, {"uroven": 4, "text": "2.7.6 StructuredDeserialize ( serialized, targetRealm [ ,\n memory ] )"}, {"uroven": 4, "text": "2.7.7 StructuredSerializeWithTransfer ( value, transferList\n )"}, {"uroven": 4, "text": "2.7.8 StructuredDeserializeWithTransfer ( serializeWithTransferResult,\n targetRealm )"}, {"uroven": 4, "text": "2.7.9 Performing serialization and\n transferring from other specifications"}, {"uroven": 4, "text": "2.7.10 Structured cloning API"}, {"uroven": 2, "text": "3 Semantics, structure, and APIs of HTML documents"}, {"uroven": 3, "text": "3.1 Documents"}, {"uroven": 4, "text": "3.1.1 The Document object"}, {"uroven": 4, "text": "3.1.2 The DocumentOrShadowRoot interface"}, {"uroven": 4, "text": "3.1.3 Ancestor origins"}, {"uroven": 4, "text": "3.1.4 Resource metadata management"}, {"uroven": 4, "text": "3.1.5 Reporting document loading status"}, {"uroven": 4, "text": "3.1.6 Render-blocking mechanism"}, {"uroven": 4, "text": "3.1.7 DOM tree accessors"}, {"uroven": 3, "text": "3.2 Elements"}, {"uroven": 4, "text": "3.2.1 Semantics"}, {"uroven": 4, "text": "3.2.2 Elements in the DOM"}, {"uroven": 4, "text": "3.2.3 HTML element constructors"}, {"uroven": 4, "text": "3.2.4 Element definitions"}, {"uroven": 5, "text": "3.2.4.1 Attributes"}, {"uroven": 4, "text": "3.2.5 Content models"}, {"uroven": 5, "text": "3.2.5.1 The \"nothing\" content model"}, {"uroven": 5, "text": "3.2.5.2 Kinds of content"}, {"uroven": 6, "text": "3.2.5.2.1 Metadata content"}, {"uroven": 6, "text": "3.2.5.2.2 Flow content"}, {"uroven": 6, "text": "3.2.5.2.3 Sectioning content"}, {"uroven": 6, "text": "3.2.5.2.4 Heading content"}, {"uroven": 6, "text": "3.2.5.2.5 Phrasing content"}, {"uroven": 6, "text": "3.2.5.2.6 Embedded content"}, {"uroven": 6, "text": "3.2.5.2.7 Interactive content"}, {"uroven": 6, "text": "3.2.5.2.8 Palpable content"}, {"uroven": 6, "text": "3.2.5.2.9 Script-supporting elements"}, {"uroven": 5, "text": "3.2.5.3 Transparent content models"}, {"uroven": 5, "text": "3.2.5.4 Paragraphs"}, {"uroven": 4, "text": "3.2.6 Global attributes"}, {"uroven": 5, "text": "3.2.6.1 The title attribute"}, {"uroven": 5, "text": "3.2.6.2 The lang and xml:lang\n attributes"}, {"uroven": 5, "text": "3.2.6.3 The translate attribute"}, {"uroven": 5, "text": "3.2.6.4 The dir attribute"}, {"uroven": 5, "text": "3.2.6.5 The style attribute"}, {"uroven": 5, "text": "3.2.6.6 Embedding custom non-visible data with the data-* attributes"}, {"uroven": 4, "text": "3.2.7 The innerText and outerText properties"}, {"uroven": 4, "text": "3.2.8 Requirements relating to the bidirectional algorithm"}, {"uroven": 5, "text": "3.2.8.1 Authoring conformance criteria for bidirectional-algorithm formatting characters"}, {"uroven": 5, "text": "3.2.8.2 User agent conformance criteria"}, {"uroven": 4, "text": "3.2.9 Requirements related to ARIA and to platform accessibility APIs"}, {"uroven": 2, "text": "4 The elements of HTML"}, {"uroven": 3, "text": "4.1 The document element"}, {"uroven": 4, "text": "4.1.1 The html element"}, {"uroven": 3, "text": "4.2 Document metadata"}, {"uroven": 4, "text": "4.2.1 The head element"}, {"uroven": 4, "text": "4.2.2 The title element"}, {"uroven": 4, "text": "4.2.3 The base element"}, {"uroven": 4, "text": "4.2.4 The link element"}, {"uroven": 5, "text": "4.2.4.1 Processing the media attribute"}, {"uroven": 5, "text": "4.2.4.2 Processing the type attribute"}, {"uroven": 5, "text": "4.2.4.3 Fetching and processing a resource\n from a link element"}, {"uroven": 5, "text": "4.2.4.4 Processing `Link` headers"}, {"uroven": 5, "text": "4.2.4.5 Early hints"}, {"uroven": 5, "text": "4.2.4.6 Providing users with a means to follow hyperlinks created using the link\n element"}, {"uroven": 4, "text": "4.2.5 The meta\n element"}, {"uroven": 5, "text": "4.2.5.1 Standard metadata names"}, {"uroven": 5, "text": "4.2.5.2 Other metadata names"}, {"uroven": 5, "text": "4.2.5.3 Pragma directives"}, {"uroven": 5, "text": "4.2.5.4 Specifying the document's character encoding"}, {"uroven": 4, "text": "4.2.6 The style element"}, {"uroven": 4, "text": "4.2.7 Interactions of styling and scripting"}, {"uroven": 3, "text": "4.3 Sections"}, {"uroven": 4, "text": "4.3.1 The body element"}, {"uroven": 4, "text": "4.3.2 The article element"}, {"uroven": 4, "text": "4.3.3 The section element"}, {"uroven": 4, "text": "4.3.6 The h1, h2, h3, h4, h5, and h6\n elements"}, {"uroven": 4, "text": "4.3.7 The hgroup element"}, {"uroven": 4, "text": "4.3.10 The address element"}, {"uroven": 4, "text": "4.3.11 Headings and outlines"}, {"uroven": 5, "text": "4.3.11.1 Heading levels & offsets"}, {"uroven": 5, "text": "4.3.11.2 Sample outlines"}, {"uroven": 5, "text": "4.3.11.3 Exposing outlines to users"}, {"uroven": 4, "text": "4.3.12 Usage summary"}, {"uroven": 5, "text": "4.3.12.1 Article or section?"}, {"uroven": 3, "text": "4.4 Grouping content"}, {"uroven": 4, "text": "4.4.1 The p element"}, {"uroven": 4, "text": "4.4.2 The hr element"}, {"uroven": 4, "text": "4.4.3 The pre element"}, {"uroven": 4, "text": "4.4.4 The blockquote element"}, {"uroven": 4, "text": "4.4.5 The ol element"}, {"uroven": 4, "text": "4.4.6 The ul element"}, {"uroven": 4, "text": "4.4.8 The li element"}, {"uroven": 4, "text": "4.4.9 The dl element"}, {"uroven": 4, "text": "4.4.10 The dt element"}, {"uroven": 4, "text": "4.4.11 The dd element"}, {"uroven": 4, "text": "4.4.12 The figure element"}, {"uroven": 4, "text": "4.4.13 The figcaption element"}, {"uroven": 4, "text": "4.4.14 The main element"}, {"uroven": 4, "text": "4.4.15 The search element"}, {"uroven": 4, "text": "4.4.16 The div element"}, {"uroven": 3, "text": "4.5 Text-level semantics"}, {"uroven": 4, "text": "4.5.1 The a element"}, {"uroven": 4, "text": "4.5.2 The em element"}, {"uroven": 4, "text": "4.5.3 The strong element"}, {"uroven": 4, "text": "4.5.4 The small element"}, {"uroven": 4, "text": "4.5.5 The s element"}, {"uroven": 4, "text": "4.5.6 The cite element"}, {"uroven": 4, "text": "4.5.7 The q element"}, {"uroven": 4, "text": "4.5.8 The dfn element"}, {"uroven": 4, "text": "4.5.9 The abbr element"}, {"uroven": 4, "text": "4.5.10 The ruby element"}, {"uroven": 4, "text": "4.5.11 The rt element"}, {"uroven": 4, "text": "4.5.12 The rp element"}, {"uroven": 4, "text": "4.5.13 The data element"}, {"uroven": 4, "text": "4.5.14 The time element"}, {"uroven": 4, "text": "4.5.15 The code element"}, {"uroven": 4, "text": "4.5.16 The var element"}, {"uroven": 4, "text": "4.5.17 The samp element"}, {"uroven": 4, "text": "4.5.18 The kbd element"}, {"uroven": 4, "text": "4.5.19 The sub and sup elements"}, {"uroven": 4, "text": "4.5.20 The i element"}, {"uroven": 4, "text": "4.5.21 The b element"}, {"uroven": 4, "text": "4.5.22 The u element"}, {"uroven": 4, "text": "4.5.23 The mark element"}, {"uroven": 4, "text": "4.5.24 The bdi element"}, {"uroven": 4, "text": "4.5.25 The bdo element"}, {"uroven": 4, "text": "4.5.26 The span element"}, {"uroven": 4, "text": "4.5.27 The br element"}, {"uroven": 4, "text": "4.5.28 The wbr element"}, {"uroven": 4, "text": "4.5.29 Usage summary"}, {"uroven": 3, "text": "4.6 Links"}, {"uroven": 4, "text": "4.6.1 Introduction"}, {"uroven": 4, "text": "4.6.2 Links created by a and area elements"}, {"uroven": 4, "text": "4.6.3 API for hyperlink elements"}, {"uroven": 4, "text": "4.6.4 API for a and area elements"}, {"uroven": 4, "text": "4.6.5 Following hyperlinks"}, {"uroven": 4, "text": "4.6.6 Downloading resources"}, {"uroven": 4, "text": "4.6.7 Hyperlink auditing"}, {"uroven": 5, "text": "4.6.7.1 The `Ping-From` and `Ping-To` headers"}, {"uroven": 4, "text": "4.6.8 Link types"}, {"uroven": 5, "text": "4.6.8.1 Link type \"alternate\""}, {"uroven": 5, "text": "4.6.8.2 Link type \"author\""}, {"uroven": 5, "text": "4.6.8.3 Link type \"bookmark\""}, {"uroven": 5, "text": "4.6.8.4 Link type \"canonical\""}, {"uroven": 5, "text": "4.6.8.5 Link type \"dns-prefetch\""}, {"uroven": 5, "text": "4.6.8.6 Link type \"expect\""}, {"uroven": 5, "text": "4.6.8.7 Link type \"external\""}, {"uroven": 5, "text": "4.6.8.8 Link type \"help\""}, {"uroven": 5, "text": "4.6.8.9 Link type \"icon\""}, {"uroven": 5, "text": "4.6.8.10 Link type \"license\""}, {"uroven": 5, "text": "4.6.8.11 Link type \"manifest\""}, {"uroven": 5, "text": "4.6.8.12 Link type \"modulepreload\""}, {"uroven": 5, "text": "4.6.8.13 Link type \"nofollow\""}, {"uroven": 5, "text": "4.6.8.14 Link type \"noopener\""}, {"uroven": 5, "text": "4.6.8.15 Link type \"noreferrer\""}, {"uroven": 5, "text": "4.6.8.16 Link type \"opener\""}, {"uroven": 5, "text": "4.6.8.17 Link type \"pingback\""}, {"uroven": 5, "text": "4.6.8.18 Link type \"preconnect\""}, {"uroven": 5, "text": "4.6.8.19 Link type \"prefetch\""}, {"uroven": 5, "text": "4.6.8.20 Link type \"preload\""}, {"uroven": 5, "text": "4.6.8.21 Link type \"privacy-policy\""}, {"uroven": 5, "text": "4.6.8.22 Link type \"search\""}, {"uroven": 5, "text": "4.6.8.23 Link type \"stylesheet\""}, {"uroven": 5, "text": "4.6.8.24 Link type \"tag\""}, {"uroven": 5, "text": "4.6.8.25 Link Type \"terms-of-service\""}, {"uroven": 5, "text": "4.6.8.26 Sequential link types"}, {"uroven": 6, "text": "4.6.8.26.1 Link type \"next\""}, {"uroven": 6, "text": "4.6.8.26.2 Link type \"prev\""}, {"uroven": 5, "text": "4.6.8.27 Other link types"}, {"uroven": 3, "text": "4.7 Edits"}, {"uroven": 4, "text": "4.7.1 The ins element"}, {"uroven": 4, "text": "4.7.2 The del element"}, {"uroven": 4, "text": "4.7.3 Attributes common to ins and del elements"}, {"uroven": 4, "text": "4.7.4 Edits and paragraphs"}, {"uroven": 4, "text": "4.7.5 Edits and lists"}, {"uroven": 4, "text": "4.7.6 Edits and tables"}, {"uroven": 3, "text": "4.8 Embedded content"}, {"uroven": 4, "text": "4.8.1 The picture element"}, {"uroven": 4, "text": "4.8.2 The source element"}, {"uroven": 4, "text": "4.8.3 The img element"}, {"uroven": 4, "text": "4.8.4 Images"}, {"uroven": 5, "text": "4.8.4.1 Introduction"}, {"uroven": 6, "text": "4.8.4.1.1 Adaptive images"}, {"uroven": 5, "text": "4.8.4.2 Attributes common to source,\n img, and link elements"}, {"uroven": 6, "text": "4.8.4.2.1 Srcset attributes"}, {"uroven": 6, "text": "4.8.4.2.2 Sizes attributes"}, {"uroven": 5, "text": "4.8.4.3 Processing model"}, {"uroven": 6, "text": "4.8.4.3.1 When to obtain images"}, {"uroven": 6, "text": "4.8.4.3.2 Reacting to DOM mutations"}, {"uroven": 6, "text": "4.8.4.3.3 The list of available images"}, {"uroven": 6, "text": "4.8.4.3.4 Decoding images"}, {"uroven": 6, "text": "4.8.4.3.5 Updating the image data"}, {"uroven": 6, "text": "4.8.4.3.6 Preparing an image for presentation"}, {"uroven": 6, "text": "4.8.4.3.7 Selecting an image source"}, {"uroven": 6, "text": "4.8.4.3.8 Creating a source set from attributes"}, {"uroven": 6, "text": "4.8.4.3.9 Updating the source set"}, {"uroven": 6, "text": "4.8.4.3.10 Parsing a srcset attribute"}, {"uroven": 6, "text": "4.8.4.3.11 Parsing a sizes attribute"}, {"uroven": 6, "text": "4.8.4.3.12 Normalizing the source densities"}, {"uroven": 6, "text": "4.8.4.3.13 Reacting to environment changes"}, {"uroven": 5, "text": "4.8.4.4 Requirements for providing text to act as an alternative for images"}, {"uroven": 6, "text": "4.8.4.4.1 General guidelines"}, {"uroven": 6, "text": "4.8.4.4.2 A link or button containing nothing but the image"}, {"uroven": 6, "text": "4.8.4.4.3 A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations"}, {"uroven": 6, "text": "4.8.4.4.4 A short phrase or label with an alternative graphical representation: icons, logos"}, {"uroven": 6, "text": "4.8.4.4.5 Text that has been rendered to a graphic for typographical effect"}, {"uroven": 6, "text": "4.8.4.4.6 A graphical representation of some of the surrounding text"}, {"uroven": 6, "text": "4.8.4.4.7 Ancillary images"}, {"uroven": 6, "text": "4.8.4.4.8 A purely decorative image that doesn't add any information"}, {"uroven": 6, "text": "4.8.4.4.9 A group of images that form a single larger picture with no links"}, {"uroven": 6, "text": "4.8.4.4.10 A group of images that form a single larger picture with links"}, {"uroven": 6, "text": "4.8.4.4.11 A key part of the content"}, {"uroven": 6, "text": "4.8.4.4.12 An image not intended for the user"}, {"uroven": 6, "text": "4.8.4.4.13 An image in an email or private document intended for a specific person who is known to be able to view images"}, {"uroven": 6, "text": "4.8.4.4.14 Guidance for markup generators"}, {"uroven": 6, "text": "4.8.4.4.15 Guidance for conformance checkers"}, {"uroven": 4, "text": "4.8.5 The\n iframe element"}, {"uroven": 4, "text": "4.8.6 The embed element"}, {"uroven": 4, "text": "4.8.7 The object element"}, {"uroven": 4, "text": "4.8.8 The video element"}, {"uroven": 4, "text": "4.8.9 The audio element"}, {"uroven": 4, "text": "4.8.10 The track element"}, {"uroven": 4, "text": "4.8.11 Media elements"}, {"uroven": 5, "text": "4.8.11.1 Error codes"}, {"uroven": 5, "text": "4.8.11.2 Location of the media resource"}, {"uroven": 5, "text": "4.8.11.3 MIME types"}, {"uroven": 5, "text": "4.8.11.4 Network states"}, {"uroven": 5, "text": "4.8.11.5 Loading the media resource"}, {"uroven": 5, "text": "4.8.11.6 Offsets into the media resource"}, {"uroven": 5, "text": "4.8.11.7 Ready states"}, {"uroven": 5, "text": "4.8.11.8 Playing the media resource"}, {"uroven": 5, "text": "4.8.11.9 Seeking"}, {"uroven": 5, "text": "4.8.11.10 Media resources with multiple media tracks"}, {"uroven": 6, "text": "4.8.11.10.1 AudioTrackList and VideoTrackList objects"}, {"uroven": 6, "text": "4.8.11.10.2 Selecting specific audio and video tracks declaratively"}, {"uroven": 5, "text": "4.8.11.11 Timed text tracks"}, {"uroven": 6, "text": "4.8.11.11.1 Text track model"}, {"uroven": 6, "text": "4.8.11.11.2 Sourcing in-band text tracks"}, {"uroven": 6, "text": "4.8.11.11.3 Sourcing out-of-band text tracks"}, {"uroven": 6, "text": "4.8.11.11.4 Guidelines for exposing cues in various formats as text track cues"}, {"uroven": 6, "text": "4.8.11.11.5 Text track API"}, {"uroven": 6, "text": "4.8.11.11.6 Event handlers for objects of the text track APIs"}, {"uroven": 6, "text": "4.8.11.11.7 Best practices for metadata text tracks"}, {"uroven": 5, "text": "4.8.11.12 Identifying a track kind through a URL"}, {"uroven": 5, "text": "4.8.11.13 User interface"}, {"uroven": 5, "text": "4.8.11.14 Time ranges"}, {"uroven": 5, "text": "4.8.11.15 The TrackEvent interface"}, {"uroven": 5, "text": "4.8.11.16 Events summary"}, {"uroven": 5, "text": "4.8.11.17 Security and privacy considerations"}, {"uroven": 5, "text": "4.8.11.18 Best practices for authors using media elements"}, {"uroven": 5, "text": "4.8.11.19 Best practices for implementers of media elements"}, {"uroven": 4, "text": "4.8.12 The map element"}, {"uroven": 4, "text": "4.8.13 The area element"}, {"uroven": 4, "text": "4.8.14 Image maps"}, {"uroven": 5, "text": "4.8.14.1 Authoring"}, {"uroven": 5, "text": "4.8.14.2 Processing model"}, {"uroven": 4, "text": "4.8.15 MathML"}, {"uroven": 4, "text": "4.8.16 SVG"}, {"uroven": 4, "text": "4.8.17 Dimension attributes"}, {"uroven": 3, "text": "4.9 Tabular data"}, {"uroven": 4, "text": "4.9.1 The table element"}, {"uroven": 5, "text": "4.9.1.1 Techniques for describing tables"}, {"uroven": 5, "text": "4.9.1.2 Techniques for table design"}, {"uroven": 4, "text": "4.9.2 The caption element"}, {"uroven": 4, "text": "4.9.3 The colgroup element"}, {"uroven": 4, "text": "4.9.4 The col element"}, {"uroven": 4, "text": "4.9.5 The tbody element"}, {"uroven": 4, "text": "4.9.6 The thead element"}, {"uroven": 4, "text": "4.9.7 The tfoot element"}, {"uroven": 4, "text": "4.9.8 The tr element"}, {"uroven": 4, "text": "4.9.9 The td element"}, {"uroven": 4, "text": "4.9.10 The th element"}, {"uroven": 4, "text": "4.9.11 Attributes common to td and th elements"}, {"uroven": 4, "text": "4.9.12 Processing model"}, {"uroven": 5, "text": "4.9.12.1 Forming a table"}, {"uroven": 4, "text": "4.9.13 Examples"}, {"uroven": 3, "text": "4.10 Forms"}, {"uroven": 4, "text": "4.10.1 Introduction"}, {"uroven": 5, "text": "4.10.1.1 Writing a form's user interface"}, {"uroven": 5, "text": "4.10.1.2 Implementing the server-side processing for a form"}, {"uroven": 5, "text": "4.10.1.3 Configuring a form to communicate with a server"}, {"uroven": 5, "text": "4.10.1.4 Client-side form validation"}, {"uroven": 5, "text": "4.10.1.5 Enabling client-side automatic filling of form controls"}, {"uroven": 5, "text": "4.10.1.6 Improving the user experience on mobile devices"}, {"uroven": 5, "text": "4.10.1.7 The difference between the field type, the autofill field name, and the input modality"}, {"uroven": 5, "text": "4.10.1.8 Date, time, and number formats"}, {"uroven": 4, "text": "4.10.2 Categories"}, {"uroven": 4, "text": "4.10.3 The form element"}, {"uroven": 4, "text": "4.10.4 The label element"}, {"uroven": 4, "text": "4.10.5 The input element"}, {"uroven": 5, "text": "4.10.5.1 States of the type attribute"}, {"uroven": 6, "text": "4.10.5.1.1 Hidden state (type=hidden)"}, {"uroven": 6, "text": "4.10.5.1.2 Text (type=text) state and Search state (type=search)"}, {"uroven": 6, "text": "4.10.5.1.3 Telephone state (type=tel)"}, {"uroven": 6, "text": "4.10.5.1.4 URL state (type=url)"}, {"uroven": 6, "text": "4.10.5.1.5 Email state (type=email)"}, {"uroven": 6, "text": "4.10.5.1.6 Password state (type=password)"}, {"uroven": 6, "text": "4.10.5.1.7 Date state (type=date)"}, {"uroven": 6, "text": "4.10.5.1.8 Month state (type=month)"}, {"uroven": 6, "text": "4.10.5.1.9 Week state (type=week)"}, {"uroven": 6, "text": "4.10.5.1.10 Time state (type=time)"}, {"uroven": 6, "text": "4.10.5.1.11 Local Date and Time state (type=datetime-local)"}, {"uroven": 6, "text": "4.10.5.1.12 Number state (type=number)"}, {"uroven": 6, "text": "4.10.5.1.13 Range state (type=range)"}, {"uroven": 6, "text": "4.10.5.1.14 Color state (type=color)"}, {"uroven": 6, "text": "4.10.5.1.15 Checkbox state (type=checkbox)"}, {"uroven": 6, "text": "4.10.5.1.16 Radio Button state (type=radio)"}, {"uroven": 6, "text": "4.10.5.1.17 File Upload state (type=file)"}, {"uroven": 6, "text": "4.10.5.1.18 Submit Button state (type=submit)"}, {"uroven": 6, "text": "4.10.5.1.19 Image Button state (type=image)"}, {"uroven": 6, "text": "4.10.5.1.20 Reset Button state (type=reset)"}, {"uroven": 6, "text": "4.10.5.1.21 Button state (type=button)"}, {"uroven": 5, "text": "4.10.5.2 Implementation notes regarding localization of form controls"}, {"uroven": 5, "text": "4.10.5.3 Common input element attributes"}, {"uroven": 6, "text": "4.10.5.3.1 The maxlength and minlength attributes"}, {"uroven": 6, "text": "4.10.5.3.2 The size attribute"}, {"uroven": 6, "text": "4.10.5.3.3 The readonly attribute"}, {"uroven": 6, "text": "4.10.5.3.4 The required attribute"}, {"uroven": 6, "text": "4.10.5.3.5 The multiple attribute"}, {"uroven": 6, "text": "4.10.5.3.6 The pattern attribute"}, {"uroven": 6, "text": "4.10.5.3.7 The min and max attributes"}, {"uroven": 6, "text": "4.10.5.3.8 The step attribute"}, {"uroven": 6, "text": "4.10.5.3.9 The list attribute"}, {"uroven": 6, "text": "4.10.5.3.10 The placeholder attribute"}, {"uroven": 5, "text": "4.10.5.4 Common input element APIs"}, {"uroven": 5, "text": "4.10.5.5 Common event behaviors"}, {"uroven": 4, "text": "4.10.6 The button element"}, {"uroven": 4, "text": "4.10.7 The select element"}, {"uroven": 4, "text": "4.10.8 The datalist element"}, {"uroven": 4, "text": "4.10.9 The optgroup element"}, {"uroven": 4, "text": "4.10.10 The option element"}, {"uroven": 4, "text": "4.10.11 The textarea element"}, {"uroven": 4, "text": "4.10.12 The output element"}, {"uroven": 4, "text": "4.10.13 The progress element"}, {"uroven": 4, "text": "4.10.14 The meter element"}, {"uroven": 4, "text": "4.10.15 The fieldset element"}, {"uroven": 4, "text": "4.10.16 The legend element"}, {"uroven": 4, "text": "4.10.17 The selectedcontent element"}, {"uroven": 4, "text": "4.10.18 Form control infrastructure"}, {"uroven": 5, "text": "4.10.18.1 A form control's value"}, {"uroven": 5, "text": "4.10.18.2 Mutability"}, {"uroven": 5, "text": "4.10.18.3 Association of controls and forms"}, {"uroven": 4, "text": "4.10.19 Attributes common to form controls"}, {"uroven": 5, "text": "4.10.19.1 Naming form controls: the name attribute"}, {"uroven": 5, "text": "4.10.19.2 Submitting element directionality: the dirname attribute"}, {"uroven": 5, "text": "4.10.19.3 Limiting user input length: the maxlength attribute"}, {"uroven": 5, "text": "4.10.19.4 Setting minimum input length requirements: the minlength attribute"}, {"uroven": 5, "text": "4.10.19.5 Enabling and disabling form controls: the disabled attribute"}, {"uroven": 5, "text": "4.10.19.6 Form submission attributes"}, {"uroven": 5, "text": "4.10.19.7 Autofill"}, {"uroven": 6, "text": "4.10.19.7.1 Autofilling form controls: the autocomplete attribute"}, {"uroven": 6, "text": "4.10.19.7.2 Processing model"}, {"uroven": 4, "text": "4.10.20 APIs for the text control selections"}, {"uroven": 4, "text": "4.10.21 Constraints"}, {"uroven": 5, "text": "4.10.21.1 Definitions"}, {"uroven": 5, "text": "4.10.21.2 Constraint validation"}, {"uroven": 5, "text": "4.10.21.3 The constraint validation API"}, {"uroven": 5, "text": "4.10.21.4 Security"}, {"uroven": 4, "text": "4.10.22 Form submission"}, {"uroven": 5, "text": "4.10.22.1 Introduction"}, {"uroven": 5, "text": "4.10.22.2 Implicit submission"}, {"uroven": 5, "text": "4.10.22.3 Form submission algorithm"}, {"uroven": 5, "text": "4.10.22.4 Constructing the entry list"}, {"uroven": 5, "text": "4.10.22.5 Selecting a form submission encoding"}, {"uroven": 5, "text": "4.10.22.6 Converting an entry list to a list of name-value pairs"}, {"uroven": 5, "text": "4.10.22.7 URL-encoded form data"}, {"uroven": 5, "text": "4.10.22.8 Multipart form data"}, {"uroven": 5, "text": "4.10.22.9 Plain text form data"}, {"uroven": 5, "text": "4.10.22.10 The SubmitEvent interface"}, {"uroven": 5, "text": "4.10.22.11 The FormDataEvent interface"}, {"uroven": 4, "text": "4.10.23 Resetting a form"}, {"uroven": 3, "text": "4.11 Interactive elements"}, {"uroven": 4, "text": "4.11.1 The details element"}, {"uroven": 4, "text": "4.11.2 The summary element"}, {"uroven": 4, "text": "4.11.3 Commands"}, {"uroven": 5, "text": "4.11.3.1 Facets"}, {"uroven": 5, "text": "4.11.3.2 Using the a element to define a command"}, {"uroven": 5, "text": "4.11.3.3 Using the button element to define a command"}, {"uroven": 5, "text": "4.11.3.4 Using the input element to define a command"}, {"uroven": 5, "text": "4.11.3.5 Using the option element to define a command"}, {"uroven": 5, "text": "4.11.3.6 Using the accesskey attribute\n on a legend element to define a command"}, {"uroven": 5, "text": "4.11.3.7 Using the accesskey\n attribute to define a command on other elements"}, {"uroven": 4, "text": "4.11.4 The dialog element"}, {"uroven": 4, "text": "4.11.5 Dialog light dismiss"}, {"uroven": 3, "text": "4.12 Scripting"}, {"uroven": 4, "text": "4.12.1 The script element"}, {"uroven": 5, "text": "4.12.1.1 Processing model"}, {"uroven": 5, "text": "4.12.1.2 Scripting languages"}, {"uroven": 5, "text": "4.12.1.3 Restrictions for contents of script elements"}, {"uroven": 5, "text": "4.12.1.4 Inline documentation for external scripts"}, {"uroven": 5, "text": "4.12.1.5 Interaction of script elements and XSLT"}, {"uroven": 4, "text": "4.12.2 The noscript element"}, {"uroven": 4, "text": "4.12.3 The template element"}, {"uroven": 5, "text": "4.12.3.1 Interaction of template elements with XSLT and XPath"}, {"uroven": 4, "text": "4.12.4 The slot element"}, {"uroven": 4, "text": "4.12.5 The canvas element"}, {"uroven": 5, "text": "4.12.5.1 The 2D rendering context"}, {"uroven": 6, "text": "4.12.5.1.1 Implementation notes"}, {"uroven": 6, "text": "4.12.5.1.2 The canvas settings"}, {"uroven": 6, "text": "4.12.5.1.3 The canvas state"}, {"uroven": 6, "text": "4.12.5.1.4 Line styles"}, {"uroven": 6, "text": "4.12.5.1.5 Text styles"}, {"uroven": 6, "text": "4.12.5.1.6 Building paths"}, {"uroven": 6, "text": "4.12.5.1.7 Path2D objects"}, {"uroven": 6, "text": "4.12.5.1.8 Transformations"}, {"uroven": 6, "text": "4.12.5.1.9 Image sources for 2D rendering contexts"}, {"uroven": 6, "text": "4.12.5.1.10 Fill and stroke styles"}, {"uroven": 6, "text": "4.12.5.1.11 Drawing rectangles to the bitmap"}, {"uroven": 6, "text": "4.12.5.1.12 Drawing text to the bitmap"}, {"uroven": 6, "text": "4.12.5.1.13 Drawing paths to the canvas"}, {"uroven": 6, "text": "4.12.5.1.14 Drawing focus rings"}, {"uroven": 6, "text": "4.12.5.1.15 Drawing images"}, {"uroven": 6, "text": "4.12.5.1.16 Pixel manipulation"}, {"uroven": 6, "text": "4.12.5.1.17 Compositing"}, {"uroven": 6, "text": "4.12.5.1.18 Image smoothing"}, {"uroven": 6, "text": "4.12.5.1.19 Shadows"}, {"uroven": 6, "text": "4.12.5.1.20 Filters"}, {"uroven": 6, "text": "4.12.5.1.21 Working with externally-defined SVG filters"}, {"uroven": 6, "text": "4.12.5.1.22 Drawing model"}, {"uroven": 6, "text": "4.12.5.1.23 Best practices"}, {"uroven": 6, "text": "4.12.5.1.24 Examples"}, {"uroven": 5, "text": "4.12.5.2 The ImageBitmap rendering context"}, {"uroven": 6, "text": "4.12.5.2.1 Introduction"}, {"uroven": 6, "text": "4.12.5.2.2 The ImageBitmapRenderingContext interface"}, {"uroven": 5, "text": "4.12.5.3 The OffscreenCanvas interface"}, {"uroven": 6, "text": "4.12.5.3.1 The offscreen 2D rendering context"}, {"uroven": 5, "text": "4.12.5.4 Color spaces and color space\n conversion"}, {"uroven": 5, "text": "4.12.5.5 Serializing bitmaps to a file"}, {"uroven": 5, "text": "4.12.5.6 Security with canvas elements"}, {"uroven": 5, "text": "4.12.5.7 Premultiplied alpha and the 2D rendering context"}, {"uroven": 3, "text": "4.13 Custom elements"}, {"uroven": 4, "text": "4.13.1 Introduction"}, {"uroven": 5, "text": "4.13.1.1 Creating an autonomous custom element"}, {"uroven": 5, "text": "4.13.1.2 Creating a form-associated custom element"}, {"uroven": 5, "text": "4.13.1.3 Creating a custom element with default accessible roles, states, and properties"}, {"uroven": 5, "text": "4.13.1.4 Creating a customized built-in element"}, {"uroven": 5, "text": "4.13.1.5 Drawbacks of autonomous custom elements"}, {"uroven": 5, "text": "4.13.1.6 Upgrading elements after their creation"}, {"uroven": 5, "text": "4.13.1.7 Scoped custom element registries"}, {"uroven": 5, "text": "4.13.1.8 Exposing custom element states"}, {"uroven": 4, "text": "4.13.2 Requirements for custom element constructors and\n reactions"}, {"uroven": 5, "text": "4.13.2.1 Preserving custom element state when moved"}, {"uroven": 4, "text": "4.13.3 Core concepts"}, {"uroven": 4, "text": "4.13.4 The CustomElementRegistry interface"}, {"uroven": 4, "text": "4.13.5 Upgrades"}, {"uroven": 4, "text": "4.13.6 Custom element reactions"}, {"uroven": 4, "text": "4.13.7 Element internals"}, {"uroven": 5, "text": "4.13.7.1 The ElementInternals interface"}, {"uroven": 5, "text": "4.13.7.2 Shadow root access"}, {"uroven": 5, "text": "4.13.7.3 Form-associated custom elements"}, {"uroven": 5, "text": "4.13.7.4 Accessibility semantics"}, {"uroven": 5, "text": "4.13.7.5 Custom state pseudo-class"}, {"uroven": 3, "text": "4.14 Common idioms without dedicated elements"}, {"uroven": 4, "text": "4.14.1 Breadcrumb navigation"}, {"uroven": 4, "text": "4.14.2 Tag clouds"}, {"uroven": 4, "text": "4.14.3 Conversations"}, {"uroven": 4, "text": "4.14.4 Footnotes"}, {"uroven": 3, "text": "4.15 Disabled elements"}, {"uroven": 3, "text": "4.16 Matching HTML elements using selectors and CSS"}, {"uroven": 4, "text": "4.16.1 Case-sensitivity of the CSS 'attr()' function"}, {"uroven": 4, "text": "4.16.2 Case-sensitivity of selectors"}, {"uroven": 4, "text": "4.16.3 Pseudo-classes"}, {"uroven": 2, "text": "5 Microdata"}, {"uroven": 3, "text": "5.1 Introduction"}, {"uroven": 4, "text": "5.1.1 Overview"}, {"uroven": 4, "text": "5.1.2 The basic syntax"}, {"uroven": 4, "text": "5.1.3 Typed items"}, {"uroven": 4, "text": "5.1.4 Global identifiers for items"}, {"uroven": 4, "text": "5.1.5 Selecting names when defining vocabularies"}, {"uroven": 3, "text": "5.2 Encoding microdata"}, {"uroven": 4, "text": "5.2.1 The microdata model"}, {"uroven": 4, "text": "5.2.2 Items"}, {"uroven": 4, "text": "5.2.3 Names: the itemprop attribute"}, {"uroven": 4, "text": "5.2.4 Values"}, {"uroven": 4, "text": "5.2.5 Associating names with items"}, {"uroven": 4, "text": "5.2.6 Microdata and other namespaces"}, {"uroven": 3, "text": "5.3 Sample microdata vocabularies"}, {"uroven": 4, "text": "5.3.1 vCard"}, {"uroven": 5, "text": "5.3.1.1 Conversion to vCard"}, {"uroven": 5, "text": "5.3.1.2 Examples"}, {"uroven": 4, "text": "5.3.2 vEvent"}, {"uroven": 5, "text": "5.3.2.1 Conversion to iCalendar"}, {"uroven": 5, "text": "5.3.2.2 Examples"}, {"uroven": 4, "text": "5.3.3 Licensing works"}, {"uroven": 5, "text": "5.3.3.1 Examples"}, {"uroven": 3, "text": "5.4 Converting HTML to other formats"}, {"uroven": 4, "text": "5.4.1 JSON"}, {"uroven": 2, "text": "6 User interaction"}, {"uroven": 3, "text": "6.1 The hidden attribute"}, {"uroven": 3, "text": "6.2 Page visibility"}, {"uroven": 4, "text": "6.2.1 The VisibilityStateEntry interface"}, {"uroven": 3, "text": "6.3 Inert subtrees"}, {"uroven": 4, "text": "6.3.2 The inert attribute"}, {"uroven": 3, "text": "6.4 Tracking user activation"}, {"uroven": 4, "text": "6.4.1 Data model"}, {"uroven": 4, "text": "6.4.2 Processing model"}, {"uroven": 4, "text": "6.4.3 APIs gated by user activation"}, {"uroven": 4, "text": "6.4.4 The UserActivation interface"}, {"uroven": 4, "text": "6.4.5 User agent automation"}, {"uroven": 3, "text": "6.5 Activation behavior of elements"}, {"uroven": 4, "text": "6.5.1 The ToggleEvent interface"}, {"uroven": 4, "text": "6.5.2 The CommandEvent interface"}, {"uroven": 3, "text": "6.6 Focus"}, {"uroven": 4, "text": "6.6.1 Introduction"}, {"uroven": 4, "text": "6.6.2 Data model"}, {"uroven": 4, "text": "6.6.3 The tabindex attribute"}, {"uroven": 4, "text": "6.6.4 Processing model"}, {"uroven": 4, "text": "6.6.6 Focus management APIs"}, {"uroven": 4, "text": "6.6.7 The autofocus attribute"}, {"uroven": 3, "text": "6.7 Assigning keyboard shortcuts"}, {"uroven": 4, "text": "6.7.1 Introduction"}, {"uroven": 4, "text": "6.7.2 The accesskey\n attribute"}, {"uroven": 4, "text": "6.7.3 Processing\n model"}, {"uroven": 3, "text": "6.8 Editing"}, {"uroven": 4, "text": "6.8.1 Making document regions editable: The contenteditable content attribute"}, {"uroven": 4, "text": "6.8.2 Making entire documents\n editable: the designMode getter and setter"}, {"uroven": 4, "text": "6.8.3 Best practices for in-page editors"}, {"uroven": 4, "text": "6.8.4 Editing APIs"}, {"uroven": 4, "text": "6.8.5 Spelling and grammar checking"}, {"uroven": 4, "text": "6.8.6 Writing suggestions"}, {"uroven": 4, "text": "6.8.7 Autocapitalization"}, {"uroven": 4, "text": "6.8.8 Autocorrection"}, {"uroven": 4, "text": "6.8.9 Input modalities: the inputmode attribute"}, {"uroven": 4, "text": "6.8.10 Input modalities: the enterkeyhint\n attribute"}, {"uroven": 3, "text": "6.9 Find-in-page"}, {"uroven": 4, "text": "6.9.1 Introduction"}, {"uroven": 4, "text": "6.9.2 Interaction with details and hidden=until-found"}, {"uroven": 4, "text": "6.9.3 Interaction with selection"}, {"uroven": 3, "text": "6.10 Close requests and close watchers"}, {"uroven": 4, "text": "6.10.1 Close requests"}, {"uroven": 4, "text": "6.10.2 Close watcher infrastructure"}, {"uroven": 4, "text": "6.10.3 The CloseWatcher interface"}, {"uroven": 3, "text": "6.11 Drag and drop"}, {"uroven": 4, "text": "6.11.1 Introduction"}, {"uroven": 4, "text": "6.11.2 The drag data store"}, {"uroven": 4, "text": "6.11.3 The DataTransfer interface"}, {"uroven": 5, "text": "6.11.3.1 The DataTransferItemList interface"}, {"uroven": 5, "text": "6.11.3.2 The DataTransferItem interface"}, {"uroven": 4, "text": "6.11.4 The DragEvent interface"}, {"uroven": 4, "text": "6.11.5 Processing model"}, {"uroven": 4, "text": "6.11.6 Events summary"}, {"uroven": 4, "text": "6.11.7 The draggable attribute"}, {"uroven": 4, "text": "6.11.8 Security risks in the drag-and-drop model"}, {"uroven": 3, "text": "6.12 The popover attribute"}, {"uroven": 4, "text": "6.12.1 The popover target attributes"}, {"uroven": 4, "text": "6.12.2 Popover light dismiss"}, {"uroven": 2, "text": "7 Loading web pages"}, {"uroven": 3, "text": "7.1 Supporting concepts"}, {"uroven": 4, "text": "7.1.1 Origins"}, {"uroven": 5, "text": "7.1.1.1 Sites"}, {"uroven": 5, "text": "7.1.1.2 Relaxing the same-origin restriction"}, {"uroven": 5, "text": "7.1.1.3 The Origin interface"}, {"uroven": 4, "text": "7.1.2 Origin-keyed agent clusters"}, {"uroven": 4, "text": "7.1.3 Cross-origin opener policies"}, {"uroven": 5, "text": "7.1.3.1 The headers"}, {"uroven": 5, "text": "7.1.3.2 Browsing context group\n switches due to opener policy"}, {"uroven": 5, "text": "7.1.3.3 Reporting"}, {"uroven": 4, "text": "7.1.4 Cross-origin embedder policies"}, {"uroven": 5, "text": "7.1.4.1 The headers"}, {"uroven": 5, "text": "7.1.4.2 Embedder policy checks"}, {"uroven": 4, "text": "7.1.5 Sandboxing"}, {"uroven": 4, "text": "7.1.6 iframe element referrer policy"}, {"uroven": 4, "text": "7.1.7 Policy containers"}, {"uroven": 4, "text": "7.2.1 Security infrastructure for Window,\n WindowProxy, and Location objects"}, {"uroven": 5, "text": "7.2.1.1 Integration with IDL"}, {"uroven": 5, "text": "7.2.1.2 Shared internal slot: [[CrossOriginPropertyDescriptorMap]]"}, {"uroven": 5, "text": "7.2.1.3 Shared abstract operations"}, {"uroven": 6, "text": "7.2.1.3.1 CrossOriginProperties ( O )"}, {"uroven": 6, "text": "7.2.1.3.2 CrossOriginPropertyFallback ( P )"}, {"uroven": 6, "text": "7.2.1.3.3 IsPlatformObjectSameOrigin ( O )"}, {"uroven": 6, "text": "7.2.1.3.4 CrossOriginGetOwnPropertyHelper ( O, P )"}, {"uroven": 6, "text": "7.2.1.3.5 CrossOriginGet ( O, P, Receiver )"}, {"uroven": 6, "text": "7.2.1.3.6 CrossOriginSet ( O, P, V,\n Receiver )"}, {"uroven": 6, "text": "7.2.1.3.7 CrossOriginOwnPropertyKeys ( O )"}, {"uroven": 4, "text": "7.2.2 The Window object"}, {"uroven": 5, "text": "7.2.2.1 Opening and closing windows"}, {"uroven": 5, "text": "7.2.2.2 Indexed access on the Window object"}, {"uroven": 5, "text": "7.2.2.3 Named access on the Window object"}, {"uroven": 5, "text": "7.2.2.4 Accessing related windows"}, {"uroven": 5, "text": "7.2.2.5 Historical browser interface element APIs"}, {"uroven": 5, "text": "7.2.2.6 Script settings for Window objects"}, {"uroven": 4, "text": "7.2.3 The WindowProxy exotic object"}, {"uroven": 5, "text": "7.2.3.1 [[GetPrototypeOf]] ( )"}, {"uroven": 5, "text": "7.2.3.2 [[SetPrototypeOf]] ( V )"}, {"uroven": 5, "text": "7.2.3.3 [[IsExtensible]] ( )"}, {"uroven": 5, "text": "7.2.3.4 [[PreventExtensions]] ( )"}, {"uroven": 5, "text": "7.2.3.5 [[GetOwnProperty]] ( P )"}, {"uroven": 5, "text": "7.2.3.6 [[DefineOwnProperty]] ( P, Desc\n )"}, {"uroven": 5, "text": "7.2.3.7 [[Get]] ( P, Receiver )"}, {"uroven": 5, "text": "7.2.3.8 [[Set]] ( P, V, Receiver )"}, {"uroven": 5, "text": "7.2.3.9 [[Delete]] ( P )"}, {"uroven": 5, "text": "7.2.3.10 [[OwnPropertyKeys]] ( )"}, {"uroven": 4, "text": "7.2.4 The Location interface"}, {"uroven": 5, "text": "7.2.4.1 [[GetPrototypeOf]] ( )"}, {"uroven": 5, "text": "7.2.4.2 [[SetPrototypeOf]] ( V )"}, {"uroven": 5, "text": "7.2.4.3 [[IsExtensible]] ( )"}, {"uroven": 5, "text": "7.2.4.4 [[PreventExtensions]] ( )"}, {"uroven": 5, "text": "7.2.4.5 [[GetOwnProperty]] ( P )"}, {"uroven": 5, "text": "7.2.4.6 [[DefineOwnProperty]] ( P, Desc )"}, {"uroven": 5, "text": "7.2.4.7 [[Get]] ( P, Receiver )"}, {"uroven": 5, "text": "7.2.4.8 [[Set]] ( P, V, Receiver )"}, {"uroven": 5, "text": "7.2.4.9 [[Delete]] ( P )"}, {"uroven": 5, "text": "7.2.4.10 [[OwnPropertyKeys]] ( )"}, {"uroven": 4, "text": "7.2.5 The History interface"}, {"uroven": 5, "text": "7.2.6.4 Initializing and updating the entry list"}, {"uroven": 5, "text": "7.2.6.5 The NavigationHistoryEntry interface"}, {"uroven": 5, "text": "7.2.6.6 The history entry list"}, {"uroven": 5, "text": "7.2.6.10 The navigate event"}, {"uroven": 6, "text": "7.2.6.10.1 The NavigateEvent interface"}, {"uroven": 6, "text": "7.2.6.10.2 The NavigationPrecommitController interface"}, {"uroven": 6, "text": "7.2.6.10.3 The NavigationDestination interface"}, {"uroven": 6, "text": "7.2.6.10.4 Firing the event"}, {"uroven": 6, "text": "7.2.6.10.5 Scroll and focus behavior"}, {"uroven": 5, "text": "7.2.7.1 The NavigationCurrentEntryChangeEvent interface"}, {"uroven": 5, "text": "7.2.7.2 The PopStateEvent interface"}, {"uroven": 5, "text": "7.2.7.3 The HashChangeEvent interface"}, {"uroven": 5, "text": "7.2.7.4 The PageSwapEvent interface"}, {"uroven": 5, "text": "7.2.7.5 The PageRevealEvent interface"}, {"uroven": 5, "text": "7.2.7.6 The PageTransitionEvent interface"}, {"uroven": 5, "text": "7.2.7.7 The BeforeUnloadEvent interface"}, {"uroven": 4, "text": "7.2.8 The NotRestoredReasons interface"}, {"uroven": 3, "text": "7.3 Infrastructure for sequences of documents"}, {"uroven": 4, "text": "7.3.1 Navigables"}, {"uroven": 5, "text": "7.3.1.1 Traversable navigables"}, {"uroven": 5, "text": "7.3.1.2 Top-level traversables"}, {"uroven": 5, "text": "7.3.1.3 Child navigables"}, {"uroven": 5, "text": "7.3.1.4 Jake diagrams"}, {"uroven": 5, "text": "7.3.1.6 Navigable destruction"}, {"uroven": 5, "text": "7.3.1.7 Navigable target names"}, {"uroven": 4, "text": "7.3.2 Browsing contexts"}, {"uroven": 5, "text": "7.3.2.1 Creating browsing contexts"}, {"uroven": 5, "text": "7.3.2.2 Related browsing contexts"}, {"uroven": 5, "text": "7.3.2.3 Groupings of browsing contexts"}, {"uroven": 4, "text": "7.3.3 Fully active documents"}, {"uroven": 4, "text": "7.4.1 Session history"}, {"uroven": 5, "text": "7.4.1.1 Session history entries"}, {"uroven": 5, "text": "7.4.1.2 Document state"}, {"uroven": 5, "text": "7.4.1.3 Centralized modifications of session history"}, {"uroven": 5, "text": "7.4.1.4 Low-level operations on session history"}, {"uroven": 4, "text": "7.4.2 Navigation"}, {"uroven": 6, "text": "7.4.2.3.2 The javascript: URL special case"}, {"uroven": 6, "text": "7.4.2.3.3 Fragment navigations"}, {"uroven": 6, "text": "7.4.2.3.4 Non-fetch schemes and external software"}, {"uroven": 4, "text": "7.4.3 Reloading and traversing"}, {"uroven": 4, "text": "7.4.4 Non-fragment synchronous \"navigations\""}, {"uroven": 4, "text": "7.4.5 Populating a session history entry"}, {"uroven": 4, "text": "7.4.6 Applying the history step"}, {"uroven": 5, "text": "7.4.6.1 Updating the traversable"}, {"uroven": 5, "text": "7.4.6.2 Updating the document"}, {"uroven": 5, "text": "7.4.6.3 Revealing the document"}, {"uroven": 5, "text": "7.4.6.4 Scrolling to a fragment"}, {"uroven": 5, "text": "7.4.6.5 Persisted history entry state"}, {"uroven": 3, "text": "7.5 Document lifecycle"}, {"uroven": 4, "text": "7.5.1 Shared document creation infrastructure"}, {"uroven": 4, "text": "7.5.2 Loading HTML documents"}, {"uroven": 4, "text": "7.5.3 Loading XML documents"}, {"uroven": 4, "text": "7.5.4 Loading text documents"}, {"uroven": 4, "text": "7.5.5 Loading multipart/x-mixed-replace\n documents"}, {"uroven": 4, "text": "7.5.6 Loading media documents"}, {"uroven": 4, "text": "7.5.7 Loading\n a document for inline content that doesn't have a DOM"}, {"uroven": 4, "text": "7.5.8 Finishing the loading process"}, {"uroven": 4, "text": "7.5.9 Unloading documents"}, {"uroven": 4, "text": "7.5.10 Destroying documents"}, {"uroven": 4, "text": "7.5.11 Aborting a document load"}, {"uroven": 3, "text": "7.6 Speculative loading"}, {"uroven": 4, "text": "7.6.1 Speculation rules"}, {"uroven": 5, "text": "7.6.1.1 Data model"}, {"uroven": 5, "text": "7.6.1.2 Parsing"}, {"uroven": 5, "text": "7.6.1.3 Processing model"}, {"uroven": 4, "text": "7.6.2 Navigational prefetching"}, {"uroven": 4, "text": "7.6.5 Security considerations"}, {"uroven": 5, "text": "7.6.5.1 Cross-site requests"}, {"uroven": 5, "text": "7.6.5.2 Injected content"}, {"uroven": 5, "text": "7.6.5.3 IP anonymization"}, {"uroven": 4, "text": "7.6.6 Privacy considerations"}, {"uroven": 5, "text": "7.6.6.1 Heuristics and optionality"}, {"uroven": 5, "text": "7.6.6.2 State partitioning"}, {"uroven": 5, "text": "7.6.6.3 Identity joining"}, {"uroven": 2, "text": "8 Web application APIs"}, {"uroven": 3, "text": "8.1 Scripting"}, {"uroven": 4, "text": "8.1.1 Introduction"}, {"uroven": 4, "text": "8.1.2 Agents and agent clusters"}, {"uroven": 5, "text": "8.1.2.1 Integration with the JavaScript agent formalism"}, {"uroven": 5, "text": "8.1.2.2 Integration with the JavaScript agent cluster formalism"}, {"uroven": 4, "text": "8.1.3 Realms and their counterparts"}, {"uroven": 5, "text": "8.1.3.1 Environments"}, {"uroven": 5, "text": "8.1.3.2 Environment settings objects"}, {"uroven": 5, "text": "8.1.3.3 Realms, settings objects, and global objects"}, {"uroven": 6, "text": "8.1.3.3.1 Entry"}, {"uroven": 6, "text": "8.1.3.3.2 Incumbent"}, {"uroven": 6, "text": "8.1.3.3.3 Current"}, {"uroven": 6, "text": "8.1.3.3.4 Relevant"}, {"uroven": 5, "text": "8.1.3.4 Enabling and disabling scripting"}, {"uroven": 5, "text": "8.1.3.5 Secure contexts"}, {"uroven": 4, "text": "8.1.4 Script processing\n model"}, {"uroven": 5, "text": "8.1.4.1 Scripts"}, {"uroven": 5, "text": "8.1.4.2 Fetching scripts"}, {"uroven": 5, "text": "8.1.4.3 Creating scripts"}, {"uroven": 5, "text": "8.1.4.4 Calling scripts"}, {"uroven": 5, "text": "8.1.4.5 Killing scripts"}, {"uroven": 5, "text": "8.1.4.6 Runtime script errors"}, {"uroven": 5, "text": "8.1.4.7 Unhandled promise rejections"}, {"uroven": 5, "text": "8.1.4.8 Import map parse results"}, {"uroven": 5, "text": "8.1.4.9 Speculation rules parse results"}, {"uroven": 4, "text": "8.1.5 Module specifier resolution"}, {"uroven": 5, "text": "8.1.5.1 The resolution algorithm"}, {"uroven": 5, "text": "8.1.5.2 Import maps"}, {"uroven": 5, "text": "8.1.5.3 Import map processing model"}, {"uroven": 4, "text": "8.1.6 JavaScript specification host hooks"}, {"uroven": 5, "text": "8.1.6.1 HostEnsureCanAddPrivateElement(O)"}, {"uroven": 5, "text": "8.1.6.2 HostEnsureCanCompileStrings(realm,\n parameterStrings, bodyString, codeString, compilationType,\n parameterArgs, bodyArg)"}, {"uroven": 5, "text": "8.1.6.3 HostGetCodeForEval(argument)"}, {"uroven": 5, "text": "8.1.6.4 HostPromiseRejectionTracker(promise, operation)"}, {"uroven": 5, "text": "8.1.6.5 HostSystemUTCEpochNanoseconds(global)"}, {"uroven": 5, "text": "8.1.6.6 Job-related host hooks"}, {"uroven": 6, "text": "8.1.6.6.1 HostCallJobCallback(callback, V,\n argumentsList)"}, {"uroven": 6, "text": "8.1.6.6.2 HostEnqueueFinalizationRegistryCleanupJob(finalizationRegistry)"}, {"uroven": 6, "text": "8.1.6.6.3 HostEnqueueGenericJob(job,\n realm)"}, {"uroven": 6, "text": "8.1.6.6.4 HostEnqueuePromiseJob(job,\n realm)"}, {"uroven": 6, "text": "8.1.6.6.5 HostEnqueueTimeoutJob(job, realm,\n milliseconds)"}, {"uroven": 6, "text": "8.1.6.6.6 HostMakeJobCallback(callable)"}, {"uroven": 5, "text": "8.1.6.7 Module-related host hooks"}, {"uroven": 6, "text": "8.1.6.7.1 HostGetImportMetaProperties(moduleRecord)"}, {"uroven": 6, "text": "8.1.6.7.2 HostGetSupportedImportAttributes()"}, {"uroven": 6, "text": "8.1.6.7.3 HostLoadImportedModule(referrer,\n moduleRequest, loadState, payload)"}, {"uroven": 4, "text": "8.1.7 Event loops"}, {"uroven": 5, "text": "8.1.7.1 Definitions"}, {"uroven": 5, "text": "8.1.7.2 Queuing tasks"}, {"uroven": 5, "text": "8.1.7.3 Processing model"}, {"uroven": 5, "text": "8.1.7.4 Generic task sources"}, {"uroven": 5, "text": "8.1.7.5 Dealing with the event loop from other specifications"}, {"uroven": 4, "text": "8.1.8 Events"}, {"uroven": 5, "text": "8.1.8.1 Event handlers"}, {"uroven": 5, "text": "8.1.8.2 Event handlers on elements, Document objects, and Window objects"}, {"uroven": 6, "text": "8.1.8.2.1 IDL definitions"}, {"uroven": 5, "text": "8.1.8.3 Event firing"}, {"uroven": 3, "text": "8.2 The WindowOrWorkerGlobalScope mixin"}, {"uroven": 3, "text": "8.3 Base64 utility methods"}, {"uroven": 3, "text": "8.4 Dynamic markup insertion"}, {"uroven": 4, "text": "8.4.1 Opening the input stream"}, {"uroven": 4, "text": "8.4.2 Closing the input stream"}, {"uroven": 4, "text": "8.4.3 document.write()"}, {"uroven": 4, "text": "8.4.4 document.writeln()"}, {"uroven": 3, "text": "8.5 DOM parsing and serialization APIs"}, {"uroven": 4, "text": "8.5.1 The DOMParser interface"}, {"uroven": 4, "text": "8.5.2 HTML parsing methods"}, {"uroven": 4, "text": "8.5.3 HTML serialization methods"}, {"uroven": 4, "text": "8.5.4 The innerHTML property"}, {"uroven": 4, "text": "8.5.5 The outerHTML property"}, {"uroven": 4, "text": "8.5.6 The insertAdjacentHTML() method"}, {"uroven": 4, "text": "8.5.7 The createContextualFragment()\n method"}, {"uroven": 4, "text": "8.5.8 The XMLSerializer interface"}, {"uroven": 3, "text": "8.6 HTML sanitization"}, {"uroven": 4, "text": "8.6.1 Introduction"}, {"uroven": 5, "text": "8.6.1.1 Safe and unsafe"}, {"uroven": 4, "text": "8.6.2 The Sanitizer interface"}, {"uroven": 4, "text": "8.6.3 Sanitizer configuration"}, {"uroven": 5, "text": "8.6.3.1 Configuration invariants"}, {"uroven": 4, "text": "8.6.4 Sanitization algorithms"}, {"uroven": 4, "text": "8.6.5 Sanitization constants"}, {"uroven": 4, "text": "8.6.6 Security considerations"}, {"uroven": 5, "text": "8.6.6.1 Server-side reflected and stored XSS"}, {"uroven": 5, "text": "8.6.6.2 DOM clobbering"}, {"uroven": 5, "text": "8.6.6.3 XSS with script gadgets"}, {"uroven": 5, "text": "8.6.6.4 Mutation XSS"}, {"uroven": 3, "text": "8.7 Timers"}, {"uroven": 3, "text": "8.8 Microtask queuing"}, {"uroven": 3, "text": "8.9 User prompts"}, {"uroven": 4, "text": "8.9.1 Simple dialogs"}, {"uroven": 4, "text": "8.9.2 Printing"}, {"uroven": 3, "text": "8.10 System state and capabilities"}, {"uroven": 4, "text": "8.10.1 The Navigator object"}, {"uroven": 5, "text": "8.10.1.1 Client identification"}, {"uroven": 5, "text": "8.10.1.2 Language preferences"}, {"uroven": 5, "text": "8.10.1.3 Browser state"}, {"uroven": 5, "text": "8.10.1.4 Custom scheme handlers: the registerProtocolHandler() method"}, {"uroven": 6, "text": "8.10.1.4.1 Security and privacy"}, {"uroven": 6, "text": "8.10.1.4.2 User agent automation"}, {"uroven": 5, "text": "8.10.1.5 Cookies"}, {"uroven": 5, "text": "8.10.1.6 PDF viewing support"}, {"uroven": 3, "text": "8.11 Images"}, {"uroven": 4, "text": "8.11.1 The ImageData interface"}, {"uroven": 4, "text": "8.11.2 The ImageBitmap interface"}, {"uroven": 3, "text": "8.12 Animation frames"}, {"uroven": 2, "text": "9 Communication"}, {"uroven": 3, "text": "9.1 The MessageEvent interface"}, {"uroven": 3, "text": "9.2 Server-sent events"}, {"uroven": 4, "text": "9.2.1 Introduction"}, {"uroven": 4, "text": "9.2.2 The EventSource interface"}, {"uroven": 4, "text": "9.2.3 Processing model"}, {"uroven": 4, "text": "9.2.5 Parsing an event stream"}, {"uroven": 4, "text": "9.2.6 Interpreting an event stream"}, {"uroven": 4, "text": "9.2.7 Authoring notes"}, {"uroven": 4, "text": "9.2.8 Connectionless push and other features"}, {"uroven": 4, "text": "9.2.9 Garbage collection"}, {"uroven": 4, "text": "9.2.10 Implementation advice"}, {"uroven": 3, "text": "9.3 Cross-document messaging"}, {"uroven": 4, "text": "9.3.1 Introduction"}, {"uroven": 4, "text": "9.3.2 Security"}, {"uroven": 5, "text": "9.3.2.1 Authors"}, {"uroven": 5, "text": "9.3.2.2 User agents"}, {"uroven": 4, "text": "9.3.3 Posting messages"}, {"uroven": 3, "text": "9.4 Channel messaging"}, {"uroven": 4, "text": "9.4.1 Introduction"}, {"uroven": 5, "text": "9.4.1.1 Examples"}, {"uroven": 5, "text": "9.4.1.2 Ports as the basis of an object-capability model on the web"}, {"uroven": 5, "text": "9.4.1.3 Ports as the basis of abstracting out service implementations"}, {"uroven": 4, "text": "9.4.2 Message channels"}, {"uroven": 4, "text": "9.4.3 The\n MessageEventTarget mixin"}, {"uroven": 4, "text": "9.4.4 Message ports"}, {"uroven": 4, "text": "9.4.5 Ports and garbage collection"}, {"uroven": 3, "text": "9.5 Broadcasting to other browsing contexts"}, {"uroven": 2, "text": "10 Web workers"}, {"uroven": 3, "text": "10.1 Introduction"}, {"uroven": 4, "text": "10.1.1 Scope"}, {"uroven": 4, "text": "10.1.2 Examples"}, {"uroven": 5, "text": "10.1.2.1 A background number-crunching worker"}, {"uroven": 5, "text": "10.1.2.2 Using a JavaScript module as a worker"}, {"uroven": 5, "text": "10.1.2.3 Shared workers introduction"}, {"uroven": 5, "text": "10.1.2.4 Shared state using a shared worker"}, {"uroven": 5, "text": "10.1.2.5 Delegation"}, {"uroven": 5, "text": "10.1.2.6 Providing libraries"}, {"uroven": 4, "text": "10.1.3 Tutorials"}, {"uroven": 5, "text": "10.1.3.1 Creating a dedicated worker"}, {"uroven": 5, "text": "10.1.3.2 Communicating with a dedicated worker"}, {"uroven": 5, "text": "10.1.3.3 Shared workers"}, {"uroven": 3, "text": "10.2 Infrastructure"}, {"uroven": 4, "text": "10.2.1 The global scope"}, {"uroven": 5, "text": "10.2.1.1 The WorkerGlobalScope common interface"}, {"uroven": 5, "text": "10.2.1.2 Dedicated workers and the DedicatedWorkerGlobalScope interface"}, {"uroven": 5, "text": "10.2.1.3 Shared workers and the SharedWorkerGlobalScope interface"}, {"uroven": 4, "text": "10.2.2 The event loop"}, {"uroven": 4, "text": "10.2.3 The worker's lifetime"}, {"uroven": 4, "text": "10.2.4 Processing model"}, {"uroven": 4, "text": "10.2.5 Runtime script errors"}, {"uroven": 4, "text": "10.2.6 Creating workers"}, {"uroven": 5, "text": "10.2.6.1 The\n AbstractWorker mixin"}, {"uroven": 5, "text": "10.2.6.2 Script settings for workers"}, {"uroven": 5, "text": "10.2.6.3 Dedicated workers and the Worker interface"}, {"uroven": 5, "text": "10.2.6.4 Shared workers and the SharedWorker interface"}, {"uroven": 4, "text": "10.2.7 Concurrent hardware capabilities"}, {"uroven": 3, "text": "10.3 APIs available to workers"}, {"uroven": 4, "text": "10.3.1 Importing scripts and libraries"}, {"uroven": 4, "text": "10.3.2 The WorkerNavigator interface"}, {"uroven": 4, "text": "10.3.3 The WorkerLocation interface"}, {"uroven": 2, "text": "11 Worklets"}, {"uroven": 3, "text": "11.1 Introduction"}, {"uroven": 4, "text": "11.1.1 Motivations"}, {"uroven": 4, "text": "11.1.2 Code idempotence"}, {"uroven": 4, "text": "11.1.3 Speculative evaluation"}, {"uroven": 3, "text": "11.2 Examples"}, {"uroven": 4, "text": "11.2.1 Loading scripts"}, {"uroven": 4, "text": "11.2.2 Registering a class and invoking its methods"}, {"uroven": 3, "text": "11.3 Infrastructure"}, {"uroven": 4, "text": "11.3.1 The global scope"}, {"uroven": 5, "text": "11.3.1.1 Agents and event loops"}, {"uroven": 5, "text": "11.3.1.2 Creation and termination"}, {"uroven": 5, "text": "11.3.1.3 Script settings for worklets"}, {"uroven": 4, "text": "11.3.2 The Worklet class"}, {"uroven": 4, "text": "11.3.3 The worklet's lifetime"}, {"uroven": 2, "text": "12 Web storage"}, {"uroven": 3, "text": "12.1 Introduction"}, {"uroven": 3, "text": "12.2 The API"}, {"uroven": 4, "text": "12.2.1 The Storage interface"}, {"uroven": 4, "text": "12.2.2 The sessionStorage getter"}, {"uroven": 4, "text": "12.2.3 The localStorage getter"}, {"uroven": 4, "text": "12.2.4 The StorageEvent interface"}, {"uroven": 3, "text": "12.3 Privacy"}, {"uroven": 4, "text": "12.3.1 User tracking"}, {"uroven": 4, "text": "12.3.2 Sensitivity of data"}, {"uroven": 3, "text": "12.4 Security"}, {"uroven": 4, "text": "12.4.1 DNS spoofing attacks"}, {"uroven": 4, "text": "12.4.2 Cross-directory attacks"}, {"uroven": 4, "text": "12.4.3 Implementation risks"}, {"uroven": 2, "text": "13 The HTML syntax"}, {"uroven": 3, "text": "13.1 Writing HTML documents"}, {"uroven": 4, "text": "13.1.1 The DOCTYPE"}, {"uroven": 4, "text": "13.1.2 Elements"}, {"uroven": 5, "text": "13.1.2.1 Start tags"}, {"uroven": 5, "text": "13.1.2.2 End tags"}, {"uroven": 5, "text": "13.1.2.3 Attributes"}, {"uroven": 5, "text": "13.1.2.4 Optional tags"}, {"uroven": 5, "text": "13.1.2.5 Restrictions on content models"}, {"uroven": 5, "text": "13.1.2.6 Restrictions on the contents of raw text and escapable raw text elements"}, {"uroven": 4, "text": "13.1.3 Text"}, {"uroven": 5, "text": "13.1.3.1 Newlines"}, {"uroven": 4, "text": "13.1.4 Character references"}, {"uroven": 4, "text": "13.1.5 CDATA sections"}, {"uroven": 4, "text": "13.1.6 Comments"}, {"uroven": 4, "text": "13.1.7 Processing instructions"}, {"uroven": 3, "text": "13.2 Parsing HTML documents"}, {"uroven": 4, "text": "13.2.1 Overview of the parsing model"}, {"uroven": 4, "text": "13.2.2 Parse errors"}, {"uroven": 4, "text": "13.2.3 The input byte stream"}, {"uroven": 5, "text": "13.2.3.1 Parsing with a known character encoding"}, {"uroven": 5, "text": "13.2.3.2 Determining the character encoding"}, {"uroven": 5, "text": "13.2.3.3 Character encodings"}, {"uroven": 5, "text": "13.2.3.4 Changing the encoding while parsing"}, {"uroven": 5, "text": "13.2.3.5 Preprocessing the input stream"}, {"uroven": 4, "text": "13.2.4 Parse state"}, {"uroven": 5, "text": "13.2.4.1 The insertion mode"}, {"uroven": 5, "text": "13.2.4.2 The stack of open elements"}, {"uroven": 5, "text": "13.2.4.3 The list of active formatting elements"}, {"uroven": 5, "text": "13.2.4.4 The element pointers"}, {"uroven": 5, "text": "13.2.4.5 Other parsing state flags"}, {"uroven": 4, "text": "13.2.5 Tokenization"}, {"uroven": 5, "text": "13.2.5.1 Data state"}, {"uroven": 5, "text": "13.2.5.2 RCDATA state"}, {"uroven": 5, "text": "13.2.5.3 RAWTEXT state"}, {"uroven": 5, "text": "13.2.5.4 Script data state"}, {"uroven": 5, "text": "13.2.5.5 PLAINTEXT state"}, {"uroven": 5, "text": "13.2.5.6 Tag open state"}, {"uroven": 5, "text": "13.2.5.7 End tag open state"}, {"uroven": 5, "text": "13.2.5.8 Tag name state"}, {"uroven": 5, "text": "13.2.5.9 RCDATA less-than sign state"}, {"uroven": 5, "text": "13.2.5.10 RCDATA end tag open state"}, {"uroven": 5, "text": "13.2.5.11 RCDATA end tag name state"}, {"uroven": 5, "text": "13.2.5.12 RAWTEXT less-than sign state"}, {"uroven": 5, "text": "13.2.5.13 RAWTEXT end tag open state"}, {"uroven": 5, "text": "13.2.5.14 RAWTEXT end tag name state"}, {"uroven": 5, "text": "13.2.5.15 Script data less-than sign state"}, {"uroven": 5, "text": "13.2.5.16 Script data end tag open state"}, {"uroven": 5, "text": "13.2.5.17 Script data end tag name state"}, {"uroven": 5, "text": "13.2.5.18 Script data escape start state"}, {"uroven": 5, "text": "13.2.5.19 Script data escape start dash state"}, {"uroven": 5, "text": "13.2.5.20 Script data escaped state"}, {"uroven": 5, "text": "13.2.5.21 Script data escaped dash state"}, {"uroven": 5, "text": "13.2.5.22 Script data escaped dash dash state"}, {"uroven": 5, "text": "13.2.5.23 Script data escaped less-than sign state"}, {"uroven": 5, "text": "13.2.5.24 Script data escaped end tag open state"}, {"uroven": 5, "text": "13.2.5.25 Script data escaped end tag name state"}, {"uroven": 5, "text": "13.2.5.26 Script data double escape start state"}, {"uroven": 5, "text": "13.2.5.27 Script data double escaped state"}, {"uroven": 5, "text": "13.2.5.28 Script data double escaped dash state"}, {"uroven": 5, "text": "13.2.5.29 Script data double escaped dash dash state"}, {"uroven": 5, "text": "13.2.5.30 Script data double escaped less-than sign state"}, {"uroven": 5, "text": "13.2.5.31 Script data double escape end state"}, {"uroven": 5, "text": "13.2.5.32 Before attribute name state"}, {"uroven": 5, "text": "13.2.5.33 Attribute name state"}, {"uroven": 5, "text": "13.2.5.34 After attribute name state"}, {"uroven": 5, "text": "13.2.5.35 Before attribute value state"}, {"uroven": 5, "text": "13.2.5.36 Attribute value (double-quoted) state"}, {"uroven": 5, "text": "13.2.5.37 Attribute value (single-quoted) state"}, {"uroven": 5, "text": "13.2.5.38 Attribute value (unquoted) state"}, {"uroven": 5, "text": "13.2.5.39 After attribute value (quoted) state"}, {"uroven": 5, "text": "13.2.5.40 Self-closing start tag state"}, {"uroven": 5, "text": "13.2.5.42 Markup declaration open state"}, {"uroven": 5, "text": "13.2.5.53 DOCTYPE state"}, {"uroven": 5, "text": "13.2.5.54 Before DOCTYPE name state"}, {"uroven": 5, "text": "13.2.5.55 DOCTYPE name state"}, {"uroven": 5, "text": "13.2.5.56 After DOCTYPE name state"}, {"uroven": 5, "text": "13.2.5.57 After DOCTYPE public keyword state"}, {"uroven": 5, "text": "13.2.5.58 Before DOCTYPE public identifier state"}, {"uroven": 5, "text": "13.2.5.59 DOCTYPE public identifier (double-quoted) state"}, {"uroven": 5, "text": "13.2.5.60 DOCTYPE public identifier (single-quoted) state"}, {"uroven": 5, "text": "13.2.5.61 After DOCTYPE public identifier state"}, {"uroven": 5, "text": "13.2.5.62 Between DOCTYPE public and system identifiers state"}, {"uroven": 5, "text": "13.2.5.63 After DOCTYPE system keyword state"}, {"uroven": 5, "text": "13.2.5.64 Before DOCTYPE system identifier state"}, {"uroven": 5, "text": "13.2.5.65 DOCTYPE system identifier (double-quoted) state"}, {"uroven": 5, "text": "13.2.5.66 DOCTYPE system identifier (single-quoted) state"}, {"uroven": 5, "text": "13.2.5.67 After DOCTYPE system identifier state"}, {"uroven": 5, "text": "13.2.5.68 Bogus DOCTYPE state"}, {"uroven": 5, "text": "13.2.5.69 CDATA section state"}, {"uroven": 5, "text": "13.2.5.70 CDATA section bracket state"}, {"uroven": 5, "text": "13.2.5.71 CDATA section end state"}, {"uroven": 5, "text": "13.2.5.72 Processing instruction open state"}, {"uroven": 5, "text": "13.2.5.73 Processing instruction target state"}, {"uroven": 5, "text": "13.2.5.74 After processing instruction target state"}, {"uroven": 5, "text": "13.2.5.75 Processing instruction data state"}, {"uroven": 5, "text": "13.2.5.76 Processing instruction questionable state"}, {"uroven": 5, "text": "13.2.5.77 Character reference state"}, {"uroven": 5, "text": "13.2.5.78 Named character reference state"}, {"uroven": 5, "text": "13.2.5.79 Ambiguous ampersand state"}, {"uroven": 5, "text": "13.2.5.80 Numeric character reference state"}, {"uroven": 5, "text": "13.2.5.81 Hexadecimal character reference start state"}, {"uroven": 5, "text": "13.2.5.82 Hexadecimal character reference state"}, {"uroven": 5, "text": "13.2.5.83 Decimal character reference state"}, {"uroven": 5, "text": "13.2.5.84 Numeric character reference end state"}, {"uroven": 4, "text": "13.2.6 Tree construction"}, {"uroven": 5, "text": "13.2.6.1 Creating and inserting nodes"}, {"uroven": 5, "text": "13.2.6.2 Parsing elements that contain only text"}, {"uroven": 5, "text": "13.2.6.3 Closing elements that have implied end tags"}, {"uroven": 5, "text": "13.2.6.4 The rules for parsing tokens in HTML content"}, {"uroven": 6, "text": "13.2.6.4.1 The \"initial\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.2 The \"before html\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.3 The \"before head\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.4 The \"in head\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.5 The \"in head noscript\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.6 The \"after head\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.7 The \"in body\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.8 The \"text\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.9 The \"in table\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.10 The \"in table text\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.11 The \"in caption\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.12 The \"in column group\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.13 The \"in table body\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.14 The \"in row\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.15 The \"in cell\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.16 The \"in template\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.17 The \"after body\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.18 The \"in frameset\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.19 The \"after frameset\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.20 The \"after after body\" insertion mode"}, {"uroven": 6, "text": "13.2.6.4.21 The \"after after frameset\" insertion mode"}, {"uroven": 5, "text": "13.2.6.5 The rules for parsing tokens in foreign content"}, {"uroven": 4, "text": "13.2.7 The end"}, {"uroven": 4, "text": "13.2.8 Speculative HTML parsing"}, {"uroven": 4, "text": "13.2.9 Coercing an HTML DOM into an infoset"}, {"uroven": 4, "text": "13.2.10 An introduction to error handling and strange cases in the parser"}, {"uroven": 5, "text": "13.2.10.1 Misnested tags: "}, {"uroven": 5, "text": "13.2.10.2 Misnested tags:

"}, {"uroven": 5, "text": "13.2.10.3 Unexpected markup in tables"}, {"uroven": 5, "text": "13.2.10.4 Scripts that modify the page as it is being parsed"}, {"uroven": 5, "text": "13.2.10.5 The execution of scripts that are moving across multiple documents"}, {"uroven": 5, "text": "13.2.10.6 Unclosed formatting elements"}, {"uroven": 3, "text": "13.3 Serializing HTML fragments"}, {"uroven": 3, "text": "13.4 Parsing HTML fragments"}, {"uroven": 3, "text": "13.5 Named character references"}, {"uroven": 2, "text": "14 The XML syntax"}, {"uroven": 3, "text": "14.1 Writing documents in the XML syntax"}, {"uroven": 3, "text": "14.2 Parsing XML documents"}, {"uroven": 3, "text": "14.3 Serializing XML fragments"}, {"uroven": 3, "text": "14.4 Parsing XML fragments"}, {"uroven": 2, "text": "15 Rendering"}, {"uroven": 3, "text": "15.1 Introduction"}, {"uroven": 3, "text": "15.2 The CSS user agent style sheet and presentational hints"}, {"uroven": 3, "text": "15.3 Non-replaced elements"}, {"uroven": 4, "text": "15.3.1 Hidden elements"}, {"uroven": 4, "text": "15.3.2 The page"}, {"uroven": 4, "text": "15.3.3 Flow content"}, {"uroven": 4, "text": "15.3.4 Phrasing content"}, {"uroven": 4, "text": "15.3.5 Bidirectional text"}, {"uroven": 4, "text": "15.3.6 Sections and headings"}, {"uroven": 4, "text": "15.3.7 Lists"}, {"uroven": 4, "text": "15.3.8 Tables"}, {"uroven": 4, "text": "15.3.9 Margin collapsing quirks"}, {"uroven": 4, "text": "15.3.10 Form controls"}, {"uroven": 4, "text": "15.3.11 The hr element"}, {"uroven": 4, "text": "15.3.12 The fieldset and legend elements"}, {"uroven": 3, "text": "15.4 Replaced elements"}, {"uroven": 4, "text": "15.4.1 Embedded content"}, {"uroven": 4, "text": "15.4.2 Images"}, {"uroven": 4, "text": "15.4.3 Attributes for embedded content and images"}, {"uroven": 4, "text": "15.4.4 Image maps"}, {"uroven": 3, "text": "15.5 Widgets"}, {"uroven": 4, "text": "15.5.1 Native appearance"}, {"uroven": 4, "text": "15.5.2 Writing mode"}, {"uroven": 4, "text": "15.5.3 Button layout"}, {"uroven": 4, "text": "15.5.4 The button element"}, {"uroven": 4, "text": "15.5.5 The details and summary elements"}, {"uroven": 4, "text": "15.5.6 The input element as a text entry widget"}, {"uroven": 4, "text": "15.5.7 The input element as domain-specific widgets"}, {"uroven": 4, "text": "15.5.8 The input element as a range control"}, {"uroven": 4, "text": "15.5.9 The input element as a color\n well"}, {"uroven": 4, "text": "15.5.10 The input element as a checkbox and radio button widgets"}, {"uroven": 4, "text": "15.5.11 The input element as a file upload control"}, {"uroven": 4, "text": "15.5.12 The input element as a button"}, {"uroven": 4, "text": "15.5.13 The marquee element"}, {"uroven": 4, "text": "15.5.14 The meter element"}, {"uroven": 4, "text": "15.5.15 The progress element"}, {"uroven": 4, "text": "15.5.16 The select element"}, {"uroven": 4, "text": "15.5.17 The textarea element"}, {"uroven": 3, "text": "15.6 Frames and framesets"}, {"uroven": 3, "text": "15.7 Interactive media"}, {"uroven": 4, "text": "15.7.2 The title attribute"}, {"uroven": 4, "text": "15.7.3 Editing hosts"}, {"uroven": 4, "text": "15.7.4 Text rendered in native user interfaces"}, {"uroven": 3, "text": "15.8 Print media"}, {"uroven": 3, "text": "15.9 Unstyled XML documents"}, {"uroven": 2, "text": "16 Obsolete features"}, {"uroven": 3, "text": "16.1 Obsolete but conforming features"}, {"uroven": 4, "text": "16.1.1 Warnings for obsolete but conforming features"}, {"uroven": 3, "text": "16.2 Non-conforming features"}, {"uroven": 3, "text": "16.3 Requirements for implementations"}, {"uroven": 4, "text": "16.3.1 The marquee element"}, {"uroven": 4, "text": "16.3.2 Frames"}, {"uroven": 4, "text": "16.3.3 Other elements, attributes and APIs"}, {"uroven": 2, "text": "17 IANA considerations"}, {"uroven": 3, "text": "17.1 text/html"}, {"uroven": 3, "text": "17.2 multipart/x-mixed-replace"}, {"uroven": 3, "text": "17.3 application/xhtml+xml"}, {"uroven": 3, "text": "17.4 text/ping"}, {"uroven": 3, "text": "17.5 application/microdata+json"}, {"uroven": 3, "text": "17.6 application/speculationrules+json"}, {"uroven": 3, "text": "17.7 text/event-stream"}, {"uroven": 3, "text": "17.8 web+ scheme prefix"}, {"uroven": 2, "text": "Index"}, {"uroven": 3, "text": "Elements"}, {"uroven": 3, "text": "Element content categories"}, {"uroven": 3, "text": "Attributes"}, {"uroven": 3, "text": "Element interfaces"}, {"uroven": 3, "text": "All interfaces"}, {"uroven": 3, "text": "Events"}, {"uroven": 3, "text": "HTTP headers"}, {"uroven": 3, "text": "MIME types"}, {"uroven": 2, "text": "References"}, {"uroven": 2, "text": "Acknowledgments"}, {"uroven": 2, "text": "Intellectual property rights"}], "markdown": "---\n\n## Table of contents\n\n1. 1 Introduction\n2. 2 Common infrastructure\n3. 3 Semantics, structure, and APIs of HTML documents\n4. 4 The elements of HTML\n5. 5 Microdata\n6. 6 User interaction\n7. 7 Loading web pages\n8. 8 Web application APIs\n9. 9 Communication\n10. 10 Web workers\n11. 11 Worklets\n12. 12 Web storage\n13. 13 The HTML syntax\n14. 14 The XML syntax\n15. 15 Rendering\n16. 16 Obsolete features\n17. 17 IANA considerations\n18. Index\n19. References\n20. Acknowledgments\n21. Intellectual property rights\n\n## Full table of contents\n\n1. 1 Introduction\n 1. 1.1 Where does this specification fit?\n 2. 1.2 Is this HTML5?\n 3. 1.3 Background\n 4. 1.4 Audience\n 5. 1.5 Scope\n 6. 1.6 History\n 7. 1.7 Design notes\n 1. 1.7.1 Serializability of script execution\n 2. 1.7.2 Extensibility\n 8. 1.8 HTML vs XML syntax\n 9. 1.9 Structure of this specification\n 1. 1.9.1 How to read this specification\n 2. 1.9.2 Typographic conventions\n 10. 1.10 A quick introduction to HTML\n 1. 1.10.1 Writing secure applications with HTML\n 2. 1.10.2 Common pitfalls to avoid when using the scripting APIs\n 3. 1.10.3 How to catch mistakes when writing HTML: validators and conformance checkers\n 11. 1.11 Conformance requirements for authors\n 1. 1.11.1 Presentational markup\n 2. 1.11.2 Syntax errors\n 3. 1.11.3 Restrictions on content models and on attribute values\n 12. 1.12 Suggested reading\n2. 2 Common infrastructure\n 1. 2.1 Terminology\n 1. 2.1.1 Parallelism\n 2. 2.1.2 Resources\n 3. 2.1.3 XML compatibility\n 4. 2.1.4 DOM trees\n 5. 2.1.5 Scripting\n 6. 2.1.6 Plugins\n 7. 2.1.7 Character encodings\n 8. 2.1.8 Conformance classes\n 9. 2.1.9 Dependencies\n 10. 2.1.10 Extensibility\n 11. 2.1.11 Interactions with XPath and XSLT\n 2. 2.2 Policy-controlled features\n 3. 2.3 Common microsyntaxes\n 1. 2.3.1 Common parser idioms\n 2. 2.3.2 Boolean attributes\n 3. 2.3.3 Keywords and enumerated attributes\n 4. 2.3.4 Numbers\n 1. 2.3.4.1 Signed integers\n 2. 2.3.4.2 Non-negative integers\n 3. 2.3.4.3 Floating-point numbers\n 4. 2.3.4.4 Percentages and lengths\n 5. 2.3.4.5 Nonzero percentages and lengths\n 6. 2.3.4.6 Lists of floating-point numbers\n 7. 2.3.4.7 Lists of dimensions\n 5. 2.3.5 Dates and times\n 1. 2.3.5.1 Months\n 2. 2.3.5.2 Dates\n 3. 2.3.5.3 Yearless dates\n 4. 2.3.5.4 Times\n 5. 2.3.5.5 Local dates and times\n 6. 2.3.5.6 Time zones\n 7. 2.3.5.7 Global dates and times\n 8. 2.3.5.8 Weeks\n 9. 2.3.5.9 Durations\n 10. 2.3.5.10 Vaguer moments in time\n 6. 2.3.6 Legacy colors\n 7. 2.3.7 Space-separated tokens\n 8. 2.3.8 Comma-separated tokens\n 9. 2.3.9 References\n 10. 2.3.10 Media queries\n 11. 2.3.11 Unique internal values\n 4. 2.4 URLs\n 1. 2.4.1 Terminology\n 2. 2.4.2 Parsing URLs\n 3. 2.4.3 Document base URLs\n 5. 2.5 Fetching resources\n 1. 2.5.1 Terminology\n 2. 2.5.2 Determining the type of a resource\n 3. 2.5.3 Extracting character encodings from `meta` elements\n 4. 2.5.4 CORS settings attributes\n 5. 2.5.5 Referrer policy attributes\n 6. 2.5.6 Nonce attributes\n 7. 2.5.7 Lazy loading attributes\n 8. 2.5.8 Blocking attributes\n 9. 2.5.9 Fetch priority attributes\n 6. 2.6 Common DOM interfaces\n 1. 2.6.1 Reflecting content attributes in IDL attributes\n 2. 2.6.2 Using reflect via IDL extended attributes\n 3. 2.6.3 Using reflect in specifications\n 4. 2.6.4 Collections\n 1. 2.6.4.1 The `HTMLAllCollection` interface\n 1. 2.6.4.1.1 [[Call]] ( thisArgument, argumentsList )\n 2. 2.6.4.2 The `HTMLFormControlsCollection` interface\n 3. 2.6.4.3 The `HTMLOptionsCollection` interface\n 5. 2.6.5 The `DOMStringList` interface\n 7. 2.7 Safe passing of structured data\n 1. 2.7.1 Serializable objects\n 2. 2.7.2 Transferable objects\n 3. 2.7.3 StructuredSerializeInternal ( value, forStorage [ ,\n memory ] )\n 4. 2.7.4 StructuredSerialize ( value )\n 5. 2.7.5 StructuredSerializeForStorage ( value )\n 6. 2.7.6 StructuredDeserialize ( serialized, targetRealm [ ,\n memory ] )\n 7. 2.7.7 StructuredSerializeWithTransfer ( value, transferList\n )\n 8. 2.7.8 StructuredDeserializeWithTransfer ( serializeWithTransferResult,\n targetRealm )\n 9. 2.7.9 Performing serialization and\n transferring from other specifications\n 10. 2.7.10 Structured cloning API\n3. 3 Semantics, structure, and APIs of HTML documents\n 1. 3.1 Documents\n 1. 3.1.1 The `Document` object\n 2. 3.1.2 The `DocumentOrShadowRoot` interface\n 3. 3.1.3 Ancestor origins\n 4. 3.1.4 Resource metadata management\n 5. 3.1.5 Reporting document loading status\n 6. 3.1.6 Render-blocking mechanism\n 7. 3.1.7 DOM tree accessors\n 2. 3.2 Elements\n 1. 3.2.1 Semantics\n 2. 3.2.2 Elements in the DOM\n 3. 3.2.3 HTML element constructors\n 4. 3.2.4 Element definitions\n 1. 3.2.4.1 Attributes\n 5. 3.2.5 Content models\n 1. 3.2.5.1 The \"nothing\" content model\n 2. 3.2.5.2 Kinds of content\n 1. 3.2.5.2.1 Metadata content\n 2. 3.2.5.2.2 Flow content\n 3. 3.2.5.2.3 Sectioning content\n 4. 3.2.5.2.4 Heading content\n 5. 3.2.5.2.5 Phrasing content\n 6. 3.2.5.2.6 Embedded content\n 7. 3.2.5.2.7 Interactive content\n 8. 3.2.5.2.8 Palpable content\n 9. 3.2.5.2.9 Script-supporting elements\n 3. 3.2.5.3 Transparent content models\n 4. 3.2.5.4 Paragraphs\n 6. 3.2.6 Global attributes\n 1. 3.2.6.1 The `title` attribute\n 2. 3.2.6.2 The `lang` and `xml:lang`\n attributes\n 3. 3.2.6.3 The `translate` attribute\n 4. 3.2.6.4 The `dir` attribute\n 5. 3.2.6.5 The `style` attribute\n 6. 3.2.6.6 Embedding custom non-visible data with the `data-*` attributes\n 7. 3.2.7 The `innerText` and `outerText` properties\n 8. 3.2.8 Requirements relating to the bidirectional algorithm\n 1. 3.2.8.1 Authoring conformance criteria for bidirectional-algorithm formatting characters\n 2. 3.2.8.2 User agent conformance criteria\n 9. 3.2.9 Requirements related to ARIA and to platform accessibility APIs\n4. 4 The elements of HTML\n 1. 4.1 The document element\n 1. 4.1.1 The `html` element\n 2. 4.2 Document metadata\n 1. 4.2.1 The `head` element\n 2. 4.2.2 The `title` element\n 3. 4.2.3 The `base` element\n 4. 4.2.4 The `link` element\n 1. 4.2.4.1 Processing the `media` attribute\n 2. 4.2.4.2 Processing the `type` attribute\n 3. 4.2.4.3 Fetching and processing a resource\n from a `link` element\n 4. 4.2.4.4 Processing ``Link`` headers\n 5. 4.2.4.5 Early hints\n 6. 4.2.4.6 Providing users with a means to follow hyperlinks created using the `link`\n element\n 5. 4.2.5 The `meta`\n element\n 1. 4.2.5.1 Standard metadata names\n 2. 4.2.5.2 Other metadata names\n 3. 4.2.5.3 Pragma directives\n 4. 4.2.5.4 Specifying the document's character encoding\n 6. 4.2.6 The `style` element\n 7. 4.2.7 Interactions of styling and scripting\n 3. 4.3 Sections\n 1. 4.3.1 The `body` element\n 2. 4.3.2 The `article` element\n 3. 4.3.3 The `section` element\n 4. 4.3.4 The `nav` element\n 5. 4.3.5 The `aside` element\n 6. 4.3.6 The `h1`, `h2`, `h3`, `h4`, `h5`, and `h6`\n elements\n 7. 4.3.7 The `hgroup` element\n 8. 4.3.8 The `header` element\n 9. 4.3.9 The `footer` element\n 10. 4.3.10 The `address` element\n 11. 4.3.11 Headings and outlines\n 1. 4.3.11.1 Heading levels & offsets\n 2. 4.3.11.2 Sample outlines\n 3. 4.3.11.3 Exposing outlines to users\n 12. 4.3.12 Usage summary\n 1. 4.3.12.1 Article or section?\n 4. 4.4 Grouping content\n 1. 4.4.1 The `p` element\n 2. 4.4.2 The `hr` element\n 3. 4.4.3 The `pre` element\n 4. 4.4.4 The `blockquote` element\n 5. 4.4.5 The `ol` element\n 6. 4.4.6 The `ul` element\n 7. 4.4.7 The `menu` element\n 8. 4.4.8 The `li` element\n 9. 4.4.9 The `dl` element\n 10. 4.4.10 The `dt` element\n 11. 4.4.11 The `dd` element\n 12. 4.4.12 The `figure` element\n 13. 4.4.13 The `figcaption` element\n 14. 4.4.14 The `main` element\n 15. 4.4.15 The `search` element\n 16. 4.4.16 The `div` element\n 5. 4.5 Text-level semantics\n 1. 4.5.1 The `a` element\n 2. 4.5.2 The `em` element\n 3. 4.5.3 The `strong` element\n 4. 4.5.4 The `small` element\n 5. 4.5.5 The `s` element\n 6. 4.5.6 The `cite` element\n 7. 4.5.7 The `q` element\n 8. 4.5.8 The `dfn` element\n 9. 4.5.9 The `abbr` element\n 10. 4.5.10 The `ruby` element\n 11. 4.5.11 The `rt` element\n 12. 4.5.12 The `rp` element\n 13. 4.5.13 The `data` element\n 14. 4.5.14 The `time` element\n 15. 4.5.15 The `code` element\n 16. 4.5.16 The `var` element\n 17. 4.5.17 The `samp` element\n 18. 4.5.18 The `kbd` element\n 19. 4.5.19 The `sub` and `sup` elements\n 20. 4.5.20 The `i` element\n 21. 4.5.21 The `b` element\n 22. 4.5.22 The `u` element\n 23. 4.5.23 The `mark` element\n 24. 4.5.24 The `bdi` element\n 25. 4.5.25 The `bdo` element\n 26. 4.5.26 The `span` element\n 27. 4.5.27 The `br` element\n 28. 4.5.28 The `wbr` element\n 29. 4.5.29 Usage summary\n 6. 4.6 Links\n 1. 4.6.1 Introduction\n 2. 4.6.2 Links created by `a` and `area` elements\n 3. 4.6.3 API for hyperlink elements\n 4. 4.6.4 API for `a` and `area` elements\n 5. 4.6.5 Following hyperlinks\n 6. 4.6.6 Downloading resources\n 7. 4.6.7 Hyperlink auditing\n 1. 4.6.7.1 The ``Ping-From`` and ``Ping-To`` headers\n 8. 4.6.8 Link types\n 1. 4.6.8.1 Link type \"`alternate`\"\n 2. 4.6.8.2 Link type \"`author`\"\n 3. 4.6.8.3 Link type \"`bookmark`\"\n 4. 4.6.8.4 Link type \"`canonical`\"\n 5. 4.6.8.5 Link type \"`dns-prefetch`\"\n 6. 4.6.8.6 Link type \"`expect`\"\n 7. 4.6.8.7 Link type \"`external`\"\n 8. 4.6.8.8 Link type \"`help`\"\n 9. 4.6.8.9 Link type \"`icon`\"\n 10. 4.6.8.10 Link type \"`license`\"\n 11. 4.6.8.11 Link type \"`manifest`\"\n 12. 4.6.8.12 Link type \"`modulepreload`\"\n 13. 4.6.8.13 Link type \"`nofollow`\"\n 14. 4.6.8.14 Link type \"`noopener`\"\n 15. 4.6.8.15 Link type \"`noreferrer`\"\n 16. 4.6.8.16 Link type \"`opener`\"\n 17. 4.6.8.17 Link type \"`pingback`\"\n 18. 4.6.8.18 Link type \"`preconnect`\"\n 19. 4.6.8.19 Link type \"`prefetch`\"\n 20. 4.6.8.20 Link type \"`preload`\"\n 21. 4.6.8.21 Link type \"`privacy-policy`\"\n 22. 4.6.8.22 Link type \"`search`\"\n 23. 4.6.8.23 Link type \"`stylesheet`\"\n 24. 4.6.8.24 Link type \"`tag`\"\n 25. 4.6.8.25 Link Type \"`terms-of-service`\"\n 26. 4.6.8.26 Sequential link types\n 1. 4.6.8.26.1 Link type \"`next`\"\n 2. 4.6.8.26.2 Link type \"`prev`\"\n 27. 4.6.8.27 Other link types\n 7. 4.7 Edits\n 1. 4.7.1 The `ins` element\n 2. 4.7.2 The `del` element\n 3. 4.7.3 Attributes common to `ins` and `del` elements\n 4. 4.7.4 Edits and paragraphs\n 5. 4.7.5 Edits and lists\n 6. 4.7.6 Edits and tables\n 8. 4.8 Embedded content\n 1. 4.8.1 The `picture` element\n 2. 4.8.2 The `source` element\n 3. 4.8.3 The `img` element\n 4. 4.8.4 Images\n 1. 4.8.4.1 Introduction\n 1. 4.8.4.1.1 Adaptive images\n 2. 4.8.4.2 Attributes common to `source`,\n `img`, and `link` elements\n 1. 4.8.4.2.1 Srcset attributes\n 2. 4.8.4.2.2 Sizes attributes\n 3. 4.8.4.3 Processing model\n 1. 4.8.4.3.1 When to obtain images\n 2. 4.8.4.3.2 Reacting to DOM mutations\n 3. 4.8.4.3.3 The list of available images\n 4. 4.8.4.3.4 Decoding images\n 5. 4.8.4.3.5 Updating the image data\n 6. 4.8.4.3.6 Preparing an image for presentation\n 7. 4.8.4.3.7 Selecting an image source\n 8. 4.8.4.3.8 Creating a source set from attributes\n 9. 4.8.4.3.9 Updating the source set\n 10. 4.8.4.3.10 Parsing a srcset attribute\n 11. 4.8.4.3.11 Parsing a sizes attribute\n 12. 4.8.4.3.12 Normalizing the source densities\n 13. 4.8.4.3.13 Reacting to environment changes\n 4. 4.8.4.4 Requirements for providing text to act as an alternative for images\n 1. 4.8.4.4.1 General guidelines\n 2. 4.8.4.4.2 A link or button containing nothing but the image\n 3. 4.8.4.4.3 A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations\n 4. 4.8.4.4.4 A short phrase or label with an alternative graphical representation: icons, logos\n 5. 4.8.4.4.5 Text that has been rendered to a graphic for typographical effect\n 6. 4.8.4.4.6 A graphical representation of some of the surrounding text\n 7. 4.8.4.4.7 Ancillary images\n 8. 4.8.4.4.8 A purely decorative image that doesn't add any information\n 9. 4.8.4.4.9 A group of images that form a single larger picture with no links\n 10. 4.8.4.4.10 A group of images that form a single larger picture with links\n 11. 4.8.4.4.11 A key part of the content\n 12. 4.8.4.4.12 An image not intended for the user\n 13. 4.8.4.4.13 An image in an email or private document intended for a specific person who is known to be able to view images\n 14. 4.8.4.4.14 Guidance for markup generators\n 15. 4.8.4.4.15 Guidance for conformance checkers\n 5. 4.8.5 The\n `iframe` element\n 6. 4.8.6 The `embed` element\n 7. 4.8.7 The `object` element\n 8. 4.8.8 The `video` element\n 9. 4.8.9 The `audio` element\n 10. 4.8.10 The `track` element\n 11. 4.8.11 Media elements\n 1. 4.8.11.1 Error codes\n 2. 4.8.11.2 Location of the media resource\n 3. 4.8.11.3 MIME types\n 4. 4.8.11.4 Network states\n 5. 4.8.11.5 Loading the media resource\n 6. 4.8.11.6 Offsets into the media resource\n 7. 4.8.11.7 Ready states\n 8. 4.8.11.8 Playing the media resource\n 9. 4.8.11.9 Seeking\n 10. 4.8.11.10 Media resources with multiple media tracks\n 1. 4.8.11.10.1 `AudioTrackList` and `VideoTrackList` objects\n 2. 4.8.11.10.2 Selecting specific audio and video tracks declaratively\n 11. 4.8.11.11 Timed text tracks\n 1. 4.8.11.11.1 Text track model\n 2. 4.8.11.11.2 Sourcing in-band text tracks\n 3. 4.8.11.11.3 Sourcing out-of-band text tracks\n 4. 4.8.11.11.4 Guidelines for exposing cues in various formats as text track cues\n 5. 4.8.11.11.5 Text track API\n 6. 4.8.11.11.6 Event handlers for objects of the text track APIs\n 7. 4.8.11.11.7 Best practices for metadata text tracks\n 12. 4.8.11.12 Identifying a track kind through a URL\n 13. 4.8.11.13 User interface\n 14. 4.8.11.14 Time ranges\n 15. 4.8.11.15 The `TrackEvent` interface\n 16. 4.8.11.16 Events summary\n 17. 4.8.11.17 Security and privacy considerations\n 18. 4.8.11.18 Best practices for authors using media elements\n 19. 4.8.11.19 Best practices for implementers of media elements\n 12. 4.8.12 The `map` element\n 13. 4.8.13 The `area` element\n 14. 4.8.14 Image maps\n 1. 4.8.14.1 Authoring\n 2. 4.8.14.2 Processing model\n 15. 4.8.15 MathML\n 16. 4.8.16 SVG\n 17. 4.8.17 Dimension attributes\n 9. 4.9 Tabular data\n 1. 4.9.1 The `table` element\n 1. 4.9.1.1 Techniques for describing tables\n 2. 4.9.1.2 Techniques for table design\n 2. 4.9.2 The `caption` element\n 3. 4.9.3 The `colgroup` element\n 4. 4.9.4 The `col` element\n 5. 4.9.5 The `tbody` element\n 6. 4.9.6 The `thead` element\n 7. 4.9.7 The `tfoot` element\n 8. 4.9.8 The `tr` element\n 9. 4.9.9 The `td` element\n 10. 4.9.10 The `th` element\n 11. 4.9.11 Attributes common to `td` and `th` elements\n 12. 4.9.12 Processing model\n 1. 4.9.12.1 Forming a table\n 2. 4.9.12.2 Forming relationships between data cells and header cells\n 13. 4.9.13 Examples\n 10. 4.10 Forms\n 1. 4.10.1 Introduction\n 1. 4.10.1.1 Writing a form's user interface\n 2. 4.10.1.2 Implementing the server-side processing for a form\n 3. 4.10.1.3 Configuring a form to communicate with a server\n 4. 4.10.1.4 Client-side form validation\n 5. 4.10.1.5 Enabling client-side automatic filling of form controls\n 6. 4.10.1.6 Improving the user experience on mobile devices\n 7. 4.10.1.7 The difference between the field type, the autofill field name, and the input modality\n 8. 4.10.1.8 Date, time, and number formats\n 2. 4.10.2 Categories\n 3. 4.10.3 The `form` element\n 4. 4.10.4 The `label` element\n 5. 4.10.5 The `input` element\n 1. 4.10.5.1 States of the `type` attribute\n 1. 4.10.5.1.1 Hidden state (`type=hidden`)\n 2. 4.10.5.1.2 Text (`type=text`) state and Search state (`type=search`)\n 3. 4.10.5.1.3 Telephone state (`type=tel`)\n 4. 4.10.5.1.4 URL state (`type=url`)\n 5. 4.10.5.1.5 Email state (`type=email`)\n 6. 4.10.5.1.6 Password state (`type=password`)\n 7. 4.10.5.1.7 Date state (`type=date`)\n 8. 4.10.5.1.8 Month state (`type=month`)\n 9. 4.10.5.1.9 Week state (`type=week`)\n 10. 4.10.5.1.10 Time state (`type=time`)\n 11. 4.10.5.1.11 Local Date and Time state (`type=datetime-local`)\n 12. 4.10.5.1.12 Number state (`type=number`)\n 13. 4.10.5.1.13 Range state (`type=range`)\n 14. 4.10.5.1.14 Color state (`type=color`)\n 15. 4.10.5.1.15 Checkbox state (`type=checkbox`)\n 16. 4.10.5.1.16 Radio Button state (`type=radio`)\n 17. 4.10.5.1.17 File Upload state (`type=file`)\n 18. 4.10.5.1.18 Submit Button state (`type=submit`)\n 19. 4.10.5.1.19 Image Button state (`type=image`)\n 20. 4.10.5.1.20 Reset Button state (`type=reset`)\n 21. 4.10.5.1.21 Button state (`type=button`)\n 2. 4.10.5.2 Implementation notes regarding localization of form controls\n 3. 4.10.5.3 Common `input` element attributes\n 1. 4.10.5.3.1 The `maxlength` and `minlength` attributes\n 2. 4.10.5.3.2 The `size` attribute\n 3. 4.10.5.3.3 The `readonly` attribute\n 4. 4.10.5.3.4 The `required` attribute\n 5. 4.10.5.3.5 The `multiple` attribute\n 6. 4.10.5.3.6 The `pattern` attribute\n 7. 4.10.5.3.7 The `min` and `max` attributes\n 8. 4.10.5.3.8 The `step` attribute\n 9. 4.10.5.3.9 The `list` attribute\n 10. 4.10.5.3.10 The `placeholder` attribute\n 4. 4.10.5.4 Common `input` element APIs\n 5. 4.10.5.5 Common event behaviors\n 6. 4.10.6 The `button` element\n 7. 4.10.7 The `select` element\n 8. 4.10.8 The `datalist` element\n 9. 4.10.9 The `optgroup` element\n 10. 4.10.10 The `option` element\n 11. 4.10.11 The `textarea` element\n 12. 4.10.12 The `output` element\n 13. 4.10.13 The `progress` element\n 14. 4.10.14 The `meter` element\n 15. 4.10.15 The `fieldset` element\n 16. 4.10.16 The `legend` element\n 17. 4.10.17 The `selectedcontent` element\n 18. 4.10.18 Form control infrastructure\n 1. 4.10.18.1 A form control's value\n 2. 4.10.18.2 Mutability\n 3. 4.10.18.3 Association of controls and forms\n 19. 4.10.19 Attributes common to form controls\n 1. 4.10.19.1 Naming form controls: the `name` attribute\n 2. 4.10.19.2 Submitting element directionality: the `dirname` attribute\n 3. 4.10.19.3 Limiting user input length: the `maxlength` attribute\n 4. 4.10.19.4 Setting minimum input length requirements: the `minlength` attribute\n 5. 4.10.19.5 Enabling and disabling form controls: the `disabled` attribute\n 6. 4.10.19.6 Form submission attributes\n 7. 4.10.19.7 Autofill\n 1. 4.10.19.7.1 Autofilling form controls: the `autocomplete` attribute\n 2. 4.10.19.7.2 Processing model\n 20. 4.10.20 APIs for the text control selections\n 21. 4.10.21 Constraints\n 1. 4.10.21.1 Definitions\n 2. 4.10.21.2 Constraint validation\n 3. 4.10.21.3 The constraint validation API\n 4. 4.10.21.4 Security\n 22. 4.10.22 Form submission\n 1. 4.10.22.1 Introduction\n 2. 4.10.22.2 Implicit submission\n 3. 4.10.22.3 Form submission algorithm\n 4. 4.10.22.4 Constructing the entry list\n 5. 4.10.22.5 Selecting a form submission encoding\n 6. 4.10.22.6 Converting an entry list to a list of name-value pairs\n 7. 4.10.22.7 URL-encoded form data\n 8. 4.10.22.8 Multipart form data\n 9. 4.10.22.9 Plain text form data\n 10. 4.10.22.10 The `SubmitEvent` interface\n 11. 4.10.22.11 The `FormDataEvent` interface\n 23. 4.10.23 Resetting a form\n 11. 4.11 Interactive elements\n 1. 4.11.1 The `details` element\n 2. 4.11.2 The `summary` element\n 3. 4.11.3 Commands\n 1. 4.11.3.1 Facets\n 2. 4.11.3.2 Using the `a` element to define a command\n 3. 4.11.3.3 Using the `button` element to define a command\n 4. 4.11.3.4 Using the `input` element to define a command\n 5. 4.11.3.5 Using the `option` element to define a command\n 6. 4.11.3.6 Using the `accesskey` attribute\n on a `legend` element to define a command\n 7. 4.11.3.7 Using the `accesskey`\n attribute to define a command on other elements\n 4. 4.11.4 The `dialog` element\n 5. 4.11.5 Dialog light dismiss\n 12. 4.12 Scripting\n 1. 4.12.1 The `script` element\n 1. 4.12.1.1 Processing model\n 2. 4.12.1.2 Scripting languages\n 3. 4.12.1.3 Restrictions for contents of `script` elements\n 4. 4.12.1.4 Inline documentation for external scripts\n 5. 4.12.1.5 Interaction of `script` elements and XSLT\n 2. 4.12.2 The `noscript` element\n 3. 4.12.3 The `template` element\n 1. 4.12.3.1 Interaction of `template` elements with XSLT and XPath\n 4. 4.12.4 The `slot` element\n 5. 4.12.5 The `canvas` element\n 1. 4.12.5.1 The 2D rendering context\n 1. 4.12.5.1.1 Implementation notes\n 2. 4.12.5.1.2 The canvas settings\n 3. 4.12.5.1.3 The canvas state\n 4. 4.12.5.1.4 Line styles\n 5. 4.12.5.1.5 Text styles\n 6. 4.12.5.1.6 Building paths\n 7. 4.12.5.1.7 `Path2D` objects\n 8. 4.12.5.1.8 Transformations\n 9. 4.12.5.1.9 Image sources for 2D rendering contexts\n 10. 4.12.5.1.10 Fill and stroke styles\n 11. 4.12.5.1.11 Drawing rectangles to the bitmap\n 12. 4.12.5.1.12 Drawing text to the bitmap\n 13. 4.12.5.1.13 Drawing paths to the canvas\n 14. 4.12.5.1.14 Drawing focus rings\n 15. 4.12.5.1.15 Drawing images\n 16. 4.12.5.1.16 Pixel manipulation\n 17. 4.12.5.1.17 Compositing\n 18. 4.12.5.1.18 Image smoothing\n 19. 4.12.5.1.19 Shadows\n 20. 4.12.5.1.20 Filters\n 21. 4.12.5.1.21 Working with externally-defined SVG filters\n 22. 4.12.5.1.22 Drawing model\n 23. 4.12.5.1.23 Best practices\n 24. 4.12.5.1.24 Examples\n 2. 4.12.5.2 The `ImageBitmap` rendering context\n 1. 4.12.5.2.1 Introduction\n 2. 4.12.5.2.2 The `ImageBitmapRenderingContext` interface\n 3. 4.12.5.3 The `OffscreenCanvas` interface\n 1. 4.12.5.3.1 The offscreen 2D rendering context\n 4. 4.12.5.4 Color spaces and color space\n conversion\n 5. 4.12.5.5 Serializing bitmaps to a file\n 6. 4.12.5.6 Security with `canvas` elements\n 7. 4.12.5.7 Premultiplied alpha and the 2D rendering context\n 13. 4.13 Custom elements\n 1. 4.13.1 Introduction\n 1. 4.13.1.1 Creating an autonomous custom element\n 2. 4.13.1.2 Creating a form-associated custom element\n 3. 4.13.1.3 Creating a custom element with default accessible roles, states, and properties\n 4. 4.13.1.4 Creating a customized built-in element\n 5. 4.13.1.5 Drawbacks of autonomous custom elements\n 6. 4.13.1.6 Upgrading elements after their creation\n 7. 4.13.1.7 Scoped custom element registries\n 8. 4.13.1.8 Exposing custom element states\n 2. 4.13.2 Requirements for custom element constructors and\n reactions\n 1. 4.13.2.1 Preserving custom element state when moved\n 3. 4.13.3 Core concepts\n 4. 4.13.4 The `CustomElementRegistry` interface\n 5. 4.13.5 Upgrades\n 6. 4.13.6 Custom element reactions\n 7. 4.13.7 Element internals\n 1. 4.13.7.1 The `ElementInternals` interface\n 2. 4.13.7.2 Shadow root access\n 3. 4.13.7.3 Form-associated custom elements\n 4. 4.13.7.4 Accessibility semantics\n 5. 4.13.7.5 Custom state pseudo-class\n 14. 4.14 Common idioms without dedicated elements\n 1. 4.14.1 Breadcrumb navigation\n 2. 4.14.2 Tag clouds\n 3. 4.14.3 Conversations\n 4. 4.14.4 Footnotes\n 15. 4.15 Disabled elements\n 16. 4.16 Matching HTML elements using selectors and CSS\n 1. 4.16.1 Case-sensitivity of the CSS 'attr()' function\n 2. 4.16.2 Case-sensitivity of selectors\n 3. 4.16.3 Pseudo-classes\n5. 5 Microdata\n 1. 5.1 Introduction\n 1. 5.1.1 Overview\n 2. 5.1.2 The basic syntax\n 3. 5.1.3 Typed items\n 4. 5.1.4 Global identifiers for items\n 5. 5.1.5 Selecting names when defining vocabularies\n 2. 5.2 Encoding microdata\n 1. 5.2.1 The microdata model\n 2. 5.2.2 Items\n 3. 5.2.3 Names: the `itemprop` attribute\n 4. 5.2.4 Values\n 5. 5.2.5 Associating names with items\n 6. 5.2.6 Microdata and other namespaces\n 3. 5.3 Sample microdata vocabularies\n 1. 5.3.1 vCard\n 1. 5.3.1.1 Conversion to vCard\n 2. 5.3.1.2 Examples\n 2. 5.3.2 vEvent\n 1. 5.3.2.1 Conversion to iCalendar\n 2. 5.3.2.2 Examples\n 3. 5.3.3 Licensing works\n 1. 5.3.3.1 Examples\n 4. 5.4 Converting HTML to other formats\n 1. 5.4.1 JSON\n6. 6 User interaction\n 1. 6.1 The `hidden` attribute\n 2. 6.2 Page visibility\n 1. 6.2.1 The `VisibilityStateEntry` interface\n 3. 6.3 Inert subtrees\n 1. 6.3.1 Modal dialogs and inert subtrees\n 2. 6.3.2 The `inert` attribute\n 4. 6.4 Tracking user activation\n 1. 6.4.1 Data model\n 2. 6.4.2 Processing model\n 3. 6.4.3 APIs gated by user activation\n 4. 6.4.4 The `UserActivation` interface\n 5. 6.4.5 User agent automation\n 5. 6.5 Activation behavior of elements\n 1. 6.5.1 The `ToggleEvent` interface\n 2. 6.5.2 The `CommandEvent` interface\n 6. 6.6 Focus\n 1. 6.6.1 Introduction\n 2. 6.6.2 Data model\n 3. 6.6.3 The `tabindex` attribute\n 4. 6.6.4 Processing model\n 5. 6.6.5 Sequential focus navigation\n 6. 6.6.6 Focus management APIs\n 7. 6.6.7 The `autofocus` attribute\n 7. 6.7 Assigning keyboard shortcuts\n 1. 6.7.1 Introduction\n 2. 6.7.2 The `accesskey`\n attribute\n 3. 6.7.3 Processing\n model\n 8. 6.8 Editing\n 1. 6.8.1 Making document regions editable: The `contenteditable` content attribute\n 2. 6.8.2 Making entire documents\n editable: the `designMode` getter and setter\n 3. 6.8.3 Best practices for in-page editors\n 4. 6.8.4 Editing APIs\n 5. 6.8.5 Spelling and grammar checking\n 6. 6.8.6 Writing suggestions\n 7. 6.8.7 Autocapitalization\n 8. 6.8.8 Autocorrection\n 9. 6.8.9 Input modalities: the `inputmode` attribute\n 10. 6.8.10 Input modalities: the `enterkeyhint`\n attribute\n 9. 6.9 Find-in-page\n 1. 6.9.1 Introduction\n 2. 6.9.2 Interaction with `details` and `hidden=until-found`\n 3. 6.9.3 Interaction with selection\n 10. 6.10 Close requests and close watchers\n 1. 6.10.1 Close requests\n 2. 6.10.2 Close watcher infrastructure\n 3. 6.10.3 The `CloseWatcher` interface\n 11. 6.11 Drag and drop\n 1. 6.11.1 Introduction\n 2. 6.11.2 The drag data store\n 3. 6.11.3 The `DataTransfer` interface\n 1. 6.11.3.1 The `DataTransferItemList` interface\n 2. 6.11.3.2 The `DataTransferItem` interface\n 4. 6.11.4 The `DragEvent` interface\n 5. 6.11.5 Processing model\n 6. 6.11.6 Events summary\n 7. 6.11.7 The `draggable` attribute\n 8. 6.11.8 Security risks in the drag-and-drop model\n 12. 6.12 The `popover` attribute\n 1. 6.12.1 The popover target attributes\n 2. 6.12.2 Popover light dismiss\n7. 7 Loading web pages\n 1. 7.1 Supporting concepts\n 1. 7.1.1 Origins\n 1. 7.1.1.1 Sites\n 2. 7.1.1.2 Relaxing the same-origin restriction\n 3. 7.1.1.3 The `Origin` interface\n 2. 7.1.2 Origin-keyed agent clusters\n 3. 7.1.3 Cross-origin opener policies\n 1. 7.1.3.1 The headers\n 2. 7.1.3.2 Browsing context group\n switches due to opener policy\n 3. 7.1.3.3 Reporting\n 4. 7.1.4 Cross-origin embedder policies\n 1. 7.1.4.1 The headers\n 2. 7.1.4.2 Embedder policy checks\n 5. 7.1.5 Sandboxing\n 6. 7.1.6 `iframe` element referrer policy\n 7. 7.1.7 Policy containers\n 2. 7.2 APIs related to navigation and\n session history\n 1. 7.2.1 Security infrastructure for `Window`,\n `WindowProxy`, and `Location` objects\n 1. 7.2.1.1 Integration with IDL\n 2. 7.2.1.2 Shared internal slot: [[CrossOriginPropertyDescriptorMap]]\n 3. 7.2.1.3 Shared abstract operations\n 1. 7.2.1.3.1 CrossOriginProperties ( O )\n 2. 7.2.1.3.2 CrossOriginPropertyFallback ( P )\n 3. 7.2.1.3.3 IsPlatformObjectSameOrigin ( O )\n 4. 7.2.1.3.4 CrossOriginGetOwnPropertyHelper ( O, P )\n 5. 7.2.1.3.5 CrossOriginGet ( O, P, Receiver )\n 6. 7.2.1.3.6 CrossOriginSet ( O, P, V,\n Receiver )\n 7. 7.2.1.3.7 CrossOriginOwnPropertyKeys ( O )\n 2. 7.2.2 The `Window` object\n 1. 7.2.2.1 Opening and closing windows\n 2. 7.2.2.2 Indexed access on the `Window` object\n 3. 7.2.2.3 Named access on the `Window` object\n 4. 7.2.2.4 Accessing related windows\n 5. 7.2.2.5 Historical browser interface element APIs\n 6. 7.2.2.6 Script settings for `Window` objects\n 3. 7.2.3 The `WindowProxy` exotic object\n 1. 7.2.3.1 [[GetPrototypeOf]] ( )\n 2. 7.2.3.2 [[SetPrototypeOf]] ( V )\n 3. 7.2.3.3 [[IsExtensible]] ( )\n 4. 7.2.3.4 [[PreventExtensions]] ( )\n 5. 7.2.3.5 [[GetOwnProperty]] ( P )\n 6. 7.2.3.6 [[DefineOwnProperty]] ( P, Desc\n )\n 7. 7.2.3.7 [[Get]] ( P, Receiver )\n 8. 7.2.3.8 [[Set]] ( P, V, Receiver )\n 9. 7.2.3.9 [[Delete]] ( P )\n 10. 7.2.3.10 [[OwnPropertyKeys]] ( )\n 4. 7.2.4 The `Location` interface\n 1. 7.2.4.1 [[GetPrototypeOf]] ( )\n 2. 7.2.4.2 [[SetPrototypeOf]] ( V )\n 3. 7.2.4.3 [[IsExtensible]] ( )\n 4. 7.2.4.4 [[PreventExtensions]] ( )\n 5. 7.2.4.5 [[GetOwnProperty]] ( P )\n 6. 7.2.4.6 [[DefineOwnProperty]] ( P, Desc )\n 7. 7.2.4.7 [[Get]] ( P, Receiver )\n 8. 7.2.4.8 [[Set]] ( P, V, Receiver )\n 9. 7.2.4.9 [[Delete]] ( P )\n 10. 7.2.4.10 [[OwnPropertyKeys]] ( )\n 5. 7.2.5 The `History` interface\n 6. 7.2.6 The navigation API\n 1. 7.2.6.1 Introduction\n 2. 7.2.6.2 The `Navigation` interface\n 3. 7.2.6.3 Core infrastructure\n 4. 7.2.6.4 Initializing and updating the entry list\n 5. 7.2.6.5 The `NavigationHistoryEntry` interface\n 6. 7.2.6.6 The history entry list\n 7. 7.2.6.7 Initiating navigations\n 8. 7.2.6.8 Ongoing navigation tracking\n 9. 7.2.6.9 The `NavigationActivation` interface\n 10. 7.2.6.10 The `navigate` event\n 1. 7.2.6.10.1 The `NavigateEvent` interface\n 2. 7.2.6.10.2 The `NavigationPrecommitController` interface\n 3. 7.2.6.10.3 The `NavigationDestination` interface\n 4. 7.2.6.10.4 Firing the event\n 5. 7.2.6.10.5 Scroll and focus behavior\n 7. 7.2.7 Event interfaces\n 1. 7.2.7.1 The `NavigationCurrentEntryChangeEvent` interface\n 2. 7.2.7.2 The `PopStateEvent` interface\n 3. 7.2.7.3 The `HashChangeEvent` interface\n 4. 7.2.7.4 The `PageSwapEvent` interface\n 5. 7.2.7.5 The `PageRevealEvent` interface\n 6. 7.2.7.6 The `PageTransitionEvent` interface\n 7. 7.2.7.7 The `BeforeUnloadEvent` interface\n 8. 7.2.8 The `NotRestoredReasons` interface\n 3. 7.3 Infrastructure for sequences of documents\n 1. 7.3.1 Navigables\n 1. 7.3.1.1 Traversable navigables\n 2. 7.3.1.2 Top-level traversables\n 3. 7.3.1.3 Child navigables\n 4. 7.3.1.4 Jake diagrams\n 5. 7.3.1.5 Related navigable collections\n 6. 7.3.1.6 Navigable destruction\n 7. 7.3.1.7 Navigable target names\n 2. 7.3.2 Browsing contexts\n 1. 7.3.2.1 Creating browsing contexts\n 2. 7.3.2.2 Related browsing contexts\n 3. 7.3.2.3 Groupings of browsing contexts\n 3. 7.3.3 Fully active documents\n 4. 7.4 Navigation and session\n history\n 1. 7.4.1 Session history\n 1. 7.4.1.1 Session history entries\n 2. 7.4.1.2 Document state\n 3. 7.4.1.3 Centralized modifications of session history\n 4. 7.4.1.4 Low-level operations on session history\n 2. 7.4.2 Navigation\n 1. 7.4.2.1 Supporting concepts\n 2. 7.4.2.2 Beginning navigation\n 3. 7.4.2.3 Ending navigation\n 1. 7.4.2.3.1 The usual cross-document navigation case\n 2. 7.4.2.3.2 The `javascript:` URL special case\n 3. 7.4.2.3.3 Fragment navigations\n 4. 7.4.2.3.4 Non-fetch schemes and external software\n 4. 7.4.2.4 Preventing navigation\n 5. 7.4.2.5 Aborting navigation\n 3. 7.4.3 Reloading and traversing\n 4. 7.4.4 Non-fragment synchronous \"navigations\"\n 5. 7.4.5 Populating a session history entry\n 6. 7.4.6 Applying the history step\n 1. 7.4.6.1 Updating the traversable\n 2. 7.4.6.2 Updating the document\n 3. 7.4.6.3 Revealing the document\n 4. 7.4.6.4 Scrolling to a fragment\n 5. 7.4.6.5 Persisted history entry state\n 5. 7.5 Document lifecycle\n 1. 7.5.1 Shared document creation infrastructure\n 2. 7.5.2 Loading HTML documents\n 3. 7.5.3 Loading XML documents\n 4. 7.5.4 Loading text documents\n 5. 7.5.5 Loading `multipart/x-mixed-replace`\n documents\n 6. 7.5.6 Loading media documents\n 7. 7.5.7 Loading\n a document for inline content that doesn't have a DOM\n 8. 7.5.8 Finishing the loading process\n 9. 7.5.9 Unloading documents\n 10. 7.5.10 Destroying documents\n 11. 7.5.11 Aborting a document load\n 6. 7.6 Speculative loading\n 1. 7.6.1 Speculation rules\n 1. 7.6.1.1 Data model\n 2. 7.6.1.2 Parsing\n 3. 7.6.1.3 Processing model\n 2. 7.6.2 Navigational prefetching\n 3. 7.6.3 The ``Speculation-Rules`` header\n 4. 7.6.4 The ``Sec-Speculation-Tags`` header\n 5. 7.6.5 Security considerations\n 1. 7.6.5.1 Cross-site requests\n 2. 7.6.5.2 Injected content\n 3. 7.6.5.3 IP anonymization\n 6. 7.6.6 Privacy considerations\n 1. 7.6.6.1 Heuristics and optionality\n 2. 7.6.6.2 State partitioning\n 3. 7.6.6.3 Identity joining\n 7. 7.7 The ``X-Frame-Options`` header\n 8. 7.8 The ``Refresh`` header\n 9. 7.9 Browser user interface\n considerations\n8. 8 Web application APIs\n 1. 8.1 Scripting\n 1. 8.1.1 Introduction\n 2. 8.1.2 Agents and agent clusters\n 1. 8.1.2.1 Integration with the JavaScript agent formalism\n 2. 8.1.2.2 Integration with the JavaScript agent cluster formalism\n 3. 8.1.3 Realms and their counterparts\n 1. 8.1.3.1 Environments\n 2. 8.1.3.2 Environment settings objects\n 3. 8.1.3.3 Realms, settings objects, and global objects\n 1. 8.1.3.3.1 Entry\n 2. 8.1.3.3.2 Incumbent\n 3. 8.1.3.3.3 Current\n 4. 8.1.3.3.4 Relevant\n 4. 8.1.3.4 Enabling and disabling scripting\n 5. 8.1.3.5 Secure contexts\n 4. 8.1.4 Script processing\n model\n 1. 8.1.4.1 Scripts\n 2. 8.1.4.2 Fetching scripts\n 3. 8.1.4.3 Creating scripts\n 4. 8.1.4.4 Calling scripts\n 5. 8.1.4.5 Killing scripts\n 6. 8.1.4.6 Runtime script errors\n 7. 8.1.4.7 Unhandled promise rejections\n 8. 8.1.4.8 Import map parse results\n 9. 8.1.4.9 Speculation rules parse results\n 5. 8.1.5 Module specifier resolution\n 1. 8.1.5.1 The resolution algorithm\n 2. 8.1.5.2 Import maps\n 3. 8.1.5.3 Import map processing model\n 6. 8.1.6 JavaScript specification host hooks\n 1. 8.1.6.1 HostEnsureCanAddPrivateElement(O)\n 2. 8.1.6.2 HostEnsureCanCompileStrings(realm,\n parameterStrings, bodyString, codeString, compilationType,\n parameterArgs, bodyArg)\n 3. 8.1.6.3 HostGetCodeForEval(argument)\n 4. 8.1.6.4 HostPromiseRejectionTracker(promise, operation)\n 5. 8.1.6.5 HostSystemUTCEpochNanoseconds(global)\n 6. 8.1.6.6 Job-related host hooks\n 1. 8.1.6.6.1 HostCallJobCallback(callback, V,\n argumentsList)\n 2. 8.1.6.6.2 HostEnqueueFinalizationRegistryCleanupJob(finalizationRegistry)\n 3. 8.1.6.6.3 HostEnqueueGenericJob(job,\n realm)\n 4. 8.1.6.6.4 HostEnqueuePromiseJob(job,\n realm)\n 5. 8.1.6.6.5 HostEnqueueTimeoutJob(job, realm,\n milliseconds)\n 6. 8.1.6.6.6 HostMakeJobCallback(callable)\n 7. 8.1.6.7 Module-related host hooks\n 1. 8.1.6.7.1 HostGetImportMetaProperties(moduleRecord)\n 2. 8.1.6.7.2 HostGetSupportedImportAttributes()\n 3. 8.1.6.7.3 HostLoadImportedModule(referrer,\n moduleRequest, loadState, payload)\n 7. 8.1.7 Event loops\n 1. 8.1.7.1 Definitions\n 2. 8.1.7.2 Queuing tasks\n 3. 8.1.7.3 Processing model\n 4. 8.1.7.4 Generic task sources\n 5. 8.1.7.5 Dealing with the event loop from other specifications\n 8. 8.1.8 Events\n 1. 8.1.8.1 Event handlers\n 2. 8.1.8.2 Event handlers on elements, `Document` objects, and `Window` objects\n 1. 8.1.8.2.1 IDL definitions\n 3. 8.1.8.3 Event firing\n 2. 8.2 The `WindowOrWorkerGlobalScope` mixin\n 3. 8.3 Base64 utility methods\n 4. 8.4 Dynamic markup insertion\n 1. 8.4.1 Opening the input stream\n 2. 8.4.2 Closing the input stream\n 3. 8.4.3 `document.write()`\n 4. 8.4.4 `document.writeln()`\n 5. 8.5 DOM parsing and serialization APIs\n 1. 8.5.1 The `DOMParser` interface\n 2. 8.5.2 HTML parsing methods\n 3. 8.5.3 HTML serialization methods\n 4. 8.5.4 The `innerHTML` property\n 5. 8.5.5 The `outerHTML` property\n 6. 8.5.6 The `insertAdjacentHTML()` method\n 7. 8.5.7 The `createContextualFragment()`\n method\n 8. 8.5.8 The `XMLSerializer` interface\n 6. 8.6 HTML sanitization\n 1. 8.6.1 Introduction\n 1. 8.6.1.1 Safe and unsafe\n 2. 8.6.2 The `Sanitizer` interface\n 3. 8.6.3 Sanitizer configuration\n 1. 8.6.3.1 Configuration invariants\n 4. 8.6.4 Sanitization algorithms\n 5. 8.6.5 Sanitization constants\n 6. 8.6.6 Security considerations\n 1. 8.6.6.1 Server-side reflected and stored XSS\n 2. 8.6.6.2 DOM clobbering\n 3. 8.6.6.3 XSS with script gadgets\n 4. 8.6.6.4 Mutation XSS\n 7. 8.7 Timers\n 8. 8.8 Microtask queuing\n 9. 8.9 User prompts\n 1. 8.9.1 Simple dialogs\n 2. 8.9.2 Printing\n 10. 8.10 System state and capabilities\n 1. 8.10.1 The `Navigator` object\n 1. 8.10.1.1 Client identification\n 2. 8.10.1.2 Language preferences\n 3. 8.10.1.3 Browser state\n 4. 8.10.1.4 Custom scheme handlers: the `registerProtocolHandler()` method\n 1. 8.10.1.4.1 Security and privacy\n 2. 8.10.1.4.2 User agent automation\n 5. 8.10.1.5 Cookies\n 6. 8.10.1.6 PDF viewing support\n 11. 8.11 Images\n 1. 8.11.1 The `ImageData` interface\n 2. 8.11.2 The `ImageBitmap` interface\n 12. 8.12 Animation frames\n9. 9 Communication\n 1. 9.1 The `MessageEvent` interface\n 2. 9.2 Server-sent events\n 1. 9.2.1 Introduction\n 2. 9.2.2 The `EventSource` interface\n 3. 9.2.3 Processing model\n 4. 9.2.4 The ``Last-Event-ID`` header\n 5. 9.2.5 Parsing an event stream\n 6. 9.2.6 Interpreting an event stream\n 7. 9.2.7 Authoring notes\n 8. 9.2.8 Connectionless push and other features\n 9. 9.2.9 Garbage collection\n 10. 9.2.10 Implementation advice\n 3. 9.3 Cross-document messaging\n 1. 9.3.1 Introduction\n 2. 9.3.2 Security\n 1. 9.3.2.1 Authors\n 2. 9.3.2.2 User agents\n 3. 9.3.3 Posting messages\n 4. 9.4 Channel messaging\n 1. 9.4.1 Introduction\n 1. 9.4.1.1 Examples\n 2. 9.4.1.2 Ports as the basis of an object-capability model on the web\n 3. 9.4.1.3 Ports as the basis of abstracting out service implementations\n 2. 9.4.2 Message channels\n 3. 9.4.3 The\n `MessageEventTarget` mixin\n 4. 9.4.4 Message ports\n 5. 9.4.5 Ports and garbage collection\n 5. 9.5 Broadcasting to other browsing contexts\n10. 10 Web workers\n 1. 10.1 Introduction\n 1. 10.1.1 Scope\n 2. 10.1.2 Examples\n 1. 10.1.2.1 A background number-crunching worker\n 2. 10.1.2.2 Using a JavaScript module as a worker\n 3. 10.1.2.3 Shared workers introduction\n 4. 10.1.2.4 Shared state using a shared worker\n 5. 10.1.2.5 Delegation\n 6. 10.1.2.6 Providing libraries\n 3. 10.1.3 Tutorials\n 1. 10.1.3.1 Creating a dedicated worker\n 2. 10.1.3.2 Communicating with a dedicated worker\n 3. 10.1.3.3 Shared workers\n 2. 10.2 Infrastructure\n 1. 10.2.1 The global scope\n 1. 10.2.1.1 The `WorkerGlobalScope` common interface\n 2. 10.2.1.2 Dedicated workers and the `DedicatedWorkerGlobalScope` interface\n 3. 10.2.1.3 Shared workers and the `SharedWorkerGlobalScope` interface\n 2. 10.2.2 The event loop\n 3. 10.2.3 The worker's lifetime\n 4. 10.2.4 Processing model\n 5. 10.2.5 Runtime script errors\n 6. 10.2.6 Creating workers\n 1. 10.2.6.1 The\n `AbstractWorker` mixin\n 2. 10.2.6.2 Script settings for workers\n 3. 10.2.6.3 Dedicated workers and the `Worker` interface\n 4. 10.2.6.4 Shared workers and the `SharedWorker` interface\n 7. 10.2.7 Concurrent hardware capabilities\n 3. 10.3 APIs available to workers\n 1. 10.3.1 Importing scripts and libraries\n 2. 10.3.2 The `WorkerNavigator` interface\n 3. 10.3.3 The `WorkerLocation` interface\n11. 11 Worklets\n 1. 11.1 Introduction\n 1. 11.1.1 Motivations\n 2. 11.1.2 Code idempotence\n 3. 11.1.3 Speculative evaluation\n 2. 11.2 Examples\n 1. 11.2.1 Loading scripts\n 2. 11.2.2 Registering a class and invoking its methods\n 3. 11.3 Infrastructure\n 1. 11.3.1 The global scope\n 1. 11.3.1.1 Agents and event loops\n 2. 11.3.1.2 Creation and termination\n 3. 11.3.1.3 Script settings for worklets\n 2. 11.3.2 The `Worklet` class\n 3. 11.3.3 The worklet's lifetime\n12. 12 Web storage\n 1. 12.1 Introduction\n 2. 12.2 The API\n 1. 12.2.1 The `Storage` interface\n 2. 12.2.2 The `sessionStorage` getter\n 3. 12.2.3 The `localStorage` getter\n 4. 12.2.4 The `StorageEvent` interface\n 3. 12.3 Privacy\n 1. 12.3.1 User tracking\n 2. 12.3.2 Sensitivity of data\n 4. 12.4 Security\n 1. 12.4.1 DNS spoofing attacks\n 2. 12.4.2 Cross-directory attacks\n 3. 12.4.3 Implementation risks\n13. 13 The HTML syntax\n 1. 13.1 Writing HTML documents\n 1. 13.1.1 The DOCTYPE\n 2. 13.1.2 Elements\n 1. 13.1.2.1 Start tags\n 2. 13.1.2.2 End tags\n 3. 13.1.2.3 Attributes\n 4. 13.1.2.4 Optional tags\n 5. 13.1.2.5 Restrictions on content models\n 6. 13.1.2.6 Restrictions on the contents of raw text and escapable raw text elements\n 3. 13.1.3 Text\n 1. 13.1.3.1 Newlines\n 4. 13.1.4 Character references\n 5. 13.1.5 CDATA sections\n 6. 13.1.6 Comments\n 7. 13.1.7 Processing instructions\n 2. 13.2 Parsing HTML documents\n 1. 13.2.1 Overview of the parsing model\n 2. 13.2.2 Parse errors\n 3. 13.2.3 The input byte stream\n 1. 13.2.3.1 Parsing with a known character encoding\n 2. 13.2.3.2 Determining the character encoding\n 3. 13.2.3.3 Character encodings\n 4. 13.2.3.4 Changing the encoding while parsing\n 5. 13.2.3.5 Preprocessing the input stream\n 4. 13.2.4 Parse state\n 1. 13.2.4.1 The insertion mode\n 2. 13.2.4.2 The stack of open elements\n 3. 13.2.4.3 The list of active formatting elements\n 4. 13.2.4.4 The element pointers\n 5. 13.2.4.5 Other parsing state flags\n 5. 13.2.5 Tokenization\n 1. 13.2.5.1 Data state\n 2. 13.2.5.2 RCDATA state\n 3. 13.2.5.3 RAWTEXT state\n 4. 13.2.5.4 Script data state\n 5. 13.2.5.5 PLAINTEXT state\n 6. 13.2.5.6 Tag open state\n 7. 13.2.5.7 End tag open state\n 8. 13.2.5.8 Tag name state\n 9. 13.2.5.9 RCDATA less-than sign state\n 10. 13.2.5.10 RCDATA end tag open state\n 11. 13.2.5.11 RCDATA end tag name state\n 12. 13.2.5.12 RAWTEXT less-than sign state\n 13. 13.2.5.13 RAWTEXT end tag open state\n 14. 13.2.5.14 RAWTEXT end tag name state\n 15. 13.2.5.15 Script data less-than sign state\n 16. 13.2.5.16 Script data end tag open state\n 17. 13.2.5.17 Script data end tag name state\n 18. 13.2.5.18 Script data escape start state\n 19. 13.2.5.19 Script data escape start dash state\n 20. 13.2.5.20 Script data escaped state\n 21. 13.2.5.21 Script data escaped dash state\n 22. 13.2.5.22 Script data escaped dash dash state\n 23. 13.2.5.23 Script data escaped less-than sign state\n 24. 13.2.5.24 Script data escaped end tag open state\n 25. 13.2.5.25 Script data escaped end tag name state\n 26. 13.2.5.26 Script data double escape start state\n 27. 13.2.5.27 Script data double escaped state\n 28. 13.2.5.28 Script data double escaped dash state\n 29. 13.2.5.29 Script data double escaped dash dash state\n 30. 13.2.5.30 Script data double escaped less-than sign state\n 31. 13.2.5.31 Script data double escape end state\n 32. 13.2.5.32 Before attribute name state\n 33. 13.2.5.33 Attribute name state\n 34. 13.2.5.34 After attribute name state\n 35. 13.2.5.35 Before attribute value state\n 36. 13.2.5.36 Attribute value (double-quoted) state\n 37. 13.2.5.37 Attribute value (single-quoted) state\n 38. 13.2.5.38 Attribute value (unquoted) state\n 39. 13.2.5.39 After attribute value (quoted) state\n 40. 13.2.5.40 Self-closing start tag state\n 41. 13.2.5.41 Bogus comment state\n 42. 13.2.5.42 Markup declaration open state\n 43. 13.2.5.43 Comment start state\n 44. 13.2.5.44 Comment start dash state\n 45. 13.2.5.45 Comment state\n 46. 13.2.5.46 Comment less-than sign state\n 47. 13.2.5.47 Comment less-than sign bang state\n 48. 13.2.5.48 Comment less-than sign bang dash state\n 49. 13.2.5.49 Comment less-than sign bang dash dash state\n 50. 13.2.5.50 Comment end dash state\n 51. 13.2.5.51 Comment end state\n 52. 13.2.5.52 Comment end bang state\n 53. 13.2.5.53 DOCTYPE state\n 54. 13.2.5.54 Before DOCTYPE name state\n 55. 13.2.5.55 DOCTYPE name state\n 56. 13.2.5.56 After DOCTYPE name state\n 57. 13.2.5.57 After DOCTYPE public keyword state\n 58. 13.2.5.58 Before DOCTYPE public identifier state\n 59. 13.2.5.59 DOCTYPE public identifier (double-quoted) state\n 60. 13.2.5.60 DOCTYPE public identifier (single-quoted) state\n 61. 13.2.5.61 After DOCTYPE public identifier state\n 62. 13.2.5.62 Between DOCTYPE public and system identifiers state\n 63. 13.2.5.63 After DOCTYPE system keyword state\n 64. 13.2.5.64 Before DOCTYPE system identifier state\n 65. 13.2.5.65 DOCTYPE system identifier (double-quoted) state\n 66. 13.2.5.66 DOCTYPE system identifier (single-quoted) state\n 67. 13.2.5.67 After DOCTYPE system identifier state\n 68. 13.2.5.68 Bogus DOCTYPE state\n 69. 13.2.5.69 CDATA section state\n 70. 13.2.5.70 CDATA section bracket state\n 71. 13.2.5.71 CDATA section end state\n 72. 13.2.5.72 Processing instruction open state\n 73. 13.2.5.73 Processing instruction target state\n 74. 13.2.5.74 After processing instruction target state\n 75. 13.2.5.75 Processing instruction data state\n 76. 13.2.5.76 Processing instruction questionable state\n 77. 13.2.5.77 Character reference state\n 78. 13.2.5.78 Named character reference state\n 79. 13.2.5.79 Ambiguous ampersand state\n 80. 13.2.5.80 Numeric character reference state\n 81. 13.2.5.81 Hexadecimal character reference start state\n 82. 13.2.5.82 Hexadecimal character reference state\n 83. 13.2.5.83 Decimal character reference state\n 84. 13.2.5.84 Numeric character reference end state\n 6. 13.2.6 Tree construction\n 1. 13.2.6.1 Creating and inserting nodes\n 2. 13.2.6.2 Parsing elements that contain only text\n 3. 13.2.6.3 Closing elements that have implied end tags\n 4. 13.2.6.4 The rules for parsing tokens in HTML content\n 1. 13.2.6.4.1 The \"initial\" insertion mode\n 2. 13.2.6.4.2 The \"before html\" insertion mode\n 3. 13.2.6.4.3 The \"before head\" insertion mode\n 4. 13.2.6.4.4 The \"in head\" insertion mode\n 5. 13.2.6.4.5 The \"in head noscript\" insertion mode\n 6. 13.2.6.4.6 The \"after head\" insertion mode\n 7. 13.2.6.4.7 The \"in body\" insertion mode\n 8. 13.2.6.4.8 The \"text\" insertion mode\n 9. 13.2.6.4.9 The \"in table\" insertion mode\n 10. 13.2.6.4.10 The \"in table text\" insertion mode\n 11. 13.2.6.4.11 The \"in caption\" insertion mode\n 12. 13.2.6.4.12 The \"in column group\" insertion mode\n 13. 13.2.6.4.13 The \"in table body\" insertion mode\n 14. 13.2.6.4.14 The \"in row\" insertion mode\n 15. 13.2.6.4.15 The \"in cell\" insertion mode\n 16. 13.2.6.4.16 The \"in template\" insertion mode\n 17. 13.2.6.4.17 The \"after body\" insertion mode\n 18. 13.2.6.4.18 The \"in frameset\" insertion mode\n 19. 13.2.6.4.19 The \"after frameset\" insertion mode\n 20. 13.2.6.4.20 The \"after after body\" insertion mode\n 21. 13.2.6.4.21 The \"after after frameset\" insertion mode\n 5. 13.2.6.5 The rules for parsing tokens in foreign content\n 7. 13.2.7 The end\n 8. 13.2.8 Speculative HTML parsing\n 9. 13.2.9 Coercing an HTML DOM into an infoset\n 10. 13.2.10 An introduction to error handling and strange cases in the parser\n 1. 13.2.10.1 Misnested tags: \n 2. 13.2.10.2 Misnested tags:

\n 3. 13.2.10.3 Unexpected markup in tables\n 4. 13.2.10.4 Scripts that modify the page as it is being parsed\n 5. 13.2.10.5 The execution of scripts that are moving across multiple documents\n 6. 13.2.10.6 Unclosed formatting elements\n 3. 13.3 Serializing HTML fragments\n 4. 13.4 Parsing HTML fragments\n 5. 13.5 Named character references\n14. 14 The XML syntax\n 1. 14.1 Writing documents in the XML syntax\n 2. 14.2 Parsing XML documents\n 3. 14.3 Serializing XML fragments\n 4. 14.4 Parsing XML fragments\n15. 15 Rendering\n 1. 15.1 Introduction\n 2. 15.2 The CSS user agent style sheet and presentational hints\n 3. 15.3 Non-replaced elements\n 1. 15.3.1 Hidden elements\n 2. 15.3.2 The page\n 3. 15.3.3 Flow content\n 4. 15.3.4 Phrasing content\n 5. 15.3.5 Bidirectional text\n 6. 15.3.6 Sections and headings\n 7. 15.3.7 Lists\n 8. 15.3.8 Tables\n 9. 15.3.9 Margin collapsing quirks\n 10. 15.3.10 Form controls\n 11. 15.3.11 The `hr` element\n 12. 15.3.12 The `fieldset` and `legend` elements\n 4. 15.4 Replaced elements\n 1. 15.4.1 Embedded content\n 2. 15.4.2 Images\n 3. 15.4.3 Attributes for embedded content and images\n 4. 15.4.4 Image maps\n 5. 15.5 Widgets\n 1. 15.5.1 Native appearance\n 2. 15.5.2 Writing mode\n 3. 15.5.3 Button layout\n 4. 15.5.4 The `button` element\n 5. 15.5.5 The `details` and `summary` elements\n 6. 15.5.6 The `input` element as a text entry widget\n 7. 15.5.7 The `input` element as domain-specific widgets\n 8. 15.5.8 The `input` element as a range control\n 9. 15.5.9 The `input` element as a color\n well\n 10. 15.5.10 The `input` element as a checkbox and radio button widgets\n 11. 15.5.11 The `input` element as a file upload control\n 12. 15.5.12 The `input` element as a button\n 13. 15.5.13 The `marquee` element\n 14. 15.5.14 The `meter` element\n 15. 15.5.15 The `progress` element\n 16. 15.5.16 The `select` element\n 17. 15.5.17 The `textarea` element\n 6. 15.6 Frames and framesets\n 7. 15.7 Interactive media\n 1. 15.7.1 Links, forms, and navigation\n 2. 15.7.2 The `title` attribute\n 3. 15.7.3 Editing hosts\n 4. 15.7.4 Text rendered in native user interfaces\n 8. 15.8 Print media\n 9. 15.9 Unstyled XML documents\n16. 16 Obsolete features\n 1. 16.1 Obsolete but conforming features\n 1. 16.1.1 Warnings for obsolete but conforming features\n 2. 16.2 Non-conforming features\n 3. 16.3 Requirements for implementations\n 1. 16.3.1 The `marquee` element\n 2. 16.3.2 Frames\n 3. 16.3.3 Other elements, attributes and APIs\n17. 17 IANA considerations\n 1. 17.1 `text/html`\n 2. 17.2 `multipart/x-mixed-replace`\n 3. 17.3 `application/xhtml+xml`\n 4. 17.4 `text/ping`\n 5. 17.5 `application/microdata+json`\n 6. 17.6 `application/speculationrules+json`\n 7. 17.7 `text/event-stream`\n 8. 17.8 `web+` scheme prefix\n18. Index\n 1. Elements\n 2. Element content categories\n 3. Attributes\n 4. Element interfaces\n 5. All interfaces\n 6. Events\n 7. HTTP headers\n 8. MIME types\n19. References\n20. Acknowledgments\n21. Intellectual property rights\n\n## 1 Introduction\n\n### 1.1 Where does this specification fit?\n\nThis specification defines a big part of the web platform, in lots of detail. Its place in the\n web platform specification stack relative to other specifications can be best summed up as\n follows:\n\n### 1.2 Is this HTML5?\n\n*This section is non-normative.*\n\nIn short: Yes.\n\nIn more length: the term \"HTML5\" is widely used as a buzzword to refer to modern web\n technologies, many of which (though by no means all) are developed at the WHATWG. This document is\n one such; others are available from [the WHATWG Standards\n overview](https://spec.whatwg.org/).\n\n### 1.3 Background\n\n*This section is non-normative.*\n\nHTML is the World Wide Web's core markup language. Originally, HTML was primarily designed as a\n language for semantically describing scientific documents. Its general design, however, has\n enabled it to be adapted, over the subsequent years, to describe a number of other types of\n documents and even applications.\n\n### 1.4 Audience\n\n*This section is non-normative.*\n\nThis specification is intended for authors of documents and scripts that use the features\n defined in this specification, implementers of tools that operate on pages that\n use the features defined in this specification, and individuals wishing to establish the\n correctness of documents or implementations with respect to the requirements of this\n specification.\n\nThis document is probably not suited to readers who do not already have at least a passing\n familiarity with web technologies, as in places it sacrifices clarity for precision, and brevity\n for completeness. More approachable tutorials and authoring guides can provide a gentler\n introduction to the topic.\n\nIn particular, familiarity with the basics of DOM is necessary for a complete understanding of\n some of the more technical parts of this specification. An understanding of Web IDL, HTTP, XML,\n Unicode, character encodings, JavaScript, and CSS will also be helpful in places but is not\n essential.\n\n### 1.5 Scope\n\n*This section is non-normative.*\n\nThis specification is limited to providing a semantic-level markup language and associated\n semantic-level scripting APIs for authoring accessible pages on the web ranging from static\n documents to dynamic applications.\n\nThe scope of this specification does not include providing mechanisms for media-specific\n customization of presentation (although default rendering rules for web browsers are included at\n the end of this specification, and several mechanisms for hooking into CSS are provided as part of\n the language).\n\nThe scope of this specification is not to describe an entire operating system. In particular,\n hardware configuration software, image manipulation tools, and applications that users would be\n expected to use with high-end workstations on a daily basis are out of scope. In terms of\n applications, this specification is targeted specifically at applications that would be expected\n to be used by users on an occasional basis, or regularly but from disparate locations, with low\n CPU requirements. Examples of such applications include online purchasing systems, searching\n systems, games (especially multiplayer online games), public telephone books or address books,\n communications software (email clients, instant messaging clients, discussion software), document\n editing software, etc.\n\n### 1.6 History\n\n*This section is non-normative.*\n\nFor its first five years (1990-1995), HTML went through a number of revisions and experienced a\n number of extensions, primarily hosted first at CERN, and then at the IETF.\n\nWith the creation of the W3C, HTML's development changed venue again. A first abortive attempt\n at extending HTML in 1995 known as HTML 3.0 then made way to a more pragmatic approach known as\n HTML 3.2, which was completed in 1997. HTML4 quickly followed later that same year.\n\nThe following year, the W3C membership decided to stop evolving HTML and instead begin work on\n an XML-based equivalent, called XHTML. This\n effort started with a reformulation of HTML4 in XML, known as XHTML 1.0, which added no new\n features except the new serialization, and which was completed in 2000. After XHTML 1.0, the W3C's\n focus turned to making it easier for other working groups to extend XHTML, under the banner of\n XHTML Modularization. In parallel with this, the W3C also worked on a new language that was not\n compatible with the earlier HTML and XHTML languages, calling it XHTML2.\n\nAround the time that HTML's evolution was stopped in 1998, parts of the API for HTML developed\n by browser vendors were specified and published under the name DOM Level 1 (in 1998) and DOM Level\n 2 Core and DOM Level 2 HTML (starting in 2000 and culminating in 2003). These efforts then petered\n out, with some DOM Level 3 specifications published in 2004 but the working group being closed\n before all the Level 3 drafts were completed.\n\nIn 2003, the publication of XForms, a technology which was positioned as the next generation of\n web forms, sparked a renewed interest in evolving HTML itself, rather than finding replacements\n for it. This interest was borne from the realization that XML's deployment as a web technology was\n limited to entirely new technologies (like RSS and later Atom), rather than as a replacement for\n existing deployed technologies (like HTML).\n\nA proof of concept to show that it was possible to extend HTML4's forms to provide many of the\n features that XForms 1.0 introduced, without requiring browsers to implement rendering engines\n that were incompatible with existing HTML web pages, was the first result of this renewed\n interest. At this early stage, while the draft was already publicly available, and input was\n already being solicited from all sources, the specification was only under Opera Software's\n copyright.\n\nThe idea that HTML's evolution should be reopened was tested at a W3C workshop in 2004, where\n some of the principles that underlie the HTML5 work (described below), as well as the\n aforementioned early draft proposal covering just forms-related features, were presented to the\n W3C jointly by Mozilla and Opera. The proposal was rejected on the grounds that the proposal\n conflicted with the previously chosen direction for the web's evolution; the W3C staff and\n membership voted to continue developing XML-based replacements instead.\n\nShortly thereafter, Apple, Mozilla, and Opera jointly announced their intent to continue\n working on the effort under the umbrella of a new venue called the WHATWG. A public mailing list\n was created, and the draft was moved to the WHATWG site. The copyright was subsequently amended to\n be jointly owned by all three vendors, and to allow reuse of the specification.\n\nThe WHATWG was based on several core principles, in particular that technologies need to be\n backwards compatible, that specifications and implementations need to match even if this means\n changing the specification rather than the implementations, and that specifications need to be\n detailed enough that implementations can achieve complete interoperability without\n reverse-engineering each other.\n\nThe latter requirement in particular required that the scope of the HTML5 specification include\n what had previously been specified in three separate documents: HTML4, XHTML1, and DOM2 HTML. It\n also meant including significantly more detail than had previously been considered the norm.\n\nIn 2006, the W3C indicated an interest to participate in the development of HTML5 after all,\n and in 2007 formed a working group chartered to work with the WHATWG on the development of the\n HTML5 specification. Apple, Mozilla, and Opera allowed the W3C to publish the specification under\n the W3C copyright, while keeping a version with the less restrictive license on the WHATWG\n site.\n\nFor a number of years, both groups then worked together. In 2011, however, the groups came to\n the conclusion that they had different goals: the W3C wanted to publish a \"finished\" version of\n \"HTML5\", while the WHATWG wanted to continue working on a Living Standard for HTML, continuously\n maintaining the specification rather than freezing it in a state with known problems, and adding\n new features as needed to evolve the platform.\n\nIn 2019, the WHATWG and W3C [signed an\n agreement](https://www.w3.org/blog/news/archives/7753) to collaborate on a single version of HTML going forward: this document.\n\n### 1.7 Design notes\n\n*This section is non-normative.*\n\nIt must be admitted that many aspects of HTML appear at first glance to be nonsensical and\n inconsistent.\n\nHTML, its supporting DOM APIs, as well as many of its supporting technologies, have been\n developed over a period of several decades by a wide array of people with different priorities\n who, in many cases, did not know of each other's existence.\n\nFeatures have thus arisen from many sources, and have not always been designed in especially\n consistent ways. Furthermore, because of the unique characteristics of the web, implementation\n bugs have often become de-facto, and now de-jure, standards, as content is often unintentionally\n written in ways that rely on them before they can be fixed.\n\nDespite all this, efforts have been made to adhere to certain design goals. These are described\n in the next few subsections.\n\n#### 1.7.1 Serializability of script execution\n\n*This section is non-normative.*\n\nTo avoid exposing web authors to the complexities of multithreading, the HTML and DOM APIs are\n designed such that no script can ever detect the simultaneous execution of other scripts. Even\n with workers, the intent is that the behavior of implementations can\n be thought of as completely serializing the execution of all scripts in all globals.\n\nThe exception to this general design principle is the JavaScript `[SharedArrayBuffer](https://tc39.es/ecma262/#sec-sharedarraybuffer-objects)`\n class. Using `[SharedArrayBuffer](https://tc39.es/ecma262/#sec-sharedarraybuffer-objects)` objects, it can in fact be observed that scripts in\n other [agents](https://tc39.es/ecma262/#sec-agents) are executing simultaneously. Furthermore, due to the\n JavaScript memory model, there are situations which not only are un-representable via serialized\n *script* execution, but also un-representable via serialized *statement* execution\n among those scripts.\n\n#### 1.7.2 Extensibility\n\n*This section is non-normative.*\n\nHTML has a wide array of extensibility mechanisms that can be used for adding semantics in a\n safe manner:\n\n- Authors can use the `class` attribute to extend elements,\n effectively creating their own elements, while using the most applicable existing \"real\" HTML\n element, so that browsers and other tools that don't know of the extension can still support it\n somewhat well. This is the tack used by microformats, for example.\n- Authors can include data for inline client-side scripts or server-side site-wide scripts\n to process using the `data-*=\"\"` attributes. These are guaranteed\n to never be touched by browsers, and allow scripts to include data on HTML elements that scripts\n can then look for and process.\n- Authors can use the `` mechanism to\n include page-wide metadata.\n- Authors can use the `rel=\"\"` mechanism to annotate\n links with specific meanings by registering extensions to\n the predefined set of link types. This is also used by microformats.\n- Authors can embed raw data using the ` \n```\n\nEach element in the DOM tree is represented by an object, and these objects have APIs so that\n they can be manipulated. For instance, a link (e.g. the `a` element in the tree above)\n can have its \"`href`\" attribute changed in several\n ways:\n\n```\nvar a = document.links[0]; // obtain the first link in the document\na.href = 'sample.html'; // change the destination URL of the link\na.protocol = 'https'; // change just the scheme part of the URL\na.setAttribute('href', 'https://example.com/'); // change the content attribute directly\n```\n\nSince DOM trees are used as the way to represent HTML documents when they are processed and\n presented by implementations (especially interactive implementations like web browsers), this\n specification is mostly phrased in terms of DOM trees, instead of the markup described above.\n\n---\n\nHTML documents represent a media-independent description of interactive content. HTML documents\n might be rendered to a screen, or through a speech synthesizer, or on a braille display. To\n influence exactly how such rendering takes place, authors can use a styling language such as\n CSS.\n\nIn the following example, the page has been made yellow-on-blue using CSS.\n\n```\n Sample styled page

Sample styled page

This page is just a demo.

\n```\n\nFor more details on how to use HTML, authors are encouraged to consult tutorials and guides.\n Some of the examples included in this specification might also be of use, but the novice author is\n cautioned that this specification, by necessity, defines the language with a level of detail that\n might be difficult to understand at first.\n\n#### 1.10.1 Writing secure applications with HTML\n\n*This section is non-normative.*\n\nWhen HTML is used to create interactive sites, care needs to be taken to avoid introducing\n vulnerabilities through which attackers can compromise the integrity of the site itself or of the\n site's users.\n\nA comprehensive study of this matter is beyond the scope of this document, and authors are\n strongly encouraged to study the matter in more detail. However, this section attempts to provide\n a quick introduction to some common pitfalls in HTML application development.\n\nThe security model of the web is based on the concept of \"origins\", and correspondingly many of\n the potential attacks on the web involve cross-origin actions. [ORIGIN]\n\nNot validating user input\n\nCross-site scripting (XSS)\n\nSQL injection\n\nWhen accepting untrusted input, e.g. user-generated content such as text comments, values in\n URL parameters, messages from third-party sites, etc, it is imperative that the data be\n validated before use, and properly escaped when displayed. Failing to do this can allow a\n hostile user to perform a variety of attacks, ranging from the potentially benign, such as\n providing bogus user information like a negative age, to the serious, such as running scripts\n every time a user looks at a page that includes the information, potentially propagating the\n attack in the process, to the catastrophic, such as deleting all data in the server. When writing filters to validate user input, it is imperative that filters always be\n safelist-based, allowing known-safe constructs and disallowing all other input. Blocklist-based\n filters that disallow known-bad inputs and allow everything else are not secure, as not\n everything that is bad is yet known (for example, because it might be invented in the\n future). For example, suppose a page looked at its URL's query string to determine what to display,\n and the site then redirected the user to that page to display a message, as in: `` If the message was just displayed to the user without escaping, a hostile attacker could\n then craft a URL that contained a script element: https://example.com/message.cgi?say=%3Cscript%3Ealert%28%27Oh%20no%21%27%29%3C/script%3E If the attacker then convinced a victim user to visit this page, a script of the attacker's\n choosing would run on the page. Such a script could do any number of hostile actions, limited\n only by what the site offers: if the site is an e-commerce shop, for instance, such a script\n could cause the user to unknowingly make arbitrarily many unwanted purchases. This is called a cross-site scripting attack. There are many constructs that can be used to try to trick a site into executing code. Here\n are some that authors are encouraged to consider when writing safelist filters: When allowing harmless-seeming elements like `img`, it is important to safelist\n any provided attributes as well. If one allowed all attributes then an attacker could, for\n instance, use the `onload` attribute to run arbitrary\n script.When allowing URLs to be provided (e.g. for links), the scheme of each URL also needs to be\n explicitly safelisted, as there are many schemes that can be abused. The most prominent\n example is \"`javascript:`\", but user agents can\n implement (and indeed, have historically implemented) others.Allowing a `base` element to be inserted means any `script` elements\n in the page with relative links can be hijacked, and similarly that any form submissions can\n get redirected to a hostile site.\n\nCross-site request forgery (CSRF)\n\nIf a site allows a user to make form submissions with user-specific side-effects, for example\n posting messages on a forum under the user's name, making purchases, or applying for a passport,\n it is important to verify that the request was made by the user intentionally, rather than by\n another site tricking the user into making the request unknowingly. This problem exists because HTML forms can be submitted to other origins. Sites can prevent such attacks by populating forms with user-specific hidden tokens, or by\n checking ``[Origin](https://fetch.spec.whatwg.org/#http-origin)`` headers on all requests.\n\nClickjacking\n\nA page that provides users with an interface to perform actions that the user might not wish\n to perform needs to be designed so as to avoid the possibility that users can be tricked into\n activating the interface. One way that a user could be so tricked is if a hostile site places the victim site in a\n small `iframe` and then convinces the user to click, for instance by having the user\n play a reaction game. Once the user is playing the game, the hostile site can quickly position\n the iframe under the mouse cursor just as the user is about to click, thus tricking the user\n into clicking the victim site's interface. To avoid this, sites that do not expect to be used in frames are encouraged to only enable\n their interface if they detect that they are not in a frame (e.g. by comparing the `window` object to the value of the `top`\n attribute).\n\n#### 1.10.2 Common pitfalls to avoid when using the scripting APIs\n\n*This section is non-normative.*\n\nScripts in HTML have \"run-to-completion\" semantics, meaning that the browser will generally run\n the script uninterrupted before doing anything else, such as firing further events or continuing\n to parse the document.\n\nOn the other hand, parsing of HTML files happens incrementally, meaning that\n the parser can pause at any point to let scripts run. This is generally a good thing, but it does\n mean that authors need to be careful to avoid hooking event handlers after the events could have\n possibly fired.\n\nThere are two techniques for doing this reliably: use event handler content\n attributes, or create the element and add the event handlers in the same script. The latter\n is safe because, as mentioned earlier, scripts are run to completion before further events can\n fire.\n\nOne way this could manifest itself is with `img` elements and the `load` event. The event could fire as soon as the element has been\n parsed, especially if the image has already been cached (which is common).\n\nHere, the author uses the `onload` handler on an\n `img` element to catch the `load` event:\n\n```\n\"Games\"\n```\n\nIf the element is being added by script, then so long as the event handlers are added in the\n same script, the event will still not be missed:\n\n```\n\n```\n\nHowever, if the author first created the `img` element and then in a separate\n script added the event listeners, there's a chance that the `load`\n event would be fired in between, leading it to be missed:\n\n```\n \"Games\" \n```\n\n#### 1.10.3 How to catch mistakes when writing HTML: validators and conformance checkers\n\n*This section is non-normative.*\n\nAuthors are encouraged to make use of conformance checkers (also known as *validators*) to\n catch common mistakes. The WHATWG maintains a list of such tools at: [https://whatwg.org/validator/](https://whatwg.org/validator/)\n\n### 1.11 Conformance requirements for authors\n\n*This section is non-normative.*\n\nUnlike previous versions of the HTML specification, this specification defines in some detail\n the required processing for invalid documents as well as valid documents.\n\nHowever, even though the processing of invalid content is in most cases well-defined,\n conformance requirements for documents are still important: in practice, interoperability (the\n situation in which all implementations process particular content in a reliable and identical or\n equivalent way) is not the only goal of document conformance requirements. This section details\n some of the more common reasons for still distinguishing between a conforming document and one\n with errors.\n\n#### 1.11.1 Presentational markup\n\n*This section is non-normative.*\n\nThe majority of presentational features from previous versions of HTML are no longer allowed.\n Presentational markup in general has been found to have a number of problems:\n\nThe use of presentational elements leads to poorer accessibility\n\nWhile it is possible to use presentational markup in a way that provides users of assistive\n technologies (ATs) with an acceptable experience (e.g. using ARIA), doing so is significantly\n more difficult than doing so when using semantically-appropriate markup. Furthermore, even using\n such techniques doesn't help make pages accessible for non-AT non-graphical users, such as users\n of text-mode browsers. Using media-independent markup, on the other hand, provides an easy way for documents to be\n authored in such a way that they work for more users (e.g. users of text browsers).\n\nHigher cost of maintenance\n\nIt is significantly easier to maintain a site written in such a way that the markup is\n style-independent. For example, changing the color of a site that uses `` throughout requires changes across the entire site,\n whereas a similar change to a site based on CSS can be done by changing a single file.\n\nLarger document sizes\n\nPresentational markup tends to be much more redundant, and thus results in larger document\n sizes.\n\nFor those reasons, presentational markup has been removed from HTML in this version. This\n change should not come as a surprise; HTML4 deprecated presentational markup many years ago and\n provided a mode (HTML4 Transitional) to help authors move away from presentational markup; later,\n XHTML 1.1 went further and obsoleted those features altogether.\n\nThe only remaining presentational markup features in HTML are the `style` attribute and the `style` element. Use of the `style` attribute is somewhat discouraged in production environments, but\n it can be useful for rapid prototyping (where its rules can be directly moved into a separate\n style sheet later) and for providing specific styles in unusual cases where a separate style sheet\n would be inconvenient. Similarly, the `style` element can be useful in syndication or\n for page-specific styles, but in general an external style sheet is likely to be more convenient\n when the styles apply to multiple pages.\n\nIt is also worth noting that some elements that were previously presentational have been\n redefined in this specification to be media-independent: `b`, `i`,\n `hr`, `s`, `small`, and `u`.\n\n#### 1.11.2 Syntax errors\n\n*This section is non-normative.*\n\nThe syntax of HTML is constrained to avoid a wide variety of problems.\n\nUnintuitive error-handling behavior\n\nCertain invalid syntax constructs, when parsed, result in DOM trees that are highly\n unintuitive. For example, the following markup fragment results in a DOM with an `hr` element\n that is an *earlier* sibling of the corresponding `table` element: `
...`\n\nErrors with optional error recovery\n\nTo allow user agents to be used in controlled environments without having to implement the\n more bizarre and convoluted error handling rules, user agents are permitted to fail whenever\n encountering a parse error.\n\nErrors where the error-handling behavior is not compatible with streaming user agents\n\nSome error-handling behavior, such as the behavior for the `

...` example mentioned above, are incompatible with streaming\n user agents (user agents that process HTML files in one pass, without storing state). To avoid\n interoperability problems with such user agents, any syntax resulting in such behavior is\n considered invalid.\n\nErrors that can result in infoset coercion\n\nWhen a user agent based on XML is connected to an HTML parser, it is possible that certain\n invariants that XML enforces, such as element or attribute names never contain multiple colons,\n will be violated by an HTML file. Handling this can require that the parser coerce the HTML DOM\n into an XML-compatible infoset. Most syntax constructs that require such handling are considered\n invalid. (Comments containing two consecutive hyphens, or ending with a hyphen, are exceptions\n that are allowed in the HTML syntax.)\n\nErrors that result in disproportionately poor performance\n\nCertain syntax constructs can result in disproportionately poor performance. To discourage the\n use of such constructs, they are typically made non-conforming. For example, the following markup results in poor performance, since all the unclosed\n `i` elements have to be reconstructed in each paragraph, resulting in progressively\n more elements in each paragraph: `

She dreamt.\n

She dreamt that she ate breakfast.\n

Then lunch.\n

And finally dinner.` The resulting DOM for this fragment would be: `p``i``[#text](https://dom.spec.whatwg.org/#interface-text)`: She dreamt.`p``i``i``[#text](https://dom.spec.whatwg.org/#interface-text)`: She dreamt that she ate breakfast.`p``i``i``i``[#text](https://dom.spec.whatwg.org/#interface-text)`: Then lunch.`p``i``i``i``i``[#text](https://dom.spec.whatwg.org/#interface-text)`: And finally dinner.\n\nErrors involving fragile syntax constructs\n\nThere are syntax constructs that, for historical reasons, are relatively fragile. To help\n reduce the number of users who accidentally run into such problems, they are made\n non-conforming. For example, the parsing of certain named character references in attributes happens even\n with the closing semicolon being omitted. It is safe to include an ampersand followed by\n letters that do not form a named character reference, but if the letters are changed to a\n string that *does* form a named character reference, they will be interpreted as that\n character instead. In this fragment, the attribute's value is \"`?bill&ted`\": `Bill and Ted` In the following fragment, however, the attribute's value is actually \"`?art©`\", *not* the intended \"`?art©`\",\n because even without the final semicolon, \"`©`\" is handled the same\n as \"`©`\" and thus gets interpreted as \"`©`\": `Art and Copy` To avoid this problem, all named character references are required to end with a semicolon,\n and uses of named character references without a semicolon are flagged as errors. Thus, the correct way to express the above cases is as\n follows: `Bill and Ted ` `Art and Copy `\n\nErrors involving known interoperability problems in legacy user agents\n\nCertain syntax constructs are known to cause especially subtle or serious problems in legacy\n user agents, and are therefore marked as non-conforming to help authors avoid them. For example, this is why the U+0060 GRAVE ACCENT character (`) is not allowed in unquoted\n attributes. In certain legacy user agents, it is sometimes treated as a\n quote character. Another example of this is the DOCTYPE, which is required to trigger [no-quirks\n mode](https://dom.spec.whatwg.org/#concept-document-no-quirks), because the behavior of legacy user agents in [quirks mode](https://dom.spec.whatwg.org/#concept-document-quirks) is often\n largely undocumented.\n\nErrors that risk exposing authors to security attacks\n\nCertain restrictions exist purely to avoid known security problems. For example, the restriction on using UTF-7 exists purely to avoid authors falling prey to a\n known cross-site-scripting attack using UTF-7. [UTF7]\n\nCases where the author's intent is unclear\n\nMarkup where the author's intent is very unclear is often made non-conforming. Correcting\n these errors early makes later maintenance easier. For example, it is unclear whether the author intended the following to be an\n `h1` heading or an `h2` heading: `

Contact details

`\n\nCases that are likely to be typos\n\nWhen a user makes a simple typo, it is helpful if the error can be caught early, as this can\n save the author a lot of debugging time. This specification therefore usually considers it an\n error to use element names, attribute names, and so forth, that do not match the names defined\n in this specification. For example, if the author typed `` instead of `\n```\n\nThis provides the user with more context:\n\n| | 1 | 2 | 3 | 4 | 5 | 6 |\n| --- | --- | --- | --- | --- | --- | --- |\n| 1 | 2 | 3 | 4 | 5 | 6 | 7 |\n| 2 | 3 | 4 | 5 | 6 | 7 | 8 |\n| 3 | 4 | 5 | 6 | 7 | 8 | 9 |\n| 4 | 5 | 6 | 7 | 8 | 9 | 10 |\n| 5 | 6 | 7 | 8 | 9 | 10 | 11 |\n| 6 | 7 | 8 | 9 | 10 | 11 | 12 |\n\n#### 4.9.3 The `colgroup` element\n\n[Element/colgroup](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLTableColElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `table` element, after any\n `caption` elements and before any `thead`,\n `tbody`, `tfoot`, and `tr`\n elements.\n\nContent model:\n\nIf the `span` attribute is present: Nothing.\n\nIf the `span` attribute is absent: Zero or more `col` and `template` elements.\n\nTag omission in text/html:\n\nA `colgroup` element's start tag can be\n omitted if the first thing inside the `colgroup` element is a `col` element,\n and if the element is not immediately preceded by another `colgroup` element whose\n end tag has been omitted. (It can't be omitted if the element\n is empty.)\n\nA `colgroup` element's end tag can be omitted\n if the `colgroup` element is not immediately followed by [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)\n or a comment.\n\nContent attributes:\n\nGlobal attributes\n\n`span` — Number of columns spanned by the element\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-colgroup).\n\n[For implementers](https://w3c.github.io/html-aam/#el-colgroup).\n\nSanitization:\n\nDefault with attributes `span`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLTableColElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect, ReflectDefault=1, ReflectRange=(1, 1000)] attribute unsigned long span;\n\n // also has obsolete members\n};`\n\nThe `colgroup` element represents a group of one or more columns in the `table` that is its parent, if it has a\n parent and that is a `table` element.\n\nIf the `colgroup` element contains no `col` elements, then the element\n may have a `span`\n content attribute specified, whose value must be a valid non-negative integer greater\n than zero and less than or equal to 1000.\n\nThe `colgroup` element and its `span`\n attribute take part in the table model.\n\n#### 4.9.4 The `col` element\n\n[Element/col](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `colgroup` element that doesn't have\n a `span` attribute.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`span` — Number of columns spanned by the element\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-col).\n\n[For implementers](https://w3c.github.io/html-aam/#el-col).\n\nSanitization:\n\nDefault with attributes `span`.\n\nDOM interface:\n\nUses `HTMLTableColElement`, as defined for `colgroup` elements.\n\nIf a `col` element has a parent and that is a `colgroup` element that\n itself has a parent that is a `table` element, then the `col` element\n represents one or more columns in the column group represented by that `colgroup`.\n\nThe element may have a `span` content attribute specified, whose value must be a\n valid non-negative integer greater than zero and less than or equal to 1000.\n\nThe `col` element and its `span` attribute take\n part in the table model.\n\n#### 4.9.5 The `tbody` element\n\n[Element/tbody](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLTableSectionElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `table` element, after any\n `caption`, `colgroup`, and\n `thead` elements, but only if there are no\n `tr` elements that are children of the\n `table` element.\n\nContent model:\n\nZero or more `tr` and script-supporting elements.\n\nTag omission in text/html:\n\nA `tbody` element's start tag can be omitted\n if the first thing inside the `tbody` element is a `tr` element, and if the\n element is not immediately preceded by a `tbody`, `thead`, or\n `tfoot` element whose end tag has been omitted. (It\n can't be omitted if the element is empty.)\n\nA `tbody` element's end tag can be omitted if\n the `tbody` element is immediately followed by a `tbody` or\n `tfoot` element, or if there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-tbody).\n\n[For implementers](https://w3c.github.io/html-aam/#el-tbody).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLTableSectionElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [SameObject] readonly attribute [HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection) rows;\n HTMLTableRowElement insertRow(optional long index = -1);\n [CEReactions] undefined deleteRow(long index);\n\n // also has obsolete members\n};` The\n `HTMLTableSectionElement` interface is also used for `thead` and\n `tfoot` elements.\n\nThe `tbody` element represents a block of rows that consist of a\n body of data for the parent `table` element, if the `tbody` element has a\n parent and it is a `table`.\n\nThe `tbody` element takes part in the table model.\n\n`tbody.rows`\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `tr` elements of the table\n section.\n\n`tr = tbody.insertRow([ index ])`\n\nCreates a `tr` element, inserts it into the table section at the position given by\n the argument, and returns the `tr`. The position is relative to the rows in the table section. The index −1, which is the\n default if the argument is omitted, is equivalent to inserting at the end of the table\n section. If the given position is less than −1 or greater than the number of rows, throws an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n\n`tbody.deleteRow(index)`\n\nRemoves the `tr` element with the given position in the table section. The position is relative to the rows in the table section. The index −1 is equivalent\n to deleting the last row of the table section. If the given position is less than −1 or greater than the index of the last row, or if\n there are no rows, throws an [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n\nThe `rows` attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)`\n rooted at this element, whose filter matches only `tr` elements that are children of\n this element.\n\nThe `insertRow(index)` method must act as\n follows:\n\n1. If index is less than −1 or greater than the number of elements in the\n `rows` collection, throw an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. Let table row be the result of [creating an\n element](https://dom.spec.whatwg.org/#concept-create-element) given this element's [node document](https://dom.spec.whatwg.org/#concept-node-document), \"`tr`\", and\n the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n3. If index is −1 or equal to the number of items in the `rows` collection, then [append](https://dom.spec.whatwg.org/#concept-node-append) table row to this element.\n4. Otherwise, [insert](https://dom.spec.whatwg.org/#concept-node-insert) table row as a\n child of this element, immediately before the indexth `tr` element in the\n `rows` collection.\n5. Return table row.\n\nThe `deleteRow(index)` method must, when invoked,\n act as follows:\n\n1. If index is less than −1 or greater than or equal to the number of\n elements in the `rows` collection, then throw an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. If index is −1, then [remove](https://dom.spec.whatwg.org/#concept-node-remove)\n the last element in the `rows` collection from this\n element, or do nothing if the `rows` collection is\n empty.\n3. Otherwise, [remove](https://dom.spec.whatwg.org/#concept-node-remove) the indexth element\n in the `rows` collection from this element.\n\n#### 4.9.6 The `thead` element\n\n[Element/thead](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `table` element, after any\n `caption`, and `colgroup`\n elements and before any `tbody`, `tfoot`, and\n `tr` elements, but only if there are no other\n `thead` elements that are children of the\n `table` element.\n\nContent model:\n\nZero or more `tr` and script-supporting elements.\n\nTag omission in text/html:\n\nA `thead` element's end tag can be omitted if\n the `thead` element is immediately followed by a `tbody` or\n `tfoot` element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-thead).\n\n[For implementers](https://w3c.github.io/html-aam/#el-thead).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLTableSectionElement`, as defined for `tbody` elements.\n\nThe `thead` element represents the block of rows that consist of\n the column labels (headers) and any ancillary non-header cells for the parent `table`\n element, if the `thead` element has a parent and it is a `table`.\n\nThe `thead` element takes part in the table model.\n\nThis example shows a `thead` element being used. Notice the use of both\n `th` and `td` elements in the `thead` element: the first row is\n the headers, and the second row is an explanation of how to fill in the table.\n\n```\n
`, this would be flagged as an error and the author could correct\n the typo immediately.\n\nErrors that could interfere with new syntax in the future\n\nIn order to allow the language syntax to be extended in the future, certain otherwise\n harmless features are disallowed. For example, \"attributes\" in end tags are ignored currently, but they are invalid, in case a\n future change to the language makes use of that syntax feature without conflicting with\n already-deployed (and valid!) content.\n\nSome authors find it helpful to be in the practice of always quoting all attributes and always\n including all optional tags, preferring the consistency derived from such custom over the minor\n benefits of terseness afforded by making use of the flexibility of the HTML syntax. To aid such\n authors, conformance checkers can provide modes of operation wherein such conventions are\n enforced.\n\n#### 1.11.3 Restrictions on content models and on attribute values\n\n*This section is non-normative.*\n\nBeyond the syntax of the language, this specification also places restrictions on how elements\n and attributes can be specified. These restrictions are present for similar reasons:\n\nErrors involving content with dubious semantics\n\nTo avoid misuse of elements with defined meanings, content models are defined that restrict\n how elements can be nested when such nestings would be of dubious value. For example, this specification disallows nesting a `section`\n element inside a `kbd` element, since it is highly unlikely for an author to indicate\n that an entire section should be keyed in.\n\nErrors that involve a conflict in expressed semantics\n\nSimilarly, to draw the author's attention to mistakes in the use of elements, clear\n contradictions in the semantics expressed are also considered conformance errors. In the fragments below, for example, the semantics are nonsensical: a separator cannot\n simultaneously be a cell, nor can a radio button be a progress bar. `
` `` Another example is the restrictions on the content models of the\n `ul` element, which only allows `li` element children. Lists by definition\n consist just of zero or more list items, so if a `ul` element contains something\n other than an `li` element, it's not clear what was meant.\n\nCases where the default styles are likely to lead to confusion\n\nCertain elements have default styles or behaviors that make certain combinations likely to\n lead to confusion. Where these have equivalent alternatives without this problem, the confusing\n combinations are disallowed. For example, `div` elements are rendered as [block boxes](https://drafts.csswg.org/css2/#block-boxes%E2%91%A0), and `span` elements as [inline boxes](https://drafts.csswg.org/css2/#inline-box). Putting a [block box](https://drafts.csswg.org/css2/#block-boxes%E2%91%A0) in an\n [inline box](https://drafts.csswg.org/css2/#inline-box) is unnecessarily confusing; since either nesting just `div`\n elements, or nesting just `span` elements, or nesting `span` elements\n inside `div` elements all serve the same purpose as nesting a `div`\n element in a `span` element, but only the latter involves a [block box](https://drafts.csswg.org/css2/#block-boxes%E2%91%A0) in\n an [inline box](https://drafts.csswg.org/css2/#inline-box), the latter combination is disallowed. Another example would be the way interactive content cannot be\n nested. For example, a `button` element cannot contain a `textarea`\n element. This is because the default behavior of such nesting interactive elements would be\n highly confusing to users. Instead of nesting these elements, they can be placed side by\n side.\n\nErrors that indicate a likely misunderstanding of the specification\n\nSometimes, something is disallowed because allowing it would likely cause author\n confusion. For example, setting the `disabled`\n attribute to the value \"`false`\" is disallowed, because despite the\n appearance of meaning that the element is enabled, it in fact means that the element is\n *disabled* (what matters for implementations is the presence of the attribute, not its\n value).\n\nErrors involving limits that have been imposed merely to simplify the language\n\nSome conformance errors simplify the language that authors need to learn. For example, the `area` element's `shape` attribute, despite accepting both `circ` and `circle` values in practice as synonyms, disallows\n the use of the `circ` value, so as to simplify\n tutorials and other learning aids. There would be no benefit to allowing both, but it would\n cause extra confusion when teaching the language.\n\nErrors that involve peculiarities of the parser\n\nCertain elements are parsed in somewhat eccentric ways (typically for historical reasons),\n and their content model restrictions are intended to avoid exposing the author to these\n issues. For example, a `form` element isn't allowed inside phrasing content,\n because when parsed as HTML, a `form` element's start tag will imply a\n `p` element's end tag. Thus, the following markup results in two paragraphs, not one: `

Welcome.

` It is parsed exactly like the following: `

Welcome.

`\n\nErrors that would likely result in scripts failing in hard-to-debug ways\n\nSome errors are intended to help prevent script problems that would be hard to debug. This is why, for instance, it is non-conforming to have two `id` attributes with the same value. Duplicate IDs lead to the wrong\n element being selected, with sometimes disastrous effects whose cause is hard to determine.\n\nErrors that waste authoring time\n\nSome constructs are disallowed because historically they have been the cause of a lot of\n wasted authoring time, and by encouraging authors to avoid making them, authors can save time in\n future efforts. For example, a `script` element's `src` attribute causes the element's contents to be ignored.\n However, this isn't obvious, especially if the element's contents appear to be executable script\n — which can lead to authors spending a lot of time trying to debug the inline script\n without realizing that it is not executing. To reduce this problem, this specification makes it\n non-conforming to have executable script in a `script` element when the `src` attribute is present. This means that authors who are\n validating their documents are less likely to waste time with this kind of mistake.\n\nErrors that involve areas that affect authors migrating between the HTML and XML\n syntaxes\n\nSome authors like to write files that can be interpreted as both XML and HTML with similar\n results. Though this practice is discouraged in general due to the myriad of subtle\n complications involved (especially when involving scripting, styling, or any kind of automated\n serialization), this specification has a few restrictions intended to at least somewhat mitigate\n the difficulties. This makes it easier for authors to use this as a transitionary step when\n migrating between the HTML and XML syntaxes. For example, there are somewhat complicated rules surrounding the `lang` and `[xml:lang](https://www.w3.org/TR/xml/#sec-lang-tag)` attributes\n intended to keep the two synchronized. Another example would be the restrictions on the values of `xmlns` attributes in the HTML serialization, which are intended to ensure that\n elements in conforming documents end up in the same namespaces whether processed as HTML or\n XML.\n\nErrors that involve areas reserved for future expansion\n\nAs with the restrictions on the syntax intended to allow for new syntax in future revisions\n of the language, some restrictions on the content models of elements and values of attributes\n are intended to allow for future expansion of the HTML vocabulary. For example, limiting the values of the `target` attribute that start with an U+005F LOW LINE\n character (_) to only specific predefined values allows new predefined values to be introduced\n at a future time without conflicting with author-defined values.\n\nErrors that indicate a mis-use of other specifications\n\nCertain restrictions are intended to support the restrictions made by other\n specifications. For example, requiring that attributes that take media query lists use only\n *valid* media query lists reinforces the importance of following the conformance rules of\n that specification.\n\n### 1.12 Suggested reading\n\n*This section is non-normative.*\n\nThe following documents might be of interest to readers of this specification.\n\nCharacter Model for the World Wide Web 1.0: Fundamentals [CHARMOD]\n\nThis Architectural Specification provides authors of specifications, software\n developers, and content developers with a common reference for interoperable text manipulation on\n the World Wide Web, building on the Universal Character Set, defined jointly by the Unicode\n Standard and ISO/IEC 10646. Topics addressed include use of the terms 'character', 'encoding' and\n 'string', a reference processing model, choice and identification of character encodings,\n character escaping, and string indexing.\n\nUnicode Security Considerations [UTR36]\n\nBecause Unicode contains such a large number of characters and incorporates\n the varied writing systems of the world, incorrect usage can expose programs or systems to\n possible security attacks. This is especially important as more and more products are\n internationalized. This document describes some of the security considerations that programmers,\n system analysts, standards developers, and users should take into account, and provides specific\n recommendations to reduce the risk of problems.\n\nWeb Content Accessibility Guidelines (WCAG) [WCAG]\n\nWeb Content Accessibility Guidelines (WCAG) covers a wide range of\n recommendations for making web content more accessible. Following these guidelines will make\n content accessible to a wider range of people with disabilities, including blindness and low\n vision, deafness and hearing loss, learning disabilities, cognitive limitations, limited\n movement, speech disabilities, photosensitivity and combinations of these. Following these\n guidelines will also often make your web content more usable to users in\n general.\n\nAuthoring Tool Accessibility Guidelines (ATAG) 2.0 [ATAG]\n\nThis specification provides guidelines for designing web content\n authoring tools that are more accessible for people with disabilities. An authoring tool that\n conforms to these guidelines will promote accessibility by providing an accessible user interface\n to authors with disabilities as well as by enabling, supporting, and promoting the production of\n accessible web content by all authors.\n\nUser Agent Accessibility Guidelines (UAAG) 2.0 [UAAG]\n\nThis document provides guidelines for designing user agents that\n lower barriers to web accessibility for people with disabilities. User agents include browsers\n and other types of software that retrieve and render web content. A user agent that conforms to\n these guidelines will promote accessibility through its own user interface and through other\n internal facilities, including its ability to communicate with other technologies (especially\n assistive technologies). Furthermore, all users, not just users with disabilities, should find\n conforming user agents to be more usable.\n\n## 2 Common infrastructure\n\nThis specification depends on Infra. [INFRA]\n\n### 2.1 Terminology\n\nThis specification refers to both HTML and XML attributes and IDL attributes, often in the same\n context. When it is not clear which is being referred to, they are referred to as content attributes for HTML and XML attributes,\n and IDL attributes for those defined on IDL interfaces. Similarly, the term\n \"properties\" is used for both JavaScript object properties and CSS properties. When these are\n ambiguous they are qualified as object properties and CSS properties respectively.\n\nGenerally, when the specification states that a feature applies to the HTML syntax\n or the XML syntax, it also includes the other. When a feature specifically only\n applies to one of the two languages, it is called out by explicitly stating that it does not apply\n to the other format, as in \"for HTML, ... (this does not apply to XML)\".\n\nThis specification uses the term document to refer to any use of HTML,\n ranging from short static documents to long essays or reports with rich multimedia, as well as to\n fully-fledged interactive applications. The term is used to refer both to `Document`\n objects and their descendant DOM trees, and to serialized byte streams using the HTML syntax or the XML syntax, depending\n on context.\n\nIn the context of the DOM structures, the terms [HTML\n document](https://dom.spec.whatwg.org/#html-document) and [XML document](https://dom.spec.whatwg.org/#xml-document) are used as defined in\n DOM, and refer specifically to two different modes that `Document` objects\n can find themselves in. [DOM] (Such uses are always hyperlinked to their\n definition.)\n\nIn the context of byte streams, the term HTML document refers to resources labeled as\n `text/html`, and the term XML document refers to resources labeled with an [XML\n MIME type](https://mimesniff.spec.whatwg.org/#xml-mime-type).\n\n---\n\nFor simplicity, terms such as shown, displayed, and\n visible might sometimes be used when referring to the way a document is\n rendered to the user. These terms are not meant to imply a visual medium; they must be considered\n to apply to other media in equivalent ways.\n\n#### 2.1.1 Parallelism\n\nTo run steps in parallel means those steps are to be run, one after another,\n at the same time as other logic in the standard (e.g., at the same time as the event\n loop). This standard does not define the precise mechanism by which this is achieved, be it\n time-sharing cooperative multitasking, fibers, threads, processes, using different hyperthreads,\n cores, CPUs, machines, etc. By contrast, an operation that is to run immediately must\n interrupt the currently running task, run itself, and then resume the previously running task.\n\nFor guidance on writing specifications that leverage parallelism, see Dealing with the event loop from other specifications.\n\nTo avoid race conditions between different in parallel algorithms that operate on\n the same data, a parallel queue can be used.\n\nA parallel queue represents a queue of algorithm steps that must be run in\n series.\n\nA parallel queue has an algorithm queue (a [queue](https://infra.spec.whatwg.org/#queue)),\n initially empty.\n\nTo enqueue steps to a parallel queue,\n [enqueue](https://infra.spec.whatwg.org/#queue-enqueue) the algorithm steps to the parallel queue's algorithm\n queue.\n\nTo start a new parallel queue, run the following steps:\n\n1. Let parallelQueue be a new parallel queue.\n2. Run the following steps in parallel:\n 1. While true: Implementations are not expected to implement this as a continuously running\n loop. Algorithms in standards are to be easy to understand and are not necessarily great for\n battery life or performance.\n 1. Let steps be the result of [dequeuing](https://infra.spec.whatwg.org/#queue-dequeue) from\n parallelQueue's algorithm queue.\n 2. If steps is not nothing, then run steps.\n 3. [Assert](https://infra.spec.whatwg.org/#assert): running steps did not throw an exception, as steps\n running in parallel are not allowed to throw.\n3. Return parallelQueue.\n\nSteps running in parallel can themselves run other steps in in\n parallel. E.g., inside a parallel queue it can be useful to run a series of\n steps in parallel with the queue.\n\nImagine a standard defined nameList (a [list](https://infra.spec.whatwg.org/#list)), along with a method to\n add a name to nameList, unless nameList already [contains](https://infra.spec.whatwg.org/#list-contain) name, in which case it rejects.\n\nThe following solution suffers from race conditions:\n\n1. Let p be a new promise created in [this](https://webidl.spec.whatwg.org/#this)'s relevant realm.\n2. Let global be [this](https://webidl.spec.whatwg.org/#this)'s relevant global\n object.\n3. Run the following steps in parallel:\n 1. If nameList [contains](https://infra.spec.whatwg.org/#list-contain) name,\n then queue a global task on the DOM manipulation task source given\n global to reject p with a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`, and abort these\n steps.\n 2. Do some potentially lengthy work.\n 3. [Append](https://infra.spec.whatwg.org/#list-append) name to\n nameList.\n 4. Queue a global task on the DOM manipulation task source given\n global to resolve p with undefined.\n4. Return p.\n\nTwo invocations of the above could run simultaneously, meaning name isn't in\n nameList during step 3.1, but it *might be added* before step 3.3 runs,\n meaning name ends up in nameList twice.\n\nParallel queues solve this. The standard would let nameListQueue be the result of\n starting a new parallel queue and define the name-adding steps as follows:\n\n1. Let p be a new promise created in [this](https://webidl.spec.whatwg.org/#this)'s relevant realm.\n2. Let global be [this](https://webidl.spec.whatwg.org/#this)'s relevant global\n object.\n3. Enqueue the following steps to nameListQueue:\n 1. If nameList [contains](https://infra.spec.whatwg.org/#list-contain) name,\n then queue a global task on the DOM manipulation task source given\n global to reject p with a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`, and abort these\n steps.\n 2. Do some potentially lengthy work.\n 3. [Append](https://infra.spec.whatwg.org/#list-append) name to\n nameList.\n 4. Queue a global task on the DOM manipulation task source given\n global to resolve p with undefined.\n4. Return p.\n\nThe steps would now queue and the race is avoided.\n\n#### 2.1.2 Resources\n\nThe specification uses the term supported when referring to whether a user\n agent has an implementation capable of decoding the semantics of an external resource. A format or\n type is said to be *supported* if the implementation can process an external resource of that\n format or type without critical aspects of the resource being ignored. Whether a specific resource\n is *supported* can depend on what features of the resource's format are in use.\n\nFor example, a PNG image would be considered to be in a supported format if its\n pixel data could be decoded and rendered, even if, unbeknownst to the implementation, the image\n also contained animation data.\n\nAn MPEG-4 video file would not be considered to be in a supported format if the\n compression format used was not supported, even if the implementation could determine the\n dimensions of the movie from the file's metadata.\n\nWhat some specifications, in particular the HTTP specifications, refer to as a\n *representation* is referred to in this specification as a resource.\n [HTTP]\n\nA resource's critical subresources are those that the resource needs to have\n available to be correctly processed. Which resources are considered critical or not is defined by\n the specification that defines the resource's format.\n\nFor [CSS style sheets](https://drafts.csswg.org/cssom/#css-style-sheet), we tentatively define here that\n their critical subresources are other style sheets imported via `@import`\n rules, including those indirectly imported by other imported style sheets.\n\nThis definition is not fully interoperable; furthermore, some user agents seem to\n count resources like background images or web fonts as critical subresources. Ideally, the CSS\n Working Group would define this; see [w3c/csswg-drafts issue #1088](https://github.com/w3c/csswg-drafts/issues/1088) to track\n progress on that front.\n\n#### 2.1.3 XML compatibility\n\nTo ease migration from HTML to XML, user agents conforming to this\n specification will place elements in HTML in the `[http://www.w3.org/1999/xhtml](https://infra.spec.whatwg.org/#html-namespace)` namespace, at least for the purposes of the DOM and\n CSS. The term \"HTML elements\" refers to any element in that namespace, even in\n XML documents.\n\nExcept where otherwise stated, all elements defined or mentioned in this specification are in\n the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) (\"`http://www.w3.org/1999/xhtml`\"), and all\n attributes defined or mentioned in this specification have no namespace.\n\nThe term element type is used to refer to the set of elements that have a given\n local name and namespace. For example, `button` elements are elements with the element\n type `button`, meaning they have the local name \"`button`\" and\n (implicitly as defined above) the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n\n#### 2.1.4 DOM trees\n\nWhen it is stated that some element or attribute is ignored, or\n treated as some other value, or handled as if it was something else, this refers only to the\n processing of the node after it is in the DOM. A user agent must not mutate the\n DOM in such situations.\n\nA content attribute is said to change value only if its new value is\n different than its previous value; setting an attribute to a value it already has does not change\n it.\n\nThe term empty, when used for an attribute value, `[Text](https://dom.spec.whatwg.org/#interface-text)` node,\n or string, means that the [length](https://infra.spec.whatwg.org/#string-length) of the text is zero (i.e., not even containing [controls](https://infra.spec.whatwg.org/#control) or U+0020 SPACE).\n\nAn HTML element can have specific HTML element insertion steps, HTML element\n post-connection steps, HTML element removing steps, and HTML element moving\n steps all defined for the element's [local\n name](https://dom.spec.whatwg.org/#concept-element-local-name).\n\nThe [insertion steps](https://dom.spec.whatwg.org/#concept-node-insert-ext) for the HTML Standard, given\n insertedNode, are defined as the following:\n\n1. If insertedNode is an element whose [namespace](https://dom.spec.whatwg.org/#concept-element-namespace) is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), and this\n standard defines HTML element insertion steps\n for insertedNode's [local name](https://dom.spec.whatwg.org/#concept-element-local-name), then\n run the corresponding HTML element insertion steps given\n insertedNode.\n2. If insertedNode is a form-associated element or the ancestor of a\n form-associated element:\n 1. If the form-associated element's parser inserted flag is set,\n then return.\n 2. Reset the form owner of the form-associated element.\n3. If insertedNode is an `[Element](https://dom.spec.whatwg.org/#interface-element)` that is not on the\n stack of open elements of an HTML parser, then\n process internal resource links given insertedNode's\n [node document](https://dom.spec.whatwg.org/#concept-node-document).\n\nThe [post-connection steps](https://dom.spec.whatwg.org/#concept-node-post-connection-ext) for the HTML\n Standard, given insertedNode, are defined as the following:\n\n1. If insertedNode is an element whose [namespace](https://dom.spec.whatwg.org/#concept-element-namespace) is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), and this\n standard defines HTML element post-connection\n steps for insertedNode's [local\n name](https://dom.spec.whatwg.org/#concept-element-local-name), then run the corresponding HTML element post-connection steps given\n insertedNode.\n\nThe [removing steps](https://dom.spec.whatwg.org/#concept-node-remove-ext) for the HTML Standard, given\n removedNode, isSubtreeRoot, and oldAncestor, are defined as the\n following:\n\n1. Let document be removedNode's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. If document's focused area is\n removedNode, then set document's focused area to document's [viewport](https://drafts.csswg.org/css2/#viewport), and set\n document's relevant global object's 's to false. This does *not* perform the unfocusing steps,\n focusing steps, or focus update steps, and thus no `blur` or `change` events are\n fired.\n3. If removedNode is an element whose [namespace](https://dom.spec.whatwg.org/#concept-element-namespace) is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), and this\n standard defines HTML element removing steps\n for removedNode's [local name](https://dom.spec.whatwg.org/#concept-element-local-name), then\n run the corresponding HTML element removing steps given removedNode,\n isSubtreeRoot, and oldAncestor.\n4. If removedNode is a form-associated element with a non-null\n form owner and removedNode and its form owner are no longer\n in the same [tree](https://dom.spec.whatwg.org/#concept-tree), then reset the form owner of\n removedNode.\n5. If removedNode's `popover` attribute is not in\n the No Popover state, then run the hide\n popover algorithm given removedNode, false, false, false, and null.\n\nThe [moving steps](https://dom.spec.whatwg.org/#concept-node-move-ext) for the HTML Standard, given\n movedNode, isSubtreeRoot, and oldAncestor, are defined as the\n following:\n\n1. If movedNode is an element whose [namespace](https://dom.spec.whatwg.org/#concept-element-namespace) is the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), and this\n standard defines HTML element moving steps for movedNode's [local name](https://dom.spec.whatwg.org/#concept-element-local-name), then run the corresponding HTML\n element moving steps given movedNode, isSubtreeRoot, and\n oldAncestor.\n2. If movedNode is a form-associated element with a non-null\n form owner and movedNode and its form owner are no longer in\n the same [tree](https://dom.spec.whatwg.org/#concept-tree), then reset the form owner of\n movedNode.\n\nA node is inserted into a\n document when the [insertion steps](https://dom.spec.whatwg.org/#concept-node-insert-ext) are invoked\n with it as the argument and it is now [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree). Analogously, a node is removed from a document when\n the [removing steps](https://dom.spec.whatwg.org/#concept-node-remove-ext) are invoked with it as the\n argument and it is now no longer [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree).\n\nA node becomes connected when the [insertion steps](https://dom.spec.whatwg.org/#concept-node-insert-ext) are invoked with it as the argument and it\n is now [connected](https://dom.spec.whatwg.org/#connected). Analogously, a node becomes disconnected when the [removing\n steps](https://dom.spec.whatwg.org/#concept-node-remove-ext) are invoked with it as the argument and it is now no longer\n [connected](https://dom.spec.whatwg.org/#connected).\n\nA node is browsing-context connected when it is [connected](https://dom.spec.whatwg.org/#connected) and\n its [shadow-including root](https://dom.spec.whatwg.org/#concept-shadow-including-root)'s browsing context is non-null. A node becomes browsing-context connected when the [insertion steps](https://dom.spec.whatwg.org/#concept-node-insert-ext) are invoked with it as the argument and it\n is now browsing-context connected. A node becomes browsing-context disconnected either when the [removing steps](https://dom.spec.whatwg.org/#concept-node-remove-ext) are invoked with it as the argument and it\n is now no longer browsing-context connected, or when its [shadow-including\n root](https://dom.spec.whatwg.org/#concept-shadow-including-root)'s browsing context becomes null.\n\n#### 2.1.5 Scripting\n\nThe construction \"a `Foo` object\", where `Foo` is\n actually an interface, is sometimes used instead of the more accurate \"an object implementing the\n interface `Foo`\".\n\nAn IDL attribute is said to be getting when its value is being retrieved\n (e.g. by author script), and is said to be setting when a new value is\n assigned to it.\n\nIf a DOM object is said to be live, then the attributes and methods on that object\n must operate on the actual underlying data, not a snapshot of the\n data.\n\n#### 2.1.6 Plugins\n\nThe term plugin refers to an [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) set of content\n handlers used by the user agent that can take part in the user agent's rendering of a\n `Document` object, but that neither act as child\n navigables of the `Document` nor introduce any `[Node](https://dom.spec.whatwg.org/#interface-node)` objects to the\n `Document`'s DOM.\n\nTypically such content handlers are provided by third parties, though a user agent can also\n designate built-in content handlers as plugins.\n\nA user agent must not consider the types `[text/plain](https://www.rfc-editor.org/rfc/rfc2046#section-4.1.3)` and\n `[application/octet-stream](https://www.rfc-editor.org/rfc/rfc2046#section-4.5.1)` as having a registered plugin.\n\nOne example of a plugin would be a PDF viewer that is instantiated in a\n navigable when the user navigates to a PDF file. This would count as a plugin\n regardless of whether the party that implemented the PDF viewer component was the same as that\n which implemented the user agent itself. However, a PDF viewer application that launches separate\n from the user agent (as opposed to using the same interface) is not a plugin by this\n definition.\n\nThis specification does not define a mechanism for interacting with plugins, as it\n is expected to be user-agent- and platform-specific. Some UAs might opt to support a plugin\n mechanism such as the Netscape Plugin API; others might use remote content converters or have\n built-in support for certain types. Indeed, this specification doesn't require user agents to\n support plugins at all. [NPAPI]\n\nBrowsers should take extreme care when interacting with external content\n intended for plugins. When third-party software is run with the same\n privileges as the user agent itself, vulnerabilities in the third-party software become as\n dangerous as those in the user agent.\n\nSince different users having different sets of plugins provides a\n tracking vector that increases the chances of users being uniquely identified, user agents are\n encouraged to support the exact same set of plugins for each\n user.\n\n#### 2.1.7 Character encodings\n\nA [character\n encoding](https://encoding.spec.whatwg.org/#encoding), or just *encoding* where that is not ambiguous, is a defined way to convert\n between byte streams and Unicode strings, as defined in Encoding. An\n [encoding](https://encoding.spec.whatwg.org/#encoding) has an [encoding\n name](https://encoding.spec.whatwg.org/#name) and one or more [encoding labels](https://encoding.spec.whatwg.org/#label), referred to as the\n encoding's *name* and *labels* in the Encoding standard. [ENCODING]\n\n#### 2.1.8 Conformance classes\n\nThis specification describes the conformance criteria for user agents\n (relevant to implementers) and documents (relevant to authors and\n authoring tool implementers).\n\nConforming documents are those that comply with all the conformance criteria for\n documents. For readability, some of these conformance requirements are phrased as conformance\n requirements on authors; such requirements are implicitly requirements on documents: by\n definition, all documents are assumed to have had an author. (In some cases, that author may\n itself be a user agent — such user agents are subject to additional rules, as explained\n below.)\n\nFor example, if a requirement states that \"authors must not\n use the `foobar` element\", it would imply that documents are not allowed to\n contain elements named `foobar`.\n\nThere is no implied relationship between document conformance requirements\n and implementation conformance requirements. User agents are not free to handle non-conformant\n documents as they please; the processing model described in this specification applies to\n implementations regardless of the conformity of the input documents.\n\nUser agents fall into several (overlapping) categories with different conformance\n requirements.\n\nWeb browsers and other interactive user agents\n\nWeb browsers that support the XML syntax must process elements and attributes\n from the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) found in XML documents as described in this specification,\n so that users can interact with them, unless the semantics of those elements have been\n overridden by other specifications. A conforming web browser would, upon finding a `script` element in\n an XML document, execute the script contained in that element. However, if the element is found\n within a transformation expressed in XSLT (assuming the user agent also supports XSLT), then the\n processor would instead treat the `script` element as an opaque element that forms\n part of the transform. Web browsers that support the HTML syntax must process documents labeled with an\n [HTML MIME type](https://mimesniff.spec.whatwg.org/#html-mime-type) as described in this specification, so that users can interact with\n them. User agents that support scripting must also be conforming implementations of the IDL\n fragments in this specification, as described in Web IDL. [WEBIDL] Unless explicitly stated, specifications that override the semantics of HTML\n elements do not override the requirements on DOM objects representing those elements. For\n example, the `script` element in the example above would still implement the\n `HTMLScriptElement` interface.\n\nNon-interactive presentation user agents\n\nUser agents that process HTML and XML documents purely to render non-interactive versions of\n them must comply to the same conformance criteria as web browsers, except that they are exempt\n from requirements regarding user interaction. Typical examples of non-interactive presentation user agents are printers\n (static UAs) and overhead displays (dynamic UAs). It is expected that most static\n non-interactive presentation user agents will also opt to lack scripting\n support. A non-interactive but dynamic presentation UA would still execute scripts,\n allowing forms to be dynamically submitted, and so forth. However, since the concept of \"focus\"\n is irrelevant when the user cannot interact with the document, the UA would not need to support\n any of the focus-related DOM APIs.\n\nVisual user agents that support the suggested default rendering\n\nUser agents, whether interactive or not, may be designated (possibly as a user option) as\n supporting the suggested default rendering defined by this specification. This is not required. In particular, even user agents that do implement the suggested default\n rendering are encouraged to offer settings that override this default to improve the experience\n for the user, e.g. changing the color contrast, using different focus styles, or otherwise\n making the experience more accessible and usable to the user. User agents that are designated as supporting the suggested default rendering must, while so\n designated, implement the rules the Rendering section defines as the\n behavior that user agents are *expected* to implement.\n\nUser agents with no scripting support\n\nImplementations that do not support scripting (or which have their scripting features\n disabled entirely) are exempt from supporting the events and DOM interfaces mentioned in this\n specification. For the parts of this specification that are defined in terms of an events model\n or in terms of the DOM, such user agents must still act as if events and the DOM were\n supported. Scripting can form an integral part of an application. Web browsers that do not\n support scripting, or that have scripting disabled, might be unable to fully convey the author's\n intent.\n\nConformance checkers\n\nConformance checkers must verify that a document conforms to the applicable conformance\n criteria described in this specification. Automated conformance checkers are exempt from\n detecting errors that require interpretation of the author's intent (for example, while a\n document is non-conforming if the content of a `blockquote` element is not a quote,\n conformance checkers running without the input of human judgement do not have to check that\n `blockquote` elements only contain quoted material). Conformance checkers must check that the input document conforms when parsed without a\n browsing context (meaning that no scripts are run, and\n that the parser's scripting mode is Disabled), and should also check that the input document\n conforms when parsed with a browsing context in which\n scripts execute, and that the scripts never cause non-conforming states to occur other than\n transiently during script execution itself. (This is only a \"SHOULD\" and not a \"MUST\"\n requirement because it has been proven to be impossible. [COMPUTABLE]) The term \"HTML validator\" can be used to refer to a conformance checker that itself conforms\n to the applicable requirements of this specification. XML DTDs cannot express all the conformance requirements of this specification. Therefore, a\n validating XML processor and a DTD cannot constitute a conformance checker. Also, since neither\n of the two authoring formats defined in this specification are applications of SGML, a\n validating SGML system cannot constitute a conformance checker either. To put it another way, there are three types of conformance criteria: Criteria that can be expressed in a DTD.Criteria that cannot be expressed by a DTD, but can still be checked by a machine.Criteria that can only be checked by a human. A conformance checker must check for the first two. A simple DTD-based validator only checks\n for the first class of errors and is therefore not a conforming conformance checker according\n to this specification.\n\nData mining tools\n\nApplications and tools that process HTML and XML documents for reasons other than to either\n render the documents or check them for conformance should act in accordance with the semantics\n of the documents that they process. A tool that generates document outlines but\n increases the nesting level for each paragraph and does not increase the nesting level for\n headings would not be conforming.\n\nAuthoring tools and markup generators\n\nAuthoring tools and markup generators must generate conforming documents.\n Conformance criteria that apply to authors also apply to authoring tools, where appropriate. Authoring tools are exempt from the strict requirements of using elements only for their\n specified purpose, but only to the extent that authoring tools are not yet able to determine\n author intent. However, authoring tools must not automatically misuse elements or encourage\n their users to do so. For example, it is not conforming to use an `address` element for\n arbitrary contact information; that element can only be used for marking up contact information\n for its nearest `article` or `body` element ancestor. However, since an\n authoring tool is likely unable to determine the difference, an authoring tool is exempt from\n that requirement. This does not mean, though, that authoring tools can use `address`\n elements for any block of italics text (for instance); it just means that the authoring tool\n doesn't have to verify that when the user uses a tool for inserting contact information for an\n `article` element, that the user really is doing that and not inserting something\n else instead. In terms of conformance checking, an editor has to output documents that conform\n to the same extent that a conformance checker will verify. When an authoring tool is used to edit a non-conforming document, it may preserve the\n conformance errors in sections of the document that were not edited during the editing session\n (i.e., an editing tool is allowed to roundtrip erroneous content). However, an authoring tool\n must not claim that the output is conformant if errors have been so preserved. Authoring tools are expected to come in two broad varieties: tools that work from structure\n or semantic data, and tools that work on a What-You-See-Is-What-You-Get media-specific editing\n basis (WYSIWYG). The former is the preferred mechanism for tools that author HTML, since the structure in the\n source information can be used to make informed choices regarding which HTML elements and\n attributes are most appropriate. However, WYSIWYG tools are legitimate. WYSIWYG tools should use elements they know are\n appropriate, and should not use elements that they do not know to be appropriate. This might in\n certain extreme cases mean limiting the use of flow elements to just a few elements, like\n `div`, `b`, `i`, and `span` and making liberal use\n of the `style` attribute. All authoring tools, whether WYSIWYG or not, should make a best effort attempt at enabling\n users to create well-structured, semantically rich, media-independent content.\n\nFor compatibility with existing content and prior specifications, this specification describes\n two authoring formats: one based on XML, and one using a custom format inspired by SGML (referred to as the HTML syntax).\n Implementations must support at least one of these two formats, although supporting both is\n encouraged.\n\nSome conformance requirements are phrased as requirements on elements, attributes, methods or\n objects. Such requirements fall into two categories: those describing content model restrictions,\n and those describing implementation behavior. Those in the former category are requirements on\n documents and authoring tools. Those in the second category are requirements on user agents.\n Similarly, some conformance requirements are phrased as requirements on authors; such requirements\n are to be interpreted as conformance requirements on the documents that authors produce. (In other\n words, this specification does not distinguish between conformance criteria on authors and\n conformance criteria on documents.)\n\n#### 2.1.9 Dependencies\n\nThis specification relies on several other underlying specifications.\n\nInfra\n\nThe following terms are defined in Infra: [INFRA] The general iteration terms [while](https://infra.spec.whatwg.org/#iteration-while),\n [continue](https://infra.spec.whatwg.org/#iteration-continue), and\n [break](https://infra.spec.whatwg.org/#iteration-break).[Assert](https://infra.spec.whatwg.org/#assert)[implementation-defined](https://infra.spec.whatwg.org/#implementation-defined)[willful violation](https://infra.spec.whatwg.org/#willful-violation) [tracking vector](https://infra.spec.whatwg.org/#tracking-vector)[code point](https://infra.spec.whatwg.org/#code-point) and its synonym\n [character](https://infra.spec.whatwg.org/#code-point)[surrogate](https://infra.spec.whatwg.org/#surrogate)[scalar value](https://infra.spec.whatwg.org/#scalar-value)[tuple](https://infra.spec.whatwg.org/#tuple)[noncharacter](https://infra.spec.whatwg.org/#noncharacter)[string](https://infra.spec.whatwg.org/#string),\n [code unit](https://infra.spec.whatwg.org/#code-unit),\n [code unit prefix](https://infra.spec.whatwg.org/#code-unit-prefix),\n [code unit less than](https://infra.spec.whatwg.org/#code-unit-less-than),\n [starts with](https://infra.spec.whatwg.org/#string-starts-with),\n [ends with](https://infra.spec.whatwg.org/#string-ends-with),\n [length](https://infra.spec.whatwg.org/#string-length), and\n [code point length](https://infra.spec.whatwg.org/#string-code-point-length)The string equality operations [is](https://infra.spec.whatwg.org/#string-is) and\n [identical to](https://infra.spec.whatwg.org/#string-is)[scalar value string](https://infra.spec.whatwg.org/#scalar-value-string)[convert](https://infra.spec.whatwg.org/#javascript-string-convert)[ASCII string](https://infra.spec.whatwg.org/#ascii-string)[ASCII tab or newline](https://infra.spec.whatwg.org/#ascii-tab-or-newline)[ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)[control](https://infra.spec.whatwg.org/#control)[ASCII digit](https://infra.spec.whatwg.org/#ascii-digit)[ASCII upper hex digit](https://infra.spec.whatwg.org/#ascii-upper-hex-digit)[ASCII lower hex digit](https://infra.spec.whatwg.org/#ascii-lower-hex-digit)[ASCII hex digit](https://infra.spec.whatwg.org/#ascii-hex-digit)[ASCII upper alpha](https://infra.spec.whatwg.org/#ascii-upper-alpha)[ASCII lower alpha](https://infra.spec.whatwg.org/#ascii-lower-alpha)[ASCII alpha](https://infra.spec.whatwg.org/#ascii-alpha)[ASCII alphanumeric](https://infra.spec.whatwg.org/#ascii-alphanumeric)[isomorphic decode](https://infra.spec.whatwg.org/#isomorphic-decode)[isomorphic encode](https://infra.spec.whatwg.org/#isomorphic-encode)[ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase)[ASCII uppercase](https://infra.spec.whatwg.org/#ascii-uppercase)[ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive)[strip newlines](https://infra.spec.whatwg.org/#strip-newlines)[normalize newlines](https://infra.spec.whatwg.org/#normalize-newlines)[strip leading and trailing ASCII whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace)[strip and collapse ASCII whitespace](https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace)[split a string on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace)[split a string on commas](https://infra.spec.whatwg.org/#split-on-commas)[collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) and its associated\n [position variable](https://infra.spec.whatwg.org/#string-position-variable)[skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace)The [ordered map](https://infra.spec.whatwg.org/#ordered-map) data structure and the associated definitions for\n [key](https://infra.spec.whatwg.org/#map-key),\n [value](https://infra.spec.whatwg.org/#map-value),\n [empty](https://infra.spec.whatwg.org/#map-is-empty),\n [entry](https://infra.spec.whatwg.org/#map-entry),\n [exists](https://infra.spec.whatwg.org/#map-exists),\n [getting the value of an entry](https://infra.spec.whatwg.org/#map-get),\n [setting the value of an entry](https://infra.spec.whatwg.org/#map-set),\n [with default](https://infra.spec.whatwg.org/#map-with-default),\n [removing an entry](https://infra.spec.whatwg.org/#map-remove),\n [clear](https://infra.spec.whatwg.org/#map-clear),\n [getting the keys](https://infra.spec.whatwg.org/#map-getting-the-keys),\n [getting the values](https://infra.spec.whatwg.org/#map-getting-the-values),\n [sorting in descending order](https://infra.spec.whatwg.org/#map-sort-in-descending-order),\n [size](https://infra.spec.whatwg.org/#map-size), and\n [iterate](https://infra.spec.whatwg.org/#map-iterate)The [list](https://infra.spec.whatwg.org/#list) data structure and the associated definitions for\n [append](https://infra.spec.whatwg.org/#list-append),\n [extend](https://infra.spec.whatwg.org/#list-extend),\n [has duplicates](https://infra.spec.whatwg.org/#list-has-duplicates),\n [prepend](https://infra.spec.whatwg.org/#list-prepend),\n [replace](https://infra.spec.whatwg.org/#list-replace),\n [remove](https://infra.spec.whatwg.org/#list-remove),\n [empty](https://infra.spec.whatwg.org/#list-empty),\n [contains](https://infra.spec.whatwg.org/#list-contain),\n [size](https://infra.spec.whatwg.org/#list-size),\n [indices](https://infra.spec.whatwg.org/#list-get-the-indices),\n [is empty](https://infra.spec.whatwg.org/#list-is-empty),\n [item](https://infra.spec.whatwg.org/#list-item),\n [iterate](https://infra.spec.whatwg.org/#list-iterate),\n [clone](https://infra.spec.whatwg.org/#list-clone),\n [sort in ascending order](https://infra.spec.whatwg.org/#list-sort-in-ascending-order),\n [sort in descending order](https://infra.spec.whatwg.org/#list-sort-in-descending-order),\n [slice](https://infra.spec.whatwg.org/#list-slice) (and its\n [from](https://infra.spec.whatwg.org/#list-slice-from) and\n [to](https://infra.spec.whatwg.org/#list-slice-to) arguments), and\n [reverse](https://infra.spec.whatwg.org/#list-reverse)The [stack](https://infra.spec.whatwg.org/#stack) data structure and the associated definitions for\n [push](https://infra.spec.whatwg.org/#stack-push) and\n [pop](https://infra.spec.whatwg.org/#stack-pop)The [queue](https://infra.spec.whatwg.org/#queue) data structure and the associated definitions for\n [enqueue](https://infra.spec.whatwg.org/#queue-enqueue) and\n [dequeue](https://infra.spec.whatwg.org/#queue-dequeue)The [ordered set](https://infra.spec.whatwg.org/#ordered-set) data structure and the associated definition for\n [append](https://infra.spec.whatwg.org/#set-append),\n [create](https://infra.spec.whatwg.org/#set-create),\n [difference](https://infra.spec.whatwg.org/#set-difference),\n [intersection](https://infra.spec.whatwg.org/#set-intersection),\n [subset](https://infra.spec.whatwg.org/#set-subset) and\n [union](https://infra.spec.whatwg.org/#set-union)The [struct](https://infra.spec.whatwg.org/#struct) specification type and the associated definition for\n [item](https://infra.spec.whatwg.org/#struct-item)The [byte sequence](https://infra.spec.whatwg.org/#byte-sequence) data structureThe [allowed](https://infra.spec.whatwg.org/#allowed) and\n [blocked](https://infra.spec.whatwg.org/#blocked) singletonsThe [forgiving-base64 encode](https://infra.spec.whatwg.org/#forgiving-base64-encode) and\n [forgiving-base64 decode](https://infra.spec.whatwg.org/#forgiving-base64-decode) algorithms[exclusive range](https://infra.spec.whatwg.org/#the-exclusive-range)[parse a JSON string to an Infra value](https://infra.spec.whatwg.org/#parse-a-json-string-to-an-infra-value)[HTML namespace](https://infra.spec.whatwg.org/#html-namespace)[MathML namespace](https://infra.spec.whatwg.org/#mathml-namespace)[SVG namespace](https://infra.spec.whatwg.org/#svg-namespace)[XLink namespace](https://infra.spec.whatwg.org/#xlink-namespace)[XML namespace](https://infra.spec.whatwg.org/#xml-namespace)[XMLNS namespace](https://infra.spec.whatwg.org/#xmlns-namespace)[success](https://infra.spec.whatwg.org/#success)\n\nUnicode and Encoding\n\nThe Unicode character set is used to represent textual data, and Encoding\n defines requirements around [character encodings](https://encoding.spec.whatwg.org/#encoding).\n [UNICODE] This specification introduces terminology\n based on the terms defined in those specifications, as described earlier. The following terms are used as defined in Encoding: [ENCODING] [Getting an\n encoding](https://encoding.spec.whatwg.org/#concept-encoding-get)[Get an output\n encoding](https://encoding.spec.whatwg.org/#get-an-output-encoding)The generic [decode](https://encoding.spec.whatwg.org/#decode)\n algorithm which takes a byte stream and an encoding and returns a character streamThe [UTF-8 decode](https://encoding.spec.whatwg.org/#utf-8-decode)\n algorithm which takes a byte stream and returns a character stream, additionally stripping one\n leading UTF-8 Byte Order Mark (BOM), if anyThe [UTF-8\n decode without BOM](https://encoding.spec.whatwg.org/#utf-8-decode-without-bom) algorithm which is identical to [UTF-8 decode](https://encoding.spec.whatwg.org/#utf-8-decode) except that\n it does not strip one leading UTF-8 Byte Order Mark (BOM)The [encode](https://encoding.spec.whatwg.org/#encode) algorithm\n which takes a character stream and an encoding and returns a byte streamThe [UTF-8 encode](https://encoding.spec.whatwg.org/#utf-8-encode)\n algorithm which takes a character stream and returns a byte streamThe [BOM sniff](https://encoding.spec.whatwg.org/#bom-sniff)\n algorithm which takes a byte stream and returns an encoding or null.\n\nXML and related specifications\n\nImplementations that support the XML syntax for HTML must support some version\n of XML, as well as its corresponding namespaces specification, because that syntax uses an XML\n serialization with namespaces. [XML] [XMLNS] Data mining tools and other user agents that perform operations on content without running\n scripts, evaluating CSS or XPath expressions, or otherwise exposing the resulting DOM to\n arbitrary content, may \"support namespaces\" by just asserting that their DOM node analogues are\n in certain namespaces, without actually exposing the namespace strings. In the HTML syntax, namespace prefixes and namespace declarations\n do not have the same effect as in XML. For instance, the colon has no special meaning in HTML\n element names. The attribute with the name [`space`](https://www.w3.org/TR/xml/#sec-white-space) in the [XML namespace](https://infra.spec.whatwg.org/#xml-namespace) is defined by\n Extensible Markup Language (XML). [XML] The [`Name`](https://www.w3.org/TR/xml/#NT-Name) production is defined in XML.\n [XML] This specification also references the [``](https://www.w3.org/TR/xml-stylesheet/#the-xml-stylesheet-processing-instruction)\n processing instruction, defined in Associating Style Sheets with XML documents.\n [XMLSSPI] This specification also non-normatively mentions the `XSLTProcessor`\n interface and its `transformToFragment()` and `transformToDocument()` methods.\n [XSLTP]\n\nURLs\n\nThe following terms are defined in URL: [URL] [host](https://url.spec.whatwg.org/#concept-host)[public suffix](https://url.spec.whatwg.org/#host-public-suffix)[domain](https://url.spec.whatwg.org/#concept-domain)[IP address](https://url.spec.whatwg.org/#ip-address)[URL](https://url.spec.whatwg.org/#concept-url)[Origin](https://url.spec.whatwg.org/#concept-url-origin) of URLs[Absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute)[Relative URL](https://url.spec.whatwg.org/#syntax-url-relative)[registrable domain](https://url.spec.whatwg.org/#host-registrable-domain)The [URL parser](https://url.spec.whatwg.org/#concept-url-parser) The [basic URL parser](https://url.spec.whatwg.org/#concept-basic-url-parser) and its\n [url](https://url.spec.whatwg.org/#basic-url-parser-url) and\n [state override](https://url.spec.whatwg.org/#basic-url-parser-state-override)\n arguments, as well as these parser states:\n [scheme start state](https://url.spec.whatwg.org/#scheme-start-state)[host state](https://url.spec.whatwg.org/#host-state)[hostname state](https://url.spec.whatwg.org/#hostname-state)[port state](https://url.spec.whatwg.org/#port-state)[path start state](https://url.spec.whatwg.org/#path-start-state)[query state](https://url.spec.whatwg.org/#query-state)[fragment state](https://url.spec.whatwg.org/#fragment-state) [URL record](https://url.spec.whatwg.org/#concept-url), as well as its\n individual components:\n [scheme](https://url.spec.whatwg.org/#concept-url-scheme)[username](https://url.spec.whatwg.org/#concept-url-username)[password](https://url.spec.whatwg.org/#concept-url-password)[host](https://url.spec.whatwg.org/#concept-url-host)[port](https://url.spec.whatwg.org/#concept-url-port)[path](https://url.spec.whatwg.org/#concept-url-path)[query](https://url.spec.whatwg.org/#concept-url-query)[fragment](https://url.spec.whatwg.org/#concept-url-fragment)[blob URL entry](https://url.spec.whatwg.org/#concept-url-blob-entry) [valid URL string](https://url.spec.whatwg.org/#valid-url-string)The [cannot have a username/password/port](https://url.spec.whatwg.org/#cannot-have-a-username-password-port) conceptThe [opaque path](https://url.spec.whatwg.org/#url-opaque-path) concept[URL serializer](https://url.spec.whatwg.org/#concept-url-serializer) and its\n [exclude fragment](https://url.spec.whatwg.org/#url-serializer-exclude-fragment) argument[URL path serializer](https://url.spec.whatwg.org/#url-path-serializer)The [host parser](https://url.spec.whatwg.org/#concept-host-parser)The [host serializer](https://url.spec.whatwg.org/#concept-host-serializer)[Host equals](https://url.spec.whatwg.org/#concept-host-equals)[URL equals](https://url.spec.whatwg.org/#concept-url-equals) and its\n [exclude fragments](https://url.spec.whatwg.org/#url-equals-exclude-fragments) argument[serialize an integer](https://url.spec.whatwg.org/#serialize-an-integer)[Default encode set](https://url.spec.whatwg.org/#default-encode-set)[component percent-encode set](https://url.spec.whatwg.org/#component-percent-encode-set)[UTF-8 percent-encode](https://url.spec.whatwg.org/#string-utf-8-percent-encode)[percent-decode](https://url.spec.whatwg.org/#string-percent-decode)[set the username](https://url.spec.whatwg.org/#set-the-username)[set the password](https://url.spec.whatwg.org/#set-the-password)The [`application/x-www-form-urlencoded`](https://url.spec.whatwg.org/#concept-urlencoded) formatThe [`application/x-www-form-urlencoded` serializer](https://url.spec.whatwg.org/#concept-urlencoded-serializer)[is special](https://url.spec.whatwg.org/#is-special) A number of schemes and protocols are referenced by this specification also: The [`about:`](https://www.rfc-editor.org/rfc/rfc6694#section-2) scheme\n [ABOUT]The [`blob:`](https://w3c.github.io/FileAPI/#blob-url) scheme\n [FILEAPI]The [`data:`](https://www.rfc-editor.org/rfc/rfc2397#section-2) scheme\n [RFC2397]The [`http:`](https://httpwg.org/specs/rfc7230.html#http.uri) scheme\n [HTTP]The [`https:`](https://httpwg.org/specs/rfc7230.html#https.uri) scheme\n [HTTP]The [`mailto:`](https://www.rfc-editor.org/rfc/rfc6068#section-2)\n scheme [MAILTO]The [`sms:`](https://www.rfc-editor.org/rfc/rfc5724#section-2) scheme\n [SMS]The [`urn:`](https://www.rfc-editor.org/rfc/rfc2141#section-2) scheme\n [URN] [Media fragment\n syntax](https://www.w3.org/TR/media-frags/#media-fragment-syntax) is defined in Media Fragments URI. [MEDIAFRAG]\n\nURL Pattern\n\nThe following terms are defined in URL Pattern: [URLPATTERN] [URL pattern](https://urlpattern.spec.whatwg.org/#url-pattern)[match](https://urlpattern.spec.whatwg.org/#url-pattern-match)[build a URL pattern from an Infra value](https://urlpattern.spec.whatwg.org/#build-a-url-pattern-from-an-infra-value)[parse a URL pattern constructor string](https://urlpattern.spec.whatwg.org/#parse-a-constructor-string)[`URLPatternInit`](https://urlpattern.spec.whatwg.org/#dictdef-urlpatterninit)\n\nHTTP and related specifications\n\nThe following terms are defined in the HTTP specifications: [HTTP] `[`Accept`](https://httpwg.org/specs/rfc7231.html#header.accept)` header`[`Accept-Language`](https://httpwg.org/specs/rfc7231.html#header.accept-language)` header`[`Cache-Control`](https://httpwg.org/specs/rfc7234.html#header.cache-control)` header`[`Content-Disposition`](https://httpwg.org/specs/rfc6266.html)` header`[`Content-Language`](https://httpwg.org/specs/rfc7231.html#header.content-language)` header`[`Content-Range`](https://httpwg.org/specs/rfc7233.html#header.content-range)` header`[`Last-Modified`](https://httpwg.org/specs/rfc7232.html#header.last-modified)` header`[`Range`](https://httpwg.org/specs/rfc7233.html#header.range)` header`[`Referer`](https://httpwg.org/specs/rfc7231.html#header.referer)` header The following terms are defined in HTTP State Management Mechanism:\n [COOKIES] `` header The following term is defined in Web Linking: [WEBLINK] `[`Link`](https://httpwg.org/specs/rfc8288.html#header)` header[Parsing a ``Link`` field value](https://httpwg.org/specs/rfc8288.html#parse-fv) The following terms are defined in Structured Field Values for HTTP:\n [STRUCTURED-FIELDS] The following terms are defined in MIME Sniffing: [MIMESNIFF] [MIME type](https://mimesniff.spec.whatwg.org/#mime-type)[MIME type essence](https://mimesniff.spec.whatwg.org/#mime-type-essence)[valid MIME type string](https://mimesniff.spec.whatwg.org/#valid-mime-type)[valid MIME type string with no parameters](https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters)[HTML MIME type](https://mimesniff.spec.whatwg.org/#html-mime-type)[JavaScript MIME type](https://mimesniff.spec.whatwg.org/#javascript-mime-type) and\n [JavaScript MIME type essence match](https://mimesniff.spec.whatwg.org/#javascript-mime-type-essence-match)[JSON MIME type](https://mimesniff.spec.whatwg.org/#json-mime-type)[XML MIME type](https://mimesniff.spec.whatwg.org/#xml-mime-type)[image MIME type](https://mimesniff.spec.whatwg.org/#image-mime-type)[audio or video MIME type](https://mimesniff.spec.whatwg.org/#audio-or-video-mime-type)[font MIME type](https://mimesniff.spec.whatwg.org/#font-mime-type)[parse a MIME type](https://mimesniff.spec.whatwg.org/#parse-a-mime-type)[is MIME type supported by the user agent?](https://mimesniff.spec.whatwg.org/#supported-by-the-user-agent)\n\nFetch\n\nThe following terms are defined in Fetch: [FETCH] `about:blank``[`Sec-Purpose`](https://fetch.spec.whatwg.org/#sec-purpose-header)`An [HTTP(S) scheme](https://fetch.spec.whatwg.org/#http-scheme)A URL which [is local](https://fetch.spec.whatwg.org/#is-local)A [local scheme](https://fetch.spec.whatwg.org/#local-scheme)A [fetch scheme](https://fetch.spec.whatwg.org/#fetch-scheme)[CORS protocol](https://fetch.spec.whatwg.org/#http-cors-protocol)[environment default ``User-Agent`` value](https://fetch.spec.whatwg.org/#environment-default-user-agent-value)[extract a MIME type](https://fetch.spec.whatwg.org/#concept-header-extract-mime-type)[legacy extract an encoding](https://fetch.spec.whatwg.org/#legacy-extract-an-encoding)[fetch](https://fetch.spec.whatwg.org/#concept-fetch)[fetch controller](https://fetch.spec.whatwg.org/#fetch-controller)[process the next manual redirect](https://fetch.spec.whatwg.org/#fetch-controller-process-the-next-manual-redirect)[ok status](https://fetch.spec.whatwg.org/#ok-status)[network error](https://fetch.spec.whatwg.org/#concept-network-error)[aborted network error](https://fetch.spec.whatwg.org/#concept-aborted-network-error)`[`Origin`](https://fetch.spec.whatwg.org/#http-origin)` header`[`Cross-Origin-Resource-Policy`](https://fetch.spec.whatwg.org/#http-cross-origin-resource-policy)` header[getting a structured field value](https://fetch.spec.whatwg.org/#concept-header-list-get-structured-header)[abort](https://fetch.spec.whatwg.org/#fetch-controller-abort)[cross-origin resource policy check](https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check)the [`RequestCredentials`](https://fetch.spec.whatwg.org/#requestcredentials) enumerationthe [`RequestDestination`](https://fetch.spec.whatwg.org/#requestdestination) enumerationthe [`fetch()`](https://fetch.spec.whatwg.org/#dom-global-fetch) method[report timing](https://fetch.spec.whatwg.org/#finalize-and-report-timing)[serialize a response URL for reporting](https://fetch.spec.whatwg.org/#serialize-a-response-url-for-reporting)[safely extracting a body](https://fetch.spec.whatwg.org/#bodyinit-safely-extract)[incrementally reading a body](https://fetch.spec.whatwg.org/#body-incrementally-read)[processResponseConsumeBody](https://fetch.spec.whatwg.org/#process-response-end-of-body)[processResponseEndOfBody](https://fetch.spec.whatwg.org/#fetch-processresponseendofbody)[processResponse](https://fetch.spec.whatwg.org/#process-response)[useParallelQueue](https://fetch.spec.whatwg.org/#fetch-useparallelqueue)[processEarlyHintsResponse](https://fetch.spec.whatwg.org/#fetch-processearlyhintsresponse)[connection pool](https://fetch.spec.whatwg.org/#concept-connection-pool)[obtain a connection](https://fetch.spec.whatwg.org/#concept-connection-obtain)[determine the network partition key](https://fetch.spec.whatwg.org/#determine-the-network-partition-key)[extract full timing info](https://fetch.spec.whatwg.org/#extract-full-timing-info)[as a body](https://fetch.spec.whatwg.org/#byte-sequence-as-a-body)[response body info](https://fetch.spec.whatwg.org/#response-body-info)[resolve an origin](https://fetch.spec.whatwg.org/#resolve-an-origin)[credentials](https://fetch.spec.whatwg.org/#credentials)[reserve deferred fetch quota](https://fetch.spec.whatwg.org/#reserve-deferred-fetch-quota)[potentially free deferred fetch quota](https://fetch.spec.whatwg.org/#potentially-free-deferred-fetch-quota)[is offline](https://fetch.spec.whatwg.org/#is-offline) [response](https://fetch.spec.whatwg.org/#concept-response) and its\n associated:\n [type](https://fetch.spec.whatwg.org/#concept-response-type)[URL](https://fetch.spec.whatwg.org/#concept-response-url)[URL list](https://fetch.spec.whatwg.org/#concept-response-url-list)[status](https://fetch.spec.whatwg.org/#concept-response-status)[body](https://fetch.spec.whatwg.org/#concept-response-body)[body info](https://fetch.spec.whatwg.org/#concept-response-body-info)[internal response](https://fetch.spec.whatwg.org/#concept-internal-response)[location URL](https://fetch.spec.whatwg.org/#concept-response-location-url)[timing info](https://fetch.spec.whatwg.org/#concept-response-timing-info)[service worker timing info](https://fetch.spec.whatwg.org/#response-service-worker-timing-info)[redirect taint](https://fetch.spec.whatwg.org/#response-redirect-taint)[timing allow passed](https://fetch.spec.whatwg.org/#concept-response-timing-allow-passed) [extract content-range values](https://wicg.github.io/background-fetch/#extract-content-range-values) [request](https://fetch.spec.whatwg.org/#concept-request) and its associated:\n [URL](https://fetch.spec.whatwg.org/#concept-request-url)[method](https://fetch.spec.whatwg.org/#concept-request-method)[body](https://fetch.spec.whatwg.org/#concept-request-body)[client](https://fetch.spec.whatwg.org/#concept-request-client)[URL list](https://fetch.spec.whatwg.org/#concept-request-url-list)[current URL](https://fetch.spec.whatwg.org/#concept-request-current-url)[reserved client](https://fetch.spec.whatwg.org/#concept-request-reserved-client)[replaces client id](https://fetch.spec.whatwg.org/#concept-request-replaces-client-id)[initiator](https://fetch.spec.whatwg.org/#concept-request-initiator)[destination](https://fetch.spec.whatwg.org/#concept-request-destination)[potential destination](https://fetch.spec.whatwg.org/#concept-potential-destination)[translating](https://fetch.spec.whatwg.org/#concept-potential-destination-translate) a [potential destination](https://fetch.spec.whatwg.org/#concept-potential-destination)[script-like](https://fetch.spec.whatwg.org/#request-destination-script-like) [destinations](https://fetch.spec.whatwg.org/#concept-request-destination)[priority](https://fetch.spec.whatwg.org/#request-priority)[origin](https://fetch.spec.whatwg.org/#concept-request-origin)[referrer](https://fetch.spec.whatwg.org/#concept-request-referrer)[mode](https://fetch.spec.whatwg.org/#concept-request-mode)[credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode)[use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag)[unsafe-request flag](https://fetch.spec.whatwg.org/#unsafe-request-flag)[cache mode](https://fetch.spec.whatwg.org/#concept-request-cache-mode)[redirect count](https://fetch.spec.whatwg.org/#concept-request-redirect-count)[redirect mode](https://fetch.spec.whatwg.org/#concept-request-redirect-mode)[policy container](https://fetch.spec.whatwg.org/#concept-request-policy-container)[referrer policy](https://fetch.spec.whatwg.org/#concept-request-referrer-policy)[cryptographic nonce metadata](https://fetch.spec.whatwg.org/#concept-request-nonce-metadata)[integrity metadata](https://fetch.spec.whatwg.org/#concept-request-integrity-metadata)[parser metadata](https://fetch.spec.whatwg.org/#concept-request-parser-metadata)[user-activation](https://fetch.spec.whatwg.org/#request-user-activation)[render-blocking](https://fetch.spec.whatwg.org/#request-render-blocking)[initiator type](https://fetch.spec.whatwg.org/#request-initiator-type)[service-workers mode](https://fetch.spec.whatwg.org/#request-service-workers-mode)[traversable for user prompts](https://fetch.spec.whatwg.org/#concept-request-window)[destination type](https://fetch.spec.whatwg.org/#destination-type) [fetch timing info](https://fetch.spec.whatwg.org/#fetch-timing-info) and its\n associated:\n [start time](https://fetch.spec.whatwg.org/#fetch-timing-info-start-time)[end time](https://fetch.spec.whatwg.org/#fetch-timing-info-end-time) The following terms are defined in Referrer Policy:\n [REFERRERPOLICY] [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy)The `[`Referrer-Policy`](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-header-dfn)` HTTP headerThe algorithmThe \"[`no-referrer`](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-no-referrer)\",\n \"[`no-referrer-when-downgrade`](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-no-referrer-when-downgrade)\",\n \"[`origin-when-cross-origin`](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-origin-when-cross-origin)\", and\n \"[`unsafe-url`](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-unsafe-url)\" referrer policiesThe [default referrer policy](https://w3c.github.io/webappsec-referrer-policy/#default-referrer-policy) The following terms are defined in Mixed Content: [MIX] [*a priori* authenticated URL](https://w3c.github.io/webappsec-mixed-content/#a-priori-authenticated-url)[mixed content](https://w3c.github.io/webappsec-mixed-content/#mixed-content) The following terms are defined in Subresource Integrity: [SRI] [parse integrity metadata](https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata)[the requirements of the integrity attribute](https://w3c.github.io/webappsec-subresource-integrity/#the-integrity-attribute)[get the strongest metadata from set](https://w3c.github.io/webappsec-subresource-integrity/#get-the-strongest-metadata)[integrity policy](https://w3c.github.io/webappsec-subresource-integrity/#integrity-policy)[parse Integrity-Policy headers](https://w3c.github.io/webappsec-subresource-integrity/#parse-integrity-policy-headers)\n\nThe No-Vary-Search HTTP Response Header Field\n\nThe following terms are defined in The No-Vary-Search HTTP Response Header\n Field: [NOVARYSEARCH] `[`No-Vary-Search`](https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-http-header-field-definitio)`[parse a URL search variance](https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#parse-a-url-search-variance)[URL search variance](https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-data-model)[default URL search variance](https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-data-model)[equivalent modulo search variance](https://httpwg.org/http-extensions/draft-ietf-httpbis-no-vary-search.html#name-comparing)\n\nPaint Timing\n\nThe following terms are defined in Paint Timing: [PAINTTIMING] [mark paint timing](https://w3c.github.io/paint-timing/#mark-paint-timing)\n\nNavigation Timing\n\nThe following terms are defined in Navigation Timing:\n [NAVIGATIONTIMING] [create the navigation timing entry](https://w3c.github.io/navigation-timing/#dfn-create-the-navigation-timing-entry)[queue the navigation timing entry](https://w3c.github.io/navigation-timing/#dfn-queue-the-navigation-timing-entry)[`NavigationTimingType`](https://w3c.github.io/navigation-timing/#dom-navigationtimingtype) and its\n \"[`navigate`](https://w3c.github.io/navigation-timing/#dom-navigationtimingtype-navigate)\",\n \"[`reload`](https://w3c.github.io/navigation-timing/#dom-navigationtimingtype-reload)\", and\n \"[`back_forward`](https://w3c.github.io/navigation-timing/#dom-navigationtimingtype-back_forward)\" values.\n\nResource Timing\n\nThe following terms are defined in Resource Timing:\n [RESOURCETIMING] [Mark resource timing](https://w3c.github.io/resource-timing/#dfn-mark-resource-timing)\n\nPerformance Timeline\n\nThe following terms are defined in Performance Timeline:\n [PERFORMANCETIMELINE] [`PerformanceEntry`](https://w3c.github.io/performance-timeline/#dom-performanceentry) and its\n [`name`](https://w3c.github.io/performance-timeline/#dom-performanceentry-name),\n [`entryType`](https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype),\n [`startTime`](https://w3c.github.io/performance-timeline/#dom-performanceentry-starttime), and\n [`duration`](https://w3c.github.io/performance-timeline/#dom-performanceentry-duration) attributes.[Queue a performance entry](https://w3c.github.io/performance-timeline/#queue-a-performanceentry)\n\nLong Animation Frames\n\nThe following terms are defined in Long Animation Frames: [LONGANIMATIONFRAMES] [record task start time](https://w3c.github.io/long-animation-frames/#record-task-start-time)[record task end time](https://w3c.github.io/long-animation-frames/#record-task-end-time)[record rendering time](https://w3c.github.io/long-animation-frames/#record-rendering-time)[record classic script creation time](https://w3c.github.io/long-animation-frames/#record-classic-script-creation-time)[record classic script execution start time](https://w3c.github.io/long-animation-frames/#record-classic-script-execution-start-time)[record module script execution start time](https://w3c.github.io/long-animation-frames/#record-module-script-execution-start-time)[Record pause duration](https://w3c.github.io/long-animation-frames/#record-pause-duration)[record timing info for timer handler](https://w3c.github.io/long-animation-frames/#record-timing-info-for-timer-handler)[record timing info for microtask checkpoint](https://w3c.github.io/long-animation-frames/#record-timing-info-for-microtask-checkpoint)\n\nLong Tasks\n\nThe following terms are defined in Long Tasks: [LONGTASKS] [report long tasks](https://w3c.github.io/longtasks/#report-long-tasks)\n\nWeb IDL\n\nThe IDL fragments in this specification must be interpreted as required for conforming IDL\n fragments, as described in Web IDL. [WEBIDL] The following terms are defined in Web IDL: [this](https://webidl.spec.whatwg.org/#this)[extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute)[named constructor](https://webidl.spec.whatwg.org/#dfn-named-constructor)[constructor operation](https://webidl.spec.whatwg.org/#idl-constructors)[overridden constructor steps](https://webidl.spec.whatwg.org/#overridden-constructor-steps)[internally create a new object implementing the interface](https://webidl.spec.whatwg.org/#internally-create-a-new-object-implementing-the-interface)[array index property name](https://webidl.spec.whatwg.org/#dfn-array-index-property-name)[buffer source byte length](https://webidl.spec.whatwg.org/#buffersource-byte-length)[supports indexed properties](https://webidl.spec.whatwg.org/#dfn-support-indexed-properties)[supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices)[determine the value of an indexed property](https://webidl.spec.whatwg.org/#dfn-determine-the-value-of-an-indexed-property)[set the value of an existing indexed property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-an-existing-indexed-property)[set the value of a new indexed property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-a-new-indexed-property)[support named properties](https://webidl.spec.whatwg.org/#dfn-support-named-properties)[supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names)[determine the value of a named property](https://webidl.spec.whatwg.org/#dfn-determine-the-value-of-a-named-property)[set the value of an existing named property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-an-existing-named-property)[set the value of a new named property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-a-new-named-property)[delete an existing named property](https://webidl.spec.whatwg.org/#dfn-delete-an-existing-named-property)[perform a security check](https://webidl.spec.whatwg.org/#dfn-perform-a-security-check)[platform object](https://webidl.spec.whatwg.org/#dfn-platform-object)[legacy platform object](https://webidl.spec.whatwg.org/#dfn-legacy-platform-object)[primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface)[interface object](https://webidl.spec.whatwg.org/#dfn-interface-object)[named properties object](https://webidl.spec.whatwg.org/#dfn-named-properties-object)[include](https://webidl.spec.whatwg.org/#include)[inherit](https://webidl.spec.whatwg.org/#dfn-inherit)[interface prototype object](https://webidl.spec.whatwg.org/#dfn-interface-prototype-object)[implements](https://webidl.spec.whatwg.org/#implements)[associated realm](https://webidl.spec.whatwg.org/#dfn-associated-realm)[[[Realm]] field of a platform object](https://webidl.spec.whatwg.org/#es-platform-objects)[[[GetOwnProperty]] internal method of a named properties object](https://webidl.spec.whatwg.org/#named-properties-object-getownproperty)[callback context](https://webidl.spec.whatwg.org/#dfn-callback-context)[frozen array](https://webidl.spec.whatwg.org/#dfn-frozen-array-type) and\n [creating a frozen array](https://webidl.spec.whatwg.org/#dfn-create-frozen-array)[create a new object implementing the interface](https://webidl.spec.whatwg.org/#new)[callback this value](https://webidl.spec.whatwg.org/#dfn-callback-this-value)[converting](https://webidl.spec.whatwg.org/#es-type-mapping) between Web IDL types and JS types[invoking](https://webidl.spec.whatwg.org/#invoke-a-callback-function) and\n [constructing](https://webidl.spec.whatwg.org/#construct-a-callback-function) callback functions[overload resolution algorithm](https://webidl.spec.whatwg.org/#dfn-overload-resolution-algorithm)[exposed](https://webidl.spec.whatwg.org/#dfn-exposed)[a promise resolved with](https://webidl.spec.whatwg.org/#a-promise-resolved-with)[a promise rejected with](https://webidl.spec.whatwg.org/#a-promise-rejected-with)[wait for all](https://webidl.spec.whatwg.org/#wait-for-all)[upon rejection](https://webidl.spec.whatwg.org/#upon-rejection)[upon fulfillment](https://webidl.spec.whatwg.org/#upon-fulfillment)[mark as handled](https://webidl.spec.whatwg.org/#mark-a-promise-as-handled)[`[Global]`](https://webidl.spec.whatwg.org/#Global)[`[LegacyFactoryFunction]`](https://webidl.spec.whatwg.org/#LegacyFactoryFunction)[`[LegacyLenientThis]`](https://webidl.spec.whatwg.org/#LegacyLenientThis)[`[LegacyNullToEmptyString]`](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)[`[LegacyOverrideBuiltIns]`](https://webidl.spec.whatwg.org/#LegacyOverrideBuiltIns)[LegacyPlatformObjectGetOwnProperty](https://webidl.spec.whatwg.org/#LegacyPlatformObjectGetOwnProperty)[`[LegacyTreatNonObjectAsNull]`](https://webidl.spec.whatwg.org/#LegacyTreatNonObjectAsNull)[`[LegacyUnenumerableNamedProperties]`](https://webidl.spec.whatwg.org/#LegacyUnenumerableNamedProperties)[`[LegacyUnforgeable]`](https://webidl.spec.whatwg.org/#LegacyUnforgeable)[set entries](https://webidl.spec.whatwg.org/#dfn-set-entries) Web IDL also defines the following types that are used in this specification: [`ArrayBuffer`](https://webidl.spec.whatwg.org/#idl-ArrayBuffer)[`ArrayBufferView`](https://webidl.spec.whatwg.org/#common-ArrayBufferView)[`boolean`](https://webidl.spec.whatwg.org/#idl-boolean)[`DOMString`](https://webidl.spec.whatwg.org/#idl-DOMString)[`double`](https://webidl.spec.whatwg.org/#idl-double)[enumeration](https://webidl.spec.whatwg.org/#idl-enums)[`Float16Array`](https://webidl.spec.whatwg.org/#idl-Float16Array)[`Function`](https://webidl.spec.whatwg.org/#common-Function)[`long`](https://webidl.spec.whatwg.org/#idl-long)[`object`](https://webidl.spec.whatwg.org/#idl-object)[`Promise`](https://webidl.spec.whatwg.org/#idl-promise)[`Uint8ClampedArray`](https://webidl.spec.whatwg.org/#idl-Uint8ClampedArray)[`unrestricted double`](https://webidl.spec.whatwg.org/#idl-unrestricted-double)[`unsigned long`](https://webidl.spec.whatwg.org/#idl-unsigned-long)[`USVString`](https://webidl.spec.whatwg.org/#idl-USVString)[`VoidFunction`](https://webidl.spec.whatwg.org/#VoidFunction)[`QuotaExceededError`](https://webidl.spec.whatwg.org/#quotaexceedederror) The term [throw](https://webidl.spec.whatwg.org/#dfn-throw) in this\n specification is used as defined in Web IDL. The [`DOMException`](https://webidl.spec.whatwg.org/#dfn-DOMException)\n type and the following exception names are defined by Web IDL and used by this\n specification: [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror)[\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror)[\"`InvalidCharacterError`\"](https://webidl.spec.whatwg.org/#invalidcharactererror)[\"`NoModificationAllowedError`\"](https://webidl.spec.whatwg.org/#nomodificationallowederror)[\"`NotFoundError`\"](https://webidl.spec.whatwg.org/#notfounderror)[\"`NotSupportedError`\"](https://webidl.spec.whatwg.org/#notsupportederror)[\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror)[\"`SyntaxError`\"](https://webidl.spec.whatwg.org/#syntaxerror)[\"`InvalidAccessError`\"](https://webidl.spec.whatwg.org/#invalidaccesserror)[\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror)[\"`NetworkError`\"](https://webidl.spec.whatwg.org/#networkerror)[\"`AbortError`\"](https://webidl.spec.whatwg.org/#aborterror)[\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror)[\"`EncodingError`\"](https://webidl.spec.whatwg.org/#encodingerror)[\"`NotAllowedError`\"](https://webidl.spec.whatwg.org/#notallowederror) When this specification requires a user agent to create a `Date` object\n representing a particular time (which could be the special value Not-a-Number), the milliseconds\n component of that time, if any, must be truncated to an integer, and the time value of the newly\n created `[Date](https://tc39.es/ecma262/#sec-date-objects)` object must represent the resulting truncated time. For instance, given the time 23045 millionths of a second after 01:00 UTC on\n January 1st 2000, i.e. the time 2000-01-01T00:00:00.023045Z, then the `[Date](https://tc39.es/ecma262/#sec-date-objects)` object\n created representing that time would represent the same time as that created representing the\n time 2000-01-01T00:00:00.023Z, 45 millionths earlier. If the given time is NaN, then the result\n is a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object that represents a time value NaN (indicating that the object does\n not represent a specific instant of time).\n\nJavaScript\n\nSome parts of the language described by this specification only support JavaScript as the\n underlying scripting language. [JAVASCRIPT] The term \"JavaScript\" is used to refer to ECMA-262, rather than the official\n term ECMAScript, since the term JavaScript is more widely known. The following terms are defined in the JavaScript specification and used in this\n specification: [active function object](https://tc39.es/ecma262/#active-function-object)[agent](https://tc39.es/ecma262/#sec-agents) and\n [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters)[automatic semicolon insertion](https://tc39.es/ecma262/#sec-automatic-semicolon-insertion)[candidate execution](https://tc39.es/ecma262/#sec-candidate-executions)The [current realm](https://tc39.es/ecma262/#current-realm)[clamping](https://tc39.es/ecma262/#clamping) a mathematical value[early error](https://tc39.es/ecma262/#early-error-rule)[forward progress](https://tc39.es/ecma262/#sec-forward-progress)[invariants of the essential internal methods](https://tc39.es/ecma262/#sec-invariants-of-the-essential-internal-methods)[JavaScript execution context](https://tc39.es/ecma262/#sec-execution-contexts)[JavaScript execution context stack](https://tc39.es/ecma262/#execution-context-stack)[realm](https://tc39.es/ecma262/#sec-code-realms)[JobCallback Record](https://tc39.es/ecma262/#sec-jobcallback-records)[NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects)[running JavaScript execution context](https://tc39.es/ecma262/#running-execution-context)[surrounding agent](https://tc39.es/ecma262/#surrounding-agent)[abstract closure](https://tc39.es/ecma262/#sec-abstract-closure)[immutable prototype exotic object](https://tc39.es/ecma262/#immutable-prototype-exotic-object)[Well-Known Symbols](https://tc39.es/ecma262/#sec-well-known-symbols), including\n %Symbol.hasInstance%,\n %Symbol.isConcatSpreadable%,\n %Symbol.toPrimitive%, and\n %Symbol.toStringTag%[Well-Known Intrinsic Objects](https://tc39.es/ecma262/#sec-well-known-intrinsic-objects), including\n [%Array.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-array-prototype-object),\n [%Error.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-error-prototype-object),\n %EvalError.prototype%,\n [%Function.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-function-prototype-object),\n [%Object.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-object-prototype-object),\n [%Object.prototype.valueOf%](https://tc39.es/ecma262/#sec-object.prototype.valueof),\n %RangeError.prototype%,\n %ReferenceError.prototype%,\n %SyntaxError.prototype%,\n %TypeError.prototype%, and\n %URIError.prototype%The [*FunctionBody*](https://tc39.es/ecma262/#prod-FunctionBody) productionThe [*Module*](https://tc39.es/ecma262/#prod-Module) productionThe [*Pattern*](https://tc39.es/ecma262/#prod-Pattern) productionThe [*Script*](https://tc39.es/ecma262/#prod-Script) productionThe\n [BigInt](https://tc39.es/ecma262/#sec-ecmascript-language-types-bigint-type),\n [Boolean](https://tc39.es/ecma262/#sec-ecmascript-language-types-boolean-type),\n [Number](https://tc39.es/ecma262/#sec-ecmascript-language-types-number-type),\n [String](https://tc39.es/ecma262/#sec-ecmascript-language-types-string-type),\n [Symbol](https://tc39.es/ecma262/#sec-ecmascript-language-types-symbol-type),\n and [Object](https://tc39.es/ecma262/#sec-object-type) ECMAScript language typesThe [Completion Record](https://tc39.es/ecma262/#sec-completion-record-specification-type) specification typeThe [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type) and\n [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) specification typesThe [Property Descriptor](https://tc39.es/ecma262/#sec-property-descriptor-specification-type) specification typeThe [ModuleRequest Record](https://tc39.es/ecma262/#modulerequest-record) specification typeThe [Script Record](https://tc39.es/ecma262/#sec-script-records) specification typeThe [Synthetic Module Record](https://tc39.es/ecma262/#sec-synthetic-module-records) specification typeThe [Cyclic Module Record](https://tc39.es/ecma262/#sec-cyclic-module-records) specification typeThe [Source Text Module Record](https://tc39.es/ecma262/#sec-source-text-module-records) specification type and its\n [Evaluate](https://tc39.es/ecma262/#sec-moduleevaluation),\n [Link](https://tc39.es/ecma262/#sec-moduledeclarationlinking) and\n [LoadRequestedModules](https://tc39.es/ecma262/#sec-LoadRequestedModules) methodsThe [ArrayCreate](https://tc39.es/ecma262/#sec-arraycreate) abstract operationThe [Call](https://tc39.es/ecma262/#sec-call) abstract operationThe [ClearKeptObjects](https://tc39.es/ecma262/#sec-clear-kept-objects) abstract operationThe [CleanupFinalizationRegistry](https://tc39.es/ecma262/#sec-cleanup-finalization-registry) abstract operationThe [Construct](https://tc39.es/ecma262/#sec-construct) abstract operationThe [CopyDataBlockBytes](https://tc39.es/ecma262/#sec-copydatablockbytes) abstract operationThe [CreateBuiltinFunction](https://tc39.es/ecma262/#sec-createbuiltinfunction) abstract operationThe [CreateByteDataBlock](https://tc39.es/ecma262/#sec-createbytedatablock) abstract operationThe [CreateDataProperty](https://tc39.es/ecma262/#sec-createdataproperty) abstract operationThe [CreateDefaultExportSyntheticModule](https://tc39.es/ecma262/#sec-create-default-export-synthetic-module) abstract operationThe [DefinePropertyOrThrow](https://tc39.es/ecma262/#sec-definepropertyorthrow) abstract operationThe [DetachArrayBuffer](https://tc39.es/ecma262/#sec-detacharraybuffer) abstract operationThe [EnumerableOwnProperties](https://tc39.es/ecma262/#sec-enumerableownproperties) abstract operationThe [FinishLoadingImportedModule](https://tc39.es/ecma262/#sec-FinishLoadingImportedModule) abstract operationThe [OrdinaryFunctionCreate](https://tc39.es/ecma262/#sec-ordinaryfunctioncreate) abstract operationThe [Get](https://tc39.es/ecma262/#sec-get-o-p) abstract operationThe [GetActiveScriptOrModule](https://tc39.es/ecma262/#sec-getactivescriptormodule) abstract operationThe [GetFunctionRealm](https://tc39.es/ecma262/#sec-getfunctionrealm) abstract operationThe [HasOwnProperty](https://tc39.es/ecma262/#sec-hasownproperty) abstract operationThe [HostCallJobCallback](https://tc39.es/ecma262/#sec-hostcalljobcallback) abstract operationThe [HostEnqueueFinalizationRegistryCleanupJob](https://tc39.es/ecma262/#sec-host-cleanup-finalization-registry) abstract operationThe [HostEnqueueGenericJob](https://tc39.es/ecma262/#sec-hostenqueuegenericjob) abstract operationThe [HostEnqueuePromiseJob](https://tc39.es/ecma262/#sec-hostenqueuepromisejob) abstract operationThe [HostEnqueueTimeoutJob](https://tc39.es/ecma262/#sec-hostenqueuetimeoutjob) abstract operationThe [HostEnsureCanAddPrivateElement](https://tc39.es/ecma262/#sec-hostensurecanaddprivateelement) abstract operationThe [HostGetSupportedImportAttributes](https://tc39.es/ecma262/#sec-hostgetsupportedimportattributes) abstract operationThe [HostLoadImportedModule](https://tc39.es/ecma262/#sec-HostLoadImportedModule) abstract operationThe [HostMakeJobCallback](https://tc39.es/ecma262/#sec-hostmakejobcallback) abstract operationThe [HostPromiseRejectionTracker](https://tc39.es/ecma262/#sec-host-promise-rejection-tracker) abstract operationThe [InitializeHostDefinedRealm](https://tc39.es/ecma262/#sec-initializehostdefinedrealm) abstract operationThe [IsArrayBufferViewOutOfBounds](https://tc39.es/ecma262/#sec-isarraybufferviewoutofbounds) abstract operationThe [IsAccessorDescriptor](https://tc39.es/ecma262/#sec-isaccessordescriptor) abstract operationThe [IsCallable](https://tc39.es/ecma262/#sec-iscallable) abstract operationThe [IsConstructor](https://tc39.es/ecma262/#sec-isconstructor) abstract operationThe [IsDataDescriptor](https://tc39.es/ecma262/#sec-isdatadescriptor) abstract operationThe [IsDetachedBuffer](https://tc39.es/ecma262/#sec-isdetachedbuffer) abstract operationThe [IsSharedArrayBuffer](https://tc39.es/ecma262/#sec-issharedarraybuffer) abstract operationThe [NewObjectEnvironment](https://tc39.es/ecma262/#sec-newobjectenvironment) abstract operationThe [NormalCompletion](https://tc39.es/ecma262/#sec-normalcompletion) abstract operationThe [OrdinaryGetPrototypeOf](https://tc39.es/ecma262/#sec-ordinarygetprototypeof) abstract operationThe [OrdinarySetPrototypeOf](https://tc39.es/ecma262/#sec-ordinarysetprototypeof) abstract operationThe [OrdinaryIsExtensible](https://tc39.es/ecma262/#sec-ordinaryisextensible) abstract operationThe [OrdinaryPreventExtensions](https://tc39.es/ecma262/#sec-ordinarypreventextensions) abstract operationThe [OrdinaryGetOwnProperty](https://tc39.es/ecma262/#sec-ordinarygetownproperty) abstract operationThe [OrdinaryDefineOwnProperty](https://tc39.es/ecma262/#sec-ordinarydefineownproperty) abstract operationThe [OrdinaryGet](https://tc39.es/ecma262/#sec-ordinaryget) abstract operationThe [OrdinarySet](https://tc39.es/ecma262/#sec-ordinaryset) abstract operationThe [OrdinaryDelete](https://tc39.es/ecma262/#sec-ordinarydelete) abstract operationThe [OrdinaryOwnPropertyKeys](https://tc39.es/ecma262/#sec-ordinaryownpropertykeys) abstract operationThe [OrdinaryObjectCreate](https://tc39.es/ecma262/#sec-objectcreate) abstract operationThe [ParseJSONModule](https://tc39.es/ecma262/#sec-parse-json-module) abstract operationThe [ParseModule](https://tc39.es/ecma262/#sec-parsemodule) abstract operationThe [ParseScript](https://tc39.es/ecma262/#sec-parse-script) abstract operationThe [NewPromiseReactionJob](https://tc39.es/ecma262/#sec-newpromisereactionjob) abstract operationThe [NewPromiseResolveThenableJob](https://tc39.es/ecma262/#sec-newpromiseresolvethenablejob) abstract operationThe [RegExpBuiltinExec](https://tc39.es/ecma262/#sec-regexpbuiltinexec) abstract operationThe [RegExpCreate](https://tc39.es/ecma262/#sec-regexpcreate) abstract operationThe [RunJobs](https://tc39.es/ecma262/#sec-runjobs) abstract operationThe [SameValue](https://tc39.es/ecma262/#sec-samevalue) abstract operationThe [ScriptEvaluation](https://tc39.es/ecma262/#sec-runtime-semantics-scriptevaluation) abstract operationThe [SetSyntheticModuleExport](https://tc39.es/ecma262/#sec-setsyntheticmoduleexport) abstract operationThe [SetImmutablePrototype](https://tc39.es/ecma262/#sec-set-immutable-prototype) abstract operationThe [ThrowCompletion](https://tc39.es/ecma262/#sec-throwcompletion) abstract operationThe [ToBoolean](https://tc39.es/ecma262/#sec-toboolean) abstract operationThe [ToString](https://tc39.es/ecma262/#sec-tostring) abstract operationThe [ToUint32](https://tc39.es/ecma262/#sec-touint32) abstract operationThe [TypedArrayCreate](https://tc39.es/ecma262/#typedarray-create) abstract operationThe [IsLooselyEqual](https://tc39.es/ecma262/#sec-islooselyequal) abstract operationThe [IsStrictlyEqual](https://tc39.es/ecma262/#sec-isstrictlyequal) abstract operationThe [`Atomics`](https://tc39.es/ecma262/#sec-atomics-object) objectThe [`Atomics.waitAsync`](https://tc39.es/ecma262/#sec-atomics.waitasync) objectThe [`Date`](https://tc39.es/ecma262/#sec-date-objects) classThe [`FinalizationRegistry`](https://tc39.es/ecma262/#sec-finalization-registry-objects) classThe [`RegExp`](https://tc39.es/ecma262/#sec-regexp-regular-expression-objects) classThe [`SharedArrayBuffer`](https://tc39.es/ecma262/#sec-sharedarraybuffer-objects) classThe [`SyntaxError`](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-syntaxerror) classThe [`TypeError`](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror) classThe [`RangeError`](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-rangeerror) classThe [`WeakRef`](https://tc39.es/ecma262/#sec-weak-ref-objects) classThe [`eval()`](https://tc39.es/ecma262/#sec-eval-x) functionThe [`WeakRef.prototype.deref()`](https://tc39.es/ecma262/#sec-weak-ref.prototype.deref) functionThe [[[IsHTMLDDA]]](https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot) internal slot[`import()`](https://tc39.es/ecma262/#sec-import-calls)[`import.meta`](https://tc39.es/ecma262/#sec-meta-properties)The [HostGetImportMetaProperties](https://tc39.es/ecma262/#sec-hostgetimportmetaproperties) abstract operationThe [`typeof`](https://tc39.es/ecma262/#sec-typeof-operator) operatorThe [`delete`](https://tc39.es/ecma262/#sec-delete-operator) operator[The TypedArray Constructors](https://tc39.es/ecma262/#table-49) table User agents that support JavaScript must also implement the Dynamic Code Brand\n Checks proposal. The following terms are defined there, and used in this specification:\n [JSDYNAMICCODEBRANDCHECKS] The [HostEnsureCanCompileStrings](https://tc39.es/proposal-dynamic-code-brand-checks/#sec-hostensurecancompilestrings) abstract operationThe [HostGetCodeForEval](https://tc39.es/proposal-dynamic-code-brand-checks/#sec-hostgetcodeforeval) abstract operation User agents that support JavaScript must also implement the Import Text proposal.\n The following term is defined there, and used in this specification: [JSIMPORTTEXT] The [CreateTextModule](https://tc39.es/proposal-import-text/#sec-create-text-module) abstract operation User agents that support JavaScript must also implement ECMAScript\n Internationalization API. [JSINTL] User agents that support JavaScript must also implement the Temporal proposal.\n The following terms are defined there, and used in this specification: [JSTEMPORAL] The [HostSystemUTCEpochNanoseconds](https://tc39.es/proposal-temporal/#sec-hostsystemutcepochnanoseconds) abstract operationThe [nsMaxInstant](https://tc39.es/proposal-temporal/#eqn-nsMaxInstant) and\n [nsMinInstant](https://tc39.es/proposal-temporal/#eqn-nsMinInstant) values\n\nWebAssembly\n\nThe following term is defined in WebAssembly JavaScript Interface:\n [WASMJS] [`WebAssembly.Module`](https://webassembly.github.io/spec/js-api/#module)\n\nDOM\n\nThe Document Object Model (DOM) is a representation — a model — of a document and\n its content. The DOM is not just an API; the conformance criteria of HTML implementations are\n defined, in this specification, in terms of operations on the DOM. [DOM] Implementations must support DOM and the events defined in UI Events, because this\n specification is defined in terms of the DOM, and some of the features are defined as extensions\n to the DOM interfaces. [DOM] [UIEVENTS] In particular, the following features are defined in DOM: [DOM] [`Attr`](https://dom.spec.whatwg.org/#interface-attr) interface[`CharacterData`](https://dom.spec.whatwg.org/#interface-characterdata) interface interface[`DOMImplementation`](https://dom.spec.whatwg.org/#interface-domimplementation) interface[`Document`](https://dom.spec.whatwg.org/#interface-document) interface and its\n [`doctype`](https://dom.spec.whatwg.org/#dom-document-doctype) attribute\n [`DocumentOrShadowRoot`](https://dom.spec.whatwg.org/#documentorshadowroot) interface[`DocumentFragment`](https://dom.spec.whatwg.org/#interface-documentfragment) interface[`DocumentType`](https://dom.spec.whatwg.org/#interface-documenttype) interface[`ChildNode`](https://dom.spec.whatwg.org/#interface-childnode) interface[`Element`](https://dom.spec.whatwg.org/#interface-element) interface[`attachShadow()`](https://dom.spec.whatwg.org/#dom-element-attachshadow) method.An element's [shadow root](https://dom.spec.whatwg.org/#concept-element-shadow-root)A [shadow root](https://dom.spec.whatwg.org/#concept-element-shadow-root)'s [mode](https://dom.spec.whatwg.org/#shadowroot-mode)A [shadow root](https://dom.spec.whatwg.org/#concept-element-shadow-root)'s [declarative](https://dom.spec.whatwg.org/#shadowroot-declarative) memberThe [attach a shadow root](https://dom.spec.whatwg.org/#concept-attach-a-shadow-root) algorithmThe [retargeting algorithm](https://dom.spec.whatwg.org/#retarget)[`Node`](https://dom.spec.whatwg.org/#interface-node) interface[`NodeList`](https://dom.spec.whatwg.org/#interface-nodelist) interface[`ProcessingInstruction`](https://dom.spec.whatwg.org/#interface-processinginstruction) interface, its\n [target](https://dom.spec.whatwg.org/#concept-pi-target) concept, and the\n [get a processing instruction attribute](https://dom.spec.whatwg.org/#get-a-processing-instruction-attribute) algorithm[`ShadowRoot`](https://dom.spec.whatwg.org/#interface-shadowroot) interface[`Text`](https://dom.spec.whatwg.org/#interface-text) interface[`Range`](https://dom.spec.whatwg.org/#interface-range) interface[node document](https://dom.spec.whatwg.org/#concept-node-document) concept[document type](https://dom.spec.whatwg.org/#concept-document-type) concept[host](https://dom.spec.whatwg.org/#concept-documentfragment-host) conceptThe [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root) concept, and its [delegates focus](https://dom.spec.whatwg.org/#shadowroot-delegates-focus), [available to element internals](https://dom.spec.whatwg.org/#shadowroot-available-to-element-internals), [serializable](https://dom.spec.whatwg.org/#shadowroot-serializable), [clonable](https://dom.spec.whatwg.org/#shadowroot-clonable), [custom element registry](https://dom.spec.whatwg.org/#shadowroot-custom-element-registry), and [keep custom element registry null](https://dom.spec.whatwg.org/#shadowroot-keep-custom-element-registry-null).The [shadow host](https://dom.spec.whatwg.org/#element-shadow-host) concept[`HTMLCollection`](https://dom.spec.whatwg.org/#interface-htmlcollection) interface, its\n [`length`](https://dom.spec.whatwg.org/#dom-htmlcollection-length) attribute, and its\n [`item()`](https://dom.spec.whatwg.org/#dom-htmlcollection-item) and\n [`namedItem()`](https://dom.spec.whatwg.org/#dom-htmlcollection-nameditem) methodsThe terms [collection](https://dom.spec.whatwg.org/#concept-collection) and [represented by the collection](https://dom.spec.whatwg.org/#represented-by-the-collection)[`DOMTokenList`](https://dom.spec.whatwg.org/#interface-domtokenlist) interface, and its\n [`value`](https://dom.spec.whatwg.org/#dom-domtokenlist-value) attribute and\n [`supports`](https://dom.spec.whatwg.org/#dom-domtokenlist-supports) operation[`createDocument()`](https://dom.spec.whatwg.org/#dom-domimplementation-createdocument) method[`createHTMLDocument()`](https://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument) method[`createElement()`](https://dom.spec.whatwg.org/#dom-document-createelement) method[`createElementNS()`](https://dom.spec.whatwg.org/#dom-document-createelementns) method[`getElementById()`](https://dom.spec.whatwg.org/#dom-nonelementparentnode-getelementbyid) method[`getElementsByClassName()`](https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname) method[`append()`](https://dom.spec.whatwg.org/#dom-node-append) method[`appendChild()`](https://dom.spec.whatwg.org/#dom-node-appendchild) method[`cloneNode()`](https://dom.spec.whatwg.org/#dom-node-clonenode) method[`moveBefore()`](https://dom.spec.whatwg.org/#dom-parentnode-movebefore) method[`importNode()`](https://dom.spec.whatwg.org/#dom-document-importnode) method[`preventDefault()`](https://dom.spec.whatwg.org/#dom-event-preventdefault) method[`id`](https://dom.spec.whatwg.org/#dom-element-id) attribute[`setAttribute()`](https://dom.spec.whatwg.org/#dom-element-setattribute) method[`textContent`](https://dom.spec.whatwg.org/#dom-node-textcontent) attribute[`children`](https://dom.spec.whatwg.org/#dom-parentnode-children) attributeThe [tree](https://dom.spec.whatwg.org/#concept-tree), [shadow tree](https://dom.spec.whatwg.org/#concept-shadow-tree), and [node tree](https://dom.spec.whatwg.org/#concept-node-tree) conceptsThe [tree order](https://dom.spec.whatwg.org/#concept-tree-order) and [shadow-including tree order](https://dom.spec.whatwg.org/#concept-shadow-including-tree-order) conceptsThe [element](https://dom.spec.whatwg.org/#concept-element) conceptThe [child](https://dom.spec.whatwg.org/#concept-tree-child) conceptThe [root](https://dom.spec.whatwg.org/#concept-tree-root) and [shadow-including root](https://dom.spec.whatwg.org/#concept-shadow-including-root) conceptsThe [inclusive ancestor](https://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor),\n [ancestor](https://dom.spec.whatwg.org/#concept-tree-ancestor),\n [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant),\n [shadow-including ancestor](https://dom.spec.whatwg.org/#concept-shadow-including-ancestor),\n [shadow-including descendant](https://dom.spec.whatwg.org/#concept-shadow-including-descendant),\n [shadow-including inclusive descendant](https://dom.spec.whatwg.org/#concept-shadow-including-inclusive-descendant),\n [shadow-including inclusive ancestor](https://dom.spec.whatwg.org/#concept-shadow-including-inclusive-ancestor), and\n [host-including inclusive ancestor](https://dom.spec.whatwg.org/#concept-tree-host-including-inclusive-ancestor) conceptsThe [first child](https://dom.spec.whatwg.org/#concept-tree-first-child),\n [last child](https://dom.spec.whatwg.org/#concept-tree-last-child),\n [next sibling](https://dom.spec.whatwg.org/#concept-tree-next-sibling),\n [previous sibling](https://dom.spec.whatwg.org/#concept-tree-previous-sibling), and\n [parent](https://dom.spec.whatwg.org/#concept-tree-parent) conceptsThe [parent element](https://dom.spec.whatwg.org/#parent-element) conceptThe [document element](https://dom.spec.whatwg.org/#document-element) conceptThe [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree), [in a document](https://dom.spec.whatwg.org/#in-a-document) (legacy), and [connected](https://dom.spec.whatwg.org/#connected) conceptsThe [slot](https://dom.spec.whatwg.org/#concept-slot) concept, and its [name](https://dom.spec.whatwg.org/#slot-name) and [assigned nodes](https://dom.spec.whatwg.org/#slot-assigned-nodes)The [assigned slot](https://dom.spec.whatwg.org/#slotable-assigned-slot) conceptThe [slot assignment](https://dom.spec.whatwg.org/#shadowroot-slot-assignment) conceptThe [slottable](https://dom.spec.whatwg.org/#concept-slotable) conceptThe [assign slottables for a tree](https://dom.spec.whatwg.org/#assign-slotables-for-a-tree) algorithmThe [`slotchange`](https://dom.spec.whatwg.org/#eventdef-htmlslotelement-slotchange) eventThe [inclusive descendant](https://dom.spec.whatwg.org/#concept-tree-inclusive-descendant) conceptThe [find flattened slottables](https://dom.spec.whatwg.org/#find-flattened-slotables) algorithmThe [manual slot assignment](https://dom.spec.whatwg.org/#slottable-manual-slot-assignment) conceptThe [assign a slot](https://dom.spec.whatwg.org/#assign-a-slot) algorithmThe [pre-insert](https://dom.spec.whatwg.org/#concept-node-pre-insert), [ensure pre-insert validity](https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity), [insert](https://dom.spec.whatwg.org/#concept-node-insert), [append](https://dom.spec.whatwg.org/#concept-node-append), [replace](https://dom.spec.whatwg.org/#concept-node-replace), [replace all](https://dom.spec.whatwg.org/#concept-node-replace-all), [string replace all](https://dom.spec.whatwg.org/#string-replace-all), [remove](https://dom.spec.whatwg.org/#concept-node-remove), and [adopt](https://dom.spec.whatwg.org/#concept-node-adopt) algorithms for nodesThe [insertion steps](https://dom.spec.whatwg.org/#concept-node-insert-ext),\n The [post-connection steps](https://dom.spec.whatwg.org/#concept-node-post-connection-ext),\n [removing steps](https://dom.spec.whatwg.org/#concept-node-remove-ext),\n [moving steps](https://dom.spec.whatwg.org/#concept-node-move-ext),\n [adopting steps](https://dom.spec.whatwg.org/#concept-node-adopt-ext), and\n [children changed steps](https://dom.spec.whatwg.org/#concept-node-children-changed-ext) hooks for elementsThe [change](https://dom.spec.whatwg.org/#concept-element-attributes-change), [append](https://dom.spec.whatwg.org/#concept-element-attributes-append), [remove](https://dom.spec.whatwg.org/#concept-element-attributes-remove), [replace](https://dom.spec.whatwg.org/#concept-element-attributes-replace), [get an attribute by namespace and local name](https://dom.spec.whatwg.org/#concept-element-attributes-get-by-namespace), [set value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value), and [remove an attribute by namespace and local name](https://dom.spec.whatwg.org/#concept-element-attributes-remove-by-namespace) algorithms for attributesThe [attribute change steps](https://dom.spec.whatwg.org/#concept-element-attributes-change-ext) hook for attributesThe [value](https://dom.spec.whatwg.org/#concept-attribute-value) concept for attributesThe [local name](https://dom.spec.whatwg.org/#concept-attribute-local-name) concept for attributesThe [namespace](https://dom.spec.whatwg.org/#concept-attribute-namespace) concept for attributesThe [attribute list](https://dom.spec.whatwg.org/#concept-element-attribute) conceptThe [data](https://dom.spec.whatwg.org/#concept-cd-data) of a `[CharacterData](https://dom.spec.whatwg.org/#interface-characterdata)` node and its\n [replace data](https://dom.spec.whatwg.org/#concept-cd-replace) algorithmThe [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) of a nodeThe [descendant text content](https://dom.spec.whatwg.org/#concept-descendant-text-content) of a nodeThe [name](https://dom.spec.whatwg.org/#concept-doctype-name),\n [public ID](https://dom.spec.whatwg.org/#concept-doctype-publicid), and\n [system ID](https://dom.spec.whatwg.org/#concept-doctype-systemid) of a doctype[`Event`](https://dom.spec.whatwg.org/#interface-event) interface[`Event` and derived interfaces constructor behavior](https://dom.spec.whatwg.org/#concept-event-constructor)[`EventTarget`](https://dom.spec.whatwg.org/#interface-eventtarget) interfaceThe [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) hookThe [legacy-pre-activation behavior](https://dom.spec.whatwg.org/#eventtarget-legacy-pre-activation-behavior) hookThe [legacy-canceled-activation behavior](https://dom.spec.whatwg.org/#eventtarget-legacy-canceled-activation-behavior) hookThe [create an event](https://dom.spec.whatwg.org/#concept-event-create) algorithmThe [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) algorithmThe [canceled flag](https://dom.spec.whatwg.org/#canceled-flag)The [dispatch flag](https://dom.spec.whatwg.org/#dispatch-flag)The [dispatch](https://dom.spec.whatwg.org/#concept-event-dispatch) algorithm[`EventInit`](https://dom.spec.whatwg.org/#dictdef-eventinit) dictionary type[`type`](https://dom.spec.whatwg.org/#dom-event-type) attributeAn event's [target](https://dom.spec.whatwg.org/#event-target)[`currentTarget`](https://dom.spec.whatwg.org/#dom-event-currenttarget) attribute[`bubbles`](https://dom.spec.whatwg.org/#dom-event-bubbles) attribute[`cancelable`](https://dom.spec.whatwg.org/#dom-event-cancelable) attribute[`composed`](https://dom.spec.whatwg.org/#dom-event-composed) attribute[composed flag](https://dom.spec.whatwg.org/#composed-flag)[`isTrusted`](https://dom.spec.whatwg.org/#dom-event-istrusted) attribute[`initEvent()`](https://dom.spec.whatwg.org/#dom-event-initevent) method[add an event listener](https://dom.spec.whatwg.org/#add-an-event-listener)[`addEventListener()`](https://dom.spec.whatwg.org/#dom-eventtarget-addeventlistener) methodThe [remove an event listener](https://dom.spec.whatwg.org/#remove-an-event-listener) and\n [remove all event listeners](https://dom.spec.whatwg.org/#remove-all-event-listeners) algorithms[`EventListener`](https://dom.spec.whatwg.org/#callbackdef-eventlistener) callback interfaceThe [type](https://dom.spec.whatwg.org/#dom-event-type) of an eventAn [event listener](https://dom.spec.whatwg.org/#concept-event-listener) and its\n [type](https://dom.spec.whatwg.org/#event-listener-type) and\n [callback](https://dom.spec.whatwg.org/#event-listener-callback)The [encoding](https://dom.spec.whatwg.org/#concept-document-encoding) (herein the *character encoding*),\n [mode](https://dom.spec.whatwg.org/#concept-document-mode),\n [custom element registry](https://dom.spec.whatwg.org/#document-custom-element-registry),\n [allow declarative shadow roots](https://dom.spec.whatwg.org/#concept-document-allow-declarative-shadow-roots), and\n [content type](https://dom.spec.whatwg.org/#concept-document-content-type) of a `Document`The distinction between [XML documents](https://dom.spec.whatwg.org/#xml-document) and\n [HTML documents](https://dom.spec.whatwg.org/#html-document)The terms [quirks mode](https://dom.spec.whatwg.org/#concept-document-quirks),\n [limited-quirks mode](https://dom.spec.whatwg.org/#concept-document-limited-quirks), and\n [no-quirks mode](https://dom.spec.whatwg.org/#concept-document-no-quirks)The algorithm [clone a node](https://dom.spec.whatwg.org/#concept-node-clone) with its arguments\n [document](https://dom.spec.whatwg.org/#clone-a-node-document),\n [subtree](https://dom.spec.whatwg.org/#clone-a-node-subtree),\n [parent](https://dom.spec.whatwg.org/#clone-a-node-parent), and\n [fallbackRegistry](https://dom.spec.whatwg.org/#clone-a-node-fallbackregistry), and the concept of\n [cloning steps](https://dom.spec.whatwg.org/#concept-node-clone-ext)The concept of an element's [unique identifier (ID)](https://dom.spec.whatwg.org/#concept-id)The concept of an element's [classes](https://dom.spec.whatwg.org/#concept-class)The term [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens)The concept of a DOM [range](https://dom.spec.whatwg.org/#concept-range), and the terms\n [start node](https://dom.spec.whatwg.org/#concept-range-start-node),\n [start](https://dom.spec.whatwg.org/#concept-range-start),\n [end](https://dom.spec.whatwg.org/#concept-range-end), and\n [boundary point](https://dom.spec.whatwg.org/#concept-range-bp) as applied to ranges.The [create an element](https://dom.spec.whatwg.org/#concept-create-element) algorithmThe [create a document](https://dom.spec.whatwg.org/#create-a-document),\n [create a text node](https://dom.spec.whatwg.org/#create-a-text-node),\n [create a doctype](https://dom.spec.whatwg.org/#create-a-doctype),\n ,\n [create a processing instruction node](https://dom.spec.whatwg.org/#create-a-processing-instruction-node), and\n [create a document fragment](https://dom.spec.whatwg.org/#create-a-document-fragment) algorithmsThe [element interface](https://dom.spec.whatwg.org/#concept-element-interface) conceptThe concepts of [custom element state](https://dom.spec.whatwg.org/#concept-element-custom-element-state), and of\n [defined](https://dom.spec.whatwg.org/#concept-element-defined) and\n [custom](https://dom.spec.whatwg.org/#concept-element-custom) elementsAn element's [namespace](https://dom.spec.whatwg.org/#concept-element-namespace),\n [namespace prefix](https://dom.spec.whatwg.org/#concept-element-namespace-prefix),\n [local name](https://dom.spec.whatwg.org/#concept-element-local-name),\n [custom element registry](https://dom.spec.whatwg.org/#element-custom-element-registry),\n [custom element definition](https://dom.spec.whatwg.org/#concept-element-custom-element-definition), and\n [`is` value](https://dom.spec.whatwg.org/#concept-element-is-value)[`MutationObserver`](https://dom.spec.whatwg.org/#mutationobserver) interface and [mutation observers](https://dom.spec.whatwg.org/#mutation-observers) in general[`AbortController`](https://dom.spec.whatwg.org/#abortcontroller) and its\n [signal](https://dom.spec.whatwg.org/#abortcontroller-signal)[`AbortSignal`](https://dom.spec.whatwg.org/#abortsignal)[aborted](https://dom.spec.whatwg.org/#abortsignal-aborted)[signal abort](https://dom.spec.whatwg.org/#abortcontroller-signal-abort)[add](https://dom.spec.whatwg.org/#abortsignal-add)[valid attribute local name](https://dom.spec.whatwg.org/#valid-attribute-local-name)[valid element local name](https://dom.spec.whatwg.org/#valid-element-local-name)[is a global custom element registry](https://dom.spec.whatwg.org/#is-a-global-custom-element-registry) The following features are defined in UI Events: [UIEVENTS] The [`FocusEvent`](https://w3c.github.io/uievents/#focusevent) interfaceThe `[FocusEvent](https://w3c.github.io/uievents/#focusevent)` interface's [`relatedTarget`](https://w3c.github.io/uievents/#dom-focusevent-relatedtarget) attributeThe [`UIEvent`](https://w3c.github.io/uievents/#uievent) interfaceThe `[UIEvent](https://w3c.github.io/uievents/#uievent)` interface's [`view`](https://w3c.github.io/uievents/#dom-uievent-view) attribute[`beforeinput`](https://w3c.github.io/uievents/#event-type-beforeinput) event[`contextmenu`](https://w3c.github.io/uievents/#event-type-contextmenu) event[`input`](https://w3c.github.io/uievents/#event-type-input) event[`keydown`](https://w3c.github.io/uievents/#event-type-keydown) event[`keypress`](https://w3c.github.io/uievents/#event-type-keypress) event[`keyup`](https://w3c.github.io/uievents/#event-type-keyup) event The following features are defined in Touch Events: [TOUCH] [`Touch`](https://w3c.github.io/touch-events/#touch-interface) interface[Touch point](https://w3c.github.io/touch-events/#dfn-touch-point) concept[`touchend`](https://w3c.github.io/touch-events/#event-touchend) event The following features are defined in Pointer Events:\n [POINTEREVENTS] The [`MouseEvent`](https://w3c.github.io/pointerevents/#dom-mouseevent) interfaceThe `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` interface's [`relatedTarget`](https://w3c.github.io/pointerevents/#dom-mouseevent-relatedtarget) attributeThe `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` interface's [`button`](https://w3c.github.io/pointerevents/#dom-mouseevent-button) attribute[`MouseEventInit`](https://w3c.github.io/pointerevents/#dom-mouseeventinit) dictionary typeThe [`PointerEvent`](https://w3c.github.io/pointerevents/#pointerevent-interface) interfaceThe `[PointerEvent](https://w3c.github.io/pointerevents/#pointerevent-interface)` interface's [`pointerType`](https://w3c.github.io/pointerevents/#dom-pointerevent-pointertype) attribute[fire a pointer event](https://w3c.github.io/pointerevents/#dfn-fire-a-pointer-event)[`auxclick`](https://w3c.github.io/pointerevents/#auxclick) event[`click`](https://w3c.github.io/pointerevents/#click) event[`dblclick`](https://w3c.github.io/pointerevents/#dblclick) event[`mousedown`](https://w3c.github.io/pointerevents/#mousedown) event[`mouseenter`](https://w3c.github.io/pointerevents/#mouseenter) event[`mouseleave`](https://w3c.github.io/pointerevents/#mouseleave) event[`mousemove`](https://w3c.github.io/pointerevents/#mousemove) event[`mouseout`](https://w3c.github.io/pointerevents/#mouseout) event[`mouseover`](https://w3c.github.io/pointerevents/#mouseover) event[`mouseup`](https://w3c.github.io/pointerevents/#mouseup) event[`pointerdown`](https://w3c.github.io/pointerevents/#the-pointerdown-event) event[`pointerup`](https://w3c.github.io/pointerevents/#the-pointerup-event) event[`pointercancel`](https://w3c.github.io/pointerevents/#the-pointercancel-event) event[`wheel`](https://w3c.github.io/pointerevents/#wheel) event The following events are defined in Clipboard API and events:\n [CLIPBOARD-APIS] [`copy`](https://w3c.github.io/clipboard-apis/#clipboard-event-copy) event[`cut`](https://w3c.github.io/clipboard-apis/#clipboard-event-cut) event[`paste`](https://w3c.github.io/clipboard-apis/#clipboard-event-paste) event This specification sometimes uses the term name to refer to the event's\n [type](https://dom.spec.whatwg.org/#dom-event-type); as in, \"an event named `click`\" or \"if the event name is `keypress`\". The terms\n \"name\" and \"type\" for events are synonymous. The following features are defined in DOM Parsing and Serialization:\n [DOMPARSING] [`XML serialization`](https://w3c.github.io/DOM-Parsing/#dfn-xml-serialization) The following features are defined in Selection API: [SELECTION] [selection](https://w3c.github.io/selection-api/#dfn-selection)[`Selection`](https://w3c.github.io/selection-api/#selection-interface) User agents are encouraged to implement the features described in\n execCommand. [EXECCOMMAND] The following features are defined in Fullscreen API: [FULLSCREEN] [`requestFullscreen()`](https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen)[`fullscreenchange`](https://fullscreen.spec.whatwg.org/#eventdef-document-fullscreenchange)[run the fullscreen steps](https://fullscreen.spec.whatwg.org/#run-the-fullscreen-steps)[fully exit fullscreen](https://fullscreen.spec.whatwg.org/#fully-exit-fullscreen)[fullscreen element](https://fullscreen.spec.whatwg.org/#fullscreen-element)[fullscreen flag](https://fullscreen.spec.whatwg.org/#fullscreen-flag) High Resolution Time provides the following features: [HRT] [current high resolution time](https://w3c.github.io/hr-time/#dfn-current-high-resolution-time)[relative high resolution time](https://w3c.github.io/hr-time/#dfn-relative-high-resolution-time)[unsafe shared current time](https://w3c.github.io/hr-time/#dfn-unsafe-shared-current-time)[shared monotonic clock](https://w3c.github.io/hr-time/#dfn-shared-monotonic-clock)[unsafe moment](https://w3c.github.io/hr-time/#dfn-unsafe-moment)[duration from](https://w3c.github.io/hr-time/#dfn-duration-from)[coarsen time](https://w3c.github.io/hr-time/#dfn-coarsen-time)[current wall time](https://w3c.github.io/hr-time/#dfn-current-wall-time)[Unix epoch](https://w3c.github.io/hr-time/#dfn-unix-epoch)[`DOMHighResTimeStamp`](https://w3c.github.io/hr-time/#dom-domhighrestimestamp)\n\nFile API\n\nThis specification uses the following features defined in File API:\n [FILEAPI] The [`Blob`](https://w3c.github.io/FileAPI/#dfn-Blob) interface and its\n [`type`](https://w3c.github.io/FileAPI/#dfn-type) attributeThe [`File`](https://w3c.github.io/FileAPI/#dfn-file) interface and its\n [`name`](https://w3c.github.io/FileAPI/#dfn-name) and\n [`lastModified`](https://w3c.github.io/FileAPI/#dfn-lastModified) attributesThe [`FileList`](https://w3c.github.io/FileAPI/#filelist-section) interfaceThe concept of a `[Blob](https://w3c.github.io/FileAPI/#dfn-Blob)`'s [snapshot state](https://w3c.github.io/FileAPI/#snapshot-state)The concept of read errors[Blob URL Store](https://w3c.github.io/FileAPI/#BlobURLStore)[blob URL entry](https://w3c.github.io/FileAPI/#blob-url-entry) and its\n [environment](https://w3c.github.io/FileAPI/#blob-url-entry-environment)The [obtain a blob object](https://w3c.github.io/FileAPI/#blob-url-obtain-object) algorithm\n\nIndexed Database API\n\nThe following terms are defined in Indexed Database API:\n [INDEXEDDB] [cleanup Indexed Database transactions](https://w3c.github.io/IndexedDB/#cleanup-indexed-database-transactions)[`IDBVersionChangeEvent`](https://w3c.github.io/IndexedDB/#idbversionchangeevent)\n\nMedia Source Extensions\n\nThe following terms are defined in Media Source Extensions:\n [MEDIASOURCE] [`MediaSource`](https://w3c.github.io/media-source/#idl-def-mediasource) interface[detaching from a media element](https://w3c.github.io/media-source/#mediasource-detach)\n\nMedia Capture and Streams\n\nThe following terms are defined in Media Capture and Streams:\n [MEDIASTREAM] [`MediaStream`](https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-mediastream) interface[`MediaStreamTrack`](https://w3c.github.io/mediacapture-main/getusermedia.html#mediastreamtrack)[live state](https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaStreamTrackState.live)[`getUserMedia()`](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia)\n\nReporting\n\nThe following terms are defined in Reporting: [REPORTING] [Queue a report](https://w3c.github.io/reporting/#queue-report)[report type](https://w3c.github.io/reporting/#report-type)[visible to `ReportingObserver`s](https://w3c.github.io/reporting/#visible-to-reportingobservers)\n\nXMLHttpRequest\n\nThe following features and terms are defined in XMLHttpRequest:\n [XHR] The [`XMLHttpRequest`](https://xhr.spec.whatwg.org/#xmlhttprequest) interface, and its\n [`responseXML`](https://xhr.spec.whatwg.org/#dom-xmlhttprequest-responsexml) attributeThe [`ProgressEvent`](https://xhr.spec.whatwg.org/#interface-progressevent) interface, and its\n [`lengthComputable`](https://xhr.spec.whatwg.org/#dom-progressevent-lengthcomputable),\n [`loaded`](https://xhr.spec.whatwg.org/#dom-progressevent-loaded), and\n [`total`](https://xhr.spec.whatwg.org/#dom-progressevent-total) attributesThe [`FormData`](https://xhr.spec.whatwg.org/#formdata) interface, and its associated\n [entry list](https://xhr.spec.whatwg.org/#concept-formdata-entry-list)\n\nBattery Status\n\nThe following features are defined in Battery Status API: [BATTERY] [`getBattery()`](https://w3c.github.io/battery/#dom-navigator-getbattery) method\n\nMedia Queries\n\nImplementations must support Media Queries. The [](https://drafts.csswg.org/mediaqueries/#typedef-media-condition)\n feature is defined therein. [MQ]\n\nCSS modules\n\nWhile support for CSS as a whole is not required of implementations of this specification\n (though it is encouraged, at least for web browsers), some features are defined in terms of\n specific CSS requirements. When this specification requires that something be [parsed according\n to a particular CSS grammar](https://drafts.csswg.org/css-syntax/#parse-grammar), the relevant algorithm in CSS Syntax must be\n followed, including error handling rules. [CSSSYNTAX] For example, user agents are required to close all open constructs upon\n finding the end of a style sheet unexpectedly. Thus, when parsing the string \"`rgb(0,0,0`\" (with a missing close-parenthesis) for a color value, the close\n parenthesis is implied by this error handling rule, and a value is obtained (the color 'black').\n However, the similar construct \"`rgb(0,0,`\" (with both a missing\n parenthesis and a missing \"blue\" value) cannot be parsed, as closing the open construct does not\n result in a viable value. The following terms and features are defined in Cascading Style Sheets\n (CSS): [CSS] [viewport](https://drafts.csswg.org/css2/#viewport)[line box](https://drafts.csswg.org/css2/#line-box)[out-of-flow](https://drafts.csswg.org/css2/#out-of-flow)[in-flow](https://drafts.csswg.org/css2/#in-flow)[collapsing margins](https://drafts.csswg.org/css2/#collapsing-margins)[containing block](https://drafts.csswg.org/css2/#containing-block-details)[inline box](https://drafts.csswg.org/css2/#inline-box)[block box](https://drafts.csswg.org/css2/#block-boxes%E2%91%A0)The ['top'](https://drafts.csswg.org/css2/#propdef-top),\n ['bottom'](https://drafts.csswg.org/css2/#propdef-bottom),\n ['left'](https://drafts.csswg.org/css2/#propdef-left), and\n ['right'](https://drafts.csswg.org/css2/#propdef-right) propertiesThe ['float'](https://drafts.csswg.org/css2/#float-position) propertyThe ['clear'](https://drafts.csswg.org/css2/#flow-control) propertyThe ['width'](https://drafts.csswg.org/css2/#the-width-property) propertyThe ['height'](https://drafts.csswg.org/css2/#the-height-property) propertyThe ['min-width'](https://drafts.csswg.org/css2/#min-max-widths) propertyThe ['min-height'](https://drafts.csswg.org/css2/#min-max-heights) propertyThe ['max-width'](https://drafts.csswg.org/css2/#min-max-widths) propertyThe ['max-height'](https://drafts.csswg.org/css2/#min-max-heights) propertyThe ['line-height'](https://drafts.csswg.org/css2/#propdef-line-height) propertyThe ['vertical-align'](https://drafts.csswg.org/css2/#propdef-vertical-align) propertyThe ['content'](https://drafts.csswg.org/css2/#content%E2%91%A0) propertyThe ['inline-block'](https://drafts.csswg.org/css2/#value-def-inline-block) value of the ['display'](https://drafts.csswg.org/css2/#display-prop) propertyThe ['visibility'](https://drafts.csswg.org/css2/#propdef-visibility) property The basic version of the ['display'](https://drafts.csswg.org/css2/#display-prop) property\n is defined in CSS, and the property is extended by other CSS modules.\n [CSS] [CSSRUBY] [CSSTABLE] The following terms and features are defined in CSS Box Model:\n [CSSBOX] [content area](https://drafts.csswg.org/css-box/#content-area)[content box](https://drafts.csswg.org/css-box/#content-box)[border box](https://drafts.csswg.org/css-box/#border-box)[margin box](https://drafts.csswg.org/css-box/#margin-box)[border edge](https://drafts.csswg.org/css-box/#border-edge)[margin edge](https://drafts.csswg.org/css-box/#margin-edge)The ['margin-top'](https://drafts.csswg.org/css-box/#propdef-margin-top),\n ['margin-bottom'](https://drafts.csswg.org/css-box/#propdef-margin-bottom),\n ['margin-left'](https://drafts.csswg.org/css-box/#propdef-margin-left), and\n ['margin-right'](https://drafts.csswg.org/css-box/#propdef-margin-right) propertiesThe ['padding-top'](https://drafts.csswg.org/css-box/#propdef-padding-top),\n ['padding-bottom'](https://drafts.csswg.org/css-box/#propdef-padding-bottom),\n ['padding-left'](https://drafts.csswg.org/css-box/#propdef-padding-left), and\n ['padding-right'](https://drafts.csswg.org/css-box/#propdef-padding-right) properties The following features are defined in CSS Logical Properties:\n [CSSLOGICAL] The ['margin-block'](https://drafts.csswg.org/css-logical/#propdef-margin-block),\n ['margin-block-start'](https://drafts.csswg.org/css-logical/#propdef-margin-block-start),\n ['margin-block-end'](https://drafts.csswg.org/css-logical/#propdef-margin-block-end),\n ['margin-inline'](https://drafts.csswg.org/css-logical/#propdef-margin-inline),\n ['margin-inline-start'](https://drafts.csswg.org/css-logical/#propdef-margin-inline-start), and\n ['margin-inline-end'](https://drafts.csswg.org/css-logical/#propdef-margin-inline-end) propertiesThe ['padding-block'](https://drafts.csswg.org/css-logical/#propdef-padding-block),\n ['padding-block-start'](https://drafts.csswg.org/css-logical/#propdef-padding-block-start),\n ['padding-block-end'](https://drafts.csswg.org/css-logical/#propdef-padding-block-end),\n ['padding-inline'](https://drafts.csswg.org/css-logical/#propdef-padding-inline),\n ['padding-inline-start'](https://drafts.csswg.org/css-logical/#propdef-padding-inline-start), and\n ['padding-inline-end'](https://drafts.csswg.org/css-logical/#propdef-padding-inline-end) propertiesThe ['border-block-width'](https://drafts.csswg.org/css-logical/#propdef-border-block-width),\n ['border-block-start-width'](https://drafts.csswg.org/css-logical/#propdef-border-block-start-width),\n ['border-block-end-width'](https://drafts.csswg.org/css-logical/#propdef-border-block-end-width),\n ['border-inline-width'](https://drafts.csswg.org/css-logical/#propdef-border-inline-width),\n ['border-inline-start-width'](https://drafts.csswg.org/css-logical/#propdef-border-inline-start-width),\n ['border-inline-end-width'](https://drafts.csswg.org/css-logical/#propdef-border-inline-end-width),\n ['border-block-style'](https://drafts.csswg.org/css-logical/#propdef-border-block-style),\n ['border-block-start-style'](https://drafts.csswg.org/css-logical/#propdef-border-block-start-style),\n ['border-block-end-style'](https://drafts.csswg.org/css-logical/#propdef-border-block-end-style),\n ['border-inline-style'](https://drafts.csswg.org/css-logical/#propdef-border-inline-style),\n ['border-inline-start-style'](https://drafts.csswg.org/css-logical/#propdef-border-inline-start-style),\n ['border-inline-end-style'](https://drafts.csswg.org/css-logical/#propdef-border-inline-end-style),\n ['border-block-start-color'](https://drafts.csswg.org/css-logical/#propdef-border-block-start-color),\n ['border-block-end-color'](https://drafts.csswg.org/css-logical/#propdef-border-block-end-color),\n ['border-inline-start-color'](https://drafts.csswg.org/css-logical/#propdef-border-inline-start-color),\n ['border-inline-end-color'](https://drafts.csswg.org/css-logical/#propdef-border-inline-end-color),\n ['border-start-start-radius'](https://drafts.csswg.org/css-logical/#propdef-border-start-start-radius),\n ['border-start-end-radius'](https://drafts.csswg.org/css-logical/#propdef-border-start-end-radius),\n ['border-end-start-radius'](https://drafts.csswg.org/css-logical/#propdef-border-end-start-radius), and\n ['border-end-end-radius'](https://drafts.csswg.org/css-logical/#propdef-border-end-end-radius)\n propertiesThe ['block-size'](https://drafts.csswg.org/css-logical/#propdef-block-size) propertyThe ['inline-size'](https://drafts.csswg.org/css-logical/#propdef-inline-size) propertyThe ['inset-block-start'](https://drafts.csswg.org/css-logical/#propdef-inset-block-start) propertyThe ['inset-block-end'](https://drafts.csswg.org/css-logical/#propdef-inset-block-end) property The following terms and features are defined in CSS Color:\n [CSSCOLOR] [named color](https://drafts.csswg.org/css-color/#named-color)[](https://drafts.csswg.org/css-color/#typedef-color)The ['color'](https://drafts.csswg.org/css-color/#the-color-property) propertyThe ['currentcolor'](https://drafts.csswg.org/css-color/#valdef-color-currentcolor) value[opaque black](https://drafts.csswg.org/css-color/#opaque-black)[transparent black](https://drafts.csswg.org/css-color/#transparent-black)['srgb'](https://drafts.csswg.org/css-color/#valdef-color-srgb) color space['srgb-linear'](https://drafts.csswg.org/css-color/#valdef-color-srgb-linear) color space['display-p3'](https://drafts.csswg.org/css-color/#valdef-color-display-p3) color space['display-p3-linear'](https://drafts.csswg.org/css-color/#display-p3-linear-space) color space['relative-colorimetric'](https://drafts.csswg.org/css-color-5/#valdef-color-profile-rendering-intent-relative-colorimetric) rendering intent[parse a CSS value](https://drafts.csswg.org/css-color/#parse-a-css-color-value)[serialize a CSS value](https://drafts.csswg.org/css-color/#serializing-color-values) including [HTML-compatible serialization is requested](https://drafts.csswg.org/css-color/#color-serialization-html-compatible-serialization-is-requested)[Converting Colors](https://drafts.csswg.org/css-color/#color-conversion)['color()'](https://drafts.csswg.org/css-color/#color-function) The following terms are defined in CSS Images: [CSSIMAGES] [default object size](https://drafts.csswg.org/css-images/#default-object-size)[default sizing algorithm](https://drafts.csswg.org/css-images/#default-sizing)[concrete object size](https://drafts.csswg.org/css-images/#concrete-object-size)[natural dimensions](https://drafts.csswg.org/css-images/#natural-dimensions)[natural height](https://drafts.csswg.org/css-images/#natural-height)[natural width](https://drafts.csswg.org/css-images/#natural-width)The ['image-orientation'](https://drafts.csswg.org/css-images-3/#the-image-orientation) property['conic-gradient'](https://drafts.csswg.org/css-images-4/#funcdef-conic-gradient)The ['object-fit'](https://drafts.csswg.org/css-images/#the-object-fit) property The term [paint\n source](https://drafts.csswg.org/css-images-4/#paint-source) is used as defined in CSS Images Level 4\n to define the interaction of certain HTML elements with the CSS 'element()' function.\n [CSSIMAGES4] The following features are defined in CSS Backgrounds and Borders:\n [CSSBG] The ['background-color'](https://drafts.csswg.org/css-backgrounds/#propdef-background-color),\n ['background-image'](https://drafts.csswg.org/css-backgrounds/#propdef-background-image),\n ['background-repeat'](https://drafts.csswg.org/css-backgrounds/#propdef-background-repeat),\n ['background-attachment'](https://drafts.csswg.org/css-backgrounds/#propdef-background-attachment),\n ['background-position'](https://drafts.csswg.org/css-backgrounds/#propdef-background-position),\n ['background-clip'](https://drafts.csswg.org/css-backgrounds/#propdef-background-clip),\n ['background-origin'](https://drafts.csswg.org/css-backgrounds/#propdef-background-origin), and\n ['background-size'](https://drafts.csswg.org/css-backgrounds/#propdef-background-size)\n propertiesThe ['border-radius'](https://drafts.csswg.org/css-backgrounds/#propdef-border-radius),\n ['border-top-left-radius'](https://drafts.csswg.org/css-backgrounds/#propdef-border-top-left-radius),\n ['border-top-right-radius'](https://drafts.csswg.org/css-backgrounds/#propdef-border-top-right-radius),\n ['border-bottom-right-radius'](https://drafts.csswg.org/css-backgrounds/#propdef-border-bottom-right-radius),\n ['border-bottom-left-radius'](https://drafts.csswg.org/css-backgrounds/#propdef-border-bottom-left-radius)\n propertiesThe ['border-image-source'](https://drafts.csswg.org/css-backgrounds/#propdef-border-image-source),\n ['border-image-slice'](https://drafts.csswg.org/css-backgrounds/#propdef-border-image-slice),\n ['border-image-width'](https://drafts.csswg.org/css-backgrounds/#propdef-border-image-width),\n ['border-image-outset'](https://drafts.csswg.org/css-backgrounds/#propdef-border-image-outset), and\n ['border-image-repeat'](https://drafts.csswg.org/css-backgrounds/#propdef-border-image-repeat)\n properties CSS Backgrounds and Borders also defines the following border properties:\n [CSSBG] Border properties\n Top\n Bottom\n Left\n Right\n Width\n ['border-top-width'](https://drafts.csswg.org/css-backgrounds/#propdef-border-top-width) ['border-bottom-width'](https://drafts.csswg.org/css-backgrounds/#propdef-border-bottom-width) ['border-left-width'](https://drafts.csswg.org/css-backgrounds/#propdef-border-left-width) ['border-right-width'](https://drafts.csswg.org/css-backgrounds/#propdef-border-right-width) Style\n ['border-top-style'](https://drafts.csswg.org/css-backgrounds/#propdef-border-top-style) ['border-bottom-style'](https://drafts.csswg.org/css-backgrounds/#propdef-border-bottom-style) ['border-left-style'](https://drafts.csswg.org/css-backgrounds/#propdef-border-left-style) ['border-right-style'](https://drafts.csswg.org/css-backgrounds/#propdef-border-right-style) Color\n ['border-top-color'](https://drafts.csswg.org/css-backgrounds/#propdef-border-top-color) ['border-bottom-color'](https://drafts.csswg.org/css-backgrounds/#propdef-border-bottom-color) ['border-left-color'](https://drafts.csswg.org/css-backgrounds/#propdef-border-left-color) ['border-right-color'](https://drafts.csswg.org/css-backgrounds/#propdef-border-right-color) The following features are defined in CSS Box Alignment: [CSSALIGN] The ['align-content'](https://drafts.csswg.org/css-align/#propdef-align-content) propertyThe ['align-items'](https://drafts.csswg.org/css-align/#propdef-align-items) propertyThe ['align-self'](https://drafts.csswg.org/css-align/#propdef-align-self) propertyThe ['justify-self'](https://drafts.csswg.org/css-align/#propdef-justify-self) propertyThe ['justify-content'](https://drafts.csswg.org/css-align/#propdef-justify-content) propertyThe ['justify-items'](https://drafts.csswg.org/css-align/#propdef-justify-items) property The following terms and features are defined in CSS Display:\n [CSSDISPLAY] [outer display type](https://drafts.csswg.org/css-display/#outer-display-type)[inner display type](https://drafts.csswg.org/css-display/#inner-display-type)[block-level](https://drafts.csswg.org/css-display/#block-level)[block container](https://drafts.csswg.org/css-display/#block-container)[formatting context](https://drafts.csswg.org/css-display/#formatting-context)[block formatting context](https://drafts.csswg.org/css-display/#block-formatting-context)[inline formatting context](https://drafts.csswg.org/css-display/#inline-formatting-context)[replaced element](https://drafts.csswg.org/css-display/#replaced-element)[CSS box](https://drafts.csswg.org/css-display/#css-box) The following features are defined in CSS Flexible Box Layout:\n [CSSFLEXBOX] The ['flex-direction'](https://drafts.csswg.org/css-flexbox/#propdef-flex-direction) propertyThe ['flex-wrap'](https://drafts.csswg.org/css-flexbox/#propdef-flex-wrap) property The following terms and features are defined in CSS Fonts:\n [CSSFONTS] [first available font](https://drafts.csswg.org/css-fonts/#first-available-font)The ['font-family'](https://drafts.csswg.org/css-fonts/#font-family-prop) propertyThe ['font-weight'](https://drafts.csswg.org/css-fonts/#font-weight-prop) propertyThe ['font-size'](https://drafts.csswg.org/css-fonts/#font-size-prop) propertyThe ['font'](https://drafts.csswg.org/css-fonts/#font-prop) propertyThe ['font-kerning'](https://drafts.csswg.org/css-fonts/#propdef-font-kerning) propertyThe ['font-stretch'](https://drafts.csswg.org/css-fonts/#propdef-font-stretch) propertyThe ['font-variant-caps'](https://drafts.csswg.org/css-fonts/#propdef-font-variant-caps) propertyThe ['small-caps'](https://drafts.csswg.org/css-fonts/#valdef-font-variant-caps-small-caps) valueThe ['all-small-caps'](https://drafts.csswg.org/css-fonts/#valdef-font-variant-caps-all-small-caps) valueThe ['petite-caps'](https://drafts.csswg.org/css-fonts/#valdef-font-variant-caps-petite-caps) valueThe ['all-petite-caps'](https://drafts.csswg.org/css-fonts/#valdef-font-variant-caps-all-petite-caps) valueThe ['unicase'](https://drafts.csswg.org/css-fonts/#valdef-font-variant-caps-unicase) valueThe ['titling-caps'](https://drafts.csswg.org/css-fonts/#valdef-font-variant-caps-titling-caps) valueThe ['ultra-condensed'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-ultra-condensed) valueThe ['extra-condensed'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-extra-condensed) valueThe ['condensed'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-condensed) valueThe ['semi-condensed'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-semi-condensed) valueThe ['semi-expanded'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-semi-expanded) valueThe ['expanded'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-expanded) valueThe ['extra-expanded'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-extra-expanded) valueThe ['ultra-expanded'](https://drafts.csswg.org/css-fonts/#valdef-font-stretch-ultra-expanded) value The following features are defined in CSS Forms:\n [CSSFORMS] ['::picker'](https://drafts.csswg.org/css-forms/#picker-pseudo)['::checkmark'](https://drafts.csswg.org/css-forms/#checkmark)['::picker-icon'](https://drafts.csswg.org/css-forms/#selectordef-picker-icon)[picker form control identifier](https://drafts.csswg.org/css-forms/#typedef-picker-form-control-identifier)The concept [element with default preferred size](https://drafts.csswg.org/css-forms/#element-with-default-preferred-size) The following features are defined in CSS Gaps:\n [CSSGAPS] The ['gap'](https://drafts.csswg.org/css-gaps/#propdef-gap) propertyThe ['rule'](https://drafts.csswg.org/css-gaps/#propdef-rule) propertyThe ['rule-break'](https://drafts.csswg.org/css-gaps/#propdef-rule-break) propertyThe ['rule-inset'](https://drafts.csswg.org/css-gaps/#propdef-rule-inset) propertyThe ['rule-overlap'](https://drafts.csswg.org/css-gaps/#propdef-rule-overlap) propertyThe ['rule-visibility-items'](https://drafts.csswg.org/css-gaps/#propdef-rule-visibility-items) property The following features are defined in CSS Grid Layout: [CSSGRID] The ['grid-auto-columns'](https://drafts.csswg.org/css-grid/#propdef-grid-auto-columns) propertyThe ['grid-auto-flow'](https://drafts.csswg.org/css-grid/#propdef-grid-auto-flow) propertyThe ['grid-auto-rows'](https://drafts.csswg.org/css-grid/#propdef-grid-auto-rows) propertyThe ['grid-template-areas'](https://drafts.csswg.org/css-grid/#propdef-grid-template-areas) propertyThe ['grid-template-columns'](https://drafts.csswg.org/css-grid/#propdef-grid-template-columns) propertyThe ['grid-template-rows'](https://drafts.csswg.org/css-grid/#propdef-grid-template-rows) property The following terms are defined in CSS Inline Layout: [CSSINLINE] [alphabetic baseline](https://drafts.csswg.org/css-inline/#alphabetic-baseline)[ascent metric](https://drafts.csswg.org/css-inline/#ascent-metric)[descent metric](https://drafts.csswg.org/css-inline/#descent-metric)[em-over baseline](https://drafts.csswg.org/css-inline/#em-over-baseline)[em-under baseline](https://drafts.csswg.org/css-inline/#em-under-baseline)[hanging baseline](https://drafts.csswg.org/css-inline/#hanging-baseline)[ideographic-under baseline](https://drafts.csswg.org/css-inline/#ideographic-under-baseline) The following terms and features are defined in CSS Box Sizing:\n [CSSSIZING] [fit-content inline size](https://drafts.csswg.org/css-sizing/#fit-content-inline-size)['aspect-ratio'](https://drafts.csswg.org/css-sizing-4/#aspect-ratio) property[intrinsic size](https://drafts.csswg.org/css-sizing/#intrinsic-size) The following features are defined in CSS Lists and Counters.\n [CSSLISTS] [list item](https://drafts.csswg.org/css-lists/#list-item)The ['counter-reset'](https://drafts.csswg.org/css-lists/#propdef-counter-reset) propertyThe ['counter-set'](https://drafts.csswg.org/css-lists/#propdef-counter-set) propertyThe ['list-style-type'](https://drafts.csswg.org/css-lists/#propdef-list-style-type) property The following features are defined in CSS Overflow. [CSSOVERFLOW] The ['overflow'](https://drafts.csswg.org/css-overflow/#propdef-overflow) property and its ['hidden'](https://drafts.csswg.org/css-overflow/#valdef-overflow-hidden) valueThe ['text-overflow'](https://drafts.csswg.org/css-overflow/#propdef-text-overflow) propertyThe term [scroll container](https://drafts.csswg.org/css-overflow/#scroll-container) The following terms and features are defined in CSS Positioned Layout:\n [CSSPOSITION] [absolutely-positioned](https://drafts.csswg.org/css-position/#absolute-position)The ['position'](https://drafts.csswg.org/css-position/#position-property) property and its\n ['static'](https://drafts.csswg.org/css-position/#valdef-position-static) valueThe [top layer](https://drafts.csswg.org/css-position-4/#document-top-layer)\n (an [ordered set](https://infra.spec.whatwg.org/#ordered-set))[add an element to the top layer](https://drafts.csswg.org/css-position-4/#add-an-element-to-the-top-layer)[request an element to be removed from the top layer](https://drafts.csswg.org/css-position-4/#request-an-element-to-be-removed-from-the-top-layer)[remove an element from the top layer immediately](https://drafts.csswg.org/css-position-4/#remove-an-element-from-the-top-layer-immediately)[process top layer removals](https://drafts.csswg.org/css-position-4/#process-top-layer-removals) The following features are defined in CSS Multi-column Layout.\n [CSSMULTICOL] The ['column-count'](https://drafts.csswg.org/css-multicol/#propdef-column-count) propertyThe ['column-fill'](https://drafts.csswg.org/css-multicol/#propdef-column-fill) propertyThe ['column-width'](https://drafts.csswg.org/css-multicol/#propdef-column-width) property The ['ruby-base'](https://drafts.csswg.org/css-ruby/#valdef-display-ruby-base)\n value of the ['display'](https://drafts.csswg.org/css2/#display-prop) property is defined in CSS Ruby Layout.\n [CSSRUBY] The following features are defined in CSS Table: [CSSTABLE] The ['border-spacing'](https://drafts.csswg.org/css-tables/#propdef-border-spacing) propertyThe ['border-collapse'](https://drafts.csswg.org/css-tables/#border-collapse-property) propertyThe ['table-cell'](https://drafts.csswg.org/css-tables/#table-cell),\n ['table-row'](https://drafts.csswg.org/css-tables/#table-row),\n ['table-caption'](https://drafts.csswg.org/css-tables/#table-caption), and\n ['table'](https://drafts.csswg.org/css-tables/#table) values of the ['display'](https://drafts.csswg.org/css2/#display-prop) property The following features are defined in CSS Text: [CSSTEXT] The [content language](https://drafts.csswg.org/css-text-4/#content-language) conceptThe ['text-transform'](https://drafts.csswg.org/css-text/#text-transform-property) propertyThe ['white-space'](https://drafts.csswg.org/css-text/#white-space-property) propertyThe ['text-align'](https://drafts.csswg.org/css-text/#text-align-property) propertyThe ['letter-spacing'](https://drafts.csswg.org/css-text/#letter-spacing-property) propertyThe ['word-spacing'](https://drafts.csswg.org/css-text/#propdef-word-spacing) property The following features are defined in CSS Writing Modes: [CSSWM] The ['direction'](https://drafts.csswg.org/css-writing-modes/#direction) propertyThe ['unicode-bidi'](https://drafts.csswg.org/css-writing-modes/#unicode-bidi) propertyThe ['writing-mode'](https://drafts.csswg.org/css-writing-modes/#propdef-writing-mode) propertyThe [block flow direction](https://drafts.csswg.org/css-writing-modes/#block-flow-direction),\n [block axis](https://drafts.csswg.org/css-writing-modes/#block-axis),\n [inline axis](https://drafts.csswg.org/css-writing-modes/#inline-axis),\n [block size](https://drafts.csswg.org/css-writing-modes/#block-size),\n [inline size](https://drafts.csswg.org/css-writing-modes/#inline-size),\n [block-start](https://drafts.csswg.org/css-writing-modes/#block-start),\n [block-end](https://drafts.csswg.org/css-writing-modes/#block-end),\n [inline-start](https://drafts.csswg.org/css-writing-modes/#inline-start),\n [inline-end](https://drafts.csswg.org/css-writing-modes/#inline-end),\n [line-left](https://drafts.csswg.org/css-writing-modes/#line-left), and\n [line-right](https://drafts.csswg.org/css-writing-modes/#line-right) concepts The following features are defined in CSS Basic User Interface:\n [CSSUI] The ['outline'](https://drafts.csswg.org/css-ui/#outline) propertyThe ['cursor'](https://drafts.csswg.org/css-ui/#cursor) propertyThe ['appearance'](https://drafts.csswg.org/css-ui/#appearance-switching) property, its\n [](https://drafts.csswg.org/css-ui/#typedef-appearance-compat-auto) non-terminal value type, its\n ['textfield'](https://drafts.csswg.org/css-ui/#valdef-appearance-textfield) value, and its\n ['menulist-button'](https://drafts.csswg.org/css-ui/#valdef-appearance-menulist-button) value.The ['field-sizing'](https://drafts.csswg.org/css-ui/#field-sizing) property, and its\n ['content'](https://drafts.csswg.org/css-ui/#valdef-field-sizing-content) value.The concept The concept [native appearance](https://drafts.csswg.org/css-ui/#native-appearance)The concept [primitive appearance](https://drafts.csswg.org/css-ui/#primitive-appearance)The concept [base appearance](https://drafts.csswg.org/css-ui/#base-appearance)The and\n classification, and the related\n state.The ['pointer-events'](https://drafts.csswg.org/css-ui-4/#pointer-events-control) propertyThe ['user-select'](https://drafts.csswg.org/css-ui-4/#content-selection) property The algorithm to [update\n animations and send events](https://drafts.csswg.org/web-animations-1/#update-animations-and-send-events) is defined in Web Animations.\n [WEBANIMATIONS] Implementations that support scripting must support the CSS Object Model. The following\n features and terms are defined in the CSSOM specifications: [CSSOM] [CSSOMVIEW] [`Screen`](https://drafts.csswg.org/cssom-view/#the-screen-interface) interface[`LinkStyle`](https://drafts.csswg.org/cssom/#the-linkstyle-interface) interface[`CSSStyleDeclaration`](https://drafts.csswg.org/cssom/#the-cssstyledeclaration-interface) interface[`style`](https://drafts.csswg.org/cssom/#dom-elementcssinlinestyle-style) IDL attribute[`cssText`](https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-csstext) attribute of `[CSSStyleDeclaration](https://drafts.csswg.org/cssom/#the-cssstyledeclaration-interface)`[`StyleSheet`](https://drafts.csswg.org/cssom/#the-stylesheet-interface) interface[`CSSStyleSheet`](https://drafts.csswg.org/cssom/#the-cssstylesheet-interface) interface[create a CSS style sheet](https://drafts.csswg.org/cssom/#create-a-css-style-sheet)[remove a CSS style sheet](https://drafts.csswg.org/cssom/#remove-a-css-style-sheet)[associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet)[create a constructed `CSSStyleSheet`](https://drafts.csswg.org/cssom/#create-a-constructed-cssstylesheet)[synchronously replace the rules of a `CSSStyleSheet`](https://drafts.csswg.org/cssom/#synchronously-replace-the-rules-of-a-cssstylesheet)[disable a CSS style sheet](https://drafts.csswg.org/cssom/#disable-a-css-style-sheet) [CSS style sheets](https://drafts.csswg.org/cssom/#css-style-sheet) and their\n properties:\n [type](https://drafts.csswg.org/cssom/#concept-css-style-sheet-type)[location](https://drafts.csswg.org/cssom/#concept-css-style-sheet-location)[parent CSS style sheet](https://drafts.csswg.org/cssom/#concept-css-style-sheet-parent-css-style-sheet)[owner node](https://drafts.csswg.org/cssom/#concept-css-style-sheet-owner-node)[owner CSS rule](https://drafts.csswg.org/cssom/#concept-css-style-sheet-owner-css-rule)[media](https://drafts.csswg.org/cssom/#concept-css-style-sheet-media)[title](https://drafts.csswg.org/cssom/#concept-css-style-sheet-title)[alternate flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-alternate-flag)[disabled flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-disabled-flag)[CSS rules](https://drafts.csswg.org/cssom/#concept-css-style-sheet-css-rules)[origin-clean flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-origin-clean-flag) [CSS style sheet set](https://drafts.csswg.org/cssom/#css-style-sheet-set)[CSS style sheet set name](https://drafts.csswg.org/cssom/#css-style-sheet-set-name)[preferred CSS style sheet set name](https://drafts.csswg.org/cssom/#preferred-css-style-sheet-set-name)[change the preferred CSS style sheet set name](https://drafts.csswg.org/cssom/#change-the-preferred-css-style-sheet-set-name)[Serializing a CSS value](https://drafts.csswg.org/cssom/#serialize-a-css-value)[run the resize steps](https://drafts.csswg.org/cssom-view/#document-run-the-resize-steps)[run the scroll steps](https://drafts.csswg.org/cssom-view/#document-run-the-scroll-steps)[evaluate media queries and report changes](https://drafts.csswg.org/cssom-view/#evaluate-media-queries-and-report-changes)[Scroll a target into view](https://drafts.csswg.org/cssom-view/#scroll-a-target-into-view)[Scroll to the beginning of the document](https://drafts.csswg.org/cssom-view/#scroll-to-the-beginning-of-the-document)The [`resize`](https://drafts.csswg.org/cssom-view/#eventdef-window-resize) eventThe [`scroll`](https://drafts.csswg.org/cssom-view/#eventdef-document-scroll) eventThe [`scrollend`](https://drafts.csswg.org/cssom-view/#eventdef-document-scrollend) event[set up browsing context features](https://drafts.csswg.org/cssom-view/#set-up-browsing-context-features)The [clientX](https://drafts.csswg.org/cssom-view/#dom-mouseevent-clientx) and [clientY](https://drafts.csswg.org/cssom-view/#dom-mouseevent-clienty) extension attributes of the [MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent) interface The following features and terms are defined in CSS Syntax:\n [CSSSYNTAX] [conformant style sheet](https://drafts.csswg.org/css-syntax/#w3c-conformance-classes)[parse a list of component values](https://drafts.csswg.org/css-syntax/#parse-a-list-of-component-values)[parse a comma-separated list of component values](https://drafts.csswg.org/css-syntax/#parse-a-comma-separated-list-of-component-values)[component value](https://drafts.csswg.org/css-syntax/#component-value)[environment encoding](https://drafts.csswg.org/css-syntax/#environment-encoding)[](https://drafts.csswg.org/css-syntax/#typedef-whitespace-token) The following terms are defined in Selectors: [SELECTORS] [``](https://drafts.csswg.org/selectors/#typedef-selector-list)[parse a selector](https://drafts.csswg.org/selectors/#parse-a-selector)[selector](https://drafts.csswg.org/selectors/#selector)[type selector](https://drafts.csswg.org/selectors/#type-selector)[attribute selector](https://drafts.csswg.org/selectors/#attribute-selector)[pseudo-class](https://drafts.csswg.org/selectors/#pseudo-class)[`:focus-visible`](https://drafts.csswg.org/selectors/#the-focus-visible-pseudo)\n pseudo-class[indicate focus](https://drafts.csswg.org/selectors/#indicate-focus)[pseudo-element](https://drafts.csswg.org/selectors/#pseudo-element)[match a selector against an element](https://drafts.csswg.org/selectors/#match-a-selector-against-an-element)[scoping root](https://drafts.csswg.org/selectors/#scoping-root) The following features are defined in CSS Values and Units:\n [CSSVALUES] [](https://drafts.csswg.org/css-values/#lengths)The ['em'](https://drafts.csswg.org/css-values/#em) unitThe ['ex'](https://drafts.csswg.org/css-values/#ex) unitThe ['vw'](https://drafts.csswg.org/css-values/#vw) unitThe ['in'](https://drafts.csswg.org/css-values/#in) unitThe ['px'](https://drafts.csswg.org/css-values/#px) unitThe ['pt'](https://drafts.csswg.org/css-values/#pt) unitThe ['attr()'](https://drafts.csswg.org/css-values-5/#funcdef-attr) functionThe [math functions](https://drafts.csswg.org/css-values/#math-function) The following features are defined in CSS View Transitions:\n [CSSVIEWTRANSITIONS] [perform pending transition operations](https://drafts.csswg.org/css-view-transitions/#perform-pending-transition-operations)[rendering suppression for view transitions](https://drafts.csswg.org/css-view-transitions/#document-rendering-suppression-for-view-transitions)[activate view transition](https://drafts.csswg.org/css-view-transitions/#activate-view-transition)[`ViewTransition`](https://drafts.csswg.org/css-view-transitions/#viewtransition)[view transition page visibility change steps](https://drafts.csswg.org/css-view-transitions/#view-transition-page-visibility-change-steps)[resolving inbound cross-document view-transition](https://drafts.csswg.org/css-view-transitions-2/#resolve-inbound-cross-document-view-transition)[setting up a cross-document view-transition](https://drafts.csswg.org/css-view-transitions-2/#setup-cross-document-view-transition) The term [style attribute](https://drafts.csswg.org/css-style-attr/#style-attribute) is\n defined in CSS Style Attributes. [CSSATTR] The following terms are defined in the CSS Cascading and Inheritance:\n [CSSCASCADE] [cascaded value](https://drafts.csswg.org/css-cascade/#cascaded-value)[specified value](https://drafts.csswg.org/css-cascade/#specified-value)[computed value](https://drafts.csswg.org/css-cascade/#computed-value)[used value](https://drafts.csswg.org/css-cascade/#used-value)[cascade origin](https://drafts.csswg.org/css-cascade/#origin)[Author Origin](https://drafts.csswg.org/css-cascade/#cascade-origin-author)[User Origin](https://drafts.csswg.org/css-cascade/#cascade-origin-user)[User Agent Origin](https://drafts.csswg.org/css-cascade/#cascade-origin-ua)[Animation Origin](https://drafts.csswg.org/css-cascade/#cascade-origin-animation)[Transition Origin](https://drafts.csswg.org/css-cascade/#cascade-origin-transition)[initial value](https://drafts.csswg.org/css-cascade/#initial-value) The `CanvasRenderingContext2D` object's use of fonts depends on the features\n described in the CSS Fonts and Font Loading specifications, including\n in particular `FontFace` objects and the [font source](https://drafts.csswg.org/css-font-loading/#font-source) concept.\n [CSSFONTS] [CSSFONTLOAD] The following interfaces and terms are defined in Geometry Interfaces:\n [GEOMETRY] [`DOMMatrix`](https://drafts.csswg.org/geometry/#dommatrix) interface, and associated\n [m11 element](https://drafts.csswg.org/geometry/#matrix-m11-element),\n [m12 element](https://drafts.csswg.org/geometry/#matrix-m12-element),\n [m21 element](https://drafts.csswg.org/geometry/#matrix-m21-element),\n [m22 element](https://drafts.csswg.org/geometry/#matrix-m22-element),\n [m41 element](https://drafts.csswg.org/geometry/#matrix-m41-element), and\n [m42 element](https://drafts.csswg.org/geometry/#matrix-m42-element)[`DOMMatrix2DInit`](https://drafts.csswg.org/geometry/#dictdef-dommatrix2dinit) and\n [`DOMMatrixInit`](https://drafts.csswg.org/geometry/#dictdef-dommatrixinit) dictionariesThe [create a `DOMMatrix` from a dictionary](https://drafts.csswg.org/geometry/#create-a-dommatrix-from-the-dictionary)\n and [create a `DOMMatrix` from a 2D dictionary](https://drafts.csswg.org/geometry/#create-a-dommatrix-from-the-2d-dictionary)\n algorithms for `[DOMMatrix2DInit](https://drafts.csswg.org/geometry/#dictdef-dommatrix2dinit)` or `[DOMMatrixInit](https://drafts.csswg.org/geometry/#dictdef-dommatrixinit)`The [`DOMPointInit`](https://drafts.csswg.org/geometry/#dictdef-dompointinit) dictionary, and associated\n [x](https://drafts.csswg.org/geometry/#dom-dompointinit-x) and\n [y](https://drafts.csswg.org/geometry/#dom-dompointinit-y) members[Matrix multiplication](https://drafts.csswg.org/geometry/#matrix-multiply) The following terms are defined in the CSS Scoping: [CSSSCOPING] [flat tree](https://drafts.csswg.org/css-scoping/#flat-tree) The following terms and features are defined in CSS Color Adjustment:\n [CSSCOLORADJUST] ['color-scheme'](https://drafts.csswg.org/css-color-adjust/#color-scheme-prop)[page's supported color-schemes](https://drafts.csswg.org/css-color-adjust/#pages-supported-color-schemes) The following terms are defined in CSS Pseudo-Elements: [CSSPSEUDO] ['::details-content'](https://drafts.csswg.org/css-pseudo/#details-content-pseudo)['::file-selector-button'](https://drafts.csswg.org/css-pseudo/#file-selector-button-pseudo) The following terms are defined in CSS Containment: [CSSCONTAIN] [skips its contents](https://drafts.csswg.org/css-contain/#skips-its-contents)[relevant to the user](https://drafts.csswg.org/css-contain/#relevant-to-the-user)[proximity to the viewport](https://drafts.csswg.org/css-contain/#proximity-to-the-viewport)[layout containment](https://drafts.csswg.org/css-contain/#containment-layout)['content-visibility'](https://drafts.csswg.org/css-contain/#content-visibility) property['auto'](https://drafts.csswg.org/css-contain/#propdef-content-visibility) value for ['content-visibility'](https://drafts.csswg.org/css-contain/#content-visibility) The following terms are defined in CSS Anchor Positioning: [CSSANCHOR] [implicit anchor element](https://drafts.csswg.org/css-anchor-position/#implicit-anchor-element)\n\nIntersection Observer\n\nThe following term is defined in Intersection Observer:\n [INTERSECTIONOBSERVER] [run the update intersection observations steps](https://w3c.github.io/IntersectionObserver/#run-the-update-intersection-observations-steps)[`IntersectionObserver`](https://w3c.github.io/IntersectionObserver/#intersectionobserver)[`IntersectionObserverInit`](https://w3c.github.io/IntersectionObserver/#dictdef-intersectionobserverinit)[`observe`](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-observe)[`unobserve`](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-unobserve)[`isIntersecting`](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-isintersecting)[`target`](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-target)\n\nResize Observer\n\nThe following terms are defined in Resize Observer:\n [RESIZEOBSERVER] [gather active resize observations at depth](https://drafts.csswg.org/resize-observer-1/#gather-active-observations-h)[has active resize observations](https://drafts.csswg.org/resize-observer-1/#has-active-observations-h)[has skipped resize observations](https://drafts.csswg.org/resize-observer-1/#has-skipped-observations-h)[broadcast active resize observations](https://drafts.csswg.org/resize-observer-1/#broadcast-resize-notifications-h)[deliver resize loop error](https://drafts.csswg.org/resize-observer-1/#deliver-resize-error)\n\nWebGL\n\nThe following interfaces are defined in the WebGL specifications: [WEBGL] [`WebGLRenderingContext`](https://www.khronos.org/registry/webgl/specs/latest/1.0/#WebGLRenderingContext) interface[`WebGL2RenderingContext`](https://www.khronos.org/registry/webgl/specs/latest/2.0/#WebGL2RenderingContext) interface[`WebGLContextAttributes`](https://www.khronos.org/registry/webgl/specs/latest/1.0/#WebGLContextAttributes) dictionary\n\nWebGPU\n\nThe following interfaces are defined in WebGPU: [WEBGPU] [`GPUCanvasContext`](https://gpuweb.github.io/gpuweb/#canvas-context) interface\n\nWebVTT\n\nImplementations may support WebVTT as a text track format for subtitles, captions, metadata,\n etc., for media resources. [WEBVTT] The following terms, used in this specification, are defined in WebVTT: [WebVTT file](https://w3c.github.io/webvtt/#webvtt-file)[WebVTT file using caption or subtitle cue text](https://w3c.github.io/webvtt/#webvtt-file-using-caption-or-subtitle-cue-text)[WebVTT file using only nested cues](https://w3c.github.io/webvtt/#webvtt-file-using-only-nested-cues)[WebVTT parser](https://w3c.github.io/webvtt/#webvtt-parser)The [rules for updating the display of WebVTT text tracks](https://w3c.github.io/webvtt/#rules-for-updating-the-display-of-webvtt-text-tracks)The WebVTT [text track cue writing direction](https://w3c.github.io/webvtt/#webvtt-cue-writing-direction)[`VTTCue`](https://w3c.github.io/webvtt/#vttcue) interface\n\nARIA\n\nThe `role` attribute is defined in\n Accessible Rich Internet Applications (ARIA), as are the following\n roles: [ARIA] [`button`](https://w3c.github.io/aria/#button)[`presentation`](https://w3c.github.io/aria/#presentation) In addition, the following `aria-*` content\n attributes are defined in ARIA: [ARIA] [`aria-checked`](https://w3c.github.io/aria/#aria-checked)[`aria-describedby`](https://w3c.github.io/aria/#aria-describedby)[`aria-disabled`](https://w3c.github.io/aria/#aria-disabled)[`aria-label`](https://w3c.github.io/aria/#aria-label)[`aria-level`](https://w3c.github.io/aria/#aria-level) Finally, the following terms are defined in ARIA: [ARIA] [role](https://w3c.github.io/aria/#dfn-role)The [`ARIAMixin`](https://w3c.github.io/aria/#ARIAMixin) interface, with its associated\n [`ARIAMixin` getter steps](https://w3c.github.io/aria/#dfn-ariamixin-getter-steps) and\n [`ARIAMixin` setter steps](https://w3c.github.io/aria/#dfn-ariamixin-setter-steps) hooks, and its\n [`role`](https://w3c.github.io/aria/#idl-def-ariamixin-role) and\n [`aria*`](https://w3c.github.io/aria/#idl-def-ariamixin-ariaactivedescendantelement) attributes\n\nAccessible Name and Description Computation\n\nThe following term is defined in Accessible Name and Description\n Computation: [ACCNAME] [accessible name](https://w3c.github.io/accname/#dfn-accessible-name)\n\nContent Security Policy\n\nThe following terms are defined in Content Security Policy: [CSP] [Content Security Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object)[disposition](https://w3c.github.io/webappsec-csp/#policy-disposition)[directive set](https://w3c.github.io/webappsec-csp/#policy-directive-set)[Content Security Policy directive](https://w3c.github.io/webappsec-csp/#directives)[CSP list](https://w3c.github.io/webappsec-csp/#csp-list)The [Content Security Policy syntax](https://w3c.github.io/webappsec-csp/#grammardef-serialized-policy)[enforce the policy](https://w3c.github.io/webappsec-csp/#enforced)The [parse a serialized Content Security Policy](https://w3c.github.io/webappsec-csp/#parse-serialized-policy) algorithmThe [Run CSP initialization for a Document](https://w3c.github.io/webappsec-csp/#run-document-csp-initialization) algorithmThe [Run CSP initialization for a global object](https://w3c.github.io/webappsec-csp/#run-global-object-csp-initialization) algorithmThe [Should element's inline behavior be blocked by Content Security Policy?](https://w3c.github.io/webappsec-csp/#should-block-inline) algorithmThe [Should navigation request of type be blocked by Content Security Policy?](https://w3c.github.io/webappsec-csp/#should-block-navigation-request) algorithmThe [Should navigation response to navigation request of type in target be blocked by Content Security Policy?](https://w3c.github.io/webappsec-csp/#should-block-navigation-response) algorithmThe [`report-uri` directive](https://w3c.github.io/webappsec-csp/#report-uri)The [EnsureCSPDoesNotBlockStringCompilation](https://w3c.github.io/webappsec-csp/#can-compile-strings) abstract operationThe [Is base allowed for Document?](https://w3c.github.io/webappsec-csp/#allow-base-for-document) algorithmThe [`frame-ancestors` directive](https://w3c.github.io/webappsec-csp/#frame-ancestors)The [`sandbox` directive](https://w3c.github.io/webappsec-csp/#sandbox)The [contains a header-delivered Content Security Policy](https://w3c.github.io/webappsec-csp/#contains-a-header-delivered-content-security-policy) property.The [Parse a response's Content Security Policies](https://w3c.github.io/webappsec-csp/#parse-response-csp) algorithm.[`SecurityPolicyViolationEvent`](https://w3c.github.io/webappsec-csp/#securitypolicyviolationevent) interfaceThe [`securitypolicyviolation`](https://w3c.github.io/webappsec-csp/#eventdef-globaleventhandlers-securitypolicyviolation) event\n\nService Workers\n\nThe following terms are defined in Service Workers: [SW] [active worker](https://w3c.github.io/ServiceWorker/#dfn-active-worker)[client message queue](https://w3c.github.io/ServiceWorker/#dfn-client-message-queue)[control](https://w3c.github.io/ServiceWorker/#dfn-control)[handle fetch](https://w3c.github.io/ServiceWorker/#on-fetch-request-algorithm)[match service worker registration](https://w3c.github.io/ServiceWorker/#scope-match-algorithm)[service worker](https://w3c.github.io/ServiceWorker/#dfn-service-worker)[service worker client](https://w3c.github.io/ServiceWorker/#dfn-service-worker-client)[service worker client](https://w3c.github.io/ServiceWorker/#serviceworkercontainer-service-worker-client)[service worker registration](https://w3c.github.io/service-workers/#dfn-service-worker-registration)[`ServiceWorker`](https://w3c.github.io/ServiceWorker/#serviceworker) interface[`ServiceWorkerContainer`](https://w3c.github.io/ServiceWorker/#serviceworkercontainer) interface[`ServiceWorkerGlobalScope`](https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope) interface[`unregister`](https://w3c.github.io/service-workers/#navigator-service-worker-unregister)\n\nSecure Contexts\n\nThe following algorithms are defined in Secure Contexts:\n [SECURE-CONTEXTS] [Is url potentially trustworthy?](https://w3c.github.io/webappsec-secure-contexts/#potentially-trustworthy-url)\n\nPermissions Policy\n\nThe following terms are defined in Permissions Policy:\n [PERMISSIONSPOLICY] [permissions policy](https://w3c.github.io/webappsec-feature-policy/#permissions-policy)[policy-controlled feature](https://w3c.github.io/webappsec-feature-policy/#policy-controlled-feature)[container policy](https://w3c.github.io/webappsec-feature-policy/#container-policy)[serialized permissions policy](https://w3c.github.io/webappsec-feature-policy/#serialized-permissions-policy)[default allowlist](https://w3c.github.io/webappsec-feature-policy/#default-allowlist)The [creating a permissions policy](https://w3c.github.io/webappsec-feature-policy/#create-for-navigable) algorithmThe [creating a permissions policy from a response](https://w3c.github.io/webappsec-feature-policy/#create-from-response) algorithmThe [is feature enabled by policy for origin](https://w3c.github.io/webappsec-feature-policy/#is-feature-enabled) algorithmThe [process permissions policy attributes](https://w3c.github.io/webappsec-feature-policy/#process-policy-attributes) algorithm\n\nPayment Request API\n\nThe following feature is defined in Payment Request API:\n [PAYMENTREQUEST] [`PaymentRequest`](https://w3c.github.io/payment-request/#dom-paymentrequest) interface\n\nMathML\n\nWhile support for MathML as a whole is not required by this specification (though it is\n encouraged, at least for web browsers), certain features depend upon small parts of MathML being\n implemented. [MATHML] The following features are defined in Mathematical Markup Language\n (MathML): [MathML `a`](https://w3c.github.io/mathml-core/#dfn-a) element[MathML `annotation-xml`](https://w3c.github.io/mathml-core/#dfn-annotation-xml) element[MathML `math`](https://w3c.github.io/mathml-core/#the-top-level-math-element) element[MathML `merror`](https://w3c.github.io/mathml-core/#error-message-merror) element[MathML `mfrac`](https://w3c.github.io/mathml-core/#dfn-mfrac) element[MathML `mi`](https://w3c.github.io/mathml-core/#the-mi-element) element[MathML `mmultiscripts`](https://w3c.github.io/mathml-core/#dfn-mmultiscripts) element[MathML `mn`](https://w3c.github.io/mathml-core/#number-mn) element[MathML `mo`](https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo) element[MathML `mover`](https://w3c.github.io/mathml-core/#dfn-mover) element[MathML `mpadded`](https://w3c.github.io/mathml-core/#dfn-mpadded) element[MathML `mphantom`](https://w3c.github.io/mathml-core/#dfn-mphantom) element[MathML `mprescripts`](https://w3c.github.io/mathml-core/#dfn-mprescripts) element[MathML `mroot`](https://w3c.github.io/mathml-core/#dfn-mroot) element[MathML `mrow`](https://w3c.github.io/mathml-core/#dfn-mrow) element[MathML `ms`](https://w3c.github.io/mathml-core/#string-literal-ms) element[MathML `mspace`](https://w3c.github.io/mathml-core/#dfn-mspace) element[MathML `msqrt`](https://w3c.github.io/mathml-core/#dfn-msqrt) element[MathML `mstyle`](https://w3c.github.io/mathml-core/#dfn-mstyle) element[MathML `msub`](https://w3c.github.io/mathml-core/#dfn-msub) element[MathML `msubsup`](https://w3c.github.io/mathml-core/#dfn-msubsup) element[MathML `msup`](https://w3c.github.io/mathml-core/#dfn-msup) element[MathML `mtable`](https://w3c.github.io/mathml-core/#dfn-mtable) element[MathML `mtd`](https://w3c.github.io/mathml-core/#dfn-mtd) element[MathML `mtext`](https://w3c.github.io/mathml-core/#text-mtext) element[MathML `mtr`](https://w3c.github.io/mathml-core/#dfn-mtr) element[MathML `munder`](https://w3c.github.io/mathml-core/#dfn-munder) element[MathML `munderover`](https://w3c.github.io/mathml-core/#dfn-munderover) element[MathML `semantics`](https://w3c.github.io/mathml-core/#dfn-semantics) element[MathML `accent`](https://w3c.github.io/mathml-core/#dfn-accent) attribute[MathML `accentunder`](https://w3c.github.io/mathml-core/#dfn-accentunder) attribute[MathML `columnspan`](https://w3c.github.io/mathml-core/#dfn-columnspan) attribute[MathML `depth`](https://w3c.github.io/mathml-core/#dfn-depth) attribute[MathML `fence`](https://w3c.github.io/mathml-core/#dfn-fence) attribute[MathML `form`](https://w3c.github.io/mathml-core/#dfn-form) attribute[MathML `height`](https://w3c.github.io/mathml-core/#dfn-height) attribute[MathML `largeop`](https://w3c.github.io/mathml-core/#dfn-largeop) attribute[MathML `lspace`](https://w3c.github.io/mathml-core/#dfn-lspace) attribute[MathML `maxsize`](https://w3c.github.io/mathml-core/#dfn-maxsize) attribute[MathML `minsize`](https://w3c.github.io/mathml-core/#dfn-minsize) attribute[MathML `movablelimits`](https://w3c.github.io/mathml-core/#dfn-movablelimits) attribute[MathML `rowspan`](https://w3c.github.io/mathml-core/#dfn-rowspan) attribute[MathML `rspace`](https://w3c.github.io/mathml-core/#dfn-rspace) attribute[MathML `separator`](https://w3c.github.io/mathml-core/#dfn-separator) attribute[MathML `stretchy`](https://w3c.github.io/mathml-core/#dfn-stretchy) attribute[MathML `symmetric`](https://w3c.github.io/mathml-core/#dfn-symmetric) attribute[MathML `voffset`](https://w3c.github.io/mathml-core/#dfn-voffset) attribute[MathML `width`](https://w3c.github.io/mathml-core/#dfn-width) attribute[MathML `displaystyle`](https://w3c.github.io/mathml-core/#dfn-displaystyle) attribute[MathML `mathbackground`](https://w3c.github.io/mathml-core/#dfn-mathbackground) attribute[MathML `mathcolor`](https://w3c.github.io/mathml-core/#dfn-mathcolor) attribute[MathML `mathsize`](https://w3c.github.io/mathml-core/#dfn-mathsize) attribute[MathML `scriptlevel`](https://w3c.github.io/mathml-core/#dfn-scriptlevel) attribute\n\nSVG\n\nWhile support for SVG as a whole is not required by this specification (though it is\n encouraged, at least for web browsers), certain features depend upon parts of SVG being\n implemented. User agents that implement SVG must implement the SVG 2 specification, and not\n any earlier revisions. The following features are defined in the SVG 2 specification:\n [SVG] [`SVGElement`](https://svgwg.org/svg2-draft/types.html#InterfaceSVGElement) interface[`SVGImageElement`](https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement) interface[`SVGScriptElement`](https://svgwg.org/svg2-draft/interact.html#InterfaceSVGScriptElement) interface[`SVGSVGElement`](https://svgwg.org/svg2-draft/struct.html#InterfaceSVGSVGElement) interface[SVG `a`](https://w3c.github.io/svgwg/svg2-draft/linking.html#elementdef-a) element[SVG `animate`](https://w3c.github.io/svgwg/svg2-draft/animate.html#elementdef-animate) element[SVG `animateTransform`](https://w3c.github.io/svgwg/svg2-draft/animate.html#elementdef-animateTransform) element[SVG `circle`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#elementdef-circle) element[SVG `defs`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-defs) element[SVG `desc`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-desc) element[SVG `ellipse`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#elementdef-ellipse) element[SVG `foreignObject`](https://w3c.github.io/svgwg/svg2-draft/embedded.html#elementdef-foreignObject) element[SVG `g`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-g) element[SVG `image`](https://w3c.github.io/svgwg/svg2-draft/embedded.html#elementdef-image) element[SVG `line`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#elementdef-line) element[SVG `marker`](https://w3c.github.io/svgwg/svg2-draft/painting.html#elementdef-marker) element[SVG `metadata`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-metadata) element[SVG `path`](https://w3c.github.io/svgwg/svg2-draft/paths.html#elementdef-path) element[SVG `polygon`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#elementdef-polygon) element[SVG `polyline`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#elementdef-polyline) element[SVG `rect`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#elementdef-rect) element[SVG `script`](https://w3c.github.io/svgwg/svg2-draft/interact.html#elementdef-script) element[SVG `set`](https://w3c.github.io/svgwg/svg2-draft/animate.html#elementdef-set) element[SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg) element[SVG `text`](https://w3c.github.io/svgwg/svg2-draft/text.html#elementdef-text) element[SVG `textPath`](https://w3c.github.io/svgwg/svg2-draft/text.html#elementdef-textPath) element[SVG `title`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-title) element[SVG `tspan`](https://w3c.github.io/svgwg/svg2-draft/text.html#elementdef-tspan) element[SVG `use`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-use) element[SVG `action`](https://w3c.github.io/svgwg/svg2-draft/interact.html) attribute[SVG `attributeName`](https://w3c.github.io/svgwg/specs/animations/#AttributeNameAttribute) attribute[SVG `cx`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#CxProperty) attribute[SVG `cy`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#CyProperty) attribute[SVG `d`](https://w3c.github.io/svgwg/svg2-draft/paths.html#DProperty) attribute[SVG `dx`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextElementDXAttribute) attribute[SVG `dy`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextElementDYAttribute) attribute[SVG `formaction`](https://w3c.github.io/svgwg/svg2-draft/interact.html) attribute[SVG `height`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#HeightProperty) attribute[SVG `href`](https://w3c.github.io/svgwg/svg2-draft/linking.html#AElementHrefAttribute) attribute[SVG `hreflang`](https://w3c.github.io/svgwg/svg2-draft/linking.html#AElementHreflangAttribute) attribute[SVG `lengthAdjust`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextElementLengthAdjustAttribute) attribute[SVG `markerHeight`](https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerHeightAttribute) attribute[SVG `markerUnits`](https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerUnitsAttribute) attribute[SVG `markerWidth`](https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerWidthAttribute) attribute[SVG `method`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementMethodAttribute) attribute[SVG `orient`](https://w3c.github.io/svgwg/svg2-draft/painting.html#OrientAttribute) attribute[SVG `path` attribute](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementPathAttribute)[SVG `pathLength`](https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthAttribute) attribute[SVG `points`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#PointsAttribute) attribute[SVG `preserveAspectRatio`](https://w3c.github.io/svgwg/svg2-draft/coords.html#PreserveAspectRatioAttribute) attribute[SVG `r`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#RProperty) attribute[SVG `refX`](https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerElementRefXAttribute) attribute[SVG `refY`](https://w3c.github.io/svgwg/svg2-draft/painting.html#MarkerElementRefYAttribute) attribute[SVG `rotate`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextElementRotateAttribute) attribute[SVG `rx`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#RxProperty) attribute[SVG `ry`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#RyProperty) attribute[SVG `side`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementSideAttribute) attribute[SVG `spacing`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementSpacingAttribute) attribute[SVG `startOffset`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextPathElementStartOffsetAttribute) attribute[SVG `textLength`](https://w3c.github.io/svgwg/svg2-draft/text.html#TextElementTextLengthAttribute) attribute[SVG `type`](https://w3c.github.io/svgwg/svg2-draft/linking.html#AElementTypeAttribute) attribute[SVG `viewBox`](https://w3c.github.io/svgwg/svg2-draft/coords.html#ViewBoxAttribute) attribute[SVG `width`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#WidthProperty) attribute[SVG `x`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#XProperty) attribute[SVG `x1`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#LineElementX1Attribute) attribute[SVG `x2`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#LineElementX2Attribute) attribute[SVG `y`](https://w3c.github.io/svgwg/svg2-draft/geometry.html#YProperty) attribute[SVG `y1`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#LineElementY1Attribute) attribute[SVG `y2`](https://w3c.github.io/svgwg/svg2-draft/shapes.html#LineElementY2Attribute) attribute[SVG `text-rendering`](https://svgwg.org/svg2-draft/painting.html#TextRendering) property[SVG `alignment-baseline`](https://drafts.csswg.org/css-inline-3/#propdef-alignment-baseline) property[SVG `baseline-shift`](https://drafts.csswg.org/css-inline-3/#propdef-baseline-shift) property[SVG `clip-path`](https://drafts.fxtf.org/css-masking-1/#propdef-clip-path) property[SVG `clip-rule`](https://drafts.fxtf.org/css-masking-1/#propdef-clip-rule) property[SVG `color`](https://drafts.csswg.org/css-color-4/#propdef-color) property[SVG `color-interpolation`](https://svgwg.org/svg2-draft/painting.html#ColorInterpolationProperty) property[SVG `cursor`](https://drafts.csswg.org/css-ui-4/#propdef-cursor) property[SVG `direction`](https://drafts.csswg.org/css-writing-modes-4/#propdef-direction) property[SVG `display`](https://drafts.csswg.org/css-display-4/#propdef-display) property[SVG `dominant-baseline`](https://drafts.csswg.org/css-inline-3/#propdef-dominant-baseline) property[SVG `fill`](https://svgwg.org/svg2-draft/painting.html#FillProperty) property[SVG `fill-opacity`](https://svgwg.org/svg2-draft/painting.html#FillOpacityProperty) property[SVG `fill-rule`](https://svgwg.org/svg2-draft/painting.html#FillRuleProperty) property[SVG `font-family`](https://drafts.csswg.org/css-fonts-4/#propdef-font-family) property[SVG `font-size`](https://drafts.csswg.org/css-fonts-4/#propdef-font-size) property[SVG `font-size-adjust`](https://drafts.csswg.org/css-fonts-5/#propdef-font-size-adjust) property[SVG `font-stretch`](https://drafts.csswg.org/css-fonts-4/#propdef-font-stretch) property[SVG `font-style`](https://drafts.csswg.org/css-fonts-4/#propdef-font-style) property[SVG `font-variant`](https://drafts.csswg.org/css-fonts-4/#propdef-font-variant) property[SVG `font-weight`](https://drafts.csswg.org/css-fonts-4/#propdef-font-weight) property[SVG `letter-spacing`](https://drafts.csswg.org/css-text-4/#propdef-letter-spacing) property[SVG `marker-end`](https://svgwg.org/svg2-draft/painting.html#MarkerEndProperty) property[SVG `marker-mid`](https://svgwg.org/svg2-draft/painting.html#MarkerMidProperty) property[SVG `marker-start`](https://svgwg.org/svg2-draft/painting.html#MarkerStartProperty) property[SVG `opacity`](https://drafts.csswg.org/css-color-4/#propdef-opacity) property[SVG `paint-order`](https://svgwg.org/svg2-draft/painting.html#PaintOrderProperty) property[SVG `pointer-events`](https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty) property[SVG `shape-rendering`](https://svgwg.org/svg2-draft/painting.html#ShapeRenderingProperty) property[SVG `stop-color`](https://svgwg.org/svg2-draft/pservers.html#StopColorProperty) property[SVG `stop-opacity`](https://svgwg.org/svg2-draft/pservers.html#StopOpacityProperty) property[SVG `stroke`](https://svgwg.org/svg2-draft/painting.html#StrokeProperty) property[SVG `stroke-dasharray`](https://svgwg.org/svg2-draft/painting.html#StrokeDasharrayProperty) property[SVG `stroke-dashoffset`](https://svgwg.org/svg2-draft/painting.html#StrokeDashoffsetProperty) property[SVG `stroke-linecap`](https://svgwg.org/svg2-draft/painting.html#StrokeLinecapProperty) property[SVG `stroke-linejoin`](https://svgwg.org/svg2-draft/painting.html#StrokeLinejoinProperty) property[SVG `stroke-miterlimit`](https://svgwg.org/svg2-draft/painting.html#StrokeMiterlimitProperty) property[SVG `stroke-opacity`](https://svgwg.org/svg2-draft/painting.html#StrokeOpacityProperty) property[SVG `stroke-width`](https://svgwg.org/svg2-draft/painting.html#StrokeWidthProperty) property[SVG `text-anchor`](https://svgwg.org/svg2-draft/text.html#TextAnchorProperty) property[SVG `text-decoration`](https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration) property[SVG `text-overflow`](https://drafts.csswg.org/css-ui-3/#propdef-text-overflow) property[SVG `transform`](https://drafts.csswg.org/css-transforms-1/#propdef-transform) property[SVG `transform-origin`](https://drafts.csswg.org/css-transforms-1/#propdef-transform-origin) property[SVG `unicode-bidi`](https://drafts.csswg.org/css-writing-modes-4/#propdef-unicode-bidi) property[SVG `vector-effect`](https://svgwg.org/svg2-draft/coords.html#VectorEffectProperty) property[SVG `visibility`](https://drafts.csswg.org/css-display-4/#propdef-visibility) property[SVG `white-space`](https://drafts.csswg.org/css-text-4/#propdef-white-space) property[SVG `word-spacing`](https://drafts.csswg.org/css-text-4/#propdef-word-spacing) property[SVG `writing-mode`](https://drafts.csswg.org/css-writing-modes-4/#propdef-writing-mode) property\n\nFilter Effects\n\nThe following features are defined in Filter Effects: [FILTERS] [](https://drafts.csswg.org/filter-effects/#typedef-filter-value-list)\n\nCompositing\n\nThe following features are defined in Compositing and Blending:\n [COMPOSITE] [](https://drafts.csswg.org/compositing/#ltblendmodegt)[](https://drafts.csswg.org/compositing/#compositemode)[source-over](https://drafts.csswg.org/compositing/#porterduffcompositingoperators_srcover)[copy](https://drafts.csswg.org/compositing/#porterduffcompositingoperators_src)\n\nCooperative Scheduling of Background Tasks\n\nThe following features are defined in Cooperative Scheduling of Background\n Tasks: [REQUESTIDLECALLBACK] [`requestIdleCallback()`](https://w3c.github.io/requestidlecallback/#the-requestidlecallback-method)[start an idle period algorithm](https://w3c.github.io/requestidlecallback/#start-an-idle-period-algorithm)\n\nScreen Orientation\n\nThe following terms are defined in Screen Orientation:\n [SCREENORIENTATION] [screen orientation change steps](https://w3c.github.io/screen-orientation/#dfn-screen-orientation-change-steps)\n\nStorage\n\nThe following terms are defined in Storage: [STORAGE] [storage key](https://storage.spec.whatwg.org/#storage-key)[obtain a local storage bottle map](https://storage.spec.whatwg.org/#obtain-a-local-storage-bottle-map)[obtain a session storage bottle map](https://storage.spec.whatwg.org/#obtain-a-session-storage-bottle-map)[obtain a storage key for non-storage purposes](https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purposes)[storage key equal](https://storage.spec.whatwg.org/#storage-key-equal)[storage proxy map](https://storage.spec.whatwg.org/#storage-proxy-map)[legacy-clone a traversable storage shed](https://storage.spec.whatwg.org/#legacy-clone-a-traversable-storage-shed)\n\nWeb App Manifest\n\nThe following features are defined in Web App Manifest: [MANIFEST] [application manifest](https://w3c.github.io/manifest/#dfn-manifest)[installed web application](https://w3c.github.io/manifest/#dfn-installed-web-application)[process the manifest](https://w3c.github.io/manifest/#dfn-processing-a-manifest)\n\nWebAssembly JavaScript Interface: ESM Integration\n\nThe following terms are defined in WebAssembly JavaScript Interface: ESM Integration: [WASMESM] [WebAssembly Module Record](https://webassembly.github.io/esm-integration/js-api/index.html#webassembly-module-record)[parse a WebAssembly module](https://webassembly.github.io/esm-integration/js-api/index.html#parse-a-webassembly-module)\n\nWebCodecs\n\nThe following features are defined in WebCodecs: [WEBCODECS] [`VideoFrame`](https://w3c.github.io/webcodecs/#videoframe-interface) interface.[[[display width]]](https://w3c.github.io/webcodecs/#dom-videoframe-display-width-slot)[[[display height]]](https://w3c.github.io/webcodecs/#dom-videoframe-display-height-slot)\n\nWebDriver\n\nThe following terms are defined in WebDriver: [WEBDRIVER] [extension command](https://w3c.github.io/webdriver/#dfn-extension-commands)[remote end steps](https://w3c.github.io/webdriver/#dfn-remote-end-steps)[WebDriver error](https://w3c.github.io/webdriver/#dfn-errors)[WebDriver error code](https://w3c.github.io/webdriver/#dfn-error-code)[invalid argument](https://w3c.github.io/webdriver/#dfn-invalid-argument)[getting a property](https://w3c.github.io/webdriver/#dfn-getting-properties)[success](https://w3c.github.io/webdriver/#dfn-success)[WebDriver's security considerations](https://w3c.github.io/webdriver/#security)[current browsing context](https://w3c.github.io/webdriver/#dfn-current-browsing-context)\n\nWebDriver BiDi\n\nThe following terms are defined in WebDriver BiDi: [WEBDRIVERBIDI] [download behavior allowed](https://w3c.github.io/webdriver-bidi/#download-behavior-struct-allowed)[download behavior destination folder](https://w3c.github.io/webdriver-bidi/#download-behavior-struct-destination-folder)[WebDriver BiDi download end](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-download-end)[WebDriver BiDi download will begin](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-download-will-begin)[WebDriver BiDi fragment navigated](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-fragment-navigated)[WebDriver BiDi DOM content loaded](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-dom-content-loaded)[WebDriver BiDi load complete](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-load-complete)[WebDriver BiDi history updated](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-history-updated)[WebDriver BiDi navigable created](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-navigable-created)[WebDriver BiDi navigable destroyed](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-navigable-destroyed)[WebDriver BiDi user prompt closed](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed)[WebDriver BiDi user prompt opened](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened)[WebDriver BiDi file dialog opened](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened)[WebDriver BiDi emulated language](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-emulated-language)[WebDriver BiDi scripting is enabled](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-scripting-is-enabled)\n\nWeb Cryptography API\n\nThe following terms are defined in Web Cryptography API:\n [WEBCRYPTO] [generating a random UUID](https://w3c.github.io/webcrypto/#dfn-generate-a-random-uuid)\n\nWebSockets\n\nThe following terms are defined in WebSockets: [WEBSOCKETS] [`WebSocket`](https://websockets.spec.whatwg.org/#websocket)[make disappear](https://websockets.spec.whatwg.org/#make-disappear)\n\nWebTransport\n\nThe following terms are defined in WebTransport: [WEBTRANSPORT] [`WebTransport`](https://w3c.github.io/webtransport/#webtransport)[`context cleanup steps`](https://w3c.github.io/webtransport/#context-cleanup-steps)\n\nWeb Authentication: An API for accessing Public Key Credentials\n\nThe following terms are defined in Web Authentication: An API for accessing Public Key\n Credentials: [WEBAUTHN] [public key credential](https://w3c.github.io/webauthn/#public-key-credential)\n\nCredential Management\n\nThe following terms are defined in Credential Management: [CREDMAN] [conditional mediation](https://w3c.github.io/webappsec-credential-management/#dom-credentialmediationrequirement-conditional)[credential](https://w3c.github.io/webappsec-credential-management/#credential)[`navigator.credentials.get()`](https://w3c.github.io/webappsec-credential-management/#dom-credentialscontainer-get)\n\nConsole\n\nThe following terms are defined in Console: [CONSOLE] [report a warning to the console](https://console.spec.whatwg.org/#report-a-warning-to-the-console)\n\nWeb Locks API\n\nThe following terms are defined in Web Locks API: [WEBLOCKS] [locks](https://w3c.github.io/web-locks/#lock-concept)[lock requests](https://w3c.github.io/web-locks/#lock-request)\n\nTrusted Types\n\nThis specification uses the following features defined in Trusted Types:\n [TRUSTED-TYPES] [`TrustedHTML`](https://w3c.github.io/trusted-types/dist/spec/#trustedhtml)[data](https://w3c.github.io/trusted-types/dist/spec/#trustedhtml-data)[`TrustedScript`](https://w3c.github.io/trusted-types/dist/spec/#trusted-script)[`data`](https://w3c.github.io/trusted-types/dist/spec/#trustedscript-data)[`TrustedScriptURL`](https://w3c.github.io/trusted-types/dist/spec/#trustedscripturl)[get trusted type compliant string](https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-string)\n\nWebRTC API\n\nThe following terms are defined in WebRTC API: [WEBRTC] [`RTCDataChannel`](https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel)[`RTCPeerConnection`](https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection)\n\nPicture-in-Picture API\n\nThe following terms are defined in Picture-in-Picture API: [PICTUREINPICTURE] [`PictureInPictureWindow`](https://w3c.github.io/picture-in-picture/#pictureinpicturewindow)\n\nIdle Detection API\n\nThe following terms are defined in Idle Detection API: [`IdleDetector`](https://wicg.github.io/idle-detection/#idledetector)\n\nWeb Speech API\n\nThe following terms are defined in Web Speech API: [`SpeechRecognition`](https://wicg.github.io/speech-api/#speechrecognition)\n\nWebOTP API\n\nThe following terms are defined in WebOTP API: [`OTPCredential`](https://wicg.github.io/web-otp/#otpcredential)\n\nWeb Share API\n\nThe following terms are defined in Web Share API:\n\nWeb Smart Card API\n\nThe following terms are defined in Web Smart Card API: [`SmartCardConnection`](https://wicg.github.io/web-smart-card/#dom-smartcardconnection)\n\nWeb Background Synchronization\n\nThe following terms are defined in Web Background Synchronization: [`SyncManager`](https://wicg.github.io/background-sync/spec/#syncmanager)[`register()`](https://wicg.github.io/background-sync/spec/#dom-syncmanager-register)\n\nWeb Periodic Background Synchronization\n\nThe following terms are defined in Web Periodic Background Synchronization: [`PeriodicSyncManager`](https://wicg.github.io/periodic-background-sync/#periodicsyncmanager)[`register()`](https://wicg.github.io/periodic-background-sync/#dom-periodicsyncmanager-register)\n\nWeb Background Fetch\n\nThe following terms are defined in Background Fetch: [`BackgroundFetchManager`](https://wicg.github.io/background-fetch/#backgroundfetchmanager)[`fetch()`](https://wicg.github.io/background-fetch/#dom-backgroundfetchmanager-fetch)\n\nKeyboard Lock\n\nThe following terms are defined in Keyboard Lock: [`Keyboard`](https://wicg.github.io/keyboard-lock/#keyboard)[`lock()`](https://wicg.github.io/keyboard-lock/#dom-keyboard-lock)\n\nWeb MIDI API\n\nThe following terms are defined in Web MIDI API: [`requestMIDIAccess()`](https://webaudio.github.io/web-midi-api/#dom-navigator-requestmidiaccess)\n\nGeneric Sensor API\n\nThe following terms are defined in Generic Sensor API: [request sensor access](https://w3c.github.io/sensors/#request-sensor-access)\n\nWebHID API\n\nThe following terms are defined in WebHID API: [`requestDevice`](https://wicg.github.io/webhid/#requestdevice-method)\n\nWebXR Device API\n\nThe following terms are defined in WebXR Device API: [`XRSystem`](https://immersive-web.github.io/webxr/#xrsystem)\n\n---\n\nThis specification does not *require* support of any particular network protocol, style\n sheet language, scripting language, or any of the DOM specifications beyond those required in the\n list above. However, the language described by this specification is biased towards CSS as the\n styling language, JavaScript as the scripting language, and HTTP as the network protocol, and\n several features assume that those languages and protocols are in use.\n\nA user agent that implements the HTTP protocol must implement HTTP State Management\n Mechanism (Cookies) as well. [HTTP] [COOKIES]\n\nThis specification might have certain additional requirements on character\n encodings, image formats, audio formats, and video formats in the respective sections.\n\n#### 2.1.10 Extensibility\n\nVendor-specific proprietary user agent extensions to this specification are strongly\n discouraged. Documents must not use such extensions, as doing so reduces interoperability and\n fragments the user base, allowing only users of specific user agents to access the content in\n question.\n\nAll extensions must be defined so that the use of extensions neither contradicts nor causes the\n non-conformance of functionality defined in the specification.\n\nFor example, while strongly discouraged from doing so, an implementation could add a new IDL\n attribute \"`typeTime`\" to a control that returned the time it took the user\n to select the current value of a control (say). On the other hand, defining a new control that\n appears in a form's `elements` array would be in violation\n of the above requirement, as it would violate the definition of `elements` given in this specification.\n\n---\n\nWhen vendor-neutral extensions to this specification are needed, either this specification can\n be updated accordingly, or an extension specification can be written that overrides the\n requirements in this specification. When someone applying this specification to their activities\n decides that they will recognize the requirements of such an extension specification, it becomes\n an applicable specification for the purposes\n of conformance requirements in this specification.\n\nSomeone could write a specification that defines any arbitrary byte stream as\n conforming, and then claim that their random junk is conforming. However, that does not mean that\n their random junk actually is conforming for everyone's purposes: if someone else decides that\n that specification does not apply to their work, then they can quite legitimately say that the\n aforementioned random junk is just that, junk, and not conforming at all. As far as conformance\n goes, what matters in a particular community is what that community *agrees* is\n applicable.\n\n---\n\nUser agents must treat elements and attributes that they do not understand as semantically\n neutral; leaving them in the DOM (for DOM processors), and styling them according to CSS (for CSS\n processors), but not inferring any meaning from them.\n\nWhen support for a feature is disabled (e.g. as an emergency measure to mitigate a security\n problem, or to aid in development, or for performance reasons), user agents must act as if they\n had no support for the feature whatsoever, and as if the feature was not mentioned in this\n specification. For example, if a particular feature is accessed via an attribute in a Web IDL\n interface, the attribute itself would be omitted from the objects that implement that interface\n — leaving the attribute on the object but making it return null or throw an exception is\n insufficient.\n\n#### 2.1.11 Interactions with XPath and XSLT\n\nAvoid using client-side XSLT in browsers. The browser implementations of XSLT\n are highly susceptible to memory safety vulnerabilities, and the web platform has evolved toward\n JavaScript as the safe replacement. For these reasons, this feature is in the process of being\n removed from the web platform. (This is a long process that takes many years.)\n\nImplementations of XPath 1.0 that operate on [HTML\n documents](https://dom.spec.whatwg.org/#html-document) parsed or created in the manners described in this specification (e.g. as part of\n the `document.evaluate()` API) must act as if the following edit was applied\n to the XPath 1.0 specification.\n\nFirst, remove this paragraph:\n\n> A [QName](https://www.w3.org/TR/REC-xml-names/#NT-QName) in the node test is expanded\n> into an [expanded-name](https://www.w3.org/TR/1999/REC-xpath-19991116/#dt-expanded-name)\n> using the namespace declarations from the expression context. This is the same way expansion is\n> done for element type names in start and end-tags except that the default namespace declared with\n> `xmlns` is not used: if the [QName](https://www.w3.org/TR/REC-xml-names/#NT-QName) does not have a prefix, then the\n> namespace URI is null (this is the same way attribute names are expanded). It is an error if the\n> [QName](https://www.w3.org/TR/REC-xml-names/#NT-QName) has a prefix for which there is\n> no namespace declaration in the expression context.\n\nThen, insert in its place the following:\n\n> A QName in the node test is expanded into an expanded-name using the namespace declarations\n> from the expression context. If the QName has a prefix, then there must be a namespace declaration for this prefix in\n> the expression context, and the corresponding namespace URI is the one that is\n> associated with this prefix. It is an error if the QName has a prefix for which there is no\n> namespace declaration in the expression context.\n> \n> If the QName has no prefix and the principal node type of the axis is element, then the\n> default element namespace is used. Otherwise, if the QName has no prefix, the namespace URI is\n> null. The default element namespace is a member of the context for the XPath expression. The\n> value of the default element namespace when executing an XPath expression through the DOM3 XPath\n> API is determined in the following way:\n> \n> 1. If the context node is from an HTML DOM, the default element namespace is\n> \"http://www.w3.org/1999/xhtml\".\n> 2. Otherwise, the default element namespace URI is null.\n> \n> This is equivalent to adding the default element namespace feature of XPath 2.0\n> to XPath 1.0, and using the HTML namespace as the default element namespace for HTML documents.\n> It is motivated by the desire to have implementations be compatible with legacy HTML content\n> while still supporting the changes that this specification introduces to HTML regarding the\n> namespace used for HTML elements, and by the desire to use XPath 1.0 rather than XPath 2.0.\n\nThis change is a [willful violation](https://infra.spec.whatwg.org/#willful-violation) of the XPath 1.0 specification,\n motivated by desire to have implementations be compatible with legacy content while still\n supporting the changes that this specification introduces to HTML regarding which namespace is\n used for HTML elements. [XPATH10]\n\n---\n\nXSLT 1.0 processors outputting to a DOM when the output\n method is \"html\" (either explicitly or via the defaulting rule in XSLT 1.0) are affected as\n follows:\n\nIf the transformation program outputs an element in no namespace, the processor must, prior to\n constructing the corresponding DOM element node, change the namespace of the element to the\n [HTML namespace](https://infra.spec.whatwg.org/#html-namespace), [ASCII-lowercase](https://infra.spec.whatwg.org/#ascii-lowercase) the\n element's local name, and [ASCII-lowercase](https://infra.spec.whatwg.org/#ascii-lowercase) the\n names of any non-namespaced attributes on the element.\n\nThis requirement is a [willful violation](https://infra.spec.whatwg.org/#willful-violation) of the XSLT 1.0\n specification, required because this specification changes the namespaces and case-sensitivity\n rules of HTML in a manner that would otherwise be incompatible with DOM-based XSLT\n transformations. (Processors that serialize the output are unaffected.) [XSLT10]\n\n---\n\nThis specification does not specify precisely how XSLT processing interacts with the HTML\n parser infrastructure (for example, whether an XSLT processor acts as if it puts any\n elements into a stack of open elements). However, XSLT processors must stop\n parsing if they successfully complete, and must update the current document\n readiness first to \"`interactive`\" and then to \"`complete`\" if they are aborted.\n\n---\n\nThis specification does not specify how XSLT interacts with the navigation algorithm, how it fits in with the event loop, nor\n how error pages are to be handled (e.g. whether XSLT errors are to replace an incremental XSLT\n output, or are rendered inline, etc.).\n\nThere are also additional non-normative comments regarding the interaction of XSLT\n and HTML in the `script` element section, and of\n XSLT, XPath, and HTML in the `template` element\n section.\n\n### 2.2 Policy-controlled features\n\n[Headers/Permissions-Policy/document-domain](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/document-domain)\n\nSupport in one engine only.\n\nFirefox🔰 74+ SafariNo Chrome🔰 88+\n\n---\n\nOpera? Edge🔰 88+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome AndroidNo WebView Android? Samsung Internet? Opera Android?\n\nThis document defines the following [policy-controlled features](https://w3c.github.io/webappsec-feature-policy/#policy-controlled-feature):\n\n[Headers/Feature-Policy/autoplay](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy/autoplay)\n\nFirefox🔰 74+ SafariNo Chrome64+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Headers/Permissions-Policy/autoplay](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/autoplay)\n\nSupport in one engine only.\n\nFirefox🔰 74+ SafariNo Chrome88+\n\n---\n\nOpera? Edge88+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n- \" `autoplay` \", which has a [default allowlist](https://w3c.github.io/webappsec-feature-policy/#default-allowlist) of `'self'` .\n- \" `cross-origin-isolated` \", which has a [default allowlist](https://w3c.github.io/webappsec-feature-policy/#default-allowlist) of `'self'` .\n- \" `focus-without-user-activation` \", which has a [default allowlist](https://w3c.github.io/webappsec-feature-policy/#default-allowlist) of `'self'` .\n\n### 2.3 Common microsyntaxes\n\nThere are various places in HTML that accept particular data types, such as dates or numbers.\n This section describes what the conformance criteria for content in those formats is, and how to\n parse them.\n\nImplementers are strongly urged to carefully examine any third-party libraries\n they might consider using to implement the parsing of syntaxes described below. For example, date\n libraries are likely to implement error handling behavior that differs from what is required in\n this specification, since error-handling behavior is often not defined in specifications that\n describe date syntaxes similar to those used in this specification, and thus implementations tend\n to vary greatly in how they handle errors.\n\n#### 2.3.1 Common parser idioms\n\nSome of the micro-parsers described below follow the pattern of having an input\n variable that holds the string being parsed, and having a position variable pointing at\n the next character to parse in input.\n\n#### 2.3.2 Boolean attributes\n\nA number of attributes are boolean attributes. The\n presence of a boolean attribute on an element represents the true value, and the absence of the\n attribute represents the false value.\n\nIf the attribute is present, its value must either be the empty string or a value that is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the attribute's canonical name, with no leading or\n trailing whitespace.\n\nThe values \"true\" and \"false\" are not allowed on boolean attributes. To represent\n a false value, the attribute has to be omitted altogether.\n\nHere is an example of a checkbox that is checked and disabled. The `checked` and `disabled`\n attributes are the boolean attributes.\n\n```\n\n```\n\nThis could be equivalently written as this:\n\n```\n\n```\n\nYou can also mix styles; the following is still equivalent:\n\n```\n\n```\n\n#### 2.3.3 Keywords and enumerated attributes\n\nSome attributes, called enumerated attributes, take on a finite set of states. The state for such an\n attribute is derived by combining the attribute's value, a set of keyword/state mappings, and\n three possible special states that can also be given in the specification of the attribute. These\n special states are the *invalid value default*, the *missing value\n default*, and the *empty value default*.\n\nMultiple keywords can map to the same state.\n\nTo determine the state of an attribute, use the following steps:\n\n1. If the attribute is not specified:\n 1. If the attribute has a *missing value default*\n state defined, then return that *missing value default*\n state.\n 2. Otherwise, return no state.\n2. If the attribute's value is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for one of the\n keywords defined for the attribute, then return the state represented by that keyword.\n3. If the attribute has an *empty value default* state\n defined and the attribute's value is the empty string, then return that *empty value default* state.\n4. If the attribute has an *invalid value default* state\n defined, then return that *invalid value default*\n state.\n5. Return no state.\n\nFor authoring conformance purposes, if an enumerated attribute is specified, the attribute's\n value must be one of:\n\n- An [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for one of the conforming keywords for that\n attribute, with no leading or trailing whitespace.\n- The empty string and the attribute must have an *empty\n value default* defined.\n\nFor reflection purposes, states which have any keywords mapping\n to them are said to have a canonical keyword. This is determined as follows:\n\n1. If there is only one keyword mapping to the given state, then it is that keyword.\n2. If there is only one *conforming* keyword mapping to the given state, then it is\n that conforming keyword.\n3. If there are two conforming keywords mapping to the given state, and one is the empty\n string, then the canonical keyword will be the conforming keyword that is not the empty\n string.\n4. Otherwise, the canonical keyword for the state will be explicitly given in the\n specification for the attribute.\n\n#### 2.3.4 Numbers\n\n##### 2.3.4.1 Signed integers\n\nA string is a valid integer if it consists of one or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit),\n optionally prefixed with a U+002D HYPHEN-MINUS character (-).\n\nA valid integer without a U+002D HYPHEN-MINUS (-) prefix represents the number\n that is represented in base ten by that string of digits. A valid integer *with* a U+002D HYPHEN-MINUS (-) prefix represents the number represented in base ten by\n the string of digits that follows the U+002D HYPHEN-MINUS, subtracted from zero.\n\nThe rules for parsing integers are as given in the following algorithm. When\n invoked, the steps must be followed in the order given, aborting at the first step that returns a\n value. This algorithm will return either an integer or an error.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially pointing at the\n start of the string.\n3. Let sign have the value \"positive\".\n4. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n5. If position is past the end of input, return an error.\n6. If the character indicated by position (the first character) is a U+002D\n HYPHEN-MINUS character (-): Otherwise, if the character indicated by position (the first character) is a\n U+002B PLUS SIGN character (+):\n 1. Let sign be \"negative\".\n 2. Advance position to the next character.\n 3. If position is past the end of input , return an error.\n 1. Advance position to the next character. (The \" `+` \" is\n ignored, but it is not conforming.)\n 2. If position is past the end of input , return an error.\n7. If the character indicated by position is not an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), then return an error.\n8. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position, and interpret the resulting sequence as a base-ten\n integer. Let value be that integer.\n9. If sign is \"positive\", return value, otherwise return the result of\n subtracting value from zero.\n\n##### 2.3.4.2 Non-negative integers\n\nA string is a valid non-negative integer if it consists of one or more [ASCII\n digits](https://infra.spec.whatwg.org/#ascii-digit).\n\nA valid non-negative integer represents the number that is represented in base ten\n by that string of digits.\n\nThe rules for parsing non-negative integers are as given in the following algorithm.\n When invoked, the steps must be followed in the order given, aborting at the first step that\n returns a value. This algorithm will return either zero, a positive integer, or an error.\n\n1. Let input be the string being parsed.\n2. Let value be the result of parsing input using the\n rules for parsing integers.\n3. If value is an error, return an error.\n4. If value is less than zero, return an error.\n5. Return value.\n\n##### 2.3.4.3 Floating-point numbers\n\nA string is a valid floating-point number if it consists of:\n\n1. Optionally, a U+002D HYPHEN-MINUS character (-).\n2. One or both of the following, in the given order:\n 1. A series of one or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit).\n 2. Both of the following, in the given order:\n 1. A single U+002E FULL STOP character (.).\n 2. A series of one or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit).\n3. Optionally:\n 1. Either a U+0065 LATIN SMALL LETTER E character (e) or a U+0045 LATIN CAPITAL LETTER E\n character (E).\n 2. Optionally, a U+002D HYPHEN-MINUS character (-) or U+002B PLUS SIGN character\n (+).\n 3. A series of one or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit).\n\nA valid floating-point number represents the number obtained by multiplying the\n significand by ten raised to the power of the exponent, where the significand is the first number,\n interpreted as base ten (including the decimal point and the number after the decimal point, if\n any, and interpreting the significand as a negative number if the whole string starts with a\n U+002D HYPHEN-MINUS character (-) and the number is not zero), and where the exponent is the\n number after the E, if any (interpreted as a negative number if there is a U+002D HYPHEN-MINUS\n character (-) between the E and the number and the number is not zero, or else ignoring a U+002B\n PLUS SIGN character (+) between the E and the number if there is one). If there is no E, then the\n exponent is treated as zero.\n\nThe Infinity and Not-a-Number (NaN) values are not valid floating-point numbers.\n\nThe valid floating-point number concept is typically only used to\n restrict what is allowed for authors, while the user agent requirements use the rules for\n parsing floating-point number values below (e.g., the `max` attribute of the `progress` element). However, in\n some cases the user agent requirements include checking if a string is a valid\n floating-point number (e.g., the value sanitization algorithm for the Number state of the `input` element, or the\n parse a srcset attribute algorithm).\n\nThe best\n representation of the number n as a floating-point number is the string\n obtained from running [ToString](https://tc39.es/ecma262/#sec-tostring)(n). The abstract operation\n [ToString](https://tc39.es/ecma262/#sec-tostring) is not uniquely determined. When there are multiple possible strings that\n could be obtained from [ToString](https://tc39.es/ecma262/#sec-tostring) for a particular value, the user agent must always\n return the same string for that value (though it may differ from the value used by other user\n agents).\n\nThe rules for parsing floating-point number values are as given in the\n following algorithm. This algorithm must be aborted at the first step that returns something.\n This algorithm will return either a number or an error.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially pointing at the\n start of the string.\n3. Let value have the value 1.\n4. Let divisor have the value 1.\n5. Let exponent have the value 1.\n6. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n7. If position is past the end of input, return an error.\n8. If the character indicated by position is a U+002D HYPHEN-MINUS character (-): Otherwise, if the character indicated by position (the first character) is a\n U+002B PLUS SIGN character (+):\n 1. Change value and divisor to −1.\n 2. Advance position to the next character.\n 3. If position is past the end of input , return an error.\n 1. Advance position to the next character. (The \" `+` \"\n is ignored, but it is not conforming.)\n 2. If position is past the end of input , return an error.\n9. If the character indicated by position is a U+002E FULL STOP (.), and that is\n not the last character in input, and the character after the character indicated by\n position is an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), then set\n value to zero and jump to the step labeled *fraction*.\n10. If the character indicated by position is not an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), then return an error.\n11. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position, and interpret the resulting sequence as a base-ten\n integer. Multiply value by that integer.\n12. If position is past the end of input , jump to the step labeled *conversion* .\n13. *Fraction*: If the character indicated by position is a U+002E\n FULL STOP (.), run these substeps:\n 1. Advance position to the next character.\n 2. If position is past the end of input, or if the character\n indicated by position is not an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit),\n U+0065 LATIN SMALL LETTER E (e), or U+0045 LATIN CAPITAL LETTER E (E), then jump to the step\n labeled *conversion*.\n 3. If the character indicated by position is a U+0065 LATIN SMALL\n LETTER E character (e) or a U+0045 LATIN CAPITAL LETTER E character (E), skip the remainder of\n these substeps.\n 4. *Fraction loop*: Multiply divisor by ten.\n 5. Add the value of the character indicated by position , interpreted as a\n base-ten digit (0..9) and divided by divisor , to value .\n 6. Advance position to the next character.\n 7. If position is past the end of input, then jump to the step\n labeled *conversion*.\n 8. If the character indicated by position is an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), jump back to the step labeled *fraction loop* in these\n substeps.\n14. If the character indicated by position is U+0065 (e) or a U+0045 (E):\n 1. Advance position to the next character.\n 2. If position is past the end of input, then jump to the step\n labeled *conversion*.\n 3. If the character indicated by position is a U+002D HYPHEN-MINUS character\n (-): Otherwise, if the character indicated by position is a U+002B PLUS SIGN\n character (+):\n 1. Change exponent to −1.\n 2. Advance position to the next character.\n 3. If position is past the end of input, then jump to the step\n labeled *conversion*.\n 1. Advance position to the next character.\n 2. If position is past the end of input, then jump to the step\n labeled *conversion*.\n 4. If the character indicated by position is not an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), then jump to the step labeled *conversion*.\n 5. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position, and interpret the resulting sequence as a base-ten\n integer. Multiply exponent by that integer.\n 6. Multiply value by ten raised to the exponentth power.\n15. *Conversion*: Let S be the set of finite IEEE 754 double-precision\n floating-point values except −0, but with two special values added: 21024 and −21024.\n16. Let rounded-value be the number in S that is closest to\n value, selecting the number with an even significand if there are two equally close\n values. (The two special values 21024 and −21024\n are considered to have even significands for this purpose.)\n17. If rounded-value is 21024 or −21024, return an error.\n18. Return rounded-value.\n\n##### 2.3.4.4 Percentages and lengths\n\nThe rules for parsing dimension values are as given in the following algorithm. When\n invoked, the steps must be followed in the order given, aborting at the first step that returns a\n value. This algorithm will return either a number greater than or equal to 0.0, or failure; if a\n number is returned, then it is further categorized as either a percentage or a length.\n\n1. Let input be the string being parsed.\n2. Let position be a [position variable](https://infra.spec.whatwg.org/#string-position-variable) for input,\n initially pointing at the start of input.\n3. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n4. If position is past the end of input or the code point at\n position within input is not an [ASCII\n digit](https://infra.spec.whatwg.org/#ascii-digit), then return failure.\n5. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position, and interpret the resulting sequence as a base-ten\n integer. Let value be that number.\n6. If position is past the end of input, then return value\n as a length.\n7. If the code point at position within input is U+002E (.):\n 1. Advance position by 1.\n 2. If position is past the end of input or the code point at\n position within input is not an [ASCII\n digit](https://infra.spec.whatwg.org/#ascii-digit), then return the current dimension value with value,\n input, and position.\n 3. Let divisor have the value 1.\n 4. While true:\n 1. Multiply divisor by ten.\n 2. Add the value of the code point at position within input,\n interpreted as a base-ten digit (0..9) and divided by divisor, to\n value.\n 3. Advance position by 1.\n 4. If position is past the end of input, then return\n value as a length.\n 5. If the code point at position within input is not an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), then [break](https://infra.spec.whatwg.org/#iteration-break).\n8. Return the current dimension value with value, input,\n and position.\n\nThe current dimension value, given value, input, and\n position, is determined as follows:\n\n1. If position is past the end of input, then return value\n as a length.\n2. If the code point at position within input is U+0025 (%), then\n return value as a percentage.\n3. Return value as a length.\n\n##### 2.3.4.5 Nonzero percentages and lengths\n\nThe rules for parsing nonzero dimension\n values are as given in the following algorithm. When invoked, the steps must be followed in\n the order given, aborting at the first step that returns a value. This algorithm will return\n either a number greater than 0.0, or an error; if a number is returned, then it is further\n categorized as either a percentage or a length.\n\n1. Let input be the string being parsed.\n2. Let value be the result of parsing input using the rules for\n parsing dimension values.\n3. If value is an error, return an error.\n4. If value is zero, return an error.\n5. If value is a percentage, return value as a percentage.\n6. Return value as a length.\n\n##### 2.3.4.6 Lists of floating-point numbers\n\nA valid list of floating-point numbers is a number of valid floating-point numbers separated by U+002C COMMA characters,\n with no other characters (e.g. no [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)). In addition, there might be\n restrictions on the number of floating-point numbers that can be given, or on the range of values\n allowed.\n\nThe rules for parsing a list of floating-point numbers are as follows:\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially pointing at the\n start of the string.\n3. Let numbers be an initially empty list of floating-point numbers. This list\n will be the result of this algorithm.\n4. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace),\n U+002C COMMA, or U+003B SEMICOLON characters from input given position.\n This skips past any leading delimiters.\n5. While position is not past the end of input:\n 1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are not [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), U+002C COMMA, U+003B SEMICOLON, [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), U+002E FULL STOP,\n or U+002D HYPHEN-MINUS characters from input given position. This skips\n past leading garbage.\n 2. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are not [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), U+002C COMMA, or U+003B SEMICOLON characters from input given\n position, and let unparsed number be the result.\n 3. Let number be the result of parsing unparsed number using the\n rules for parsing floating-point number values.\n 4. If number is an error, set number to zero.\n 5. Append number to numbers.\n 6. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace),\n U+002C COMMA, or U+003B SEMICOLON characters from input given position.\n This skips past the delimiter.\n6. Return numbers.\n\n##### 2.3.4.7 Lists of dimensions\n\nThe rules for parsing a list of dimensions are as follows. These rules return a list\n of zero or more pairs consisting of a number and a unit, the unit being one of *percentage*,\n *relative*, and *absolute*.\n\n1. Let raw input be the string being parsed.\n2. If the last character in raw input is a U+002C COMMA character (,),\n then remove that character from raw input.\n3. [Split the string raw input on\n commas](https://infra.spec.whatwg.org/#split-on-commas). Let raw tokens be the resulting list of tokens.\n4. Let result be an empty list of number/unit pairs.\n5. For each token in raw tokens, run the following substeps:\n 1. Let input be the token.\n 2. Let position be a pointer into input,\n initially pointing at the start of the string.\n 3. Let value be the number 0.\n 4. Let unit be *absolute*.\n 5. If position is past the end of input, set unit to *relative* and jump to the last substep.\n 6. If the character at position is an [ASCII digit](https://infra.spec.whatwg.org/#ascii-digit), [collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII\n digits](https://infra.spec.whatwg.org/#ascii-digit) from input given position, interpret the resulting sequence\n as an integer in base ten, and increment value by that integer.\n 7. If the character at position is U+002E (.):\n 1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) consisting of [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) and [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from input given\n position. Let s be the resulting sequence.\n 2. Remove all [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) in s.\n 3. If s is not the empty string:\n 1. Let length be the number of characters in s (after the spaces were removed).\n 2. Let fraction be the result of interpreting s as a base-ten integer, and then dividing that number by 10length.\n 3. Increment value by fraction.\n 8. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n 9. If the character at position is a U+0025 PERCENT SIGN character (%),\n then set unit to *percentage*. Otherwise, if the character at position is a U+002A ASTERISK character\n (*), then set unit to *relative*.\n 10. Add an entry to result consisting of the number given by value and the unit given by unit.\n6. Return the list result.\n\n#### 2.3.5 Dates and times\n\nIn the algorithms below, the number of days in month month of year\n year is: *31* if month is 1, 3, 5, 7, 8,\n 10, or 12; *30* if month is 4, 6, 9, or 11; *29* if month is 2\n and year is a number divisible by 400, or if year is a number divisible by 4\n but not by 100; and *28* otherwise. This takes into account leap years in the Gregorian\n calendar. [GREGORIAN]\n\nWhen [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) are used in the date and time syntaxes defined in this section,\n they express numbers in base ten.\n\nWhile the formats described here are intended to be subsets of the corresponding\n ISO8601 formats, this specification defines parsing rules in much more detail than ISO8601.\n Implementers are therefore encouraged to carefully examine any date parsing libraries before using\n them to implement the parsing rules described below; ISO8601 libraries might not parse dates and\n times in exactly the same manner. [ISO8601]\n\nWhere this specification refers to the proleptic Gregorian calendar, it means the\n modern Gregorian calendar, extrapolated backwards to year 1. A date in the proleptic\n Gregorian calendar, sometimes explicitly referred to as a proleptic-Gregorian\n date, is one that is described using that calendar even if that calendar was not in use at\n the time (or place) in question. [GREGORIAN]\n\nThe use of the Gregorian calendar as the wire format in this specification is an\n arbitrary choice resulting from the cultural biases of those involved in the decision. See also\n the section discussing date, time, and number formats in forms\n (for authors), implementation notes regarding\n localization of form controls, and the `time` element.\n\n##### 2.3.5.1 Months\n\nA month consists of a specific proleptic-Gregorian\n date with no time-zone information and no date information beyond a year and a month.\n [GREGORIAN]\n\nA string is a valid month string representing a year year and\n month month if it consists of the following components in the given order:\n\n1. Four or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing year , where year > 0\n2. A U+002D HYPHEN-MINUS character (-)\n3. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the month month , in the range\n 1 ≤ month ≤ 12\n\nThe rules to parse a month string are as follows. This will return either a year and\n month, or nothing. If at any point the algorithm says that it \"fails\", this means that it is\n aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a month component to obtain year and month. If this returns nothing, then fail.\n4. If position is *not* beyond the\n end of input, then fail.\n5. Return year and month.\n\nThe rules to parse a month component, given an input string and\n a position, are as follows. This will return either a year and a month, or\n nothing. If at any point the algorithm says that it \"fails\", this means that it is aborted at that\n point and returns nothing.\n\n1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not at least four\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let year be that number.\n2. If year is not a number greater than zero, then fail.\n3. If position is beyond the end of input or if the\n character at position is not a U+002D HYPHEN-MINUS character, then fail.\n Otherwise, move position forwards one character.\n4. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let month be that number.\n5. If month is not a number in the range 1 ≤ month ≤ 12, then fail.\n6. Return year and month.\n\n##### 2.3.5.2 Dates\n\nA date consists of a specific proleptic-Gregorian\n date with no time-zone information, consisting of a year, a month, and a day.\n [GREGORIAN]\n\nA string is a valid date string representing a year year, month\n month, and day day if it consists of the following\n components in the given order:\n\n1. A valid month string , representing year and month\n2. A U+002D HYPHEN-MINUS character (-)\n3. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing day , in the range\n 1 ≤ day ≤ maxday where maxday is the number of\n days in the month month and year year\n\nThe rules to parse a date string are as follows. This will return either a date, or\n nothing. If at any point the algorithm says that it \"fails\", this means that it is aborted at that\n point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a date component to obtain year, month, and day. If this returns nothing, then fail.\n4. If position is *not* beyond the end of input, then fail.\n5. Let date be the date with year year, month month, and day day.\n6. Return date.\n\nThe rules to parse a date component, given an input string and a\n position, are as follows. This will return either a year, a month, and a day,\n or nothing. If at any point the algorithm says that it \"fails\", this means that it is aborted at\n that point and returns nothing.\n\n1. Parse a month component to obtain year and month. If this returns nothing, then fail.\n2. Let maxday be the number of days in month month of year year.\n3. If position is beyond the end of input or if the\n character at position is not a U+002D HYPHEN-MINUS character, then fail.\n Otherwise, move position forwards one character.\n4. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let day be that number.\n5. If day is not a number in the range 1 ≤ day ≤ maxday, then fail.\n6. Return year, month, and day.\n\n##### 2.3.5.3 Yearless dates\n\nA yearless date consists of a Gregorian month and a\n day within that month, but with no associated year. [GREGORIAN]\n\nA string is a valid yearless date string representing a month month and a day day if it consists of the following components\n in the given order:\n\n1. Optionally, two U+002D HYPHEN-MINUS characters (-)\n2. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the month month , in the range\n 1 ≤ month ≤ 12\n3. A U+002D HYPHEN-MINUS character (-)\n4. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing day , in the range\n 1 ≤ day ≤ maxday where maxday is the number of\n days in the month month and any arbitrary leap year (e.g. 4 or\n 2000)\n\nIn other words, if the month is \"`02`\",\n meaning February, then the day can be 29, as if the year was a leap year.\n\nThe rules to parse a yearless date string are as follows. This will return either a\n month and a day, or nothing. If at any point the algorithm says that it \"fails\", this means that\n it is aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a yearless date component to obtain month and day. If this returns nothing, then fail.\n4. If position is *not* beyond the end of input, then fail.\n5. Return month and day.\n\nThe rules to parse a yearless date component, given an input\n string and a position, are as follows. This will return either a month and a\n day, or nothing. If at any point the algorithm says that it \"fails\", this means that it is aborted\n at that point and returns nothing.\n\n1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are U+002D HYPHEN-MINUS characters (-)\n from input given position. If the collected sequence is not exactly zero or\n two characters long, then fail.\n2. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let month be that number.\n3. If month is not a number in the range 1 ≤ month ≤ 12, then fail.\n4. Let maxday be the number of days in month month of any arbitrary leap year (e.g. 4\n or 2000).\n5. If position is beyond the end of input or if the\n character at position is not a U+002D HYPHEN-MINUS character, then fail.\n Otherwise, move position forwards one character.\n6. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let day be that number.\n7. If day is not a number in the range 1 ≤ day ≤ maxday, then fail.\n8. Return month and day.\n\n##### 2.3.5.4 Times\n\nA time consists of a specific time with no time-zone\n information, consisting of an hour, a minute, a second, and a fraction of a second.\n\nA string is a valid time string representing an hour hour, a\n minute minute, and a second second if it consists of the\n following components in the given order:\n\n1. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing hour , in the range\n 0 ≤ hour ≤ 23\n2. A U+003A COLON character (:)\n3. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing minute , in the range\n 0 ≤ minute ≤ 59\n4. If second is nonzero, or optionally if second is\n zero:\n 1. A U+003A COLON character (:)\n 2. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the integer part of second ,\n in the range 0 ≤ s ≤ 59\n 3. If second is not an integer, or optionally if second is an integer:\n 1. A U+002E FULL STOP character (.)\n 2. One, two, or three [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the fractional part of second\n\nThe second component cannot be 60 or 61; leap seconds cannot\n be represented.\n\nThe rules to parse a time string are as follows. This will return either a time, or\n nothing. If at any point the algorithm says that it \"fails\", this means that it is aborted at that\n point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a time component to obtain hour, minute, and second. If this returns nothing, then fail.\n4. If position is *not* beyond the end of input, then fail.\n5. Let time be the time with hour hour, minute minute, and second second.\n6. Return time.\n\nThe rules to parse a time component, given an input string and a\n position, are as follows. This will return either an hour, a minute, and a\n second, or nothing. If at any point the algorithm says that it \"fails\", this means that it is\n aborted at that point and returns nothing.\n\n1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let hour be that number.\n2. If hour is not a number in the range 0 ≤ hour ≤ 23, then fail.\n3. If position is beyond the end of input or if the\n character at position is not a U+003A COLON character, then fail. Otherwise,\n move position forwards one character.\n4. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let minute be that number.\n5. If minute is not a number in the range 0 ≤ minute ≤ 59, then fail.\n6. Let second be 0.\n7. If position is not beyond the end of input and the character at\n position is U+003A (:):\n 1. Advance position to the next character in input.\n 2. If position is beyond the end of input, or at\n the last character in input, or if the next *two* characters in input starting at position are not both [ASCII\n digits](https://infra.spec.whatwg.org/#ascii-digit), then fail.\n 3. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are either [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit)\n or U+002E FULL STOP characters from input given position. If the\n collected sequence is three characters long, or if it is longer than three characters long and\n the third character is not a U+002E FULL STOP character, or if it has more than one U+002E FULL\n STOP character, then fail. Otherwise, interpret the resulting sequence as a base-ten number\n (possibly with a fractional part). Set second to that number.\n 4. If second is not a number in the range\n 0 ≤ second < 60, then fail.\n8. Return hour, minute, and second.\n\n##### 2.3.5.5 Local dates and times\n\nA local date and time consists of a specific\n proleptic-Gregorian date, consisting of a year, a month, and a day, and a time,\n consisting of an hour, a minute, a second, and a fraction of a second, but expressed without a\n time zone. [GREGORIAN]\n\nA string is a valid local date and time string representing a date and time if it\n consists of the following components in the given order:\n\n1. A valid date string representing the date\n2. A U+0054 LATIN CAPITAL LETTER T character (T) or a U+0020 SPACE character\n3. A valid time string representing the time\n\nA string is a valid\n normalized local date and time string representing a date and time if it consists of the\n following components in the given order:\n\n1. A valid date string representing the date\n2. A U+0054 LATIN CAPITAL LETTER T character (T)\n3. A valid time string representing the time, expressed as the shortest possible\n string for the given time (e.g. omitting the seconds component entirely if the given time is zero\n seconds past the minute)\n\nThe rules to parse a local date and time string are as follows. This will return\n either a date and time, or nothing. If at any point the algorithm says that it \"fails\", this means\n that it is aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a date component to obtain year, month, and day. If this returns nothing, then fail.\n4. If position is beyond the end of input or if the\n character at position is neither a U+0054 LATIN CAPITAL LETTER T character\n (T) nor a U+0020 SPACE character, then fail. Otherwise, move position\n forwards one character.\n5. Parse a time component to obtain hour, minute, and second. If this returns nothing, then fail.\n6. If position is *not* beyond the end of input, then fail.\n7. Let date be the date with year year, month month, and day day.\n8. Let time be the time with hour hour, minute minute, and second second.\n9. Return date and time.\n\n##### 2.3.5.6 Time zones\n\nA time-zone offset consists of a signed number of hours and\n minutes.\n\nA string is a valid time-zone offset string representing a time-zone offset if it\n consists of either:\n\n- A U+005A LATIN CAPITAL LETTER Z character (Z), allowed only if the time zone is\n UTC\n- Or, the following components, in the given order:\n 1. Either a U+002B PLUS SIGN character (+) or, if the time-zone offset is not zero, a U+002D\n HYPHEN-MINUS character (-), representing the sign of the time-zone offset\n 2. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the hours component hour of\n the time-zone offset, in the range 0 ≤ hour ≤ 23\n 3. Optionally, a U+003A COLON character (:)\n 4. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the minutes component minute of the time-zone offset, in the range 0 ≤ minute ≤ 59\n\nThis format allows for time-zone offsets from -23:59 to +23:59. Right now, in\n practice, the range of offsets of actual time zones is -12:00 to +14:00, and the minutes component\n of offsets of actual time zones is always either 00, 30, or 45. There is no guarantee that this\n will remain so forever, however, since time zones are used as political footballs and are thus\n subject to very whimsical policy decisions.\n\nSee also the usage notes and examples in the global\n date and time section below for details on using time-zone offsets with historical times\n that predate the formation of formal time zones.\n\nThe rules to parse a time-zone offset string are as follows. This will return either\n a time-zone offset, or nothing. If at any point the algorithm says that it \"fails\", this means\n that it is aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a time-zone offset component to obtain timezonehours and timezoneminutes. If this\n returns nothing, then fail.\n4. If position is *not* beyond the end of input, then fail.\n5. Return the time-zone offset that is timezonehours\n hours and timezoneminutes minutes from UTC.\n\nThe rules to parse a time-zone offset component, given an input\n string and a position, are as follows. This will return either time-zone hours\n and time-zone minutes, or nothing. If at any point the algorithm says that it \"fails\", this means\n that it is aborted at that point and returns nothing.\n\n1. If the character at position is a U+005A LATIN CAPITAL LETTER Z character\n (Z): Otherwise, if the character at position is either a U+002B PLUS SIGN (+)\n or a U+002D HYPHEN-MINUS (-): Otherwise, fail.\n 1. Let timezonehours be 0.\n 2. Let timezoneminutes be 0.\n 3. Advance position to the next character in input.\n 1. If the character at position is a U+002B PLUS SIGN (+), let sign be \"positive\". Otherwise, it's a U+002D HYPHEN-MINUS (-); let sign be \"negative\".\n 2. Advance position to the next character in input.\n 3. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. Let s be the collected\n sequence.\n 4. If s is exactly two characters long: If s is exactly four characters long: Otherwise, fail.\n 1. Interpret s as a base-ten integer. Let timezonehours be that number.\n 2. If position is beyond the end of input or if\n the character at position is not a U+003A COLON character, then fail.\n Otherwise, move position forwards one character.\n 3. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten\n integer. Let timezoneminutes be that number.\n 1. Interpret the first two characters of s as a base-ten integer. Let\n timezonehours be that number.\n 2. Interpret the last two characters of s as a base-ten integer. Let\n timezoneminutes be that number.\n 5. If timezonehours is not a number in the range\n 0 ≤ timezonehours ≤ 23, then\n fail.\n 6. If sign is \"negative\", then negate timezonehours .\n 7. If timezoneminutes is not a number in the range\n 0 ≤ timezoneminutes ≤ 59,\n then fail.\n 8. If sign is \"negative\", then negate timezoneminutes .\n2. Return timezonehours and timezoneminutes.\n\n##### 2.3.5.7 Global dates and times\n\nA global date and time consists of a specific\n proleptic-Gregorian date, consisting of a year, a month, and a day, and a time,\n consisting of an hour, a minute, a second, and a fraction of a second, expressed with a time-zone\n offset, consisting of a signed number of hours and minutes. [GREGORIAN]\n\nA string is a valid global date and time string representing a date, time, and a\n time-zone offset if it consists of the following components in the given order:\n\n1. A valid date string representing the date\n2. A U+0054 LATIN CAPITAL LETTER T character (T) or a U+0020 SPACE character\n3. A valid time string representing the time\n4. A valid time-zone offset string representing the time-zone offset\n\nTimes in dates before the formation of UTC in the mid-twentieth century must be expressed and\n interpreted in terms of UT1 (contemporary Earth solar time at the 0° longitude), not UTC (the\n approximation of UT1 that ticks in SI seconds). Time before the formation of time zones must be\n expressed and interpreted as UT1 times with explicit time zones that approximate the contemporary\n difference between the appropriate local time and the time observed at the location of Greenwich,\n London.\n\nThe following are some examples of dates written as valid global date and time strings.\n\n\"`0037-12-13 00:00Z`\"\n\nMidnight in areas using London time on the birthday of Nero (the Roman Emperor). See below\n for further discussion on which date this actually corresponds to.\n\n\"`1979-10-14T12:00:00.001-04:00`\"\n\nOne millisecond after noon on October 14th 1979, in the time zone in use on the east coast\n of the USA during daylight saving time.\n\n\"`8592-01-01T02:09+02:09`\"\n\nMidnight UTC on the 1st of January, 8592. The time zone associated with that time is two\n hours and nine minutes ahead of UTC, which is not currently a real time zone, but is nonetheless\n allowed.\n\nSeveral things are notable about these dates:\n\n- Years with fewer than four digits have to be zero-padded. The date \"37-12-13\" would not be a\n valid date.\n- If the \" `T` \" is replaced by a space, it must be a single space\n character. The string \" `2001-12-21 12:00Z` \" (with two spaces\n between the components) would not be parsed successfully.\n- To unambiguously identify a moment in time prior to the introduction of the Gregorian\n calendar (insofar as moments in time before the formation of UTC can be unambiguously\n identified), the date has to be first converted to the Gregorian calendar from the calendar in\n use at the time (e.g. from the Julian calendar). The date of Nero's birth is the 15th of\n December 37, in the Julian Calendar, which is the 13th of December 37 in the proleptic\n Gregorian calendar .\n- The time and time-zone offset components are not optional.\n- Dates before the year one can't be represented as a datetime in this version of HTML.\n- Times of specific events in ancient times are, at best, approximations, since time was not\n well coordinated or measured until relatively recent decades.\n- Time-zone offsets differ based on daylight saving time.\n\nThe rules to parse a global date and time string are as follows. This will return\n either a time in UTC, with associated time-zone offset information for roundtripping or display\n purposes, or nothing. If at any point the algorithm says that it \"fails\", this means that it is\n aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Parse a date component to obtain year, month, and day. If this returns nothing, then fail.\n4. If position is beyond the end of input or if the\n character at position is neither a U+0054 LATIN CAPITAL LETTER T character\n (T) nor a U+0020 SPACE character, then fail. Otherwise, move position\n forwards one character.\n5. Parse a time component to obtain hour, minute, and second. If this returns nothing, then fail.\n6. If position is beyond the end of input, then\n fail.\n7. Parse a time-zone offset component to obtain timezonehours and timezoneminutes. If this\n returns nothing, then fail.\n8. If position is *not* beyond the end of input, then fail.\n9. Let time be the moment in time at year year, month\n month, day day, hours hour, minute\n minute, second second, subtracting timezonehours hours and timezoneminutes minutes. That moment in time is a moment in the UTC time\n zone.\n10. Let timezone be timezonehours\n hours and timezoneminutes minutes from UTC.\n11. Return time and timezone.\n\n##### 2.3.5.8 Weeks\n\nA week consists of a week-year number and a week number\n representing a seven-day period starting on a Monday. Each week-year in this calendaring system\n has either 52 or 53 such seven-day periods, as defined below. The seven-day period starting on the\n Gregorian date Monday December 29th 1969 (1969-12-29) is defined as week number 1 in week-year\n 1970. Consecutive weeks are numbered sequentially. The week before the number 1 week in a\n week-year is the last week in the previous week-year, and vice versa. [GREGORIAN]\n\nA week-year with a number year has 53 weeks if it corresponds to either a\n year year in the proleptic Gregorian calendar that has a Thursday\n as its first day (January 1st), or a year year in the proleptic\n Gregorian calendar that has a Wednesday as its first day (January 1st) and where year is a number divisible by 400, or a number divisible by 4 but not by 100. All\n other week-years have 52 weeks.\n\nThe week number of the last day of a week-year with 53 weeks is 53; the week number\n of the last day of a week-year with 52 weeks is 52.\n\nThe week-year number of a particular day can be different than the number of the\n year that contains that day in the proleptic Gregorian calendar. The first week in a\n week-year y is the week that contains the first Thursday of the Gregorian year\n y.\n\nFor modern purposes, a week as defined here is\n equivalent to ISO weeks as defined in ISO 8601. [ISO8601]\n\nA string is a valid week string representing a week-year year\n and week week if it consists of the following components in the given\n order:\n\n1. Four or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing year , where year > 0\n2. A U+002D HYPHEN-MINUS character (-)\n3. A U+0057 LATIN CAPITAL LETTER W character (W)\n4. Two [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) , representing the week week , in the range\n 1 ≤ week ≤ maxweek , where maxweek is the week number of the last day of week-year year\n\nThe rules to parse a week string are as follows. This will return either a week-year\n number and week number, or nothing. If at any point the algorithm says that it \"fails\", this means\n that it is aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not at least four\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let year be that number.\n4. If year is not a number greater than zero, then fail.\n5. If position is beyond the end of input or if the\n character at position is not a U+002D HYPHEN-MINUS character, then fail.\n Otherwise, move position forwards one character.\n6. If position is beyond the end of input or if the\n character at position is not a U+0057 LATIN CAPITAL LETTER W character (W),\n then fail. Otherwise, move position forwards one character.\n7. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. If the collected sequence is not exactly two\n characters long, then fail. Otherwise, interpret the resulting sequence as a base-ten integer.\n Let week be that number.\n8. Let maxweek be the week number of the last day of year\n year.\n9. If week is not a number in the range 1 ≤ week ≤ maxweek, then fail.\n10. If position is *not* beyond the end of input, then fail.\n11. Return the week-year number year and the week number week.\n\n##### 2.3.5.9 Durations\n\nA duration consists of a number of seconds.\n\nSince months and seconds are not comparable (a month is not a precise number of\n seconds, but is instead a period whose exact length depends on the precise day from which it is\n measured) a duration as defined in this specification cannot\n include months (or years, which are equivalent to\n twelve months). Only durations that describe a specific number of seconds can be described.\n\nA string is a valid duration string representing a duration t if it consists of either of the\n following:\n\n- A literal U+0050 LATIN CAPITAL LETTER P character followed by one or more of the following\n subcomponents, in the order given, where the number of days, hours, minutes, and\n seconds corresponds to the same number of seconds as in t: This, as with a number of other date- and time-related microsyntaxes defined in\n this specification, is based on one of the formats defined in ISO 8601. [ISO8601]\n 1. One or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) followed by a U+0044 LATIN CAPITAL LETTER D\n character, representing a number of days.\n 2. A U+0054 LATIN CAPITAL LETTER T character followed by one or more of the following\n subcomponents, in the order given:\n 1. One or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) followed by a U+0048 LATIN CAPITAL LETTER H\n character, representing a number of hours.\n 2. One or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) followed by a U+004D LATIN CAPITAL LETTER M\n character, representing a number of minutes.\n 3. The following components:\n 1. One or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), representing a number of seconds.\n 2. Optionally, a U+002E FULL STOP character (.) followed by one, two, or three\n [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), representing a fraction of a second.\n 3. A U+0053 LATIN CAPITAL LETTER S character.\n- One or more duration time components, each with\n a different duration time component scale, in any order; the sum of the represented\n seconds being equal to the number of seconds in t. A duration time component is a string consisting of the following components: This is not based on any of the formats in ISO 8601. It is intended to be a more\n human-readable alternative to the ISO 8601 duration format.\n 1. Zero or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n 2. One or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), representing a number of time units, scaled by\n the duration time component scale specified (see below) to represent a number of\n seconds.\n 3. If the duration time component scale specified is 1 (i.e. the units are\n seconds), then, optionally, a U+002E FULL STOP character (.) followed by one, two, or three\n [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), representing a fraction of a second.\n 4. Zero or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n 5. One of the following characters, representing the duration time component scale\n of the time unit used in the numeric part of the duration time component: U+0057 LATIN CAPITAL LETTER W characterU+0077 LATIN SMALL LETTER W characterWeeks. The scale is 604800.U+0044 LATIN CAPITAL LETTER D characterU+0064 LATIN SMALL LETTER D characterDays. The scale is 86400.U+0048 LATIN CAPITAL LETTER H characterU+0068 LATIN SMALL LETTER H characterHours. The scale is 3600.U+004D LATIN CAPITAL LETTER M characterU+006D LATIN SMALL LETTER M characterMinutes. The scale is 60.U+0053 LATIN CAPITAL LETTER S characterU+0073 LATIN SMALL LETTER S characterSeconds. The scale is 1.\n 6. Zero or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nThe rules to parse a duration string are as follows. This will return either a duration or nothing. If at any point the algorithm says that it\n \"fails\", this means that it is aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Let months, seconds, and component\n count all be zero.\n4. Let M-disambiguator be *minutes*. This flag's other value is *months*. It is used to disambiguate the \"M\"\n unit in ISO8601 durations, which use the same unit for months and minutes. Months are not\n allowed, but are parsed for future compatibility and to avoid misinterpreting ISO8601 durations\n that would be valid in other contexts.\n5. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n6. If position is past the end of input, then\n fail.\n7. If the character in input pointed to by position is a U+0050 LATIN\n CAPITAL LETTER P character, then advance position to the next character, set\n M-disambiguator to *months*, and [skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within\n input given position.\n8. While true:\n 1. Let units be undefined. It will be assigned one of the following\n values: *years*, *months*, *weeks*, *days*, *hours*, *minutes*,\n and *seconds*.\n 2. Let next character be undefined. It is used to process characters\n from the input.\n 3. If position is past the end of input, then break.\n 4. If the character in input pointed to by position is a U+0054 LATIN\n CAPITAL LETTER T character, then advance position to the next character, set\n M-disambiguator to *minutes*, [skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within\n input given position, and [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 5. Set next character to the character in input\n pointed to by position.\n 6. If next character is a U+002E FULL STOP character (.), then let N be 0. (Do not advance position. That is taken care\n of below.) Otherwise, if next character is an [ASCII\n digit](https://infra.spec.whatwg.org/#ascii-digit), then [collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII\n digits](https://infra.spec.whatwg.org/#ascii-digit) from input given position, interpret the resulting\n sequence as a base-ten integer, and let N be that number. Otherwise, next character is not part of a number; fail.\n 7. If position is past the end of input, then\n fail.\n 8. Set next character to the character in input\n pointed to by position, and this time advance position\n to the next character. (If next character was a U+002E FULL STOP character\n (.) before, it will still be that character this time.)\n 9. If next character is U+002E (.): Otherwise:\n 1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position. Let s be the resulting\n sequence.\n 2. If s is the empty string, then fail.\n 3. Let length be the number of characters in s.\n 4. Let fraction be the result of interpreting s\n as a base-ten integer, and then dividing that number by 10length.\n 5. Increment N by fraction.\n 6. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n 7. If position is past the end of input, then\n fail.\n 8. Set next character to the character in input\n pointed to by position, and advance position to the\n next character.\n 9. If next character is neither a U+0053 LATIN CAPITAL LETTER S\n character nor a U+0073 LATIN SMALL LETTER S character, then fail.\n 10. Set units to *seconds*.\n 1. If next character is [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), then [skip ASCII\n whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given position, set next\n character to the character in input pointed to by position, and\n advance position to the next character.\n 2. If next character is a U+0059 LATIN CAPITAL LETTER Y character, or a\n U+0079 LATIN SMALL LETTER Y character, set units to *years* and set\n M-disambiguator to *months*. If next character is a U+004D LATIN CAPITAL LETTER M character or a\n U+006D LATIN SMALL LETTER M character, and M-disambiguator is\n *months*, then set units to *months*. If next character is a U+0057 LATIN CAPITAL LETTER W character or a\n U+0077 LATIN SMALL LETTER W character, set units to *weeks* and set\n M-disambiguator to *minutes*. If next character is a U+0044 LATIN CAPITAL LETTER D character or a\n U+0064 LATIN SMALL LETTER D character, set units to *days* and set\n M-disambiguator to *minutes*. If next character is a U+0048 LATIN CAPITAL LETTER H character or a\n U+0068 LATIN SMALL LETTER H character, set units to *hours* and set\n M-disambiguator to *minutes*. If next character is a U+004D LATIN CAPITAL LETTER M character or a\n U+006D LATIN SMALL LETTER M character, and M-disambiguator is\n *minutes*, then set units to *minutes*. If next character is a U+0053 LATIN CAPITAL LETTER S character or a\n U+0073 LATIN SMALL LETTER S character, set units to *seconds* and\n set M-disambiguator to *minutes*. Otherwise, if next character is none of the above characters, then\n fail.\n 10. Increment component count.\n 11. Let multiplier be 1.\n 12. If units is *years*, multiply multiplier by\n 12 and set units to *months*.\n 13. If units is *months*, add the product of N and\n multiplier to months. Otherwise:\n 1. If units is *weeks*, multiply multiplier\n by 7 and set units to *days*.\n 2. If units is *days*, multiply multiplier\n by 24 and set units to *hours*.\n 3. If units is *hours*, multiply multiplier\n by 60 and set units to *minutes*.\n 4. If units is *minutes*, multiply multiplier by 60 and set units to *seconds*.\n 5. Forcibly, units is now *seconds*. Add the product of N and multiplier to seconds.\n 14. [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.\n9. If component count is zero,\n fail.\n10. If months is not zero, fail.\n11. Return the duration consisting of seconds seconds.\n\n##### 2.3.5.10 Vaguer moments in time\n\nA string is a valid date string with optional time if\n it is also one of the following:\n\n- A valid date string\n- A valid global date and time string\n\n---\n\nThe rules to parse a date or time string are as follows. The algorithm will return\n either a date, a time, a global date and time, or nothing. If at any point the algorithm\n says that it \"fails\", this means that it is aborted at that point and returns nothing.\n\n1. Let input be the string being parsed.\n2. Let position be a pointer into input, initially\n pointing at the start of the string.\n3. Set start position to the same position as position.\n4. Set the date present and time present flags to\n true.\n5. Parse a date component to obtain year, month, and day. If this fails, then set the date\n present flag to false.\n6. If date present is true, and position is not beyond\n the end of input, and the character at position is\n either a U+0054 LATIN CAPITAL LETTER T character (T) or a U+0020 SPACE character, then advance\n position to the next character in input. Otherwise, if date present is true, and either position is beyond the end of input or the character at position is neither a U+0054 LATIN CAPITAL LETTER T character (T) nor a U+0020\n SPACE character, then set time present to false. Otherwise, if date present is false, set position\n back to the same position as start position.\n7. If the time present flag is true, then parse a time\n component to obtain hour, minute, and second. If this returns nothing, then fail.\n8. If the date present and time present flags are\n both true, but position is beyond the end of input, then\n fail.\n9. If the date present and time present flags are\n both true, parse a time-zone offset component to obtain timezonehours and timezoneminutes. If this\n returns nothing, then fail.\n10. If position is *not* beyond the end of input, then fail.\n11. If the date present flag is true and the time present\n flag is false, then let date be the date with year year,\n month month, and day day, and return date. Otherwise, if the time present flag is true and the date\n present flag is false, then let time be the time with hour hour, minute minute, and second second,\n and return time. Otherwise, let time be the moment in time at year year, month month, day day, hours hour, minute minute, second second,\n subtracting timezonehours hours and timezoneminutes minutes, that moment in time being a moment\n in the UTC time zone; let timezone be timezonehours hours and timezoneminutes\n minutes from UTC; and return time and timezone.\n\n#### 2.3.6 Legacy colors\n\nSome obsolete legacy attributes parse colors using the\n rules for parsing a legacy color\n value, given a string input. They will return either a CSS color or failure.\n\n1. If input is the empty string, then return failure.\n2. [Strip leading and trailing ASCII whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from input.\n3. If input is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for \"`transparent`\", then return failure.\n4. If input is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for one of the [named colors](https://drafts.csswg.org/css-color/#named-color), then return the CSS color corresponding to that\n keyword. [CSSCOLOR] [CSS2 System\n Colors](https://www.w3.org/TR/css3-color/#css2-system) are not recognized.\n5. If input's [code point length](https://infra.spec.whatwg.org/#string-code-point-length) is four, and the first character in\n input is U+0023 (#), and the last three characters of input are all\n [ASCII hex digits](https://infra.spec.whatwg.org/#ascii-hex-digit):\n 1. Let result be a CSS color.\n 2. Interpret the second character of input as a hexadecimal digit; let\n the red component of result be the resulting number multiplied by 17.\n 3. Interpret the third character of input as a hexadecimal digit; let\n the green component of result be the resulting number multiplied by 17.\n 4. Interpret the fourth character of input as a hexadecimal digit; let\n the blue component of result be the resulting number multiplied by 17.\n 5. Return result.\n6. Replace any [code points](https://infra.spec.whatwg.org/#code-point) greater than U+FFFF in\n input (i.e., any characters that are not in the basic multilingual plane) with \"`00`\".\n7. If input's [code point length](https://infra.spec.whatwg.org/#string-code-point-length) is greater than 128, truncate\n input, leaving only the first 128 characters.\n8. If the first character in input is U+0023 (#), then remove it.\n9. Replace any character in input that is not an [ASCII hex digit](https://infra.spec.whatwg.org/#ascii-hex-digit) with U+0030 (0).\n10. While input's [code point length](https://infra.spec.whatwg.org/#string-code-point-length) is zero or not a multiple of\n three, append U+0030 (0) to input.\n11. Split input into three strings of equal [code point length](https://infra.spec.whatwg.org/#string-code-point-length), to\n obtain three components. Let length be the [code point length](https://infra.spec.whatwg.org/#string-code-point-length) that all of\n those components have (one third the [code point length](https://infra.spec.whatwg.org/#string-code-point-length) of input).\n12. If length is greater than 8, then remove the leading length-8 characters in each component, and let length be 8.\n13. While length is greater than two and the first character in each\n component is U+0030 (0), remove that character and reduce length by one.\n14. If length is *still* greater than two, truncate each component,\n leaving only the first two characters in each.\n15. Let result be a CSS color.\n16. Interpret the first component as a hexadecimal number; let the red component of result be the resulting number.\n17. Interpret the second component as a hexadecimal number; let the green component of result be the resulting number.\n18. Interpret the third component as a hexadecimal number; let the blue component of result be the resulting number.\n19. Return result.\n\n#### 2.3.7 Space-separated tokens\n\nA set of space-separated tokens is a string containing zero or more words\n (known as tokens) separated by one or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), where words consist of\n any string of one or more characters, none of which are [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nA string containing a set of space-separated tokens may have leading or trailing\n [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nAn unordered set of unique space-separated tokens is a set of\n space-separated tokens where none of the tokens are duplicated.\n\nAn ordered set of unique space-separated tokens is a set of space-separated\n tokens where none of the tokens are duplicated but where the order of the tokens is\n meaningful.\n\nSets of space-separated tokens sometimes\n have a defined set of allowed values. When a set of allowed values is defined, the tokens must all\n be from that list of allowed values; other values are non-conforming. If no such set of allowed\n values is provided, then all values are conforming.\n\nHow tokens in a set of space-separated tokens are to be compared\n (e.g. case-sensitively or not) is defined on a per-set basis.\n\n#### 2.3.8 Comma-separated tokens\n\nA set of comma-separated tokens is a string containing zero or more tokens each\n separated from the next by a single U+002C COMMA character (,), where tokens consist of any string\n of zero or more characters, neither beginning nor ending with [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), nor\n containing any U+002C COMMA characters (,), and optionally surrounded by [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nFor instance, the string \"`a ,b,,d d`\" consists of four tokens: \"a\", \"b\", the empty\n string, and \"d d\". Leading and trailing whitespace around each token doesn't count as part of\n the token, and the empty string can be a token.\n\nSets of comma-separated tokens sometimes\n have further restrictions on what consists a valid token. When such restrictions are defined, the\n tokens must all fit within those restrictions; other values are non-conforming. If no such\n restrictions are specified, then all values are conforming.\n\n#### 2.3.9 References\n\nA valid hash-name reference to an element of type type is a\n string consisting of a U+0023 NUMBER SIGN character (#) followed by a string which exactly matches\n the value of the `name` attribute of an element with type type in\n the same [tree](https://dom.spec.whatwg.org/#concept-tree).\n\nThe rules for parsing a hash-name reference to an element of type type,\n given a context node scope, are as follows:\n\n1. If the string being parsed does not contain a U+0023 NUMBER SIGN character, or if the\n first such character in the string is the last character in the string, then return null.\n2. Let s be the string from the character immediately after the first\n U+0023 NUMBER SIGN character in the string being parsed up to the end of that string.\n3. Return the first element of type type in scope's [tree](https://dom.spec.whatwg.org/#concept-tree), in\n [tree order](https://dom.spec.whatwg.org/#concept-tree-order), that has an `id` or `name` attribute whose value is s, or null if there is no such\n element. Although `id` attributes are accounted for when\n parsing, they are not used in determining whether a value is a *valid* hash-name\n reference. That is, a hash-name reference that refers to an element based on `id` is a conformance error (unless that element also has a `name` attribute with the same value).\n\n#### 2.3.10 Media queries\n\nA string is a valid media query list if it matches the `` production of Media Queries.\n [MQ]\n\nA string matches the environment of the user if it is the empty string, a string\n consisting of only [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), or is a media query list that matches the user's\n environment according to the definitions given in Media Queries. [MQ]\n\n#### 2.3.11 Unique internal values\n\nA unique internal value is a value that is serializable, comparable by value, and\n never exposed to script.\n\nTo create a new unique internal value, return a unique internal value\n that has never previously been returned by this algorithm.\n\n### 2.4 URLs\n\n#### 2.4.1 Terminology\n\nA string is a valid non-empty URL if it is a [valid URL string](https://url.spec.whatwg.org/#valid-url-string) but it is\n not the empty string.\n\nA string is a valid URL potentially surrounded by spaces if, after [stripping leading and trailing ASCII\n whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from it, it is a [valid URL string](https://url.spec.whatwg.org/#valid-url-string).\n\nA string is a valid non-empty URL potentially surrounded by spaces if, after [stripping leading and trailing ASCII\n whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from it, it is a valid non-empty URL.\n\n---\n\nThis specification defines the URL `about:legacy-compat` as a reserved,\n though unresolvable, `[about:](https://www.rfc-editor.org/rfc/rfc6694#section-2)` URL, for use in DOCTYPEs in [HTML documents](https://dom.spec.whatwg.org/#html-document) when needed for\n compatibility with XML tools. [ABOUT]\n\nThis specification defines the URL `about:html-kind` as a reserved,\n though unresolvable, `[about:](https://www.rfc-editor.org/rfc/rfc6694#section-2)` URL, that is used as an\n identifier for kinds of media tracks. [ABOUT]\n\nThis specification defines the URL `about:srcdoc` as a reserved, though\n unresolvable, `[about:](https://www.rfc-editor.org/rfc/rfc6694#section-2)` URL, that is used as the [URL](https://dom.spec.whatwg.org/#concept-document-url) of `iframe` `srcdoc` documents.\n [ABOUT]\n\n---\n\nA [URL](https://url.spec.whatwg.org/#concept-url) matches `about:blank` if its [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is \"`about`\", its [path](https://url.spec.whatwg.org/#concept-url-path) contains a single string \"`blank`\", its\n [username](https://url.spec.whatwg.org/#concept-url-username) and [password](https://url.spec.whatwg.org/#concept-url-password) are the empty string, and its [host](https://url.spec.whatwg.org/#concept-url-host) is null.\n\nSuch a URL's [query](https://url.spec.whatwg.org/#concept-url-query) and [fragment](https://url.spec.whatwg.org/#concept-url-fragment) can be non-null. For example, the [URL\n record](https://url.spec.whatwg.org/#concept-url) created by [parsing](https://url.spec.whatwg.org/#concept-url-parser) \"`about:blank?foo#bar`\" matches `about:blank`.\n\nA [URL](https://url.spec.whatwg.org/#concept-url) matches `about:srcdoc` if its [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is \"`about`\", its [path](https://url.spec.whatwg.org/#concept-url-path) contains a single string \"`srcdoc`\",\n its [query](https://url.spec.whatwg.org/#concept-url-query) is null, its [username](https://url.spec.whatwg.org/#concept-url-username) and [password](https://url.spec.whatwg.org/#concept-url-password) are the empty string, and its [host](https://url.spec.whatwg.org/#concept-url-host) is null.\n\nThe reason that matches `about:srcdoc` ensures that the\n [URL](https://url.spec.whatwg.org/#concept-url)'s [query](https://url.spec.whatwg.org/#concept-url-query) is null is because it is not\n possible to create an `iframe` `srcdoc` document whose [URL](https://dom.spec.whatwg.org/#concept-document-url) has a non-null [query](https://url.spec.whatwg.org/#concept-url-query), unlike `Document`s whose [URL](https://dom.spec.whatwg.org/#concept-document-url) matches `about:blank`. In other\n words, the set of all [URL](https://url.spec.whatwg.org/#concept-url)s that match\n `about:srcdoc` only vary in their [fragment](https://url.spec.whatwg.org/#concept-url-fragment).\n\n#### 2.4.2 Parsing URLs\n\nParsing a URL is the process of taking a string and obtaining the [URL record](https://url.spec.whatwg.org/#concept-url) that\n it represents. While this process is defined in URL, the HTML standard defines\n several wrappers to abstract base URLs and encodings. [URL]\n\nMost new APIs are to use parse a URL. Older APIs and HTML elements\n might have reason to use encoding-parse a URL. When a\n custom base URL is needed or no base URL is desired, the [URL parser](https://url.spec.whatwg.org/#concept-url-parser) can of course be\n used directly as well.\n\nTo parse a URL, given a string url, relative to a\n `Document` object or environment settings object environment,\n run these steps. They return failure or a [URL](https://url.spec.whatwg.org/#concept-url).\n\n1. Let baseURL be environment's base\n URL, if environment is a `Document` object; otherwise\n environment's API base URL.\n2. Return the result of applying the [URL parser](https://url.spec.whatwg.org/#concept-url-parser) to url, with\n baseURL.\n\nTo encoding-parse a URL,\n given a string url, relative to a `Document` object or environment\n settings object environment, run these steps. They return failure or a\n [URL](https://url.spec.whatwg.org/#concept-url).\n\n1. Let encoding be [UTF-8](https://encoding.spec.whatwg.org/#utf-8).\n2. If environment is a `Document` object, then set encoding\n to environment's [character\n encoding](https://dom.spec.whatwg.org/#concept-document-encoding).\n3. Otherwise, if environment's relevant global object is a\n `Window` object, set encoding to environment's relevant\n global object's associated\n `Document`'s [character\n encoding](https://dom.spec.whatwg.org/#concept-document-encoding).\n4. Let baseURL be environment's base\n URL, if environment is a `Document` object; otherwise\n environment's API base URL.\n5. Return the result of applying the [URL parser](https://url.spec.whatwg.org/#concept-url-parser) to url, with\n baseURL and encoding.\n\nTo encoding-parse-and-serialize a\n URL, given a string url, relative to a `Document` object or\n environment settings object environment, run these steps. They return\n failure or a string.\n\n1. Let url be the result of encoding-parsing a URL given\n url, relative to environment.\n2. If url is failure, then return failure.\n3. Return the result of applying the [URL\n serializer](https://url.spec.whatwg.org/#concept-url-serializer) to url.\n\n#### 2.4.3 Document base URLs\n\nThe document base URL of a `Document` document is the\n [URL record](https://url.spec.whatwg.org/#concept-url) obtained by running these steps:\n\n1. If document has no [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) `base` element that has\n an `href` attribute, then return document's\n fallback base URL.\n2. Otherwise, return the frozen base URL of the first `base` element\n in document that has an `href` attribute, in\n [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n\nThe fallback base URL of a `Document` object document is the\n [URL record](https://url.spec.whatwg.org/#concept-url) obtained by running these steps:\n\n1. If document is an `iframe` `srcdoc` document:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): document's about base URL is non-null.\n 2. Return document's about base\n URL.\n2. If document's [URL](https://dom.spec.whatwg.org/#concept-document-url) matches\n `about:blank` and document's about base URL is non-null, then return\n document's about base\n URL.\n3. Return document's [URL](https://dom.spec.whatwg.org/#concept-document-url).\n\n---\n\nTo set the URL for a `Document` document to a [URL\n record](https://url.spec.whatwg.org/#concept-url) url:\n\n1. Set document's [URL](https://dom.spec.whatwg.org/#concept-document-url) to\n url.\n2. Respond to base URL changes given document.\n\nTo respond to base URL changes for a\n `Document` document:\n\n1. The user agent should update any user interface elements which are displaying affected\n URLs, or data derived from such URLs, to the user. Examples of such user interface elements would\n be a status bar that displays a hyperlink's url, or some user interface which displays the URL\n specified by a `q`, `blockquote`, `ins`, or `del`\n element's `cite` attribute.\n2. Ensure that the CSS `:link`/`:visited`/etc. [pseudo-classes](https://drafts.csswg.org/selectors/#pseudo-class)\n are updated appropriately.\n3. [For each](https://infra.spec.whatwg.org/#list-iterate) descendant of document's\n [shadow-including descendants](https://dom.spec.whatwg.org/#concept-shadow-including-descendant):\n 1. If descendant is a `script` element whose result is a speculation rules parse\n result:\n 1. Let oldResult be element's result.\n 2. Let newResult be the result of creating a speculation rules parse result given element's\n [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) and element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n 3. Update speculation rules given element's relevant global\n object, oldResult, and newResult.\n4. Consider speculative loads given document.\n\nThis means that changing the base\n URL doesn't affect, for example, the image displayed by `img` elements. Thus,\n subsequent accesses of the `src` IDL attribute from script will\n return a new [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute) that might no longer correspond to the image being\n shown.\n\n### 2.5 Fetching resources\n\n#### 2.5.1 Terminology\n\nA [response](https://fetch.spec.whatwg.org/#concept-response) whose [type](https://fetch.spec.whatwg.org/#concept-response-type) is \"`basic`\", \"`cors`\", or \"`default`\" is CORS-same-origin.\n [FETCH]\n\nA [response](https://fetch.spec.whatwg.org/#concept-response) whose [type](https://fetch.spec.whatwg.org/#concept-response-type) is \"`opaque`\" or \"`opaqueredirect`\" is CORS-cross-origin.\n\nA [response](https://fetch.spec.whatwg.org/#concept-response)'s unsafe response is its\n [internal response](https://fetch.spec.whatwg.org/#concept-internal-response) if it has one, and the [response](https://fetch.spec.whatwg.org/#concept-response) itself otherwise.\n\nTo create a potential-CORS request, given a url, destination,\n corsAttributeState, and an optional *same-origin fallback flag*, run these\n steps:\n\n1. Let mode be \"`no-cors`\" if corsAttributeState\n is No CORS, and \"`cors`\"\n otherwise.\n2. If *same-origin fallback flag* is set and mode is \"`no-cors`\", set mode to \"`same-origin`\".\n3. Let credentialsMode be \"`include`\".\n4. If corsAttributeState is Anonymous, set credentialsMode to \"`same-origin`\".\n5. Return a new [request](https://fetch.spec.whatwg.org/#concept-request) whose\n [URL](https://fetch.spec.whatwg.org/#concept-request-url) is url, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is destination,\n [mode](https://fetch.spec.whatwg.org/#concept-request-mode) is mode, [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is\n credentialsMode, and whose [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set.\n\n#### 2.5.2 Determining the type of a resource\n\nThe Content-Type metadata of a resource must be obtained and\n interpreted in a manner consistent with the requirements of MIME Sniffing.\n [MIMESNIFF]\n\nThe [computed MIME type](https://mimesniff.spec.whatwg.org/#computed-mime-type) of a\n resource must be found in a manner consistent with the requirements given in MIME\n Sniffing. [MIMESNIFF]\n\nThe [rules for\n sniffing images specifically](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically), the [rules for distinguishing\n if a resource is text or binary](https://mimesniff.spec.whatwg.org/#rules-for-text-or-binary), and the [rules\n for sniffing audio and video specifically](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-audio-and-video-specifically) are also defined in MIME Sniffing.\n These rules return a [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) as their result. [MIMESNIFF]\n\nIt is imperative that the rules in MIME Sniffing be\n followed exactly. When a user agent uses different heuristics for content type detection than the\n server expects, security problems can occur. For more details, see MIME Sniffing.\n [MIMESNIFF]\n\n#### 2.5.3 Extracting character encodings from `meta` elements\n\nThe algorithm for extracting a character encoding from a `meta` element,\n given a string s, is as follows. It returns either a character encoding or\n nothing.\n\n1. Let position be a pointer into s, initially\n pointing at the start of the string.\n2. *Loop*: Find the first seven characters in s after position that are an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the word \"`charset`\". If no such match is found, return nothing.\n3. Skip any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) that immediately follow the word \"`charset`\" (there might not be any).\n4. If the next character is not a U+003D EQUALS SIGN (=), then move position to point just before that next character, and jump back to the step\n labeled *loop*.\n5. Skip any [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) that immediately follow the equals sign (there\n might not be any).\n6. Process the next character as follows: If it is a U+0022 QUOTATION MARK character (\") and there is a later U+0022 QUOTATION MARK character (\") in sIf it is a U+0027 APOSTROPHE character (') and there is a later U+0027 APOSTROPHE character (') in sReturn the result of [getting an encoding](https://encoding.spec.whatwg.org/#concept-encoding-get) from the substring that is between\n this character and the next earliest occurrence of this character.If it is an unmatched U+0022 QUOTATION MARK character (\")If it is an unmatched U+0027 APOSTROPHE character (')If there is no next characterReturn nothing.OtherwiseReturn the result of [getting an encoding](https://encoding.spec.whatwg.org/#concept-encoding-get) from the substring that consists of\n this character up to but not including the first [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) or U+003B\n SEMICOLON character (;), or the end of s, whichever comes first.\n\nThis algorithm is distinct from those in the HTTP specifications (for example,\n HTTP doesn't allow the use of single quotes and requires supporting a backslash-escape mechanism\n that is not supported by this algorithm). While the\n algorithm is used in contexts that, historically, were related to HTTP, the syntax as supported by\n implementations diverged some time ago. [HTTP]\n\n#### 2.5.4 CORS settings attributes\n\n[Attributes/crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)\n\nSupport in all current engines.\n\nFirefox8+ Safari6+ Chrome13+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nA CORS settings attribute is an enumerated attribute with the following\n keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `anonymous` | Anonymous | [Requests](https://fetch.spec.whatwg.org/#concept-request) for the element will have their\n [mode](https://fetch.spec.whatwg.org/#concept-request-mode) set to \"`cors`\" and their\n [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) set to \"`same-origin`\". |\n| `use-credentials` | Use Credentials | [Requests](https://fetch.spec.whatwg.org/#concept-request) for the element will have their [mode](https://fetch.spec.whatwg.org/#concept-request-mode) set to \"`cors`\" and their [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) set to \"`include`\". |\n\nThe attribute's *missing value default* is the No CORS state, and its *invalid value default* and *empty value default* are\n both the Anonymous state.\n\nThe majority of fetches governed by CORS settings\n attributes will be done via the create a potential-CORS request algorithm.\n\nFor more modern features, where the request's [mode](https://fetch.spec.whatwg.org/#concept-request-mode) is always \"`cors`\", certain CORS settings attributes have been repurposed to have a\n slightly different meaning, wherein they only impact the [request](https://fetch.spec.whatwg.org/#concept-request)'s [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode). To perform this translation, we\n define the CORS settings attribute credentials mode for a given CORS\n settings attribute to be determined by switching on the attribute's state:\n\nNo CORS\n\nAnonymous\n\n\"`same-origin`\"\n\nUse Credentials\n\n\"`include`\"\n\n#### 2.5.5 Referrer policy attributes\n\nA referrer policy attribute is an enumerated attribute. Each\n [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy), including the empty string, is a keyword for this attribute, mapping\n to a state of the same name.\n\nThe attribute's *missing value default* and *invalid value default* are both the empty string state.\n\nThe impact of these states on the processing model of various [fetches](https://fetch.spec.whatwg.org/#concept-fetch) is defined in more detail throughout this specification, in\n Fetch, and in Referrer Policy. [FETCH] [REFERRERPOLICY]\n\nSeveral signals can contribute to which processing model is used for a given [fetch](https://fetch.spec.whatwg.org/#concept-fetch); a referrer policy attribute is only one of\n them. In general, the order in which these signals are processed are:\n\n1. First, the presence of a `noreferrer` link\n type;\n2. Then, the value of a referrer policy attribute;\n3. Then, the presence of any `meta` element with `name` attribute set to `referrer`.\n4. Finally, the ``[Referrer-Policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-header-dfn)`` HTTP\n header.\n\n#### 2.5.6 Nonce attributes\n\n[Global_attributes/nonce](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce)\n\nSupport in all current engines.\n\nFirefox31+ SafariYes ChromeYes\n\n---\n\nOpera? EdgeYes\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nA `nonce` content\n attribute represents a cryptographic nonce (\"number used once\") which can be used by Content\n Security Policy to determine whether or not a given fetch will be allowed to proceed. The\n value is text. [CSP]\n\nElements that have a `nonce` content attribute ensure that the\n cryptographic nonce is only exposed to script (and not to side-channels like CSS attribute\n selectors) by taking the value from the content attribute, moving it into an internal slot named\n [[CryptographicNonce]], exposing it to script\n via the `HTMLOrSVGOrMathMLElement` interface mixin, and setting the content attribute\n to the empty string. Unless otherwise specified, the slot's value is the empty string.\n\n`element.nonce`\n\nReturns the value set for element's cryptographic nonce. If the setter was not\n used, this will be the value originally found in the `nonce`\n content attribute.\n\n`element.nonce = value`\n\nUpdates element's cryptographic nonce value.\n\n[HTMLElement/nonce](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/nonce)\n\nFirefox75+ Safari🔰 10+ Chrome61+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `nonce` IDL attribute must, on getting,\n return the value of this element's [[CryptographicNonce]]; and on setting, set this\n element's [[CryptographicNonce]] to the given value.\n\nNote how the setter for the `nonce` IDL attribute does not update the\n corresponding content attribute. This, as well as the below setting of the `nonce` content attribute to the empty string when an element\n becomes browsing-context connected, is meant to prevent exfiltration of the nonce\n value through mechanisms that can easily read content attributes, such as selectors. Learn more in\n [issue #2369](https://github.com/whatwg/html/issues/2369), where this behavior was\n introduced.\n\nThe following [attribute change\n steps](https://dom.spec.whatwg.org/#concept-element-attributes-change-ext) are used for the `nonce` content attribute:\n\n1. If element does not [include](https://webidl.spec.whatwg.org/#include) `HTMLOrSVGOrMathMLElement`,\n then return.\n2. If localName is not `nonce` or\n namespace is not null, then return.\n3. If value is null, then set element's\n [[CryptographicNonce]] to the empty string.\n4. Otherwise, set element's [[CryptographicNonce]] to\n value.\n\nWhenever an element [including](https://webidl.spec.whatwg.org/#include) `HTMLOrSVGOrMathMLElement` becomes browsing-context connected, the user\n agent must execute the following steps on the element:\n\n1. Let CSP list be element's [shadow-including root](https://dom.spec.whatwg.org/#concept-shadow-including-root)'s policy\n container's CSP list.\n2. If CSP list [contains a header-delivered Content Security Policy](https://w3c.github.io/webappsec-csp/#contains-a-header-delivered-content-security-policy), and\n element has a `nonce` content attribute\n whose value is not the empty string: If element's [[CryptographicNonce]] were not restored it\n would be the empty string at this point.\n 1. Let nonce be element's\n [[CryptographicNonce]].\n 2. [Set an attribute value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value) for\n element using \"`nonce`\" and the empty\n string.\n 3. Set element's [[CryptographicNonce]] to\n nonce.\n\nThe [cloning steps](https://dom.spec.whatwg.org/#concept-node-clone-ext) for elements that\n [include](https://webidl.spec.whatwg.org/#include) `HTMLOrSVGOrMathMLElement` given node, copy,\n and subtree are to set copy's [[CryptographicNonce]] to\n node's [[CryptographicNonce]].\n\n#### 2.5.7 Lazy loading attributes\n\n[Lazy_loading](https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading)\n\nSupport in all current engines.\n\nFirefox75+ Safari15.4+ Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nA lazy loading attribute is an enumerated attribute with the following\n keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `lazy` | Lazy | Used to defer fetching a resource until some conditions are met. |\n| `eager` | Eager | Used to fetch a resource immediately; the default state. |\n\nThe attribute directs the user agent to fetch a resource immediately or to defer fetching until\n some conditions associated with the element are met, according to the attribute's current\n state.\n\nThe attribute's *missing value default* and *invalid value default* are both the Eager state.\n\n---\n\nThe will lazy load element steps, given an element element,\n are as follows:\n\n1. If scripting is disabled for element,\n then return false. This is an anti-tracking measure, because if a user agent supported lazy loading\n when scripting is disabled, it would still be possible for a site to track a user's approximate\n scroll position throughout a session, by strategically placing images in a page's markup such\n that a server can track how many images are requested and when.\n2. If element's lazy loading attribute is in the Lazy state, then return true.\n3. Return false.\n\nEach `img`, `audio`, `video`, and `iframe` element has associated\n lazy load resumption steps, initially null.\n\nEach `video` element also has associated poster lazy load resumption steps,\n initially null.\n\nFor `img`, `audio`, `video`, and `iframe` elements that\n will lazy load, these steps are run from the\n lazy load intersection observer's callback or when their lazy loading\n attribute is set to the Eager state. This\n causes the element to continue loading. For `video` elements, poster lazy load\n resumption steps are also run at the same time.\n\nEach `Document` has a lazy load intersection observer, initially set to\n null but can be set to an `[IntersectionObserver](https://w3c.github.io/IntersectionObserver/#intersectionobserver)` instance.\n\nTo start intersection-observing a lazy loading element element, run these\n steps:\n\n1. Let doc be element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. If doc's lazy load intersection observer is null, set it to a new\n `[IntersectionObserver](https://w3c.github.io/IntersectionObserver/#intersectionobserver)` instance, initialized as follows: The intention is to use the original value of the\n `[IntersectionObserver](https://w3c.github.io/IntersectionObserver/#intersectionobserver)` constructor. However, we're forced to use the\n JavaScript-exposed constructor in this specification, until Intersection Observer\n exposes low-level hooks for use in specifications. See bug [w3c/IntersectionObserver#464](https://github.com/w3c/IntersectionObserver/issues/464)\n which tracks this. [INTERSECTIONOBSERVER]\n - The callback is these steps, with arguments entries and\n observer:\n 1. For each entry in entries using a method of\n iteration which does not trigger developer-modifiable array accessors or\n iteration hooks: The intention is to use the original value of the\n `[isIntersecting](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-isintersecting)` and\n `[target](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-target)` getters. See [w3c/IntersectionObserver#464](https://github.com/w3c/IntersectionObserver/issues/464).\n [INTERSECTIONOBSERVER]\n 1. Let resumptionSteps be null.\n 2. If entry.`[isIntersecting](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-isintersecting)` is true, then\n set resumptionSteps to entry.`[target](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-target)`'s\n lazy load resumption steps.\n 3. Let posterResumptionSteps be null.\n 4. If entry.`[isIntersecting](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-isintersecting)` is true and entry.`[target](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-target)` is a\n `video` element, then set posterResumptionSteps to the `video`\n element's poster lazy load resumption steps.\n 5. If resumptionSteps is null and posterResumptionSteps is null,\n then continue.\n 6. Stop intersection-observing a lazy loading element for\n entry.`[target](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-target)`.\n 7. If resumptionSteps is not null:\n 1. Set entry.`[target](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserverentry-target)`'s lazy load resumption\n steps to null.\n 2. Invoke resumptionSteps.\n 8. If posterResumptionSteps is not null:\n 1. Set the `video` element's poster lazy load resumption steps\n to null.\n 2. Invoke posterResumptionSteps.\n - The options is an `[IntersectionObserverInit](https://w3c.github.io/IntersectionObserver/#dictdef-intersectionobserverinit)` dictionary with the\n following dictionary members: «[ \"`scrollMargin`\" → lazy load scroll\n margin ]» This allows for fetching the image during scrolling, when it does not yet —\n but is about to — intersect the viewport. The lazy load scroll margin suggestions imply dynamic changes to the\n value, but the `[IntersectionObserver](https://w3c.github.io/IntersectionObserver/#intersectionobserver)` API does not support changing the scroll\n margin. See issue [w3c/IntersectionObserver#428](https://github.com/w3c/IntersectionObserver/issues/428).\n3. Call doc's lazy load intersection observer's `[observe](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-observe)` method with element as the\n argument. The intention is to use the original value of the `[observe](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-observe)` method. See [w3c/IntersectionObserver#464](https://github.com/w3c/IntersectionObserver/issues/464).\n [INTERSECTIONOBSERVER]\n\nTo stop intersection-observing a lazy loading element element, run these\n steps:\n\n1. Let doc be element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. [Assert](https://infra.spec.whatwg.org/#assert): doc's lazy load intersection observer is not\n null.\n3. Call doc's lazy load intersection observer's `[unobserve](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-unobserve)` method with element as\n the argument. The intention is to use the original value of the `[unobserve](https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-unobserve)` method. See [w3c/IntersectionObserver#464](https://github.com/w3c/IntersectionObserver/issues/464).\n [INTERSECTIONOBSERVER]\n\nThe lazy load scroll margin is an\n [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) value, but with the following suggestions to consider:\n\n- Set a minimum value that most often results in the resources being loaded before they\n intersect the viewport under normal usage patterns for the given device.\n- The typical scrolling speed: increase the value for devices with faster typical scrolling\n speeds.\n- The current scrolling speed or momentum: the UA can attempt to predict where the scrolling\n will likely stop, and adjust the value accordingly.\n- The network quality: increase the value for slow or high-latency connections.\n- User preferences can influence the value.\n\nIt is important [for privacy](https://infra.spec.whatwg.org/#tracking-vector) that the\n lazy load scroll margin not leak additional information. For example, the typical\n scrolling speed on the current device could be imprecise so as to not introduce a new\n fingerprinting vector.\n\n#### 2.5.8 Blocking attributes\n\nA blocking attribute explicitly indicates that certain operations should be blocked\n on the fetching of an external resource. The operations that can be blocked are represented by\n possible blocking tokens, which are strings listed by\n the following table:\n\n| Possible blocking token | Description |\n| --- | --- |\n| \"`render`\" | The element is potentially render-blocking. |\n\nIn the future, there might be more possible blocking tokens.\n\nA blocking attribute must have a value that is an unordered set of unique\n space-separated tokens, each of which are possible\n blocking tokens. The [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) of a\n blocking attribute are the possible blocking\n tokens. Any element can have at most one blocking attribute.\n\nThe blocking tokens set for an element el are the result of the\n following steps:\n\n1. Let value be the value of el's blocking attribute, or\n the empty string if no such attribute exists.\n2. Set value to value, [converted to ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n3. Let rawTokens be the result of [splitting value on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace).\n4. Return a set containing the elements of rawTokens that are possible blocking tokens.\n\nAn element is potentially render-blocking if its blocking tokens set\n contains \"`render`\", or if it is\n implicitly potentially render-blocking, which will be defined at the individual\n elements. By default, an element is not implicitly potentially render-blocking.\n\n#### 2.5.9 Fetch priority attributes\n\nA fetch priority attribute is an enumerated attribute with the\n following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `high` | High | Signals a high-priority [fetch](https://fetch.spec.whatwg.org/#concept-fetch) relative to other\n resources with the same [destination](https://fetch.spec.whatwg.org/#concept-request-destination). |\n| `low` | Low | Signals a low-priority [fetch](https://fetch.spec.whatwg.org/#concept-fetch) relative to other\n resources with the same [destination](https://fetch.spec.whatwg.org/#concept-request-destination). |\n| `auto` | Auto | Signals automatic determination of [fetch](https://fetch.spec.whatwg.org/#concept-fetch) priority\n relative to other resources with the same [destination](https://fetch.spec.whatwg.org/#concept-request-destination). |\n\nThe attribute's *missing value default* and\n *invalid value default* are both the\n Auto state.\n\n### 2.6 Common DOM interfaces\n\n#### 2.6.1 Reflecting content attributes in IDL attributes\n\nThe building blocks for reflecting are as follows:\n\n- A reflected target is an element or `ElementInternals`\n object. It is typically clear from context and typically identical to the interface of the\n reflected IDL attribute. It is always identical to that interface when it is an\n `ElementInternals` object.\n- A reflected IDL attribute is an attribute interface member.\n- A reflected content attribute name is a string. When the reflected\n target is an element, it represents the local name of a content attribute whose namespace\n is null. When the reflected target is an `ElementInternals` object, it\n represents a key of the reflected target's target\n element's internal content attribute map.\n\nA reflected IDL attribute can be defined to reflect a\n reflected content attribute name of a reflected target. In general this\n means that the IDL attribute getter returns the current value of the content attribute, and the\n setter changes the value of the content attribute to the given value.\n\nReflected targets have these associated algorithms:\n\n- get the element : takes no arguments; returns an element.\n- get the content attribute : takes no arguments; returns null or a string.\n- set the content attribute : takes a string value ; returns nothing.\n- delete the content attribute : takes no arguments; returns nothing.\n\nFor a reflected target that is an element element, these are defined as\n follows:\n\nget the element\n\nReturn element.\n\nget the content attribute\n\nLet attribute be the result of [getting an attribute by namespace and\n local name](https://dom.spec.whatwg.org/#concept-element-attributes-get-by-namespace) given null, the reflected content attribute name, and\n element.If attribute is null, then return null.Return attribute's [value](https://dom.spec.whatwg.org/#concept-attribute-value).\n\nset the content attribute with a string value\n\n[Set an attribute value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value)\n given element, the reflected content attribute name, and\n value.\n\ndelete the content attribute\n\n[Remove an attribute\n by namespace and local name](https://dom.spec.whatwg.org/#concept-element-attributes-remove-by-namespace) given null, the reflected content attribute name,\n and element.\n\nFor a reflected target that is an `ElementInternals` object\n elementInternals, they are defined as follows:\n\nget the element\n\nReturn elementInternals's target\n element.\n\nget the content attribute\n\nIf elementInternals's target element's\n internal content attribute map[the reflected content attribute name]\n [does not exist](https://infra.spec.whatwg.org/#map-exists), then return null.\n\n Return elementInternals's target\n element's internal content attribute map[the reflected content\n attribute name].\n\nset the content attribute with a string value\n\n[Set](https://infra.spec.whatwg.org/#map-set) elementInternals's target element's internal content attribute map[the\n reflected content attribute name] to value.\n\ndelete the content attribute\n\n[Remove](https://infra.spec.whatwg.org/#map-remove) elementInternals's target element's internal content attribute map[the\n reflected content attribute name].\n\nThis results in somewhat redundant data structures for\n `ElementInternals` objects as their target\n element's internal content attribute map cannot be directly manipulated and as\n such reflection is only happening in a single direction. This approach was nevertheless chosen to\n make it less error-prone to define IDL attributes that are shared between reflected targets and benefit from common API semantics.\n\n---\n\nIDL attributes of type `[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)` or `[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)?` that reflect enumerated content attributes can be limited to only known values.\n Per the processing models below, those will cause the getters for such IDL attributes to only\n return keywords for those enumerated attributes, or the empty string or null.\n\nIf a reflected IDL attribute has the type `[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)`:\n\n- The getter steps are: Let element be the result of running [this](https://webidl.spec.whatwg.org/#this)'s get the\n element.Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute.Let attributeDefinition be the attribute definition of element's\n content attribute whose namespace is null and local name is the reflected content\n attribute name.\n\n If attributeDefinition indicates it is an enumerated attribute and\n the reflected IDL attribute is defined to be limited to only known\n values: If contentAttributeValue does not correspond to any state of\n attributeDefinition (e.g., it is null and there is no *missing value default*), or if it is in a state of\n attributeDefinition with no associated keyword value, then return the empty\n string.Return the canonical keyword for the state of\n attributeDefinition that contentAttributeValue corresponds to. If contentAttributeValue is null, then return the empty string.Return contentAttributeValue.\n- The setter steps are to run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute\n with the given value.\n\nIf a reflected IDL attribute has the type `[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)?`:\n\n- The getter steps are: Let element be the result of running [this](https://webidl.spec.whatwg.org/#this)'s get the\n element.Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute.Let attributeDefinition be the attribute definition of element's\n content attribute whose namespace is null and local name is the reflected content\n attribute name.\n\n If attributeDefinition indicates it is an enumerated attribute: [Assert](https://infra.spec.whatwg.org/#assert): the reflected IDL attribute is limited to only\n known values.[Assert](https://infra.spec.whatwg.org/#assert): contentAttributeValue corresponds to a state of\n attributeDefinition.If contentAttributeValue corresponds to a state of\n attributeDefinition with no associated keyword value, then return null.Return the canonical keyword for the state of\n attributeDefinition that contentAttributeValue corresponds to. Return contentAttributeValue.\n- The setter steps are: If the given value is null, then run [this](https://webidl.spec.whatwg.org/#this)'s delete the content\n attribute.Otherwise, run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute with the given\n value.\n\nIf a reflected IDL attribute has the type `[USVString](https://webidl.spec.whatwg.org/#idl-USVString)`, optionally treated as a URL:\n\n- The getter steps are: Let element be the result of running [this](https://webidl.spec.whatwg.org/#this)'s get the\n element.Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute. If the reflected IDL attribute is treated as a URL: If contentAttributeValue is null, then return the empty string.Let urlString be the result of encoding-parsing-and-serializing a\n URL given contentAttributeValue, relative to element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document).If urlString is not failure, then return urlString. Return contentAttributeValue, [converted to a scalar value string](https://infra.spec.whatwg.org/#javascript-string-convert).\n- The setter steps are to run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute\n with the given value.\n\nIf a reflected IDL attribute has the type `[boolean](https://webidl.spec.whatwg.org/#idl-boolean)`:\n\n- The getter steps are: Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute.If contentAttributeValue is null, then return false.Return true.\n- The setter steps are: If the given value is false, then run [this](https://webidl.spec.whatwg.org/#this)'s delete the content\n attribute.If the given value is true, then run [this](https://webidl.spec.whatwg.org/#this)'s set the content\n attribute with the empty string.\n\nThis corresponds to the rules for boolean content\n attributes.\n\nIf a reflected IDL attribute has the type `[long](https://webidl.spec.whatwg.org/#idl-long)`,\n optionally limited to only non-negative numbers and optionally with a default\n value defaultValue:\n\n- The getter steps are: Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute. If contentAttributeValue is not null:\n\n Let parsedValue be the result of integer parsing contentAttributeValue if the reflected IDL\n attribute is not limited to only non-negative numbers; otherwise the\n result of non-negative integer\n parsing contentAttributeValue.If parsedValue is not an error and is within the `[long](https://webidl.spec.whatwg.org/#idl-long)` range, then return parsedValue. If the reflected IDL attribute has a default value, then\n return defaultValue.If the reflected IDL attribute is limited to only non-negative\n numbers, then return −1.Return 0.\n- The setter steps are: If the reflected IDL attribute is limited to only non-negative\n numbers and the given value is negative, then throw an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.Run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute with the given value\n converted to the shortest possible string representing the number as a valid\n integer.\n\nIf a reflected IDL attribute has the type `[unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long)`, optionally limited to only positive\n numbers, limited to only positive\n numbers with fallback, or clamped to the range [clampedMin,\n clampedMax], and optionally with a default value defaultValue:\n\n- The getter steps are: Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute.Let minimum be 0.If the reflected IDL attribute is limited to only positive\n numbers or limited to only positive numbers with fallback, then set\n minimum to 1.If the reflected IDL attribute is clamped to the range, then\n set minimum to clampedMin.Let maximum be 2147483647 if the reflected IDL attribute is not\n clamped to the range; otherwise clampedMax. If contentAttributeValue is not null:\n\n Let parsedValue be the result of non-negative integer parsing contentAttributeValue.If parsedValue is not an error and is in the range minimum to\n maximum, inclusive, then return parsedValue. If parsedValue is not an error and the reflected IDL attribute is\n clamped to the range:\n\n If parsedValue is less than minimum, then return\n minimum.Return maximum. If the reflected IDL attribute has a default value, then\n return defaultValue.Return minimum.\n- The setter steps are: If the reflected IDL attribute is limited to only positive\n numbers and the given value is 0, then throw an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.Let minimum be 0.If the reflected IDL attribute is limited to only positive\n numbers or limited to only positive numbers with fallback, then set\n minimum to 1.Let newValue be minimum.If the reflected IDL attribute has a default value, then set\n newValue to defaultValue.If the given value is in the range minimum to 2147483647, inclusive,\n then set newValue to it.Run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute with newValue\n converted to the shortest possible string representing the number as a valid non-negative\n integer. Clamped to the range has no effect on the setter steps.\n\nIf a reflected IDL attribute has the type `[double](https://webidl.spec.whatwg.org/#idl-double)`,\n optionally limited to only positive numbers\n and optionally with a default value defaultValue:\n\n- The getter steps are: Let contentAttributeValue be the result of running [this](https://webidl.spec.whatwg.org/#this)'s\n get the content attribute. If contentAttributeValue is not null:\n\n Let parsedValue be the result of floating-point number parsing contentAttributeValue.If parsedValue is not an error and is greater than 0, then return\n parsedValue.If parsedValue is not an error and the reflected IDL attribute\n is not limited to only positive numbers, then return\n parsedValue. If the reflected IDL attribute has a default value, then\n return defaultValue.Return 0.\n- The setter steps are: If the reflected IDL attribute is limited to only positive\n numbers and the given value is not greater than 0, then return.Run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute with the given value,\n converted to the best representation of the number as a floating-point\n number.\n\nThe values Infinity and Not-a-Number (NaN) values throw an exception on setting,\n as defined in Web IDL. [WEBIDL]\n\nIf a reflected IDL attribute has the type `[DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist)`, then its\n getter steps are to return a `[DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist)` object whose associated element is\n [this](https://webidl.spec.whatwg.org/#this) and associated attribute's local name is the reflected content\n attribute name. Specification authors cannot reflect IDL attributes of this type on\n `ElementInternals`.\n\nIf a reflected IDL attribute has the type `T?`,\n where T is either `[Element](https://dom.spec.whatwg.org/#interface-element)` or an interface that inherits from\n `[Element](https://dom.spec.whatwg.org/#interface-element)`, then with attr being the reflected content attribute\n name:\n\n- Its reflected target has an explicitly set\n attr-element, which is a weak reference to an element or null. It is initially\n null.\n- Its reflected target reflectedTarget has a get the\n attr-associated element algorithm, that runs these steps: Let element be the result of running reflectedTarget's get\n the element.Let contentAttributeValue be the result of running\n reflectedTarget's get the content attribute. If reflectedTarget's explicitly set attr-element is not\n null: If reflectedTarget's explicitly set attr-element is\n a [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of any of element's [shadow-including ancestors](https://dom.spec.whatwg.org/#concept-shadow-including-ancestor), then return\n reflectedTarget's explicitly set attr-element.Return null. Otherwise, if contentAttributeValue is not null, return the first element\n candidate, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), that meets the following criteria: candidate's [root](https://dom.spec.whatwg.org/#concept-tree-root) is the same as element's\n [root](https://dom.spec.whatwg.org/#concept-tree-root);candidate's [ID](https://dom.spec.whatwg.org/#concept-id) is\n contentAttributeValue; andcandidate [implements](https://webidl.spec.whatwg.org/#implements) T. If no such element exists, then return null. Return null.\n- The getter steps are to return the result of running [this](https://webidl.spec.whatwg.org/#this)'s get the\n attr-associated element.\n- The setter steps are: If the given value is null: Set [this](https://webidl.spec.whatwg.org/#this)'s explicitly set attr-element to\n null.Run [this](https://webidl.spec.whatwg.org/#this)'s delete the content attribute.Return. Run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute with the empty\n string.Set [this](https://webidl.spec.whatwg.org/#this)'s explicitly set attr-element to a weak\n reference to the given value.\n- For element reflected targets only: the following\n [attribute change steps](https://dom.spec.whatwg.org/#concept-element-attributes-change-ext), given\n element, localName, oldValue, value, and\n namespace, are used to synchronize between the content attribute and the IDL\n attribute: If localName is not attr or namespace is not null, then\n return.Set element's explicitly set attr-element to\n null.\n\nReflected IDL attributes of this\n type are strongly encouraged to have their identifier end in \"`Element`\" for\n consistency.\n\nIf a reflected IDL attribute has the type `FrozenArray?`, where T is either\n `[Element](https://dom.spec.whatwg.org/#interface-element)` or an interface that inherits from `[Element](https://dom.spec.whatwg.org/#interface-element)`, then with\n attr being the reflected content attribute name:\n\n- Its reflected target has an explicitly set\n attr-elements, which is either a [list](https://infra.spec.whatwg.org/#list) of weak references to\n elements or null. It is initially null.\n- Its reflected target has a cached attr-associated\n elements, which is a [list](https://infra.spec.whatwg.org/#list) of elements. It is initially « ».\n- Its reflected target has a cached attr-associated\n elements object, which is a `FrozenArray?`. It is\n initially null.\n- Its reflected target reflectedTarget has a get the\n attr-associated elements algorithm, which runs these steps: Let elements be an empty [list](https://infra.spec.whatwg.org/#list).Let element be the result of running reflectedTarget's get\n the element. If reflectedTarget's explicitly set attr-elements is not\n null: [For each](https://infra.spec.whatwg.org/#list-iterate) attrElement in\n reflectedTarget's explicitly set attr-elements: If attrElement is not a [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of any of\n element's [shadow-including\n ancestors](https://dom.spec.whatwg.org/#concept-shadow-including-ancestor), then [continue](https://infra.spec.whatwg.org/#iteration-continue).[Append](https://infra.spec.whatwg.org/#list-append) attrElement to\n elements. Otherwise: Let contentAttributeValue be the result of running\n reflectedTarget's get the content attribute.\n\n If contentAttributeValue is null, then return null.Let tokens be contentAttributeValue, [split on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace).\n\n [For each](https://infra.spec.whatwg.org/#list-iterate) id of tokens: Let candidate be the first element, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), that meets\n the following criteria: candidate's [root](https://dom.spec.whatwg.org/#concept-tree-root) is the same as element's\n [root](https://dom.spec.whatwg.org/#concept-tree-root);candidate's [ID](https://dom.spec.whatwg.org/#concept-id) is id;\n andcandidate [implements](https://webidl.spec.whatwg.org/#implements) T. If no such element exists, then [continue](https://infra.spec.whatwg.org/#iteration-continue). [Append](https://infra.spec.whatwg.org/#list-append) candidate to\n elements. Return elements.\n- The getter steps are: Let elements be the result of running [this](https://webidl.spec.whatwg.org/#this)'s get the\n attr-associated elements.If the contents of elements is equal to the contents of [this](https://webidl.spec.whatwg.org/#this)'s\n cached attr-associated elements, then return [this](https://webidl.spec.whatwg.org/#this)'s\n cached attr-associated elements object.Let elementsAsFrozenArray be elements, [converted](https://webidl.spec.whatwg.org/#es-type-mapping) to a `FrozenArray?`.Set [this](https://webidl.spec.whatwg.org/#this)'s cached attr-associated elements to\n elements.Set [this](https://webidl.spec.whatwg.org/#this)'s cached attr-associated elements object\n to elementsAsFrozenArray.Return elementsAsFrozenArray. This extra caching layer is necessary to preserve the invariant that `element.reflectedElements === element.reflectedElements`.\n- The setter steps are: If the given value is null: Set [this](https://webidl.spec.whatwg.org/#this)'s explicitly set attr-elements to\n null.Run [this](https://webidl.spec.whatwg.org/#this)'s delete the content attribute.Return. Run [this](https://webidl.spec.whatwg.org/#this)'s set the content attribute with the empty\n string.Let elements be an empty [list](https://infra.spec.whatwg.org/#list). [For each](https://infra.spec.whatwg.org/#list-iterate) element in the given value: [Append](https://infra.spec.whatwg.org/#list-append) a weak reference to element to\n elements. Set [this](https://webidl.spec.whatwg.org/#this)'s explicitly set attr-elements to\n elements.\n- For element reflected targets only: the following\n [attribute change steps](https://dom.spec.whatwg.org/#concept-element-attributes-change-ext), given\n element, localName, oldValue, value, and\n namespace, are used to synchronize between the content attribute and the IDL\n attribute: If localName is not attr or namespace is not null, then\n return.Set element's explicitly set attr-elements to\n null.\n\nReflected IDL attributes of this\n type are strongly encouraged to have their identifier end in \"`Elements`\" for\n consistency.\n\n#### 2.6.2 Using reflect via IDL extended attributes\n\nReflection can be used from IDL through [extended attributes](https://webidl.spec.whatwg.org/#dfn-extended-attribute). `[Reflect]`, `[ReflectSetter]`, `[ReflectURL]`,\n `[ReflectNonNegative]`, `[ReflectPositive]`, and\n `[ReflectPositiveWithFallback]` all\n trigger reflection. These must either take no arguments, or take a\n string; they must not appear on anything other than an interface member attribute; and only one of\n these can be used at a time.\n\nFor one of these primary reflection [extended\n attributes](https://webidl.spec.whatwg.org/#dfn-extended-attribute), its reflected content attribute name is the string value it takes,\n if one is provided; otherwise it is the IDL attribute name [converted to ASCII\n lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n\nIDL attributes with the `[Reflect]` [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must reflect `[Reflect]`'s\n reflected content attribute name.\n\nIDL attributes with the `[ReflectSetter]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) on setting must reflect `[ReflectSetter]`'s reflected content attribute\n name.\n\nThe `[ReflectURL]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must\n only appear on attributes with a type of `[USVString](https://webidl.spec.whatwg.org/#idl-USVString)`.\n\nIDL attributes with the `[ReflectURL]` [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must reflect, as a URL, `[ReflectURL]`'s reflected content attribute name.\n\nThe `[ReflectNonNegative]` [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must only appear on attributes with a type of `[long](https://webidl.spec.whatwg.org/#idl-long)`.\n\nIDL attributes with the `[ReflectNonNegative]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must reflect, limited to only non-negative\n numbers, `[ReflectNonNegative]`'s\n reflected content attribute name.\n\nThe `[ReflectPositive]` and `[ReflectPositiveWithFallback]` [extended attributes](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must only appear on attributes with a type\n of `[double](https://webidl.spec.whatwg.org/#idl-double)` or `[unsigned\n long](https://webidl.spec.whatwg.org/#idl-unsigned-long)`.\n\nIDL attributes with the `[ReflectPositive]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must reflect, limited to only positive\n numbers, `[ReflectPositive]`'s reflected\n content attribute name.\n\nIDL attributes with the `[ReflectPositiveWithFallback]` [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) must reflect, limited to only positive numbers with\n fallback, `[ReflectPositiveWithFallback]`'s reflected\n content attribute name.\n\n---\n\nTo supplement the above [extended attributes](https://webidl.spec.whatwg.org/#dfn-extended-attribute) we also\n introduce `[ReflectRange]`, and `[ReflectDefault]`. These\n augment how reflection works and also must only appear on interface\n member attributes.\n\nThe `[ReflectRange]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute)\n must take an integer list limited to two values. It must only be used on attributes with a type of\n `[unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long)`. Additionally, it must also only appear\n alongside `[Reflect]`.\n\nIDL attributes with the `[ReflectRange]` [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) are clamped to the range [clampedMin,\n clampedMax] where clampedMin is the first, and clampedMax is the\n second argument to the list provided to `[ReflectRange]`.\n\nThe `[ReflectDefault]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute)\n must only be used on attributes with a type of `[double](https://webidl.spec.whatwg.org/#idl-double)`, `[long](https://webidl.spec.whatwg.org/#idl-long)`, or `[unsigned long](https://webidl.spec.whatwg.org/#idl-unsigned-long)`. When used\n on an attribute of type `[double](https://webidl.spec.whatwg.org/#idl-double)`, it must take a decimal; otherwise\n it must take an integer. Additionally, it must also only appear alongside `[Reflect]`, `[ReflectNonNegative]`, `[ReflectPositive]`, or `[ReflectPositiveWithFallback]`.\n\nIDL attributes with the `[ReflectDefault]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute) have a default value provided by the argument\n provided to `[ReflectDefault]`.\n\n#### 2.6.3 Using reflect in specifications\n\nReflection is primarily about improving web developer ergonomics\n by giving them typed access to content attributes through reflected IDL attributes. The ultimate source of truth, which the web platform\n builds upon, is the content attributes themselves. That is, specification authors must not use the\n reflected IDL attribute getter or setter steps, but instead must use the content\n attribute presence and value. (Or an abstraction on top, such as the state of an enumerated\n attribute.)\n\nTwo important exceptions to this are reflected IDL\n attributes whose type is one of the following:\n\n- `T?`, where T is either `[Element](https://dom.spec.whatwg.org/#interface-element)` or\n an interface that inherits from `[Element](https://dom.spec.whatwg.org/#interface-element)`\n- `FrozenArray?`, where T is either\n `[Element](https://dom.spec.whatwg.org/#interface-element)` or an interface that inherits from `[Element](https://dom.spec.whatwg.org/#interface-element)`\n\nFor those, specification authors must use the reflected target's\n get the attr-associated element and get the\n attr-associated elements, respectively. The content attribute presence and value\n must not be used as they cannot be fully synchronized with the reflected IDL\n attribute.\n\nA reflected target's explicitly set attr-element,\n explicitly set attr-elements, cached attr-associated\n elements, and cached attr-associated elements object are to be\n treated as internal implementation details and not to be built upon.\n\n#### 2.6.4 Collections\n\nThe `HTMLFormControlsCollection` and `HTMLOptionsCollection` interfaces\n are [collections](https://dom.spec.whatwg.org/#concept-collection) derived from the\n `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` interface. The `HTMLAllCollection` interface is a [collection](https://dom.spec.whatwg.org/#concept-collection), but is not so derived.\n\n##### 2.6.4.1 The `HTMLAllCollection` interface\n\nThe `HTMLAllCollection` interface is used for the legacy `document.all` attribute. It operates similarly to\n `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)`; the main differences are that it allows a staggering variety of\n different (ab)uses of its methods to all end up returning something, and that it can be called as\n a function as an alternative to property access.\n\nAll `HTMLAllCollection` objects are rooted at a `Document`\n and have a filter that matches all elements, so the elements [represented by the\n collection](https://dom.spec.whatwg.org/#represented-by-the-collection) of an `HTMLAllCollection` object consist of all the descendant\n elements of the root `Document`.\n\nObjects that implement the `HTMLAllCollection` interface are [legacy platform objects](https://webidl.spec.whatwg.org/#dfn-legacy-platform-object) with an additional [[Call]] internal\n method described in the section below. They also have an\n [[[IsHTMLDDA]]](https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot) internal slot.\n\nObjects that implement the `HTMLAllCollection` interface have several unusual\n behaviors, due of the fact that they have an [[[IsHTMLDDA]]](https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot) internal slot:\n\n- The [ToBoolean](https://tc39.es/ecma262/#sec-toboolean) abstract operation in JavaScript returns\n false when given objects implementing the `HTMLAllCollection` interface.\n- The [IsLooselyEqual](https://tc39.es/ecma262/#sec-islooselyequal) abstract operation,\n when given objects implementing the `HTMLAllCollection` interface, returns true when\n compared to the `undefined` and `null` values.\n (Comparisons using the [IsStrictlyEqual](https://tc39.es/ecma262/#sec-isstrictlyequal) abstract\n operation, and IsLooselyEqual comparisons to other values such as strings or objects, are\n unaffected.)\n- The `[typeof](https://tc39.es/ecma262/#sec-typeof-operator)` operator in JavaScript returns the string\n `\"undefined\"` when applied to objects implementing the\n `HTMLAllCollection` interface.\n\nThese special behaviors are motivated by a desire for compatibility with two classes of legacy\n content: one that uses the presence of `document.all` as a\n way to detect legacy user agents, and one that only supports those legacy user agents and uses\n the `document.all` object without testing for its presence\n first. [JAVASCRIPT]\n\n```\n[Exposed=Window,\n LegacyUnenumerableNamedProperties]\ninterface HTMLAllCollection {\n readonly attribute unsigned long length;\n getter Element (unsigned long index);\n getter (HTMLCollection or Element)? namedItem(DOMString name);\n (HTMLCollection or Element)? item(optional DOMString nameOrIndex);\n\n // Note: HTMLAllCollection objects have a custom [[Call]] internal method and an [[IsHTMLDDA]] internal slot.\n};\n```\n\nThe object's [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are as defined for\n `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` objects.\n\nThe [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) consist of the non-empty values of all the `id` attributes of all the elements [represented by the\n collection](https://dom.spec.whatwg.org/#represented-by-the-collection), and the non-empty values of all the `name` attributes of\n all the \"all\"-named elements [represented by the collection](https://dom.spec.whatwg.org/#represented-by-the-collection), in\n [tree order](https://dom.spec.whatwg.org/#concept-tree-order), ignoring later duplicates, with the `id` of\n an element preceding its `name` if it contributes both, they differ from\n each other, and neither is the duplicate of an earlier entry.\n\nThe `length` getter steps are to return the number\n of nodes [represented by the collection](https://dom.spec.whatwg.org/#represented-by-the-collection).\n\nThe indexed property getter must return the result of getting the \"all\"-indexed element from [this](https://webidl.spec.whatwg.org/#this)\n given the passed index.\n\nThe `namedItem(name)` method steps are\n to return the result of getting the \"all\"-named\n element(s) from [this](https://webidl.spec.whatwg.org/#this) given name.\n\nThe `item(nameOrIndex)` method steps\n are:\n\n1. If nameOrIndex was not provided, return null.\n2. Return the result of getting the\n \"all\"-indexed or named element(s) from [this](https://webidl.spec.whatwg.org/#this), given\n nameOrIndex.\n\n---\n\nThe following elements are \"all\"-named elements:\n `a`,\n `button`,\n `embed`,\n `form`,\n `frame`,\n `frameset`,\n `iframe`,\n `img`,\n `input`,\n `map`,\n `meta`,\n `object`,\n `select`, and\n `textarea`\n\nTo get the \"all\"-indexed element from an\n `HTMLAllCollection` collection given an index index, return the\n indexth element in collection, or null if there is no such\n indexth element.\n\nTo get the \"all\"-named element(s) from an\n `HTMLAllCollection` collection given a name name, perform the\n following steps:\n\n1. If name is the empty string, return null.\n2. Let subCollection be an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` object rooted at the same\n `Document` as collection, whose filter matches only elements that are\n either:\n - \"all\"-named elements with a `name` attribute equal to\n name, or\n - elements with an [ID](https://dom.spec.whatwg.org/#concept-id) equal to name.\n3. If there is exactly one element in subCollection, then return that\n element.\n4. Otherwise, if subCollection is empty, return null.\n5. Otherwise, return subCollection.\n\nTo get the \"all\"-indexed or named\n element(s) from an `HTMLAllCollection` collection given\n nameOrIndex:\n\n1. If nameOrIndex, [converted](https://webidl.spec.whatwg.org/#es-type-mapping) to a\n JavaScript String value, is an [array index property name](https://webidl.spec.whatwg.org/#dfn-array-index-property-name), return the result of getting the \"all\"-indexed element from\n collection given the number represented by nameOrIndex.\n2. Return the result of getting the \"all\"-named\n element(s) from collection given nameOrIndex.\n\n###### 2.6.4.1.1 [[Call]] ( thisArgument, argumentsList )\n\n1. If argumentsList's [size](https://infra.spec.whatwg.org/#list-size) is zero, or if\n argumentsList[0] is undefined, return null.\n2. Let nameOrIndex be the result of [converting](https://webidl.spec.whatwg.org/#es-type-mapping) argumentsList[0] to a `[DOMString](https://webidl.spec.whatwg.org/#idl-DOMString)`.\n3. Let result be the result of getting the \"all\"-indexed or named element(s)\n from this `HTMLAllCollection` given nameOrIndex.\n4. Return the result of [converting](https://webidl.spec.whatwg.org/#es-type-mapping) result to an ECMAScript value.\n\nThe thisArgument is ignored, and thus code such as `Function.prototype.call.call(document.all, null, \"x\")` will still search for\n elements. (`document.all.call` does not exist, since `document.all` does not inherit from `Function.prototype`.)\n\n##### 2.6.4.2 The `HTMLFormControlsCollection` interface\n\nThe `HTMLFormControlsCollection` interface is used for\n [collections](https://dom.spec.whatwg.org/#concept-collection) of listed\n elements in `form` elements.\n\n[HTMLFormControlsCollection](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[RadioNodeList](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList)\n\nSupport in all current engines.\n\nFirefox33+ Safari7+ Chrome21+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n```\n[Exposed=Window]\ninterface HTMLFormControlsCollection : HTMLCollection {\n // inherits length and item()\n getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()\n};\n\n[Exposed=Window]\ninterface RadioNodeList : NodeList {\n attribute DOMString value;\n};\n```\n\n`collection.[length](https://dom.spec.whatwg.org/#dom-htmlcollection-length)`\n\nReturns the number of elements in collection.\n\n`element = collection.[item](https://dom.spec.whatwg.org/#dom-htmlcollection-item)(index)`\n\n`element = collection[index]`\n\nReturns the item at index index in collection. The items are sorted\n in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n\n`element = collection.namedItem(name)`[HTMLFormControlsCollection/namedItem](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormControlsCollection/namedItem)Support in all current engines.Firefox33+Safari4+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet ExplorerNoFirefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\n`radioNodeList = collection.namedItem(name)`\n\n`element = collection[name]`\n\n`radioNodeList = collection[name]`\n\nReturns the item with [ID](https://dom.spec.whatwg.org/#concept-id) or `name` name from collection. If there are multiple matching items, then a `RadioNodeList` object containing all\n those elements is returned.\n\n`radioNodeList.value`\n\nReturns the value of the first checked radio button represented by\n radioNodeList.\n\n`radioNodeList.value = value`\n\nChecks the first radio button represented by radioNodeList that has value\n value.\n\nThe object's [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are as defined for\n `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` objects.\n\nThe [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) consist of the non-empty values of all the `id` and `name` attributes of all the\n elements [represented by the collection](https://dom.spec.whatwg.org/#represented-by-the-collection), in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), ignoring later\n duplicates, with the `id` of an element preceding its `name` if it contributes both, they differ from each other, and neither is the\n duplicate of an earlier entry.\n\nThe `namedItem(name)` method\n must act according to the following algorithm:\n\n1. If name is the empty string, return null and stop the algorithm.\n2. If, at the time the method is called, there is exactly one node in the collection that has\n either an `id` attribute or a `name` attribute equal to name , then return that node and stop the algorithm.\n3. Otherwise, if there are no nodes in the collection that have either an `id` attribute or a `name` attribute equal\n to name , then return null and stop the algorithm.\n4. Otherwise, create a new `RadioNodeList` object representing a live view of the `HTMLFormControlsCollection` object, further filtered so that the only\n nodes in the `RadioNodeList` object are those that have either an `id` attribute or a `name` attribute equal\n to name . The nodes in the `RadioNodeList` object must be sorted in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) .\n5. Return that `RadioNodeList` object.\n\n---\n\nMembers of the `RadioNodeList` interface inherited from the `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)`\n interface must behave as they would on a `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` object.\n\n[RadioNodeList/value](https://developer.mozilla.org/en-US/docs/Web/API/RadioNodeList/value)\n\nSupport in all current engines.\n\nFirefox33+ Safari7+ Chrome21+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `value` IDL attribute on the\n `RadioNodeList` object, on getting, must return the value returned by running the\n following steps:\n\n1. Let element be the first element in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)\n represented by the `RadioNodeList` object that is an `input` element whose\n `type` attribute is in the Radio Button state and whose checkedness is true. Otherwise, let it be null.\n2. If element is null, return the empty string.\n3. If element is an element with no `value` attribute, return the string \"`on`\".\n4. Otherwise, return the value of element's `value` attribute.\n\nOn setting, the `value` IDL attribute must run the\n following steps:\n\n1. If the new value is the string \"`on`\": let element be the first element in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)\n represented by the `RadioNodeList` object that is an `input` element whose\n `type` attribute is in the Radio Button state and whose `value` content attribute is either absent, or present and equal to the new value, if any. If no such element exists, then instead let element be null. Otherwise: let element be the first element in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)\n represented by the `RadioNodeList` object that is an `input` element whose\n `type` attribute is in the Radio Button state and whose `value` content attribute is present and equal to the new value, if\n any. If no such element exists, then instead let element be null.\n2. If element is not null, then set its checkedness to true.\n\n##### 2.6.4.3 The `HTMLOptionsCollection` interface\n\n[HTMLOptionsCollection](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nThe `HTMLOptionsCollection` interface is used for [collections](https://dom.spec.whatwg.org/#concept-collection) of `option` elements. It is always\n rooted on a `select` element and has attributes and methods that manipulate that\n element's descendants.\n\n```\n[Exposed=Window]\ninterface HTMLOptionsCollection : HTMLCollection {\n // inherits item(), namedItem()\n [CEReactions] attribute unsigned long length; // shadows inherited length\n [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);\n [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);\n [CEReactions] undefined remove(long index);\n attribute long selectedIndex;\n};\n```\n\n`collection.length`\n\nReturns the number of elements in collection.\n\n`collection.length = value`\n\nWhen set to a smaller number than the existing length, truncates the number of\n `option` elements in the container corresponding to collection. When set to a greater number than the existing length, if that number is less than or equal\n to 100000, adds new blank `option` elements to the container corresponding to\n collection.\n\n`element = collection.[item](https://dom.spec.whatwg.org/#dom-htmlcollection-item)(index)`\n\n`element = collection[index]`\n\nReturns the item at index index in collection. The items are sorted\n in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n\n`collection[index] = element`\n\nWhen index is a greater number than the number of items in collection,\n adds new blank `option` elements in the corresponding container. When set to null, removes the item at index index from collection. When set to an `option` element, adds or replaces it at index index in\n collection.\n\n`element = collection.[namedItem](https://dom.spec.whatwg.org/#dom-htmlcollection-nameditem)(name)`\n\n`element = collection[name]`\n\nReturns the item with [ID](https://dom.spec.whatwg.org/#concept-id) or `name` name from collection. If there are multiple matching items, then the first is returned.\n\n`collection.add(element[, before])`\n\nInserts element before the node given by before. The before argument can be a number, in which case element is inserted\n before the item with that number, or an element from collection, in which case\n element is inserted before that element. If before is omitted, null, or a number out of range, then element will\n be added at the end of the list. Throws a [\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if\n element is an ancestor of the element into which it is to be inserted.\n\n`collection.remove(index)`\n\nRemoves the item with index index from collection.\n\n`collection.selectedIndex`\n\nReturns the index of the first selected item, if any, or −1 if there is no selected\n item.\n\n`collection.selectedIndex = index`\n\nChanges the selection to the `option` element at index index in\n collection.\n\nThe object's [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are as defined for\n `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` objects.\n\nThe `length` getter steps are to return the\n number of nodes [represented by the collection](https://dom.spec.whatwg.org/#represented-by-the-collection).\n\nThe `length` setter steps are:\n\n1. Let current be the number of nodes [represented by the\n collection](https://dom.spec.whatwg.org/#represented-by-the-collection).\n2. If the given value is greater than current:\n 1. If the given value is greater than 100,000, then return.\n 2. Let n be value − current.\n 3. Append new option elements to the `select` element on which\n [this](https://webidl.spec.whatwg.org/#this) is rooted given n.\n3. If the given value is less than current:\n 1. Let n be current − value.\n 2. Remove the last n nodes in the collection from their parent nodes.\n\nSetting `length` never removes\n or adds any `optgroup` elements, and never adds new children to existing\n `optgroup` elements (though it can remove children from them).\n\nThe [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) consist of the non-empty values of all the `id` and `name` attributes of all the\n elements [represented by the collection](https://dom.spec.whatwg.org/#represented-by-the-collection), in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), ignoring later\n duplicates, with the `id` of an element preceding its `name` if it contributes both, they differ from each other, and neither is\n the duplicate of an earlier entry.\n\nTo append new option elements to a `select` element\n select given a non-negative integer count:\n\n1. Let fragment be the result of [creating\n a document fragment](https://dom.spec.whatwg.org/#create-a-document-fragment) given select's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n2. Append count new `option` elements to fragment.\n3. [Append](https://dom.spec.whatwg.org/#concept-node-append) fragment to\n select.\n\nTo [set the value of a new indexed property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-a-new-indexed-property)\n or [set the value of an existing indexed property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-an-existing-indexed-property) for an\n `HTMLOptionsCollection` collection, given a property index index\n and a new value value:\n\n1. If value is null, then remove\n an option from collection given index and return.\n2. Let length be the number of nodes [represented](https://dom.spec.whatwg.org/#represented-by-the-collection) by collection.\n3. Let delta be index − length.\n4. If delta is greater than 0, then append new option elements to\n the `select` element on which collection is rooted given\n delta.\n5. If delta is greater than or equal to 0, then [append](https://dom.spec.whatwg.org/#concept-node-append) value to the `select` element\n on which collection is rooted. Otherwise, [replace](https://dom.spec.whatwg.org/#concept-node-replace) the indexth element in\n collection by value.\n\nThe `add(element, before)`\n method steps are:\n\n1. If element is an ancestor of the `select` element on which\n [this](https://webidl.spec.whatwg.org/#this) is rooted, then throw a [\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. If before is an element, but that element isn't a descendant of the\n `select` element on which [this](https://webidl.spec.whatwg.org/#this) is rooted, then throw a\n [\"`NotFoundError`\"](https://webidl.spec.whatwg.org/#notfounderror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n3. If element and before are the same element, then return.\n4. Let reference be null.\n5. If before is a node, then set reference to before.\n Otherwise, if before is an integer and there is a beforeth node in\n [this](https://webidl.spec.whatwg.org/#this), then set reference to that node.\n6. Let parent be reference's parent node if reference is\n not null; otherwise the `select` element on which [this](https://webidl.spec.whatwg.org/#this) is rooted.\n7. [Pre-insert](https://dom.spec.whatwg.org/#concept-node-pre-insert) element into parent node before\n reference.\n\nTo remove an option from an\n `HTMLOptionsCollection` collection given an integer index:\n\n1. If the number of nodes [represented](https://dom.spec.whatwg.org/#represented-by-the-collection) by\n collection is 0, then return.\n2. If index is not a number greater than or equal to 0 and less than the number\n of nodes [represented](https://dom.spec.whatwg.org/#represented-by-the-collection) by collection,\n then return.\n3. Let element be the indexth element in\n collection.\n4. Remove element from its parent node.\n\nThe `remove(index)` method steps are\n to remove an option from\n [this](https://webidl.spec.whatwg.org/#this) given index.\n\nThe `selectedIndex` getter steps are to\n return the selected index of the `select`\n element on which [this](https://webidl.spec.whatwg.org/#this) is rooted.\n\nThe `selectedIndex` setter steps\n are to set the selected index of the `select` element on which\n [this](https://webidl.spec.whatwg.org/#this) is rooted to the given value.\n\n#### 2.6.5 The `DOMStringList` interface\n\n[DOMStringList](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList)\n\nSupport in all current engines.\n\nFirefox1+ Safari5.1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android3+ Samsung Internet? Opera Android12.1+\n\nThe `DOMStringList` interface is a non-fashionable retro way of representing a list\n of strings.\n\n```\n[Exposed=(Window,Worker)]\ninterface DOMStringList {\n readonly attribute unsigned long length;\n getter DOMString? item(unsigned long index);\n boolean contains(DOMString string);\n};\n```\n\nNew APIs must use `sequence` or\n equivalent rather than `DOMStringList`.\n\n`strings.length`\n\nReturns the number of strings in strings.\n\n`strings[index]`\n\n`strings.item(index)`\n\nReturns the string with index index from strings.\n\n`strings.contains(string)`\n\nReturns true if strings contains string, and false\n otherwise.\n\nEach `DOMStringList` object has an associated [list](https://infra.spec.whatwg.org/#list).\n\nThe `DOMStringList` interface [supports indexed properties](https://webidl.spec.whatwg.org/#dfn-support-indexed-properties). The\n [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) are the [indices](https://infra.spec.whatwg.org/#list-get-the-indices) of [this](https://webidl.spec.whatwg.org/#this)'s\n associated list.\n\n[DOMStringList/length](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/length)\n\nSupport in all current engines.\n\nFirefox1+ Safari5.1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nThe `length` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s associated list's [size](https://infra.spec.whatwg.org/#list-size).\n\n[DOMStringList/item](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/item)\n\nSupport in all current engines.\n\nFirefox1+ Safari5.1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android3+ Samsung Internet? Opera Android12.1+\n\nThe `item(index)` method steps are to\n return the indexth item in [this](https://webidl.spec.whatwg.org/#this)'s associated list, or null if\n index plus one is greater than [this](https://webidl.spec.whatwg.org/#this)'s associated list's [size](https://infra.spec.whatwg.org/#list-size).\n\n[DOMStringList/contains](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringList/contains)\n\nSupport in all current engines.\n\nFirefox1.5+ Safari5.1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android3+ Samsung Internet? Opera Android12.1+\n\nThe `contains(string)` method steps\n are to return true if [this](https://webidl.spec.whatwg.org/#this)'s associated list [contains](https://infra.spec.whatwg.org/#list-contain) string, and false otherwise.\n\n### 2.7 Safe passing of structured data\n\nTo support passing JavaScript objects,\n including [platform objects](https://webidl.spec.whatwg.org/#dfn-platform-object), across [realm](https://tc39.es/ecma262/#sec-code-realms)\n boundaries, this specification defines the following infrastructure for\n serializing and deserializing objects, including in some cases transferring the underlying data\n instead of copying it. Collectively this serialization/deserialization process is known as\n \"structured cloning\", although most APIs perform separate serialization and deserialization steps.\n (With the notable exception being the `structuredClone()`\n method.)\n\nThis section uses the terminology and typographic conventions from the JavaScript\n specification. [JAVASCRIPT]\n\n#### 2.7.1 Serializable objects\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[/developer.mozilla.org/en-US/docs/Glossary/Serializable_object](https://developer.mozilla.org/en-US/docs/Web/https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object)\n\nFirefox103+ SafariNo Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nSerializable objects support being serialized, and later deserialized, in a way\n that is independent of any given [realm](https://tc39.es/ecma262/#sec-code-realms). This allows them to be stored on disk and\n later restored, or cloned across [agent](https://tc39.es/ecma262/#sec-agents) and even [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters)\n boundaries.\n\nNot all objects are serializable objects, and not all aspects of objects that are\n serializable objects are necessarily preserved when they are serialized.\n\n[Platform objects](https://webidl.spec.whatwg.org/#dfn-platform-object) can be serializable objects\n if their [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface) is decorated with the `[Serializable]` IDL [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute). Such interfaces must also define the following algorithms:\n\nserialization steps, taking a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) value, a [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) serialized, and a boolean\n forStorage\n\nA set of steps that serializes the data in value into fields of\n serialized. The resulting data serialized into serialized must be\n independent of any [realm](https://tc39.es/ecma262/#sec-code-realms). These steps may throw an exception if serialization is not possible. These steps may perform a sub-serialization to serialize nested data\n structures. They should not call StructuredSerialize directly, as doing so will\n omit the important memory argument. The introduction of these steps should omit mention of the forStorage argument if\n it is not relevant to the algorithm.\n\ndeserialization steps, taking a [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) serialized,\n a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) value, and a [realm](https://tc39.es/ecma262/#sec-code-realms) targetRealm\n\nA set of steps that deserializes the data in serialized, using it to set up\n value as appropriate. value will be a newly-created instance of the\n [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) type in question, with none of its internal data set up; setting\n that up is the job of these steps. These steps may throw an exception if deserialization is not possible. These steps may perform a sub-deserialization to deserialize nested data\n structures. They should not call StructuredDeserialize directly, as doing so will\n omit the important targetRealm and memory arguments.\n\nIt is up to the definition of individual platform objects to determine what data is serialized\n and deserialized by these steps. Typically the steps are very symmetric.\n\nThe `[Serializable]` extended attribute must take no\n arguments, and must only appear on an interface. It must not appear more than once on an\n interface.\n\nFor a given [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object), only the object's [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface) is\n considered during the (de)serialization process. Thus, if inheritance is involved in defining the\n interface, each `[Serializable]`-annotated interface in the\n inheritance chain needs to define standalone serialization steps and\n deserialization steps, including taking into account any important data that might\n come from inherited interfaces.\n\nLet's say we were defining a platform object `Person`, which had\n associated with it two pieces of associated data:\n\n- a name value, which is a string; and\n- a best friend value, which is either another `Person` instance\n or null.\n\nWe could then define `Person` instances to be serializable\n objects by annotating the `Person` interface with the `[Serializable]` [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute), and defining the\n following accompanying algorithms:\n\nTheir serialization steps, given value and serialized:\n\n1. Set serialized.[[Name]] to value's associated name\n value.\n2. Let serializedBestFriend be the sub-serialization of\n value's associated best friend value.\n3. Set serialized.[[BestFriend]] to serializedBestFriend.\n\nTheir deserialization steps, given serialized, value, and\n targetRealm:\n\n1. Set value's associated name value to\n serialized.[[Name]].\n2. Let deserializedBestFriend be the sub-deserialization of\n serialized.[[BestFriend]].\n3. Set value's associated best friend value to\n deserializedBestFriend.\n\nObjects defined in the JavaScript specification are handled by the\n StructuredSerialize abstract operation directly.\n\nOriginally, this specification defined the concept of\n \"cloneable objects\", which could be cloned from one [realm](https://tc39.es/ecma262/#sec-code-realms) to another. However, to\n better specify the behavior of certain more complex situations, the model was updated to make the\n serialization and deserialization explicit.\n\n#### 2.7.2 Transferable objects\n\nTransferable objects support being transferred across [agents](https://tc39.es/ecma262/#sec-agents). Transferring is effectively recreating the object while sharing a\n reference to the underlying data and then detaching the object being transferred. This is useful\n to transfer ownership of expensive resources. Not all objects are transferable\n objects and not all aspects of objects that are transferable objects are\n necessarily preserved when transferred.\n\nTransferring is an irreversible and non-idempotent operation. Once an object has\n been transferred, it cannot be transferred, or indeed used, again.\n\n[Platform objects](https://webidl.spec.whatwg.org/#dfn-platform-object) can be transferable objects\n if their [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface) is decorated with the `[Transferable]` IDL [extended\n attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute). Such interfaces must also define the following algorithms:\n\ntransfer steps, taking a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) value and a [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) dataHolder\n\nA set of steps that transfers the data in value into fields of\n dataHolder. The resulting data held in dataHolder must be\n independent of any [realm](https://tc39.es/ecma262/#sec-code-realms). These steps may throw an exception if transferral is not possible.\n\ntransfer-receiving steps, taking a [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) dataHolder and a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) value\n\nA set of steps that receives the data in dataHolder, using it to set up\n value as appropriate. value will be a newly-created instance of the\n [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) type in question, with none of its internal data set up; setting\n that up is the job of these steps. These steps may throw an exception if it is not possible to receive the transfer.\n\nIt is up to the definition of individual platform objects to determine what data is transferred\n by these steps. Typically the steps are very symmetric.\n\nThe `[Transferable]` extended attribute must take no\n arguments, and must only appear on an interface. It must not appear more than once on an\n interface.\n\nFor a given [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object), only the object's [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface) is\n considered during the transferring process. Thus, if inheritance is involved in defining the\n interface, each `[Transferable]`-annotated interface in the\n inheritance chain needs to define standalone transfer steps and\n transfer-receiving steps, including taking into account any important data that might\n come from inherited interfaces.\n\n[Platform objects](https://webidl.spec.whatwg.org/#dfn-platform-object) that are transferable\n objects have a [[Detached]] internal slot. This\n is used to ensure that once a platform object has been transferred, it cannot be transferred\n again.\n\nObjects defined in the JavaScript specification are handled by the\n StructuredSerializeWithTransfer abstract operation directly.\n\n#### 2.7.3 StructuredSerializeInternal ( value, forStorage [ ,\n memory ] )\n\nThe StructuredSerializeInternal abstract operation takes as input a JavaScript\n value value and serializes it to a [realm](https://tc39.es/ecma262/#sec-code-realms)-independent form, represented\n here as a [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type). This serialized form has all the information necessary to later\n deserialize into a new JavaScript value in a different realm.\n\nThis process can throw an exception, for example when trying to serialize un-serializable\n objects.\n\n1. If memory was not supplied, let memory be an empty [map](https://infra.spec.whatwg.org/#ordered-map). The purpose of the memory map is to avoid serializing objects twice.\n This ends up preserving cycles and the identity of duplicate objects in graphs.\n2. If memory[value] [exists](https://infra.spec.whatwg.org/#map-exists), then\n return memory[value].\n3. Let deep be false.\n4. If value is undefined, null, [a Boolean](https://tc39.es/ecma262/#sec-ecmascript-language-types-boolean-type), [a Number](https://tc39.es/ecma262/#sec-ecmascript-language-types-number-type), [a BigInt](https://tc39.es/ecma262/#sec-ecmascript-language-types-bigint-type), or [a String](https://tc39.es/ecma262/#sec-ecmascript-language-types-string-type), then return { [[Type]]: \"primitive\", [[Value]]:\n value }.\n5. If value [is a Symbol](https://tc39.es/ecma262/#sec-ecmascript-language-types-symbol-type), then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n6. Let serialized be an uninitialized value.\n7. If value has a [[BooleanData]] internal slot, then set serialized to\n { [[Type]]: \"Boolean\", [[BooleanData]]: value.[[BooleanData]] }.\n8. Otherwise, if value has a [[NumberData]] internal slot, then set\n serialized to { [[Type]]: \"Number\", [[NumberData]]: value.[[NumberData]]\n }.\n9. Otherwise, if value has a [[BigIntData]]\n internal slot, then set serialized to { [[Type]]: \"BigInt\", [[BigIntData]]:\n value.[[BigIntData]] }.\n10. Otherwise, if value has a [[StringData]] internal slot, then set\n serialized to { [[Type]]: \"String\", [[StringData]]: value.[[StringData]]\n }.\n11. Otherwise, if value has a [[DateValue]] internal slot, then set\n serialized to { [[Type]]: \"Date\", [[DateValue]]: value.[[DateValue]]\n }.\n12. Otherwise, if value has a [[RegExpMatcher]] internal slot, then set\n serialized to { [[Type]]: \"RegExp\", [[RegExpMatcher]]:\n value.[[RegExpMatcher]], [[OriginalSource]]: value.[[OriginalSource]],\n [[OriginalFlags]]: value.[[OriginalFlags]] }.\n13. Otherwise, if value has an [[ArrayBufferData]] internal slot:\n 1. If [IsSharedArrayBuffer](https://tc39.es/ecma262/#sec-issharedarraybuffer)(value) is true:\n 1. If the current settings object's cross-origin isolated\n capability is false, then throw a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. This check is only needed when serializing (and not when deserializing) as\n the cross-origin\n isolated capability cannot change over time and a `[SharedArrayBuffer](https://tc39.es/ecma262/#sec-sharedarraybuffer-objects)`\n cannot leave an [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters).\n 2. If forStorage is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 3. If value has an [[ArrayBufferMaxByteLength]] internal slot, then set\n serialized to { [[Type]]: \"GrowableSharedArrayBuffer\", [[ArrayBufferData]]:\n value.[[ArrayBufferData]], [[ArrayBufferByteLengthData]]:\n value.[[ArrayBufferByteLengthData]], [[ArrayBufferMaxByteLength]]:\n value.[[ArrayBufferMaxByteLength]], [[AgentCluster]]: the [surrounding\n agent](https://tc39.es/ecma262/#surrounding-agent)'s [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters) }.\n 4. Otherwise, set serialized to { [[Type]]: \"SharedArrayBuffer\",\n [[ArrayBufferData]]: value.[[ArrayBufferData]], [[ArrayBufferByteLength]]:\n value.[[ArrayBufferByteLength]], [[AgentCluster]]: the [surrounding\n agent](https://tc39.es/ecma262/#surrounding-agent)'s [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters) }.\n 2. Otherwise:\n 1. If [IsDetachedBuffer](https://tc39.es/ecma262/#sec-isdetachedbuffer)(value) is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. Let size be value.[[ArrayBufferByteLength]].\n 3. Let dataCopy be ? [CreateByteDataBlock](https://tc39.es/ecma262/#sec-createbytedatablock)(size). This can throw a `[RangeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-rangeerror)` exception\n upon allocation failure.\n 4. Perform [CopyDataBlockBytes](https://tc39.es/ecma262/#sec-copydatablockbytes)(dataCopy, 0,\n value.[[ArrayBufferData]], 0, size).\n 5. If value has an [[ArrayBufferMaxByteLength]] internal slot, then set\n serialized to { [[Type]]: \"ResizableArrayBuffer\", [[ArrayBufferData]]:\n dataCopy, [[ArrayBufferByteLength]]: size,\n [[ArrayBufferMaxByteLength]]: value.[[ArrayBufferMaxByteLength]] }.\n 6. Otherwise, set serialized to { [[Type]]: \"ArrayBuffer\",\n [[ArrayBufferData]]: dataCopy, [[ArrayBufferByteLength]]: size\n }.\n14. Otherwise, if value has a [[ViewedArrayBuffer]] internal slot:\n 1. If [IsArrayBufferViewOutOfBounds](https://tc39.es/ecma262/#sec-isarraybufferviewoutofbounds)(value) is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. Let buffer be the value of value's [[ViewedArrayBuffer]] internal\n slot.\n 3. Let bufferSerialized be ?\n StructuredSerializeInternal(buffer, forStorage,\n memory).\n 4. [Assert](https://infra.spec.whatwg.org/#assert): bufferSerialized.[[Type]] is \"ArrayBuffer\",\n \"ResizableArrayBuffer\", \"SharedArrayBuffer\", or \"GrowableSharedArrayBuffer\".\n 5. If value has a [[DataView]] internal slot, then set serialized to\n { [[Type]]: \"ArrayBufferView\", [[Constructor]]: \"DataView\", [[ArrayBufferSerialized]]:\n bufferSerialized, [[ByteLength]]: value.[[ByteLength]], [[ByteOffset]]:\n value.[[ByteOffset]] }.\n 6. Otherwise:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): value has a [[TypedArrayName]] internal slot.\n 2. Set serialized to { [[Type]]: \"ArrayBufferView\", [[Constructor]]:\n value.[[TypedArrayName]], [[ArrayBufferSerialized]]: bufferSerialized,\n [[ByteLength]]: value.[[ByteLength]], [[ByteOffset]]:\n value.[[ByteOffset]], [[ArrayLength]]: value.[[ArrayLength]] }.\n15. Otherwise, if value has a [[MapData]] internal slot:\n 1. Set serialized to { [[Type]]: \"Map\", [[MapData]]: a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type) }.\n 2. Set deep to true.\n16. Otherwise, if value has a [[SetData]] internal slot:\n 1. Set serialized to { [[Type]]: \"Set\", [[SetData]]: a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type) }.\n 2. Set deep to true.\n17. Otherwise, if value has an [[ErrorData]] internal slot and value is not\n a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object):\n 1. Let name be ? [Get](https://tc39.es/ecma262/#sec-get-o-p)(value,\n \"name\").\n 2. If name is not one of \"Error\", \"EvalError\", \"RangeError\", \"ReferenceError\",\n \"SyntaxError\", \"TypeError\", or \"URIError\", then set name to \"Error\".\n 3. Let valueMessageDesc be ? value.[[GetOwnProperty]](\"`message`\").\n 4. Let message be undefined if\n [IsDataDescriptor](https://tc39.es/ecma262/#sec-isdatadescriptor)(valueMessageDesc) is false, and\n ? [ToString](https://tc39.es/ecma262/#sec-tostring)(valueMessageDesc.[[Value]]) otherwise.\n 5. Let stack be an [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) string that\n represents value.[[Stack]]. [JSERRORSTACKACCESSOR] [JSERRORSTACKS]\n 6. Set serialized to { [[Type]]: \"Error\", [[Name]]: name,\n [[Message]]: message, [[Stack]]: stack }.\n 7. User agents should attach a serialized representation of any interesting accompanying\n data which are not yet specified to serialized.\n18. Otherwise, if value is an Array exotic object:\n 1. Let valueLenDescriptor be ?\n [OrdinaryGetOwnProperty](https://tc39.es/ecma262/#sec-ordinarygetownproperty)(value, \"`length`\").\n 2. Let valueLen be valueLenDescriptor.[[Value]].\n 3. Set serialized to { [[Type]]: \"Array\", [[Length]]: valueLen,\n [[Properties]]: a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type) }.\n 4. Set deep to true.\n19. Otherwise, if value is a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) that is a serializable object:\n 1. If value has a [[Detached]] internal slot whose value is true,\n then throw a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. Let typeString be the identifier of the [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface) of\n value.\n 3. Set serialized to { [[Type]]: typeString }.\n 4. Set deep to true.\n20. Otherwise, if value is a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object), then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n21. Otherwise, if [IsCallable](https://tc39.es/ecma262/#sec-iscallable)(value) is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n22. Otherwise, if value has any internal slot other than [[Prototype]],\n [[Extensible]], or [[PrivateElements]], then throw a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. For instance, a [[PromiseState]] or [[WeakMapData]] internal slot.\n23. Otherwise, if value is an exotic object and value is not the\n [%Object.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-object-prototype-object) intrinsic object associated with any [realm](https://tc39.es/ecma262/#sec-code-realms), then\n throw a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. For instance, a proxy object.\n24. Otherwise: [%Object.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-object-prototype-object) will end up being handled via this step and\n subsequent steps. The end result is that its exoticness is ignored, and after deserialization\n the result will be an empty object (not an [immutable prototype exotic object](https://tc39.es/ecma262/#immutable-prototype-exotic-object)).\n 1. Set serialized to { [[Type]]: \"Object\", [[Properties]]: a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type) }.\n 2. Set deep to true.\n25. [Set](https://infra.spec.whatwg.org/#map-set) memory[value] to\n serialized.\n26. If deep is true:\n 1. If value has a [[MapData]] internal slot:\n 1. Let copiedList be a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type).\n 2. [For each](https://infra.spec.whatwg.org/#list-iterate) [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) { [[Key]], [[Value]] }\n entry of value.[[MapData]]:\n 1. Let copiedEntry be a new [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) { [[Key]]:\n entry.[[Key]], [[Value]]: entry.[[Value]] }.\n 2. If copiedEntry.[[Key]] is not the special value *empty*, [append](https://infra.spec.whatwg.org/#list-append) copiedEntry to copiedList.\n 3. [For each](https://infra.spec.whatwg.org/#list-iterate) [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) { [[Key]], [[Value]] }\n entry of copiedList:\n 1. Let serializedKey be ?\n StructuredSerializeInternal(entry.[[Key]], forStorage,\n memory).\n 2. Let serializedValue be ?\n StructuredSerializeInternal(entry.[[Value]], forStorage,\n memory).\n 3. [Append](https://infra.spec.whatwg.org/#list-append) { [[Key]]: serializedKey,\n [[Value]]: serializedValue } to serialized.[[MapData]].\n 2. Otherwise, if value has a [[SetData]] internal slot:\n 1. Let copiedList be a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type).\n 2. [For each](https://infra.spec.whatwg.org/#list-iterate) entry of value.[[SetData]]:\n 1. If entry is not the special value *empty*, [append](https://infra.spec.whatwg.org/#list-append) entry to copiedList.\n 3. [For each](https://infra.spec.whatwg.org/#list-iterate) entry of copiedList:\n 1. Let serializedEntry be ?\n StructuredSerializeInternal(entry, forStorage,\n memory).\n 2. [Append](https://infra.spec.whatwg.org/#list-append) serializedEntry to\n serialized.[[SetData]].\n 3. Otherwise, if value is a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) that is a serializable object, then perform the serialization\n steps for value's [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface), given value,\n serialized, and forStorage. The serialization steps may need to perform a sub-serialization. This is an operation which takes as input a value\n subValue, and returns StructuredSerializeInternal(subValue,\n forStorage, memory). (In other words, a sub-serialization\n is a specialization of StructuredSerializeInternal to be consistent within this\n invocation.)\n 4. Otherwise, for each key in !\n [EnumerableOwnProperties](https://tc39.es/ecma262/#sec-enumerableownproperties)(value, key):\n 1. If ! [HasOwnProperty](https://tc39.es/ecma262/#sec-hasownproperty)(value, key) is true:\n 1. Let inputValue be ? value.[[Get]](key,\n value).\n 2. Let outputValue be ?\n StructuredSerializeInternal(inputValue, forStorage,\n memory).\n 3. [Append](https://infra.spec.whatwg.org/#list-append) { [[Key]]: key, [[Value]]:\n outputValue } to serialized.[[Properties]].\n27. Return serialized.\n\nIt's important to realize that the [Records](https://tc39.es/ecma262/#sec-list-and-record-specification-type)\n produced by StructuredSerializeInternal might contain \"pointers\" to other records\n that create circular references. For example, when we pass the following JavaScript object into\n StructuredSerializeInternal:\n\n```\nconst o = {};\no.myself = o;\n```\n\nit produces the following result:\n\n```\n{\n [[Type]]: \"Object\",\n [[Properties]]: «\n {\n [[Key]]: \"myself\",\n [[Value]]: \n }\n »\n}\n```\n\n#### 2.7.4 StructuredSerialize ( value )\n\n1. Return ? StructuredSerializeInternal(value, false).\n\n#### 2.7.5 StructuredSerializeForStorage ( value )\n\n1. Return ? StructuredSerializeInternal(value, true).\n\n#### 2.7.6 StructuredDeserialize ( serialized, targetRealm [ ,\n memory ] )\n\nThe StructuredDeserialize abstract operation takes as input a [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) serialized, which was previously produced by StructuredSerialize or\n StructuredSerializeForStorage, and deserializes it into a new JavaScript value,\n created in targetRealm.\n\nThis process can throw an exception, for example when trying to allocate memory for the new\n objects (especially `ArrayBuffer` objects).\n\n1. If memory was not supplied, let memory be an empty [map](https://infra.spec.whatwg.org/#ordered-map). The purpose of the memory map is to avoid deserializing objects\n twice. This ends up preserving cycles and the identity of duplicate objects in graphs.\n2. If memory[serialized] [exists](https://infra.spec.whatwg.org/#map-exists), then\n return memory[serialized].\n3. Let deep be false.\n4. Let value be an uninitialized value.\n5. If serialized.[[Type]] is \"primitive\", then set value to\n serialized.[[Value]].\n6. Otherwise, if serialized.[[Type]] is \"Boolean\", then set value to a\n new Boolean object in targetRealm whose [[BooleanData]] internal slot value is\n serialized.[[BooleanData]].\n7. Otherwise, if serialized.[[Type]] is \"Number\", then set value to a\n new Number object in targetRealm whose [[NumberData]] internal slot value is\n serialized.[[NumberData]].\n8. Otherwise, if serialized.[[Type]] is \"BigInt\", then set value to a\n new BigInt object in targetRealm whose [[BigIntData]] internal slot value is\n serialized.[[BigIntData]].\n9. Otherwise, if serialized.[[Type]] is \"String\", then set value to a\n new String object in targetRealm whose [[StringData]] internal slot value is\n serialized.[[StringData]].\n10. Otherwise, if serialized.[[Type]] is \"Date\", then set value to a new\n Date object in targetRealm whose [[DateValue]] internal slot value is\n serialized.[[DateValue]].\n11. Otherwise, if serialized.[[Type]] is \"RegExp\", then set value to a\n new RegExp object in targetRealm whose [[RegExpMatcher]] internal slot value is\n serialized.[[RegExpMatcher]], whose [[OriginalSource]] internal slot value is\n serialized.[[OriginalSource]], and whose [[OriginalFlags]] internal slot value is\n serialized.[[OriginalFlags]].\n12. Otherwise, if serialized.[[Type]] is \"SharedArrayBuffer\":\n 1. If targetRealm's corresponding [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters) is not\n serialized.[[AgentCluster]], then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. Otherwise, set value to a new SharedArrayBuffer object in\n targetRealm whose [[ArrayBufferData]] internal slot value is\n serialized.[[ArrayBufferData]] and whose [[ArrayBufferByteLength]] internal slot\n value is serialized.[[ArrayBufferByteLength]].\n13. Otherwise, if serialized.[[Type]] is \"GrowableSharedArrayBuffer\":\n 1. If targetRealm's corresponding [agent cluster](https://tc39.es/ecma262/#sec-agent-clusters) is not\n serialized.[[AgentCluster]], then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. Otherwise, set value to a new SharedArrayBuffer object in\n targetRealm whose [[ArrayBufferData]] internal slot value is\n serialized.[[ArrayBufferData]], whose [[ArrayBufferByteLengthData]] internal slot\n value is serialized.[[ArrayBufferByteLengthData]], and whose\n [[ArrayBufferMaxByteLength]] internal slot value is\n serialized.[[ArrayBufferMaxByteLength]].\n14. Otherwise, if serialized.[[Type]] is \"ArrayBuffer\", then set value to a\n new ArrayBuffer object in targetRealm whose [[ArrayBufferData]] internal slot value\n is serialized.[[ArrayBufferData]], and whose [[ArrayBufferByteLength]] internal slot\n value is serialized.[[ArrayBufferByteLength]]. If this throws an exception, catch it, and then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. This step might throw an exception if there is not enough memory available to\n create such an ArrayBuffer object.\n15. Otherwise, if serialized.[[Type]] is \"ResizableArrayBuffer\", then set\n value to a new ArrayBuffer object in targetRealm whose [[ArrayBufferData]]\n internal slot value is serialized.[[ArrayBufferData]], whose\n [[ArrayBufferByteLength]] internal slot value is\n serialized.[[ArrayBufferByteLength]], and whose [[ArrayBufferMaxByteLength]] internal\n slot value is serialized.[[ArrayBufferMaxByteLength]]. If this throws an exception, catch it, and then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. This step might throw an exception if there is not enough memory available to\n create such an ArrayBuffer object.\n16. Otherwise, if serialized.[[Type]] is \"ArrayBufferView\":\n 1. Let deserializedArrayBuffer be ?\n StructuredDeserialize(serialized.[[ArrayBufferSerialized]],\n targetRealm, memory).\n 2. If serialized.[[Constructor]] is \"DataView\", then set value to a\n new DataView object in targetRealm whose [[ViewedArrayBuffer]] internal slot value\n is deserializedArrayBuffer, whose [[ByteLength]] internal slot value is\n serialized.[[ByteLength]], and whose [[ByteOffset]] internal slot value is\n serialized.[[ByteOffset]].\n 3. Otherwise, set value to a new typed array object in targetRealm,\n using the constructor given by serialized.[[Constructor]], whose\n [[ViewedArrayBuffer]] internal slot value is deserializedArrayBuffer, whose\n [[TypedArrayName]] internal slot value is serialized.[[Constructor]], whose\n [[ByteLength]] internal slot value is serialized.[[ByteLength]], whose\n [[ByteOffset]] internal slot value is serialized.[[ByteOffset]], and whose\n [[ArrayLength]] internal slot value is serialized.[[ArrayLength]].\n17. Otherwise, if serialized.[[Type]] is \"Map\":\n 1. Set value to a new Map object in targetRealm whose [[MapData]]\n internal slot value is a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type).\n 2. Set deep to true.\n18. Otherwise, if serialized.[[Type]] is \"Set\":\n 1. Set value to a new Set object in targetRealm whose [[SetData]]\n internal slot value is a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type).\n 2. Set deep to true.\n19. Otherwise, if serialized.[[Type]] is \"Array\":\n 1. Let outputProto be\n targetRealm.[[Intrinsics]].[[[%Array.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-array-prototype-object)]].\n 2. Set value to ! [ArrayCreate](https://tc39.es/ecma262/#sec-arraycreate)(serialized.[[Length]],\n outputProto).\n 3. Set deep to true.\n20. Otherwise, if serialized.[[Type]] is \"Object\":\n 1. Set value to a new Object in targetRealm.\n 2. Set deep to true.\n21. Otherwise, if serialized.[[Type]] is \"Error\":\n 1. Let prototype be [%Error.prototype%](https://tc39.es/ecma262/#sec-properties-of-the-error-prototype-object).\n 2. If serialized.[[Name]] is \"EvalError\", then set prototype to\n %EvalError.prototype%.\n 3. If serialized.[[Name]] is \"RangeError\", then set prototype\n to %RangeError.prototype%.\n 4. If serialized.[[Name]] is \"ReferenceError\", then set\n prototype to %ReferenceError.prototype%.\n 5. If serialized.[[Name]] is \"SyntaxError\", then set prototype\n to %SyntaxError.prototype%.\n 6. If serialized.[[Name]] is \"TypeError\", then set prototype to\n %TypeError.prototype%.\n 7. If serialized.[[Name]] is \"URIError\", then set prototype to\n %URIError.prototype%.\n 8. Let message be serialized.[[Message]].\n 9. Set value to [OrdinaryObjectCreate](https://tc39.es/ecma262/#sec-objectcreate)(prototype, «\n [[ErrorData]], [[Stack]] »).\n 10. Let messageDesc be [PropertyDescriptor](https://tc39.es/ecma262/#sec-property-descriptor-specification-type) { [[Value]]:\n message, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true\n }.\n 11. If message is not undefined, then perform !\n [OrdinaryDefineOwnProperty](https://tc39.es/ecma262/#sec-ordinarydefineownproperty)(value, \"`message`\",\n messageDesc).\n 12. Set value.[[Stack]] to serialized.[[Stack]].\n 13. Any interesting accompanying data attached to serialized should be\n deserialized and attached to value.\n22. Otherwise:\n 1. Let interfaceName be serialized.[[Type]].\n 2. If the interface identified by interfaceName is not\n [exposed](https://webidl.spec.whatwg.org/#dfn-exposed) in targetRealm, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 3. Set value to a new instance of the interface identified by\n interfaceName, created in targetRealm.\n 4. Set deep to true.\n23. [Set](https://infra.spec.whatwg.org/#map-set) memory[serialized] to\n value.\n24. If deep is true:\n 1. If serialized.[[Type]] is \"Map\":\n 1. [For each](https://infra.spec.whatwg.org/#list-iterate) [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) { [[Key]], [[Value]] }\n entry of serialized.[[MapData]]:\n 1. Let deserializedKey be ?\n StructuredDeserialize(entry.[[Key]], targetRealm,\n memory).\n 2. Let deserializedValue be ?\n StructuredDeserialize(entry.[[Value]], targetRealm,\n memory).\n 3. [Append](https://infra.spec.whatwg.org/#list-append) { [[Key]]: deserializedKey,\n [[Value]]: deserializedValue } to value.[[MapData]].\n 2. Otherwise, if serialized.[[Type]] is \"Set\":\n 1. [For each](https://infra.spec.whatwg.org/#list-iterate) entry of\n serialized.[[SetData]]:\n 1. Let deserializedEntry be ?\n StructuredDeserialize(entry, targetRealm,\n memory).\n 2. [Append](https://infra.spec.whatwg.org/#list-append) deserializedEntry to\n value.[[SetData]].\n 3. Otherwise, if serialized.[[Type]] is \"Array\" or \"Object\":\n 1. [For each](https://infra.spec.whatwg.org/#list-iterate) [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) { [[Key]], [[Value]] }\n entry of serialized.[[Properties]]:\n 1. Let deserializedValue be ?\n StructuredDeserialize(entry.[[Value]], targetRealm,\n memory).\n 2. Let result be ! [CreateDataProperty](https://tc39.es/ecma262/#sec-createdataproperty)(value,\n entry.[[Key]], deserializedValue).\n 3. [Assert](https://infra.spec.whatwg.org/#assert): result is true.\n 4. Otherwise:\n 1. Perform the appropriate deserialization steps for the interface identified\n by serialized.[[Type]], given serialized, value, and\n targetRealm. The deserialization steps may need to perform a sub-deserialization. This is an operation which takes as input a\n previously-serialized [Record](https://tc39.es/ecma262/#sec-list-and-record-specification-type) subSerialized, and returns\n StructuredDeserialize(subSerialized, targetRealm,\n memory). (In other words, a sub-deserialization is a specialization\n of StructuredDeserialize to be consistent within this invocation.)\n25. Return value.\n\n#### 2.7.7 StructuredSerializeWithTransfer ( value, transferList\n )\n\n1. Let memory be an empty [map](https://infra.spec.whatwg.org/#ordered-map). In addition to how it is used normally by\n StructuredSerializeInternal, in this algorithm memory is also used to\n ensure that StructuredSerializeInternal ignores items in transferList,\n and let us do our own handling instead.\n2. [For each](https://infra.spec.whatwg.org/#list-iterate) transferable of\n transferList:\n 1. If transferable has neither an [[ArrayBufferData]] internal slot nor a\n [[Detached]] internal slot, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. If transferable has an [[ArrayBufferData]] internal slot and\n [IsSharedArrayBuffer](https://tc39.es/ecma262/#sec-issharedarraybuffer)(transferable) is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 3. If memory[transferable] [exists](https://infra.spec.whatwg.org/#map-exists),\n then throw a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 4. [Set](https://infra.spec.whatwg.org/#map-set) memory[transferable] to {\n [[Type]]: an uninitialized value }. transferable is not transferred yet as transferring has side\n effects and StructuredSerializeInternal needs to be able to throw first.\n3. Let serialized be ? StructuredSerializeInternal(value,\n false, memory).\n4. Let transferDataHolders be a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type).\n5. [For each](https://infra.spec.whatwg.org/#list-iterate) transferable of\n transferList:\n 1. If transferable has an [[ArrayBufferData]] internal slot and\n [IsDetachedBuffer](https://tc39.es/ecma262/#sec-isdetachedbuffer)(transferable) is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 2. If transferable has a [[Detached]] internal slot and\n transferable.[[Detached]] is true, then throw a\n [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 3. Let dataHolder be memory[transferable].\n 4. If transferable has an [[ArrayBufferData]] internal slot:\n 1. If transferable has an [[ArrayBufferMaxByteLength]] internal slot:\n 1. Set dataHolder.[[Type]] to \"ResizableArrayBuffer\".\n 2. Set dataHolder.[[ArrayBufferData]] to\n transferable.[[ArrayBufferData]].\n 3. Set dataHolder.[[ArrayBufferByteLength]] to\n transferable.[[ArrayBufferByteLength]].\n 4. Set dataHolder.[[ArrayBufferMaxByteLength]] to\n transferable.[[ArrayBufferMaxByteLength]].\n 2. Otherwise:\n 1. Set dataHolder.[[Type]] to \"ArrayBuffer\".\n 2. Set dataHolder.[[ArrayBufferData]] to\n transferable.[[ArrayBufferData]].\n 3. Set dataHolder.[[ArrayBufferByteLength]] to\n transferable.[[ArrayBufferByteLength]].\n 3. Perform ? [DetachArrayBuffer](https://tc39.es/ecma262/#sec-detacharraybuffer)(transferable). Specifications can use the [[ArrayBufferDetachKey]] internal slot to prevent\n `[ArrayBuffer](https://webidl.spec.whatwg.org/#idl-ArrayBuffer)`s from being detached. This is used in\n WebAssembly JavaScript Interface, for example. [WASMJS]\n 5. Otherwise:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): transferable is a [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) that is\n a transferable object.\n 2. Let interfaceName be the identifier of the [primary interface](https://webidl.spec.whatwg.org/#dfn-primary-interface)\n of transferable.\n 3. Set dataHolder.[[Type]] to interfaceName.\n 4. Perform the appropriate transfer steps for the interface identified by\n interfaceName, given transferable and dataHolder.\n 5. Set transferable.[[Detached]] to true.\n 6. [Append](https://infra.spec.whatwg.org/#list-append) dataHolder to\n transferDataHolders.\n6. Return { [[Serialized]]: serialized, [[TransferDataHolders]]:\n transferDataHolders }.\n\n#### 2.7.8 StructuredDeserializeWithTransfer ( serializeWithTransferResult,\n targetRealm )\n\n1. Let memory be an empty [map](https://infra.spec.whatwg.org/#ordered-map). Analogous to StructuredSerializeWithTransfer, in addition to how it\n is used normally by StructuredDeserialize, in this algorithm memory is\n also used to ensure that StructuredDeserialize ignores items in\n serializeWithTransferResult.[[TransferDataHolders]], and let us do our own handling\n instead.\n2. Let transferredValues be a new empty [List](https://tc39.es/ecma262/#sec-list-and-record-specification-type).\n3. [For each](https://infra.spec.whatwg.org/#list-iterate) transferDataHolder of\n serializeWithTransferResult.[[TransferDataHolders]]:\n 1. Let value be an uninitialized value.\n 2. If transferDataHolder.[[Type]] is \"ArrayBuffer\", then set value to a\n new ArrayBuffer object in targetRealm whose [[ArrayBufferData]] internal slot value\n is transferDataHolder.[[ArrayBufferData]], and whose [[ArrayBufferByteLength]]\n internal slot value is transferDataHolder.[[ArrayBufferByteLength]]. In cases where the original memory occupied by [[ArrayBufferData]] is\n accessible during the deserialization, this step is unlikely to throw an exception, as no new\n memory needs to be allocated: the memory occupied by [[ArrayBufferData]] is instead just\n getting transferred into the new ArrayBuffer. This could be true, for example, when both the\n source and target realms are in the same process.\n 3. Otherwise, if transferDataHolder.[[Type]] is \"ResizableArrayBuffer\", then set\n value to a new ArrayBuffer object in targetRealm whose\n [[ArrayBufferData]] internal slot value is transferDataHolder.[[ArrayBufferData]],\n whose [[ArrayBufferByteLength]] internal slot value is\n transferDataHolder.[[ArrayBufferByteLength]], and whose\n [[ArrayBufferMaxByteLength]] internal slot value is\n transferDataHolder.[[ArrayBufferMaxByteLength]]. For the same reason as the previous step, this step is also unlikely to throw\n an exception.\n 4. Otherwise:\n 1. Let interfaceName be transferDataHolder.[[Type]].\n 2. If the interface identified by interfaceName is not exposed in\n targetRealm, then throw a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n 3. Set value to a new instance of the interface identified by\n interfaceName, created in targetRealm.\n 4. Perform the appropriate transfer-receiving steps for the interface\n identified by interfaceName given transferDataHolder and\n value.\n 5. [Set](https://infra.spec.whatwg.org/#map-set) memory[transferDataHolder] to\n value.\n 6. [Append](https://infra.spec.whatwg.org/#list-append) value to\n transferredValues.\n4. Let deserialized be ?\n StructuredDeserialize(serializeWithTransferResult.[[Serialized]],\n targetRealm, memory).\n5. Return { [[Deserialized]]: deserialized, [[TransferredValues]]:\n transferredValues }.\n\n#### 2.7.9 Performing serialization and\n transferring from other specifications\n\nOther specifications may use the abstract operations defined here. The following provides\n some guidance on when each abstract operation is typically useful, with examples.\n\nStructuredSerializeWithTransfer\n\nStructuredDeserializeWithTransfer\n\nCloning a value to another [realm](https://tc39.es/ecma262/#sec-code-realms), with a transfer list, but where the target\n realm is not known ahead of time. In this case the serialization step can be performed\n immediately, with the deserialization step delayed until the target realm becomes known. `messagePort.postMessage()`\n uses this pair of abstract operations, as the destination realm is not known until the\n `MessagePort` has been shipped.\n\nStructuredSerialize\n\nStructuredSerializeForStorage\n\nStructuredDeserialize\n\nCreating a [realm](https://tc39.es/ecma262/#sec-code-realms)-independent snapshot of a given value which can be saved for an\n indefinite amount of time, and then reified back into a JavaScript value later, possibly\n multiple times. StructuredSerializeForStorage can be used for situations where the serialization\n is anticipated to be stored in a persistent manner, instead of passed between realms. It throws\n when attempting to serialize `[SharedArrayBuffer](https://tc39.es/ecma262/#sec-sharedarraybuffer-objects)` objects, since storing shared memory\n does not make sense. Similarly, it can throw or possibly have different behavior when given a\n [platform object](https://webidl.spec.whatwg.org/#dfn-platform-object) with custom serialization steps when the\n forStorage argument is true. `history.pushState()` and `history.replaceState()` use\n StructuredSerializeForStorage on author-supplied state objects, storing them as\n serialized state in the appropriate session history entry. Then,\n StructuredDeserialize is used so that the `history.state` property can return a clone of the\n originally-supplied state object. `broadcastChannel.postMessage()` uses\n StructuredSerialize on its input, then uses StructuredDeserialize\n multiple times on the result to produce a fresh clone for each destination being broadcast\n to. Note that transferring does not make sense in multi-destination situations. Any API for persisting JavaScript values to the filesystem would also use\n StructuredSerializeForStorage on its input and StructuredDeserialize\n on its output.\n\nIn general, call sites may pass in Web IDL values instead of JavaScript values; this is to be\n understood to perform an implicit [conversion](https://webidl.spec.whatwg.org/#es-type-mapping) to the\n JavaScript value before invoking these algorithms.\n\n---\n\nCall sites that are not invoked as a result of author code synchronously calling into a user\n agent method must take care to properly prepare to run script and prepare to\n run a callback before invoking StructuredSerialize,\n StructuredSerializeForStorage, or StructuredSerializeWithTransfer\n abstract operations, if they are being performed on arbitrary objects. This is necessary because\n the serialization process can invoke author-defined accessors as part of its final\n deep-serialization steps, and these accessors could call into operations that rely on the entry and incumbent concepts being properly set up.\n\n`window.postMessage()` performs\n StructuredSerializeWithTransfer on its arguments, but is careful to do so\n immediately, inside the synchronous portion of its algorithm. Thus it is able to use the\n algorithms without needing to prepare to run script and prepare to run a\n callback.\n\nIn contrast, a hypothetical API that used StructuredSerialize to\n serialize some author-supplied object periodically, directly from a task on the event loop, would need to ensure it performs\n the appropriate preparations beforehand. As of this time, we know of no such APIs on the platform;\n usually it is simpler to perform the serialization ahead of time, as a synchronous consequence of\n author code.\n\n#### 2.7.10 Structured cloning API\n\n`result = self.structuredClone(value[, { transfer }])`\n\nTakes the input value and returns a deep copy by performing the structured clone algorithm.\n Transferable objects listed in the `transfer` array are transferred, not\n just cloned, meaning that they are no longer usable in the input value. Throws a [\"`DataCloneError`\"](https://webidl.spec.whatwg.org/#datacloneerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if any part of\n the input value is not serializable.\n\n[structuredClone](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)\n\nSupport in all current engines.\n\nFirefox94+ Safari15.4+ Chrome98+\n\n---\n\nOpera? Edge98+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `structuredClone(value,\n options)` method steps are:\n\n1. Let serialized be ?\n StructuredSerializeWithTransfer(value, options[\"`transfer`\"]).\n2. Let deserializeRecord be ?\n StructuredDeserializeWithTransfer(serialized, [this](https://webidl.spec.whatwg.org/#this)'s\n relevant realm).\n3. Return deserializeRecord.[[Deserialized]].\n\n## 3 Semantics, structure, and APIs of HTML documents\n\n### 3.1 Documents\n\nEvery XML and HTML document in an HTML UA is represented by a `Document` object.\n [DOM]\n\nThe `Document` object's [URL](https://dom.spec.whatwg.org/#concept-document-url) is defined in\n DOM. It is initially set when the `Document` object is created, but can\n change during the lifetime of the `Document` object; for example, it changes when the\n user navigates to a fragment\n on the page and when the `pushState()` method is called\n with a new [URL](https://url.spec.whatwg.org/#concept-url). [DOM]\n\nInteractive user agents typically expose the `Document` object's\n [URL](https://dom.spec.whatwg.org/#concept-document-url) in their user interface. This is the primary\n mechanism by which a user can tell if a site is attempting to impersonate another.\n\nThe `Document` object's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is defined in\n DOM. It is initially set when the `Document` object is created, and can\n change during the lifetime of the `Document` only upon setting `document.domain`. A `Document`'s [origin](https://dom.spec.whatwg.org/#concept-document-origin) can differ from the [origin](https://url.spec.whatwg.org/#concept-url-origin) of its [URL](https://dom.spec.whatwg.org/#concept-document-url);\n for example when a child navigable is created, its active document's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is inherited from its parent's active document's [origin](https://dom.spec.whatwg.org/#concept-document-origin), even though its active document's [URL](https://dom.spec.whatwg.org/#concept-document-url) is\n `about:blank`. [DOM]\n\nWhen a `Document` is created by a script using\n the `[createDocument()](https://dom.spec.whatwg.org/#dom-domimplementation-createdocument)` or `[createHTMLDocument()](https://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument)` methods, the\n `Document` is ready for post-load tasks immediately.\n\nThe document's referrer is a string (representing a [URL](https://url.spec.whatwg.org/#concept-url)) that\n can be set when the `Document` is created. If it is not explicitly set, then its value\n is the empty string.\n\n#### 3.1.1 The `Document` object\n\n[Document](https://developer.mozilla.org/en-US/docs/Web/API/Document)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera3+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer4+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android10.1+\n\nDOM defines a `[Document](https://dom.spec.whatwg.org/#interface-document)` interface, which\n this specification extends significantly.\n\n```\nenum DocumentReadyState { \"loading\", \"interactive\", \"complete\" };\nenum DocumentVisibilityState { \"visible\", \"hidden\" };\ntypedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;\n\n[LegacyOverrideBuiltIns]\npartial interface Document {\n static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional ParseHTMLUnsafeOptions options = {});\n static Document parseHTML(DOMString html, optional SetHTMLOptions options = {});\n\n // resource metadata management\n [PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;\n attribute USVString domain;\n readonly attribute USVString referrer;\n attribute USVString ;\n readonly attribute DOMString lastModified;\n readonly attribute DocumentReadyState readyState;\n\n // DOM tree accessors getter object (DOMString name);\n [CEReactions] attribute DOMString title;\n [CEReactions] attribute DOMString dir;\n [CEReactions] attribute HTMLElement? body;\n readonly attribute HTMLHeadElement? head;\n [SameObject] readonly attribute HTMLCollection images;\n [SameObject] readonly attribute HTMLCollection embeds;\n [SameObject] readonly attribute HTMLCollection plugins;\n [SameObject] readonly attribute HTMLCollection links;\n [SameObject] readonly attribute HTMLCollection forms;\n [SameObject] readonly attribute HTMLCollection scripts;\n NodeList getElementsByName(DOMString elementName);\n readonly attribute HTMLOrSVGScriptElement? currentScript; // classic scripts in a document tree only\n\n // dynamic markup insertion\n [CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored WindowProxy? open(USVString url, DOMString name, DOMString features);\n [CEReactions] undefined close();\n [CEReactions] undefined write((TrustedHTML or DOMString)... text);\n [CEReactions] undefined writeln((TrustedHTML or DOMString)... text);\n\n // user interaction readonly attribute WindowProxy? defaultView;\n boolean hasFocus();\n [CEReactions] attribute DOMString designMode;\n [CEReactions] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = \"\");\n boolean queryCommandEnabled(DOMString commandId);\n boolean queryCommandIndeterm(DOMString commandId);\n boolean queryCommandState(DOMString commandId);\n boolean queryCommandSupported(DOMString commandId);\n DOMString queryCommandValue(DOMString commandId);\n readonly attribute boolean hidden;\n readonly attribute DocumentVisibilityState visibilityState;\n\n // special event handler IDL attributes that only apply to Document objects\n [LegacyLenientThis] attribute EventHandler onreadystatechange;\n attribute EventHandler onvisibilitychange;\n\n // also has obsolete members\n};\nDocument includes GlobalEventHandlers;\n```\n\nEach `Document` has a policy container (a policy container), initially a new policy\n container, which contains policies which apply to the `Document`.\n\nEach `Document` has a permissions policy, which\n is a [permissions policy](https://w3c.github.io/webappsec-feature-policy/#permissions-policy), which is initially\n empty.\n\nEach `Document` has a module map,\n which is a module map, initially empty.\n\nEach `Document` has an opener policy,\n which is an opener policy, initially a new opener policy.\n\nEach `Document` has an is initial `about:blank`, which is a\n boolean, initially false.\n\nEach `Document` has a , which is a navigation ID or null, initially\n null.\n\nAs the name indicates, this is used for interfacing with the WebDriver\n BiDi specification, which needs to be informed about certain occurrences during the early\n parts of the `Document`'s lifecycle, in a way that ties them to the original\n navigation ID used when the navigation that created this `Document` was\n the . This eventually gets set back to null, after WebDriver\n BiDi considers the loading process to be finished. [BIDI]\n\nEach `Document` has an about base\n URL, which is a [URL](https://url.spec.whatwg.org/#concept-url) or null, initially null.\n\nThis is only populated for \"`about:`\"-schemed\n `Document`s.\n\nEach `Document` has a bfcache blocking details, which is a\n [set](https://infra.spec.whatwg.org/#ordered-set) of not restored reason details,\n initially empty.\n\nEach `Document` has an open dialogs list, which is a [list](https://infra.spec.whatwg.org/#list) of\n `dialog` elements, initially empty.\n\n#### 3.1.2 The `DocumentOrShadowRoot` interface\n\nDOM defines the `[DocumentOrShadowRoot](https://dom.spec.whatwg.org/#documentorshadowroot)` mixin, which this specification\n extends.\n\n```\npartial interface mixin DocumentOrShadowRoot {\n readonly attribute Element? activeElement;\n};\n```\n\n#### 3.1.3 Ancestor origins\n\nA `Document` object has an associated internal ancestor origin objects\n list, initially null.\n\nThe internal ancestor origin objects list creation steps given a\n `Document` object document and a [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) referrerPolicy are:\n\n1. Let output be « ».\n2. Let parentDoc be document's container document.\n3. If parentDoc is null, then return output.\n4. [Assert](https://infra.spec.whatwg.org/#assert): parentDoc is fully active.\n5. Let ancestorOrigins be parentDoc's internal ancestor origin objects\n list.\n6. [Assert](https://infra.spec.whatwg.org/#assert): ancestorOrigins is not null.\n7. Let masked be false.\n8. If referrerPolicy is \"`no-referrer`\", then set\n masked to true.\n9. Otherwise, if referrerPolicy is \"`same-origin`\" and\n parentDoc's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is not same\n origin with document's [origin](https://dom.spec.whatwg.org/#concept-document-origin),\n then set masked to true. Since [mixed content](https://w3c.github.io/webappsec-mixed-content/#mixed-content) checks prevent non-secure context environments in secure context environments, there's no need to check for secure contexts for \"`strict-origin`\", \"`strict-origin-when-cross-origin`\", and \"`no-referrer-when-downgrade`\". The \"`origin`\" and \"`origin-when-cross-origin`\" values also don't need special treatment since we're\n at most exposing an [origin](https://dom.spec.whatwg.org/#concept-document-origin) here.\n10. If masked is true, then [append](https://infra.spec.whatwg.org/#list-append) a new opaque origin to output.\n11. Otherwise, [append](https://infra.spec.whatwg.org/#list-append) parentDoc's [origin](https://dom.spec.whatwg.org/#concept-document-origin) to output.\n12. [For each](https://infra.spec.whatwg.org/#list-iterate) ancestorOrigin of\n ancestorOrigins:\n 1. If masked is true and ancestorOrigin is same origin\n with parentDoc's [origin](https://dom.spec.whatwg.org/#concept-document-origin), then [append](https://infra.spec.whatwg.org/#list-append) a new opaque\n origin to output and [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 2. [Append](https://infra.spec.whatwg.org/#list-append) ancestorOrigin to output and\n set masked to false. Setting masked to false here doesn't imply that all further\n ancestors' origins are necessarily exposed. They might have been previously masked when an\n ancestor document ran these steps, and the resulting list is used as a starting point when a\n child document is created (see step 5 above).\n13. Return output.\n\nA `Document` object has an associated ancestor origins list, initially null.\n\nThe ancestor origins list creation steps given a `Document` object\n document are:\n\n1. Let ancestorOrigins be document's internal ancestor origin objects\n list.\n2. [Assert](https://infra.spec.whatwg.org/#assert): ancestorOrigins is not null.\n3. Let output be « ».\n4. [For each](https://infra.spec.whatwg.org/#list-iterate) origin of\n ancestorOrigins:\n 1. [Append](https://infra.spec.whatwg.org/#list-append) the serialization of origin to output.\n5. Return a new `DOMStringList` object whose associated list is\n output.\n\nConsider a top-level browsing context document with the URL `https://a.example/top`:\n\n```\n top \n```\n\nThe child document:\n\n```\n child \n```\n\nThe grandchild document:\n\n```\n grandchild \n```\n\nWhen the child's `Document` object is created, its parent's origin is masked\n because the `iframe` element's `referrerpolicy` attribute's value is \"`no-referrer`\", even though the documents are same origin. The value\n logged is « \"`null`\" ».\n\nWhen the grandchild's `Document` object is created, the child's\n `Document` object's internal ancestor origin objects\n list (which contains a single opaque origin)\n is used as a starting point, and the child's [origin](https://dom.spec.whatwg.org/#concept-document-origin)\n is added to the list. The value logged is thus « \"`https://a.example`\",\n \"`null`\" ».\n\nIf we consider the previous example but the `iframe` element in the top document\n has no `referrerpolicy` attribute, and instead the\n `iframe` element in the child document has `referrerpolicy=\"no-referrer\"`.\n\nIn this case, the top document's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is added\n to the child's `Document` object's internal ancestor origin objects\n list. The value logged is « \"`https://a.example`\" ».\n\nFor the grandchild, the child's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is masked\n as an opaque origin. Since the top document's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is same origin with the child\n document's [origin](https://dom.spec.whatwg.org/#concept-document-origin), it is also masked. The value\n logged is thus « \"`null`\", \"`null`\" ».\n\nIn this example, we show that the top-level document's origin is not masked even though\n there's a descendant same-origin document whose origin *is* masked, since there's a\n cross-origin document in between.\n\n- Top-level with URL `https://a.example/top` `` The ancestor origins list\n associated list is « ».\n- Child with URL `https://b.example/child` `` The ancestor origins list\n associated list is « \"`https://a.example`\" ».\n- Grandchild with URL `https://a.example/grandchild` `` The ancestor origins list\n associated list is « \"`https://b.example`\", \"`https://a.example`\" ».\n- Great-grandchild with URL `https://c.example/great-grandchild` The ancestor origins list\n associated list is « \"`null`\", \"`https://b.example`\",\n \"`https://a.example`\" ». The top-level origin is not masked.\n\nIf we consider the previous example but the top-level document's `iframe` also has\n `referrerpolicy=\"no-referrer\"`, then the resulting ancestor origins list associated list for\n each document would be:\n\n- Top-level: « »\n- Child: « \"`null`\" »\n- Grandchild: « \"`https://b.example`\", \"`null`\"\n »\n- Great-grandchild: « \"`null`\", \"`https://b.example`\", \"`null`\" ». The top-level origin is\n masked because it was masked when the child document ran the internal ancestor origin\n objects list creation steps, and that result is passed on to the grandchild document's\n internal ancestor origin objects list creation steps, and so on.\n\n#### 3.1.4 Resource metadata management\n\n`document.referrer`[Document/referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer)Support in all current engines.Firefox1+Safari1+Chrome1+Opera3+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns the [URL](https://dom.spec.whatwg.org/#concept-document-url) of the `Document` from\n which the user navigated to this one, unless it was blocked or there was no such document, in\n which case it returns the empty string. The `noreferrer` link type can be used to block the\n referrer.\n\nThe `referrer`\n attribute must return the document's referrer.\n\n---\n\n`document. [ = value ]`\n\nReturns the HTTP cookies that apply to the `Document`. If there are no cookies or\n cookies can't be applied to this resource, the empty string will be returned. Can be set, to add a new cookie to the element's set of HTTP cookies. If the contents are sandboxed into an\n opaque origin (e.g., in an `iframe` with the `sandbox` attribute), a\n [\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` will be thrown on getting\n and setting.\n\n[Document/cookie](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera3+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer4+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\nThe \n attribute represents the cookies of the resource identified by the document's [URL](https://dom.spec.whatwg.org/#concept-document-url).\n\nUsing the synchronous \n API can be a source of performance issues. The Cookie Store API can be used instead,\n as it provides an asynchronous way to handle cookies to avoid performance issues. See the [Cookie Store API introduction](https://cookiestore.spec.whatwg.org/#intro) for more\n information. [COOKIESTORE]\n\nA `Document` object that falls into one of the following conditions is a\n :\n\n- A `Document` object whose browsing\n context is null.\n- A `Document` whose [URL](https://dom.spec.whatwg.org/#concept-document-url) 's [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is not an [HTTP(S) scheme](https://fetch.spec.whatwg.org/#http-scheme) .\n\nOn getting, if the document is a cookie-averse `Document` object, then the\n user agent must return the empty string. Otherwise, if the `Document`'s [origin](https://dom.spec.whatwg.org/#concept-document-origin) is an opaque\n origin, the user agent must throw a [\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. Otherwise, the user agent must return the [cookie-string](https://httpwg.org/specs/rfc6265.html#sane-cookie-syntax)\n for the document's [URL](https://dom.spec.whatwg.org/#concept-document-url) for a \"non-HTTP\" API, decoded\n using [UTF-8 decode without BOM](https://encoding.spec.whatwg.org/#utf-8-decode-without-bom). [COOKIES]\n\nOn setting, if the document is a cookie-averse `Document` object, then\n the user agent must do nothing. Otherwise, if the `Document`'s [origin](https://dom.spec.whatwg.org/#concept-document-origin) is an opaque\n origin, the user agent must throw a [\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. Otherwise, the user agent must act as it would when for the document's\n [URL](https://dom.spec.whatwg.org/#concept-document-url) via a \"non-HTTP\" API, consisting of the new value\n [encoded as UTF-8](https://encoding.spec.whatwg.org/#utf-8-encode). [COOKIES] [ENCODING]\n\nSince the attribute is accessible\n across frames, the path restrictions on cookies are only a tool to help manage which cookies are\n sent to which parts of the site, and are not in any way a security feature.\n\nThe attribute's getter and\n setter synchronously access shared state. Since there is no locking mechanism, other browsing\n contexts in a multiprocess user agent can modify cookies while scripts are running. A site could,\n for instance, try to read a cookie, increment its value, then write it back out, using the new\n value of the cookie as a unique identifier for the session; if the site does this twice in two\n different browser windows at the same time, it might end up using the same \"unique\" identifier for\n both sessions, with potentially disastrous effects.\n\n---\n\n`document.lastModified`[Document/lastModified](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified)Support in all current engines.Firefox1+Safari1+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns the date of the last modification to the document, as reported by the server, in the\n form \"`MM/DD/YYYY hh:mm:ss`\", in the user's local time zone. If the last modification date is not known, the current time is returned instead.\n\nThe `lastModified` attribute, on getting, must return\n the date and time of the `Document`'s source file's last modification, in the user's\n local time zone, in the following format:\n\n1. The month component of the date.\n2. A U+002F SOLIDUS character (/).\n3. The day component of the date.\n4. A U+002F SOLIDUS character (/).\n5. The year component of the date.\n6. A U+0020 SPACE character.\n7. The hours component of the time.\n8. A U+003A COLON character (:).\n9. The minutes component of the time.\n10. A U+003A COLON character (:).\n11. The seconds component of the time.\n\nAll the numeric components above, other than the year, must be given as two [ASCII\n digits](https://infra.spec.whatwg.org/#ascii-digit) representing the number in base ten, zero-padded if necessary. The year must be\n given as the shortest possible string of four or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) representing the\n number in base ten, zero-padded if necessary.\n\nThe `Document`'s source file's last modification date and time must be derived from\n relevant features of the networking protocols used, e.g. from the value of the HTTP ``[Last-Modified](https://httpwg.org/specs/rfc7232.html#header.last-modified)`` header of the document, or from metadata in the\n file system for local files. If the last modification date and time are not known, the attribute\n must return the current date and time in the above format.\n\n#### 3.1.5 Reporting document loading status\n\n`document.readyState`\n\nReturns \"`loading`\" while the `Document` is loading, \"`interactive`\" once it is finished parsing but still loading subresources, and\n \"`complete`\" once it has loaded. The `readystatechange` event fires on the\n `Document` object when this value changes. The `DOMContentLoaded` event fires after the transition to\n \"`interactive`\" but before the transition to \"`complete`\", at the point where all subresources apart from `async` `script` elements have loaded.\n\n[Document/readyState](https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState)\n\nSupport in all current engines.\n\nFirefox3.6+ Safari1+ Chrome1+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer11\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nEach `Document` has a current document readiness, a string, initially\n \"`complete`\".\n\nFor `Document` objects created via the create and initialize a `Document` object\n algorithm, this will be immediately reset to \"`loading`\" before any script\n can observe the value of `document.readyState`. This\n default applies to other cases such as initial\n `about:blank` `Document`s or `Document`s without a\n browsing context.\n\nThe `readyState` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s current document readiness.\n\nTo update the current document readiness for `Document` document to readinessValue:\n\n1. If document's current document readiness equals\n readinessValue, then return.\n2. Set document's current document readiness to\n readinessValue.\n3. If document is associated with an HTML parser:\n 1. Let now be the [current high resolution time](https://w3c.github.io/hr-time/#dfn-current-high-resolution-time) given\n document's relevant global object.\n 2. If readinessValue is \"`complete`\", and\n document's load timing info's DOM complete time is 0, then\n set document's load timing info's DOM complete time to\n now.\n 3. Otherwise, if readinessValue is \"`interactive`\", and\n document's load timing info's DOM interactive time is 0,\n then set document's load timing info's DOM interactive\n time to now.\n4. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `readystatechange` at document.\n\n---\n\nA `Document` is said to have an active parser if it is associated with an\n HTML parser or an XML parser that has not yet been stopped or aborted.\n\n---\n\nA `Document` has a document load timing info load timing info.\n\nA `Document` has a document unload timing info previous document unload timing.\n\nA `Document` has a boolean was created via cross-origin redirects,\n initially false.\n\nThe document load timing info [struct](https://infra.spec.whatwg.org/#struct) has the following [items](https://infra.spec.whatwg.org/#struct-item):\n\n(default 0)\n\nA number\n\nDOM interactive time (default 0)\n\nDOM content loaded event start time\n (default 0)\n\nDOM content loaded event end time (default\n 0)\n\nDOM complete time (default 0)\n\nload event start time (default 0)\n\nload event end time (default 0)\n\n`[DOMHighResTimeStamp](https://w3c.github.io/hr-time/#dom-domhighrestimestamp)` values\n\nThe document unload timing info [struct](https://infra.spec.whatwg.org/#struct) has the following [items](https://infra.spec.whatwg.org/#struct-item):\n\nunload event start time (default 0)\n\nunload event end time (default 0)\n\n`[DOMHighResTimeStamp](https://w3c.github.io/hr-time/#dom-domhighrestimestamp)` values\n\n#### 3.1.6 Render-blocking mechanism\n\nEach `Document` has a render-blocking element set, a [set](https://infra.spec.whatwg.org/#ordered-set) of\n elements, initially the empty set.\n\nA `Document` document allows adding render-blocking elements\n if document's [content type](https://dom.spec.whatwg.org/#concept-document-content-type) is\n \"`text/html`\" and the body element of document is null.\n\nA `Document` document is render-blocked if both of the\n following are true:\n\n- document's render-blocking element set is non-empty, or\n document allows adding render-blocking elements.\n- The [current high resolution time](https://w3c.github.io/hr-time/#dfn-current-high-resolution-time) given document's relevant\n global object has not exceeded an [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) timeout value.\n\nAn element el is render-blocking if el's\n [node document](https://dom.spec.whatwg.org/#concept-node-document) document is render-blocked, and el\n is in document's render-blocking element set.\n\nTo block rendering on an element el:\n\n1. Let document be el's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. If document allows adding render-blocking elements, then\n [append](https://infra.spec.whatwg.org/#set-append) el to document's\n render-blocking element set.\n\nTo unblock rendering on an element el:\n\n1. Let document be el's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. [Remove](https://infra.spec.whatwg.org/#list-remove) el from document's\n render-blocking element set.\n\nWhenever a render-blocking element el becomes browsing-context disconnected, or el's\n blocking attribute's value is changed so that el is no longer\n potentially render-blocking, then unblock rendering on\n el.\n\n#### 3.1.7 DOM tree accessors\n\nThe `html` element of a document is its [document element](https://dom.spec.whatwg.org/#document-element),\n if it's an `html` element, and null otherwise.\n\n---\n\n`document.head`[Document/head](https://developer.mozilla.org/en-US/docs/Web/API/Document/head)Support in all current engines.Firefox4+Safari5+Chrome4+Opera11+Edge79+Edge (Legacy)12+Internet Explorer9+Firefox Android?Safari iOS4+Chrome Android?WebView Android37+Samsung Internet?Opera Android11+\n\nReturns the `head` element.\n\nThe `head` element of a document is the first `head` element\n that is a child of the `html` element, if there is one, or null\n otherwise.\n\nThe `head` attribute,\n on getting, must return the `head` element of the document (a\n `head` element or null).\n\n---\n\n`document.title [ = value ]`\n\nReturns the document's title, as given by the `title` element for\n HTML and as given by the [SVG `title`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-title) element for SVG. Can be set, to update the document's title. If there is no appropriate element to update, the\n new value is ignored.\n\nThe `title` element of a document is the first `title` element\n in the document (in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)), if there is one, or null otherwise.\n\n[Document/title](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer4+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `title` attribute must, on getting, run the following\n algorithm:\n\n1. If the [document element](https://dom.spec.whatwg.org/#document-element) is an [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg) element, then\n let value be the [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) of the first [SVG\n `title`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-title) element that is a child of the [document element](https://dom.spec.whatwg.org/#document-element).\n2. Otherwise, let value be the [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) of the\n `title` element, or the empty string if the `title`\n element is null.\n3. [Strip and collapse ASCII whitespace](https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace) in value.\n4. Return value.\n\nOn setting, the steps corresponding to the first matching condition in the following list must\n be run:\n\nIf the [document element](https://dom.spec.whatwg.org/#document-element) is an [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg) element\n\nIf there is an [SVG `title`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-title) element that is a child of the\n [document element](https://dom.spec.whatwg.org/#document-element), let element be the first such element. Otherwise: Let element be the result of [creating an\n element](https://dom.spec.whatwg.org/#concept-create-element) given the [document element](https://dom.spec.whatwg.org/#document-element)'s [node document](https://dom.spec.whatwg.org/#concept-node-document), \"`title`\", and the [SVG namespace](https://infra.spec.whatwg.org/#svg-namespace). Insert element as the [first child](https://dom.spec.whatwg.org/#concept-tree-first-child) of the [document\n element](https://dom.spec.whatwg.org/#document-element). [String replace all](https://dom.spec.whatwg.org/#string-replace-all) with the given value within element.\n\nIf the [document element](https://dom.spec.whatwg.org/#document-element) is in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace)\n\nIf the `title` element is null and the `head`\n element is null, then return.If the `title` element is non-null, let element be\n the `title` element. Otherwise: Let element be the result of [creating an\n element](https://dom.spec.whatwg.org/#concept-create-element) given the [document element](https://dom.spec.whatwg.org/#document-element)'s [node document](https://dom.spec.whatwg.org/#concept-node-document), \"`title`\", and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace). [Append](https://dom.spec.whatwg.org/#concept-node-append) element to the\n `head` element. [String replace all](https://dom.spec.whatwg.org/#string-replace-all) with the given value within element.\n\nOtherwise\n\nDo nothing.\n\n---\n\n`document.body [ = value ]`[Document/body](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)Support in all current engines.Firefox60+Safari1+Chrome1+Opera9.6+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns the body element. Can be set, to replace the body element. If the new value is not a `body` or `frameset` element, this will throw\n a [\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n\nThe body element of a document is the first of the `html`\n element's children that is either a `body` element or a `frameset`\n element, or null if there is no such element.\n\nThe `body` attribute,\n on getting, must return the body element of the document (either a `body`\n element, a `frameset` element, or null). On setting, the following algorithm must be\n run:\n\n1. If the new value is not a `body` or `frameset` element, then throw a [\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` .\n2. Otherwise, if the new value is the same as the body element , return.\n3. Otherwise, if the body element is not null, then [replace](https://dom.spec.whatwg.org/#concept-node-replace) the body element with the new value\n within the body element 's parent and return.\n4. Otherwise, if there is no [document element](https://dom.spec.whatwg.org/#document-element) , throw a [\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` .\n5. Otherwise, the body element is null, but there's a [document element](https://dom.spec.whatwg.org/#document-element) . [Append](https://dom.spec.whatwg.org/#concept-node-append) the new value to\n the [document element](https://dom.spec.whatwg.org/#document-element) .\n\nThe value returned by the `body` getter is\n not always the one passed to the setter.\n\nIn this example, the setter successfully inserts a `body` element (though this is\n non-conforming since SVG does not allow a `body` as child of [SVG\n `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg)). However the getter will return null because the document element is not\n `html`.\n\n```\n \n```\n\n---\n\n`document.images`[Document/images](https://developer.mozilla.org/en-US/docs/Web/API/Document/images)Support in all current engines.Firefox1+Safari1+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `img` elements in the\n `Document`.\n\n`document.embeds`[Document/embeds](https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds)Support in all current engines.Firefox1+Safari10.1+Chrome64+Opera51+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android47+\n\n`document.plugins`[Document/plugins](https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins)Support in all current engines.Firefox1+Safari10.1+Chrome64+Opera51+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS10.3+Chrome Android?WebView Android?Samsung Internet?Opera Android47+\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `embed` elements in the\n `Document`.\n\n`document.links`[Document/links](https://developer.mozilla.org/en-US/docs/Web/API/Document/links)Support in all current engines.Firefox1+Safari1+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `a` and `area` elements\n in the `Document` that have `href`\n attributes.\n\n`document.forms`[Document/forms](https://developer.mozilla.org/en-US/docs/Web/API/Document/forms)Support in all current engines.Firefox1+Safari1+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `form` elements in the\n `Document`.\n\n`document.scripts`[Document/scripts](https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts)Support in all current engines.Firefox9+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer4+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `script` elements in the\n `Document`.\n\nThe `images`\n attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `Document` node,\n whose filter matches only `img` elements.\n\nThe `embeds`\n attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `Document` node,\n whose filter matches only `embed` elements.\n\nThe `plugins`\n attribute must return the same object as that returned by the `embeds` attribute.\n\nThe `links`\n attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `Document` node,\n whose filter matches only `a` elements with `href` attributes and `area` elements with `href` attributes.\n\nThe `forms`\n attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `Document` node,\n whose filter matches only `form` elements.\n\nThe `scripts`\n attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `Document` node,\n whose filter matches only `script` elements.\n\n---\n\n`collection = document.getElementsByName(name)`[Document/getElementsByName](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName)Support in all current engines.Firefox1+Safari1+Chrome1+Opera5+Edge79+Edge (Legacy)12+Internet Explorer5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns a `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` of elements in the `Document` that have a `name` attribute with the value name.\n\nThe `getElementsByName(elementName)` method\n steps are to return a live `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` containing all the HTML\n elements in that document that have a `name` attribute whose value is\n [identical to](https://infra.spec.whatwg.org/#string-is) the elementName argument, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order). When the\n method is invoked on a `Document` object again with the same argument, the user agent\n may return the same as the object returned by the earlier call. In other cases, a new\n `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` object must be returned.\n\n---\n\n`document.currentScript`[Document/currentScript](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)Support in all current engines.Firefox4+Safari8+Chrome29+Opera?Edge79+Edge (Legacy)12+Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the `script` element, or the [SVG `script`](https://w3c.github.io/svgwg/svg2-draft/interact.html#elementdef-script) element,\n that is currently executing, as long as the element represents a classic script. In\n the case of reentrant script execution, returns the one that most recently started executing\n amongst those that have not yet finished executing. Returns null if the `Document` is not currently executing a `script` or\n [SVG `script`](https://w3c.github.io/svgwg/svg2-draft/interact.html#elementdef-script) element (e.g., because the running script is an event\n handler, or a timeout), or if the currently executing `script` or [SVG\n `script`](https://w3c.github.io/svgwg/svg2-draft/interact.html#elementdef-script) element represents a module script.\n\nThe `currentScript` attribute, on getting, must return\n the value to which it was most recently set. When the `Document` is created, the `currentScript` must be initialized to null.\n\nThis API has fallen out of favor in the implementer and standards community, as\n it globally exposes `script` or [SVG `script`](https://w3c.github.io/svgwg/svg2-draft/interact.html#elementdef-script) elements. As such,\n it is not available in newer contexts, such as when running module\n scripts or when running scripts in a [shadow tree](https://dom.spec.whatwg.org/#concept-shadow-tree). We are looking into creating\n a new solution for identifying the running script in such contexts, which does not make it\n globally available: see [issue #1013](https://github.com/whatwg/html/issues/1013).\n\n---\n\nThe `Document` interface [supports named properties](https://webidl.spec.whatwg.org/#dfn-support-named-properties). The [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) of a\n `Document` object document at any moment consist of the following, for each\n element element [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree) with document as its\n [root](https://dom.spec.whatwg.org/#concept-tree-root), in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), ignoring later duplicates:\n\n- the value of element's `id` content attribute, if\n element is a named element with\n that value as its name; and then\n- the value of element's `name` content attribute, if\n element is a named element with\n that value as its name.\n\nTo [determine the value of a named property](https://webidl.spec.whatwg.org/#dfn-determine-the-value-of-a-named-property) name for a `Document`, the user agent must return the value obtained using\n the following steps:\n\n1. Let elements be the list of named\n elements with the name name that are [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree) with the\n `Document` as their [root](https://dom.spec.whatwg.org/#concept-tree-root). There will be at least one such element, since the algorithm would otherwise not\n have been [invoked by Web IDL](https://webidl.spec.whatwg.org/#LegacyPlatformObjectGetOwnProperty).\n2. If elements has only one element, and that element is an `iframe`\n element, and that `iframe` element's content navigable is not null, then\n return the active `WindowProxy` of the element's\n content navigable.\n3. Otherwise, if elements has only one element, return that element.\n4. Otherwise, return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `Document` node,\n whose filter matches only named elements with\n the name name.\n\nAn element is a named element with the name\n name if name is not the empty string and any of the following are true:\n\n- it is an `embed` , `form` , `iframe` , `img` , or `object` element whose `name` content attribute's value is name ;\n- it is an `object` element whose `id` content\n attribute's value is name ; or\n- it is an `img` element whose `id` content attribute's\n value is name , and that has a non-empty `name` content attribute\n present also.\n\n---\n\nThe `dir` attribute on the\n `Document` interface is defined along with the `dir`\n content attribute.\n\n### 3.2 Elements\n\n#### 3.2.1 Semantics\n\nElements, attributes, and attribute values in HTML are defined (by this specification) to have\n certain meanings (semantics). For example, the `ol` element represents an ordered list,\n and the `lang` attribute represents the language of the content.\n\nThese definitions allow HTML processors, such as web browsers or search engines, to present and\n use documents and applications in a wide variety of contexts that the author might not have\n considered.\n\nAs a simple example, consider a web page written by an author who only considered desktop\n computer web browsers:\n\n```\n My Page

Welcome to my page

I like cars and lorries and have a big Jeep!

Where I live

I live in a small hut on a mountain!

\n```\n\nBecause HTML conveys *meaning*, rather than presentation, the same\n page can also be used by a small browser on a mobile phone, without any change to the page.\n Instead of headings being in large letters as on the desktop, for example, the browser on the\n mobile phone might use the same size text for the whole page, but with the headings in bold.\n\nBut it goes further than just differences in screen size: the same page could equally be used\n by a blind user using a browser based around speech synthesis, which instead of displaying the\n page on a screen, reads the page to the user, e.g. using headphones. Instead of large text for\n the headings, the speech browser might use a different volume or a slower voice.\n\nThat's not all, either. Since the browsers know which parts of the page are the headings, they\n can create a document outline that the user can use to quickly navigate around the document,\n using keys for \"jump to next heading\" or \"jump to previous heading\". Such features are especially\n common with speech browsers, where users would otherwise find quickly navigating a page quite\n difficult.\n\nEven beyond browsers, software can make use of this information. Search engines can use the\n headings to more effectively index a page, or to provide quick links to subsections of the page\n from their results. Tools can use the headings to create a table of contents (that is in fact how\n this very specification's table of contents is generated).\n\nThis example has focused on headings, but the same principle applies to all of the semantics\n in HTML.\n\nAuthors must not use elements, attributes, or attribute values for purposes other than their\n appropriate intended semantic purpose, as doing so prevents software from correctly processing the\n page.\n\nFor example, the following snippet, intended to represent the heading of a\n corporate site, is non-conforming because the second line is not intended to\n be a heading of a subsection, but merely a subheading or subtitle (a\n subordinate heading for the same section).\n\n```\n

ACME Corporation

The leaders in arbitrary fast delivery since 1920

\n ...\n```\n\nThe `hgroup` element can be used for these kinds of situations:\n\n```\n

ACME Corporation

The leaders in arbitrary fast delivery since 1920

\n ...\n```\n\nThe document in this next example is similarly non-conforming, despite\n being syntactically correct, because the data placed in the cells is clearly\n not tabular data, and the `cite` element mis-used:\n\n```\n Demonstration
My favourite animal is the cat.
\n —Ernest,\n in an essay from 1992\n
\n```\n\nThis would make software that relies on these semantics fail: for example,\n a speech browser that allowed a blind user to navigate tables in the document\n would report the quote above as a table, confusing the user; similarly, a\n tool that extracted titles of works from pages would extract \"Ernest\" as the\n title of a work, even though it's actually a person's name, not a title.\n\nA corrected version of this document might be:\n\n```\n Demonstration

My favourite animal is the cat.

\n —Ernest,\n in an essay from 1992\n

\n```\n\nAuthors must not use elements, attributes, or attribute values that are not permitted by this\n specification or other applicable specifications, as doing so makes it significantly\n harder for the language to be extended in the future.\n\nIn the next example, there is a non-conforming attribute value (\"carpet\") and a non-conforming\n attribute (\"texture\"), which is not permitted by this specification:\n\n```\n\n```\n\nHere would be an alternative and correct way to mark this up:\n\n```\n\n```\n\nDOM nodes whose [node document](https://dom.spec.whatwg.org/#concept-node-document)'s browsing context is null are exempt from all document\n conformance requirements other than the HTML syntax requirements and XML syntax requirements.\n\nIn particular, the `template` element's template contents's [node\n document](https://dom.spec.whatwg.org/#concept-node-document)'s browsing context is null. For\n example, the content model requirements and\n attribute value microsyntax requirements do not apply to a `template` element's\n template contents. In this example an `img` element has attribute values\n that are placeholders that would be invalid outside a `template` element.\n\n```\n\n```\n\nHowever, if the above markup were to omit the `` end tag, that\n would be a violation of the HTML syntax, and would thus be flagged as an\n error by conformance checkers.\n\nThrough scripting and using other mechanisms, the values of attributes, text, and indeed the\n entire structure of the document may change dynamically while a user agent is processing it. The\n semantics of a document at an instant in time are those represented by the state of the document\n at that instant in time, and the semantics of a document can therefore change over time. User\n agents must update their presentation of the document as this\n occurs.\n\nHTML has a `progress` element that describes a progress bar. If its\n \"value\" attribute is dynamically updated by a script, the UA would update the rendering to show\n the progress changing.\n\n#### 3.2.2 Elements in the DOM\n\nThe nodes representing HTML elements in the DOM must\n implement, and expose to scripts, the interfaces listed for them in the relevant sections of this\n specification. This includes HTML elements in [XML documents](https://dom.spec.whatwg.org/#xml-document), even when\n those documents are in another context (e.g. inside an XSLT transform).\n\nElements in the DOM represent things; that is, they have\n intrinsic *meaning*, also known as semantics.\n\nFor example, an `ol` element represents an ordered list.\n\nElements can be referenced (referred to) in some way, either\n explicitly or implicitly. One way that an element in the DOM can be explicitly referenced is by\n giving an `id` attribute to the element, and then creating a\n hyperlink with that `id` attribute's value as the fragment for the hyperlink's `href` attribute value. Hyperlinks are not necessary for a\n reference, however; any manner of referring to the element in question will suffice.\n\nConsider the following `figure` element, which is given an `id` attribute:\n\n```\n
\"Module
Figure 27: a simple module graph
\n```\n\nA hyperlink-based reference could be created\n using the `a` element, like so:\n\n```\nAs we can see in figure 27, ...\n```\n\nHowever, there are many other ways of referencing the\n `figure` element, such as:\n\n- \"As depicted in the figure of modules A, B, C, and D...\"\n- \"In Figure 27...\" (without a hyperlink)\n- \"From the contents of the 'simple module graph' figure...\"\n- \"In the figure below...\" (but this is\n discouraged)\n\nThe basic interface, from which all the HTML elements' interfaces inherit, and which must be used by elements that have no additional requirements, is\n the `HTMLElement` interface.\n\n[HTMLElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera8+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android1+ Samsung Internet? Opera Android10.1+\n\n[HTMLElement/title](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLElement/lang](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLElement/inert](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert)\n\nSupport in all current engines.\n\nFirefox112+ Safari15.5+ Chrome102+\n\n---\n\nOpera? Edge102+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLElement/accessKey](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)\n\nSupport in all current engines.\n\nFirefox5+ Safari6+ Chrome17+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLUnknownElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari6+ Chrome15+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n```\n[Exposed=Window]\ninterface HTMLElement : Element {\n [HTMLConstructor] constructor();\n\n // metadata attributes\n [CEReactions, Reflect] attribute DOMString title;\n [CEReactions, Reflect] attribute DOMString lang;\n [CEReactions] attribute boolean translate;\n [CEReactions] attribute DOMString dir;\n\n // user interaction\n [CEReactions] attribute (boolean or unrestricted double or DOMString)? hidden;\n [CEReactions, Reflect] attribute boolean inert;\n undefined click();\n [CEReactions, Reflect] attribute DOMString accessKey;\n readonly attribute DOMString accessKeyLabel;\n [CEReactions] attribute boolean draggable;\n [CEReactions] attribute boolean spellcheck;\n [CEReactions, ReflectSetter] attribute DOMString writingSuggestions;\n [CEReactions, ReflectSetter] attribute DOMString autocapitalize;\n [CEReactions] attribute boolean autocorrect;\n\n [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerText;\n [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerText;\n\n ElementInternals attachInternals();\n\n // The popover API\n undefined showPopover(optional ShowPopoverOptions options = {});\n undefined hidePopover();\n boolean togglePopover(optional (TogglePopoverOptions or boolean) options = {});\n [CEReactions] attribute DOMString? popover;\n\n [CEReactions, Reflect, ReflectRange=(0, 8)] attribute unsigned long headingOffset;\n [CEReactions, Reflect] attribute boolean headingReset;\n};\n\ndictionary ShowPopoverOptions {\n HTMLElement source;\n};\n\ndictionary TogglePopoverOptions : ShowPopoverOptions {\n boolean force;\n};\n\nHTMLElement includes GlobalEventHandlers;\nHTMLElement includes ElementContentEditable;\nHTMLElement includes HTMLOrSVGOrMathMLElement;\n\n[Exposed=Window]\ninterface HTMLUnknownElement : HTMLElement {\n // Note: intentionally no [HTMLConstructor]\n};\n```\n\nThe `HTMLElement` interface holds methods and attributes related to a number of\n disparate features, and the members of this interface are therefore described in various different\n sections of this specification.\n\n---\n\nThe [element interface](https://dom.spec.whatwg.org/#concept-element-interface) for an element with name name in the\n [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) is determined as follows:\n\n1. If name is `applet`, `bgsound`, `blink`,\n `isindex`, `keygen`, `multicol`, `nextid`, or\n `spacer`, then return `HTMLUnknownElement`.\n2. If name is `acronym`, `basefont`, `big`,\n `center`, `nobr`, `noembed`, `noframes`,\n `plaintext`, `rb`, `rtc`, `strike`, or\n `tt`, then return `HTMLElement`.\n3. If name is `listing` or `xmp`, then return\n `HTMLPreElement`.\n4. Otherwise, if this specification defines an interface appropriate for the element\n type corresponding to the local name name, then return that interface.\n5. If other applicable specifications define an appropriate interface for\n name, then return the interface they define.\n6. If name is a valid custom element name, then return\n `HTMLElement`.\n7. Return `HTMLUnknownElement`.\n\nThe use of `HTMLElement` instead of `HTMLUnknownElement` in\n the case of valid custom element names is done to\n ensure that any potential future upgrades only cause\n a linear transition of the element's prototype chain, from `HTMLElement` to a subclass,\n instead of a lateral one, from `HTMLUnknownElement` to an unrelated subclass.\n\nFeatures shared between HTML, SVG and MathML elements use the\n `HTMLOrSVGOrMathMLElement` interface mixin: [SVG] [MATHML]\n\n[Global_attributes/autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)\n\nSupport in one engine only.\n\nFirefox🔰 1+ Safari🔰 4+ Chrome79+\n\n---\n\nOpera66+ Edge79+\n\n---\n\nEdge (Legacy)No Internet Explorer🔰 10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android79+ Samsung Internet? Opera Android57+\n\n```\ninterface mixin HTMLOrSVGOrMathMLElement {\n [SameObject] readonly attribute DOMStringMap dataset;\n attribute DOMString nonce; // intentionally no [CEReactions]\n\n [CEReactions, Reflect] attribute boolean autofocus;\n [CEReactions, ReflectSetter] attribute long tabIndex;\n undefined focus(optional FocusOptions options = {});\n undefined blur();\n};\n```\n\nAn example of an element that is neither an HTML nor SVG nor MathML element is one created as\n follows:\n\n```\nconst el = document.createElementNS(\"some namespace\", \"example\");\nconsole.assert(el.constructor === Element);\n```\n\n#### 3.2.3 HTML element constructors\n\nTo support the custom elements feature, all HTML elements have\n special constructor behavior. This is indicated via the `[HTMLConstructor]` IDL\n [extended attribute](https://webidl.spec.whatwg.org/#dfn-extended-attribute). It indicates that the interface object for the given interface\n will have a specific behavior when called, as defined in detail below.\n\nThe `[HTMLConstructor]` extended attribute must take no\n arguments, and must only appear on [constructor\n operations](https://webidl.spec.whatwg.org/#idl-constructors). It must appear only once on a constructor operation, and the interface must\n contain only the single, annotated constructor operation, and no others. The annotated\n constructor operation must be declared to take no arguments.\n\nInterfaces declared with constructor operations that are annotated with the `[HTMLConstructor]` extended attribute have the following\n [overridden constructor steps](https://webidl.spec.whatwg.org/#overridden-constructor-steps):\n\n1. If [NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects) is equal to the [active function\n object](https://tc39.es/ecma262/#active-function-object), then throw a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`. This can occur when a custom element is defined using an [element interface](https://dom.spec.whatwg.org/#concept-element-interface) as\n its constructor: `customElements.define(\"bad-1\", HTMLButtonElement); new HTMLButtonElement(); // (1)\ndocument.createElement(\"bad-1\"); // (2)` In this case, during the execution of `HTMLButtonElement` (either explicitly, as\n in (1), or implicitly, as in (2)), both the [active function object](https://tc39.es/ecma262/#active-function-object) and\n [NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects) are `HTMLButtonElement`. If this check was not present, it\n would be possible to create an instance of `HTMLButtonElement` whose local name was\n `bad-1`.\n2. Let registry be null.\n3. If the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)'s active custom element constructor\n map[[NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects)] [exists](https://infra.spec.whatwg.org/#map-exists), then set\n registry to the [surrounding agent](https://tc39.es/ecma262/#surrounding-agent)'s active custom element\n constructor map[[NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects)].\n4. Otherwise, set registry to the current global object's associated `Document`'s [custom element registry](https://dom.spec.whatwg.org/#document-custom-element-registry).\n5. Let definition be the item in registry's custom element\n definition set with constructor equal to\n [NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects). If there is no such item, then throw a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`. Since there can be no item in registry's custom element\n definition set with a constructor of undefined, this\n step also prevents HTML element constructors from being called as functions (since in that case\n [NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects) will be undefined).\n6. Let isValue be null.\n7. If definition's local\n name is equal to definition's name (i.e., definition is for\n an autonomous custom element):\n 1. If the [active function object](https://tc39.es/ecma262/#active-function-object) is not `HTMLElement`, then throw a\n `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`. This can occur when a custom element is defined to not extend any local names, but\n inherits from a non-`HTMLElement` class: `customElements.define(\"bad-2\", class Bad2 extends HTMLParagraphElement {});` In this case, during the (implicit) `super()` call that occurs when\n constructing an instance of `Bad2`, the [active function\n object](https://tc39.es/ecma262/#active-function-object) is `HTMLParagraphElement`, not `HTMLElement`.\n8. Otherwise (i.e., if definition is for a customized built-in\n element):\n 1. Let valid local names be the list of local names for elements defined in this\n specification or in other applicable specifications that use the [active\n function object](https://tc39.es/ecma262/#active-function-object) as their [element interface](https://dom.spec.whatwg.org/#concept-element-interface).\n 2. If valid local names does not contain definition's local name, then throw a\n `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`. This can occur when a custom element is defined to extend a given local name but inherits\n from the wrong class: `customElements.define(\"bad-3\", class Bad3 extends HTMLQuoteElement {}, { extends: \"p\" });` In this case, during the (implicit) `super()` call that occurs when\n constructing an instance of `Bad3`, valid local names is the\n list containing `q` and `blockquote`, but definition's local name is `p`,\n which is not in that list.\n 3. Set isValue to definition's name.\n9. If definition's construction stack is\n empty: This occurs when author script constructs a new custom element directly, e.g.,\n via `new MyCustomElement()`.\n 1. Let element be the result of [internally creating a new object implementing the interface](https://webidl.spec.whatwg.org/#internally-create-a-new-object-implementing-the-interface)\n to which the [active function object](https://tc39.es/ecma262/#active-function-object) corresponds, given the [current\n realm](https://tc39.es/ecma262/#current-realm) and [NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects).\n 2. Set element's [node document](https://dom.spec.whatwg.org/#concept-node-document) to the current global\n object's associated\n `Document`.\n 3. Set element's [namespace](https://dom.spec.whatwg.org/#concept-element-namespace) to\n the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n 4. Set element's [namespace\n prefix](https://dom.spec.whatwg.org/#concept-element-namespace-prefix) to null.\n 5. Set element's [local name](https://dom.spec.whatwg.org/#concept-element-local-name) to\n definition's local\n name.\n 6. Set element's [custom element\n registry](https://dom.spec.whatwg.org/#element-custom-element-registry) to registry.\n 7. Set element's [custom element state](https://dom.spec.whatwg.org/#concept-element-custom-element-state) to \"`custom`\".\n 8. Set element's [custom\n element definition](https://dom.spec.whatwg.org/#concept-element-custom-element-definition) to definition.\n 9. Set element's [`is` value](https://dom.spec.whatwg.org/#concept-element-is-value) to isValue.\n 10. Return element.\n10. Let prototype be ? [Get](https://tc39.es/ecma262/#sec-get-o-p)([NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects),\n \"prototype\").\n11. If prototype [is not an Object](https://tc39.es/ecma262/#sec-object-type): The realm of the [active function object](https://tc39.es/ecma262/#active-function-object) might not be\n realm, so we are using the more general concept of \"the same interface\" across\n realms; we are not looking for equality of [interface\n objects](https://webidl.spec.whatwg.org/#dfn-interface-object). This fallback behavior, including using the realm of [NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects) and\n looking up the appropriate prototype there, is designed to match analogous behavior for the\n JavaScript built-ins and Web IDL's [internally create a new object implementing the\n interface](https://webidl.spec.whatwg.org/#internally-create-a-new-object-implementing-the-interface) algorithm.\n 1. Let realm be ? [GetFunctionRealm](https://tc39.es/ecma262/#sec-getfunctionrealm)([NewTarget](https://tc39.es/ecma262/#sec-built-in-function-objects)).\n 2. Set prototype to the [interface prototype object](https://webidl.spec.whatwg.org/#dfn-interface-prototype-object) of\n realm whose interface is the same as the interface of the [active function\n object](https://tc39.es/ecma262/#active-function-object).\n12. Let element be the last entry in definition's construction stack.\n13. If element is an *already\n constructed* marker, then throw a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`. This can occur when the author code inside the custom element\n constructor non-conformantly creates another\n instance of the class being constructed, before calling `super()`: `let doSillyThing = true; class DontDoThis extends HTMLElement {\n constructor() { if (doSillyThing) {\n doSillyThing = false; new DontDoThis(); // Now the construction stack will contain an *already constructed* marker. } // This will then fail with a TypeError: super(); } }` This can also occur when author code inside the custom element constructor non-conformantly calls `super()`\n twice, since per the JavaScript specification, this actually executes the superclass\n constructor (i.e. this algorithm) twice, before throwing an error:\n\n `class DontDoThisEither extends HTMLElement {\n constructor() { super(); // This will throw, but not until it has already called into the HTMLElement constructor super(); } }`\n14. Perform ? element.[[SetPrototypeOf]](prototype).\n15. Replace the last entry in definition's construction stack with an\n *already constructed*\n marker.\n16. Return element. This step is normally reached when upgrading a custom element; the existing element is\n returned, so that the `super()` call inside the custom element\n constructor assigns that existing element to **this**.\n\n---\n\nIn addition to the constructor behavior implied by `[HTMLConstructor]`, some elements also have [named constructors](https://webidl.spec.whatwg.org/#dfn-named-constructor) (which are really factory functions with a modified `prototype` property).\n\nNamed constructors for HTML elements can also be used in an `extends` clause when defining a custom\n element constructor:\n\n```\nclass AutoEmbiggenedImage extends Image {\n constructor(width, height) { super(width * 10, height * 10); } }\n\ncustomElements.define(\"auto-embiggened\", AutoEmbiggenedImage, { extends: \"img\" }); const image = new AutoEmbiggenedImage(15, 20);\nconsole.assert(image.width === 150);\nconsole.assert(image.height === 200);\n```\n\n#### 3.2.4 Element definitions\n\nEach element in this specification has a definition that includes the following\n information:\n\nCategories\n\nA list of categories to which the element belongs.\n These are used when defining the content models for each element.\n\nContexts in which this element can be used\n\nA *non-normative* description of where the element can be used. This information is\n redundant with the content models of elements that allow this one as a child, and is provided\n only as a convenience. For simplicity, only the most specific expectations are listed. For example, all phrasing content is flow content. Thus, elements\n that are phrasing content will only be listed as \"where phrasing\n content is expected\", since this is the more-specific expectation. Anywhere that expects\n flow content also expects phrasing content, and thus also meets this\n expectation.\n\nContent model\n\nA normative description of what content must be included as children and descendants of\n the element.\n\nTag omission in text/html\n\nA *non-normative* description of whether, in the `text/html` syntax, the\n start and end tags can\n be omitted. This information is redundant with the normative requirements given in the optional tags section, and is provided in the element\n definitions only as a convenience.\n\nContent attributes\n\nA normative list of attributes that may be specified on the element (except where\n otherwise disallowed), along with non-normative descriptions of those attributes. (The content to\n the left of the dash is normative, the content to the right of the dash is not.)\n\nAccessibility considerations\n\nFor authors: Conformance requirements for use of ARIA `role` and `aria-*` attributes are\n defined in ARIA in HTML. [ARIA] [ARIAHTML] For implementers: User agent requirements for implementing accessibility API semantics are\n defined in HTML Accessibility API Mappings. [HTMLAAM]\n\nSanitization\n\nThe Sanitization information for each\n element defines its sanitization category, which affects how the element is\n processed during sanitization. It can also define one or more of the element's attributes as\n navigating URL attributes.\n\nDOM interface\n\nA normative definition of a DOM interface that such elements must implement.\n\nThis is then followed by a description of what the element represents, along with\n any additional normative conformance criteria that may apply to authors and implementations. Examples are sometimes also included.\n\n##### 3.2.4.1 Attributes\n\nAn attribute value is a string. Except where otherwise specified,\n attribute values on HTML elements may be any string value, including the empty\n string, and there is no restriction on what text can be specified in such attribute values.\n\n#### 3.2.5 Content models\n\nEach element defined in this specification has a content model: a description of the element's\n expected contents. An HTML\n element must have contents that match the requirements described in the element's content\n model. The contents of an element are its children in the\n DOM.\n\n[ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) is always allowed between elements. User agents represent these\n characters between elements in the source markup as `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes in the DOM. Empty `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes and\n `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes consisting of just sequences of those characters are considered\n inter-element whitespace.\n\nInter-element whitespace, comment nodes, and processing instruction nodes must be\n ignored when establishing whether an element's contents match the element's content model or not,\n and must be ignored when following algorithms that define document and element semantics.\n\nThus, an element A is said to be *preceded or followed*\n by a second element B if A and B have\n the same parent node and there are no other element nodes or `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes (other than\n inter-element whitespace) between them. Similarly, a node is the *only child* of\n an element if that element contains no other nodes other than inter-element\n whitespace, comment nodes, and processing instruction nodes.\n\nAuthors must not use HTML elements anywhere except where they are explicitly\n allowed, as defined for each element, or as explicitly required by other specifications. For XML\n compound documents, these contexts could be inside elements from other namespaces, if those\n elements are defined as providing the relevant contexts.\n\nThe Atom Syndication Format defines a `content` element. When its `type` attribute has the value\n `xhtml`, The Atom Syndication Format requires that it contain a\n single HTML `div` element. Thus, a `div` element is allowed in that context,\n even though this is not explicitly normatively stated by this specification. [ATOM]\n\nIn addition, HTML elements may be orphan nodes (i.e. without a parent node).\n\nFor example, creating a `td` element and storing it in a global variable in a\n script is conforming, even though `td` elements are otherwise only supposed to be used\n inside `tr` elements.\n\n```\nvar data = {\n name: \"Banana\",\n cell: document.createElement('td'), };\n```\n\n##### 3.2.5.1 The \"nothing\" content model\n\nWhen an element's content model is nothing, the\n element must contain no `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes (other than inter-element whitespace)\n and no element nodes.\n\nMost HTML elements whose content model is \"nothing\" are also, for convenience,\n void elements (elements that have no end tag in\n the HTML syntax). However, these are entirely separate concepts.\n\n##### 3.2.5.2 Kinds of content\n\nEach element in HTML falls into zero or more categories\n that group elements with similar characteristics together. The following broad categories are used\n in this specification:\n\n- Metadata content\n- Flow content\n- Sectioning content\n- Heading content\n- Phrasing content\n- Embedded content\n- Interactive content\n\nSome elements also fall into other categories, which are defined in other parts of\n this specification.\n\nThese categories are related as follows:\n\nSectioning content, heading content, phrasing content, embedded content, and interactive\n content are all types of flow content. Metadata is sometimes flow content. Metadata and\n interactive content are sometimes phrasing content. Embedded content is also a type of phrasing\n content, and sometimes is interactive content.\n\nOther categories are also used for specific purposes, e.g. form controls are specified using a\n number of categories to define common requirements. Some elements have unique requirements and do\n not fit into any particular category.\n\n###### 3.2.5.2.1 Metadata content\n\nMetadata content is content that sets up the presentation or behavior of the\n rest of the content, or that sets up the relationship of the document with other documents, or\n that conveys other \"out of band\" information.\n\n- `base`\n- `link`\n- `meta`\n- `noscript`\n- `script`\n- `style`\n- `template`\n- `title`\n\nElements from other namespaces whose semantics are primarily metadata-related (e.g. RDF) are\n also metadata content.\n\nThus, in the XML serialization, one can use RDF, like this:\n\n```\n Hedral's Home Page Cat Hedral Sir

My home page

I like playing with string, I guess. Sister says squirrels are fun\n too so sometimes I follow her to play with them.

\n```\n\nThis isn't possible in the HTML serialization, however.\n\n###### 3.2.5.2.2 Flow content\n\nMost elements that are used in the body of documents and applications are categorized as\n flow content.\n\n- `a`\n- `abbr`\n- `address`\n- `area` (if it is a descendant of a `map` element)\n- `article`\n- `audio`\n- `b`\n- `bdi`\n- `bdo`\n- `blockquote`\n- `br`\n- `button`\n- `canvas`\n- `cite`\n- `code`\n- `data`\n- `datalist`\n- `del`\n- `details`\n- `dfn`\n- `dialog`\n- `div`\n- `dl`\n- `em`\n- `embed`\n- `fieldset`\n- `figure`\n- `form`\n- `h1`\n- `h2`\n- `h3`\n- `h4`\n- `h5`\n- `h6`\n- `hgroup`\n- `hr`\n- `i`\n- `iframe`\n- `img`\n- `input`\n- `ins`\n- `kbd`\n- `label`\n- `link` (if it is allowed in the body )\n- `main` (if it is a hierarchically correct `main` element )\n- `map`\n- `mark`\n- [MathML `math`](https://w3c.github.io/mathml-core/#the-top-level-math-element)\n- `meta` (if the `itemprop` attribute is present)\n- `meter`\n- `noscript`\n- `object`\n- `ol`\n- `output`\n- `p`\n- `picture`\n- `pre`\n- `progress`\n- `q`\n- `ruby`\n- `s`\n- `samp`\n- `script`\n- `search`\n- `section`\n- `select`\n- `slot`\n- `small`\n- `span`\n- `strong`\n- `sub`\n- `sup`\n- [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg)\n- `table`\n- `template`\n- `textarea`\n- `time`\n- `u`\n- `ul`\n- `var`\n- `video`\n- `wbr`\n- autonomous custom elements\n- text\n\n###### 3.2.5.2.3 Sectioning content\n\nSectioning content is content that defines the scope of \n and elements.\n\n- `article`\n- `section`\n\n###### 3.2.5.2.4 Heading content\n\nHeading content defines the heading of a section (whether explicitly marked\n up using sectioning content elements, or implied by the heading content itself).\n\n- `h1`\n- `h2`\n- `h3`\n- `h4`\n- `h5`\n- `h6`\n- `hgroup` (if it has a descendant `h1` to `h6` element)\n\n###### 3.2.5.2.5 Phrasing content\n\nPhrasing content is the text of the document, as well as elements that mark\n up that text at the intra-paragraph level. Runs of phrasing content form paragraphs.\n\n- `a`\n- `abbr`\n- `area` (if it is a descendant of a `map` element)\n- `audio`\n- `b`\n- `bdi`\n- `bdo`\n- `br`\n- `button`\n- `canvas`\n- `cite`\n- `code`\n- `data`\n- `datalist`\n- `del`\n- `dfn`\n- `em`\n- `embed`\n- `i`\n- `iframe`\n- `img`\n- `input`\n- `ins`\n- `kbd`\n- `label`\n- `link` (if it is allowed in the body )\n- `map`\n- `mark`\n- [MathML `math`](https://w3c.github.io/mathml-core/#the-top-level-math-element)\n- `meta` (if the `itemprop` attribute is present)\n- `meter`\n- `noscript`\n- `object`\n- `output`\n- `picture`\n- `progress`\n- `q`\n- `ruby`\n- `s`\n- `samp`\n- `script`\n- `select`\n- `selectedcontent` (if it is a descendant of a `button` in a `select` )\n- `slot`\n- `small`\n- `span`\n- `strong`\n- `sub`\n- `sup`\n- [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg)\n- `template`\n- `textarea`\n- `time`\n- `u`\n- `var`\n- `video`\n- `wbr`\n- autonomous custom elements\n- text\n\nMost elements that are categorized as phrasing content can only contain elements\n that are themselves categorized as phrasing content, not any flow content.\n\nText, in the context of content models, means either nothing,\n or `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes. Text is sometimes used as a content\n model on its own, but is also phrasing content, and can be inter-element\n whitespace (if the `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes are empty or contain just [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)).\n\n`[Text](https://dom.spec.whatwg.org/#interface-text)` nodes and attribute values must consist of [scalar\n values](https://infra.spec.whatwg.org/#scalar-value), excluding [noncharacters](https://infra.spec.whatwg.org/#noncharacter), and [controls](https://infra.spec.whatwg.org/#control) other than [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\n \n \n\n This specification includes extra constraints on the exact value of `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes and\n attribute values depending on their precise context.\n\n###### 3.2.5.2.6 Embedded content\n\nEmbedded content is content that imports\n another resource into the document, or content from another vocabulary that\n is inserted into the document.\n\n- `audio`\n- `canvas`\n- `embed`\n- `iframe`\n- `img`\n- [MathML `math`](https://w3c.github.io/mathml-core/#the-top-level-math-element)\n- `object`\n- `picture`\n- [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg)\n- `video`\n\nElements that are from namespaces other than the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) and that convey\n content but not metadata, are embedded content for the purposes of the content models\n defined in this specification. (For example, MathML or SVG.)\n\nSome embedded content elements can have fallback content: content that is to be used\n when the external resource cannot be used (e.g. because it is of an unsupported format). The\n element definitions state what the fallback is, if any.\n\n###### 3.2.5.2.7 Interactive content\n\nInteractive content is content that is specifically intended for user\n interaction.\n\n- `a` (if the `href` attribute is present)\n- `audio` (if the `controls` attribute is present)\n- `button`\n- `details`\n- `embed`\n- `iframe`\n- `img` (if the `usemap` or `controls` attribute is present)\n- `input` (if the `type` attribute is *not* in the Hidden state)\n- `label`\n- `select`\n- `textarea`\n- `video` (if the `controls` attribute is present)\n\n###### 3.2.5.2.8 Palpable content\n\nAs a general rule, elements whose content model allows any flow content or\n phrasing content should have at least one node in its contents that is palpable content and\n that does not have the `hidden` attribute specified.\n\nPalpable content makes an element non-empty by providing either\n some descendant non-empty text, or else something users can\n hear (`audio` elements) or view (`video`, `img`, or\n `canvas` elements) or otherwise interact with (for example, interactive form\n controls).\n\nThis requirement is not a hard requirement, however, as there are many cases where an element\n can be empty legitimately, for example when it is used as a placeholder which will later be filled\n in by a script, or when the element is part of a template and would on most pages be filled in but\n on some pages is not relevant.\n\nConformance checkers are encouraged to provide a mechanism for authors to find elements that\n fail to fulfill this requirement, as an authoring aid.\n\nThe following elements are palpable content:\n\n- `a`\n- `abbr`\n- `address`\n- `article`\n- `audio` (if the `controls` attribute is present)\n- `b`\n- `bdi`\n- `bdo`\n- `blockquote`\n- `button`\n- `canvas`\n- `cite`\n- `code`\n- `data`\n- `del`\n- `details`\n- `dfn`\n- `div`\n- `dl` (if the element's children include at least one name-value group)\n- `em`\n- `embed`\n- `fieldset`\n- `figure`\n- `form`\n- `h1`\n- `h2`\n- `h3`\n- `h4`\n- `h5`\n- `h6`\n- `hgroup`\n- `i`\n- `iframe`\n- `img`\n- `input` (if the `type` attribute is *not* in the Hidden state)\n- `ins`\n- `kbd`\n- `label`\n- `main`\n- `map`\n- `mark`\n- [MathML `math`](https://w3c.github.io/mathml-core/#the-top-level-math-element)\n- (if the element's children include at least one `li` element)\n- `meter`\n- `object`\n- `ol` (if the element's children include at least one `li` element)\n- `output`\n- `p`\n- `picture`\n- `pre`\n- `progress`\n- `q`\n- `ruby`\n- `s`\n- `samp`\n- `search`\n- `section`\n- `select`\n- `small`\n- `span`\n- `strong`\n- `sub`\n- `sup`\n- [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg)\n- `table`\n- `textarea`\n- `time`\n- `u`\n- `ul` (if the element's children include at least one `li` element)\n- `var`\n- `video`\n- autonomous custom elements\n- text that is not inter-element whitespace\n\n###### 3.2.5.2.9 Script-supporting elements\n\nScript-supporting elements are those that do not represent anything themselves (i.e. they are not rendered), but are\n used to support scripts, e.g. to provide functionality for the user.\n\nThe following elements are script-supporting elements:\n\n- `script`\n- `template`\n\n##### 3.2.5.3 Transparent content models\n\nSome elements are described as transparent; they have \"transparent\" in the\n description of their content model. The content model of a transparent element is\n derived from the content model of its parent element: the elements required in the part of the\n content model that is \"transparent\" are the same elements as required in the part of the content\n model of the parent of the transparent element in which the transparent element finds itself.\n\nFor instance, an `ins` element inside a `ruby` element cannot contain an\n `rt` element, because the part of the `ruby` element's content model that\n allows `ins` elements is the part that allows phrasing content, and the\n `rt` element is not phrasing content.\n\nIn some cases, where transparent elements are nested in each other, the process\n has to be applied iteratively.\n\nConsider the following markup fragment:\n\n```\n

Apples

\n```\n\nTo check whether \"Apples\" is allowed inside the `a` element, the content models are\n examined. The `a` element's content model is transparent, as is the `map`\n element's, as is the `ins` element's, as is the `object` element's. The\n `object` element is found in the `p` element, whose content model is\n phrasing content. Thus, \"Apples\" is allowed, as text is phrasing content.\n\nWhen a transparent element has no parent, then the part of its content model that is\n \"transparent\" must instead be treated as accepting any flow content.\n\n##### 3.2.5.4 Paragraphs\n\nThe term paragraph as defined in this section is used for more than\n just the definition of the `p` element. The paragraph concept defined here\n is used to describe how to interpret documents. The `p` element is merely one of\n several ways of marking up a paragraph.\n\nA paragraph is typically a run of phrasing content that forms a block\n of text with one or more sentences that discuss a particular topic, as in typography, but can also\n be used for more general thematic grouping. For instance, an address is also a paragraph, as is a\n part of a form, a byline, or a stanza in a poem.\n\nIn the following example, there are two paragraphs in a section. There is also a heading,\n which contains phrasing content that is not a paragraph. Note how the comments and\n inter-element whitespace do not form paragraphs.\n\n```\n

Example of paragraphs

\n This is the first paragraph in this example.\n

This is the second.

\n```\n\nParagraphs in flow content are defined relative to what the document looks like\n without the `a`, `ins`, `del`, and `map` elements\n complicating matters, since those elements, with their hybrid content models, can straddle\n paragraph boundaries, as shown in the first two examples below.\n\nGenerally, having elements straddle paragraph boundaries is best avoided.\n Maintaining such markup can be difficult.\n\nThe following example takes the markup from the earlier example and puts `ins` and\n `del` elements around some of the markup to show that the text was changed (though in\n this case, the changes admittedly don't make much sense). Notice how this example has exactly the\n same paragraphs as the previous one, despite the `ins` and `del` elements\n — the `ins` element straddles the heading and the first paragraph, and the\n `del` element straddles the boundary between the two paragraphs.\n\n```\n

Example of paragraphs

\n This is the first paragraph in
this example.\n

This is the second.

\n```\n\nLet view be a view of the DOM that replaces all `a`,\n `ins`, `del`, and `map` elements in the document with their contents. Then, in view, for each run\n of sibling phrasing content nodes uninterrupted by other types of content, in an\n element that accepts content other than phrasing content as well as phrasing\n content, let first be the first node of the run, and let last be the last node of the run. For each such run that consists of at least one\n node that is neither embedded content nor inter-element whitespace, a\n paragraph exists in the original DOM from immediately before first to\n immediately after last. (Paragraphs can thus span across `a`,\n `ins`, `del`, and `map` elements.)\n\nConformance checkers may warn authors of cases where they have paragraphs that overlap each\n other (this can happen with `object`, `video`, `audio`, and\n `canvas` elements, and indirectly through elements in other namespaces that allow HTML\n to be further embedded therein, like [SVG `svg`](https://w3c.github.io/svgwg/svg2-draft/struct.html#elementdef-svg) or [MathML\n `math`](https://w3c.github.io/mathml-core/#the-top-level-math-element)).\n\nA paragraph is also formed explicitly by `p` elements.\n\nThe `p` element can be used to wrap individual paragraphs when there\n would otherwise not be any content other than phrasing content to separate the paragraphs from\n each other.\n\nIn the following example, the link spans half of the first paragraph, all of the heading\n separating the two paragraphs, and half of the second paragraph. It straddles the paragraphs and\n the heading.\n\n```\n
\n Welcome!\n \n This is home of...\n

The Falcons!

\n The Lockheed Martin multirole jet fighter aircraft!\n
\n This page discusses the F-16 Fighting Falcon's innermost secrets.\n
\n```\n\nHere is another way of marking this up, this time showing the paragraphs explicitly, and\n splitting the one link element into three:\n\n```\n

Welcome! This is home of...

The Falcons!

The Lockheed Martin multirole jet\n fighter aircraft! This page discusses the F-16 Fighting\n Falcon's innermost secrets.

\n```\n\nIt is possible for paragraphs to overlap when using certain elements that define fallback\n content. For example, in the following section:\n\n```\n

My Cats

\n You can play with my cat simulator.\n \n To see the cat simulator, use one of the following links:\n \n Alternatively, upgrade to the Mellblom Browser.\n \n I'm quite proud of it.\n
\n```\n\nThere are five paragraphs:\n\n1. The paragraph that says \"You can play with my cat simulator. *object* I'm\n quite proud of it.\", where *object* is the `object` element.\n2. The paragraph that says \"To see the cat simulator, use one of the following links:\".\n3. The paragraph that says \"Download simulator file\".\n4. The paragraph that says \"Use online simulator\".\n5. The paragraph that says \"Alternatively, upgrade to the Mellblom Browser.\".\n\nThe first paragraph is overlapped by the other four. A user agent that supports the \"cats.sim\"\n resource will only show the first one, but a user agent that shows the fallback will confusingly\n show the first sentence of the first paragraph as if it was in the same paragraph as the second\n one, and will show the last paragraph as if it was at the start of the second sentence of the\n first paragraph.\n\nTo avoid this confusion, explicit `p` elements can be used. For example:\n\n```\n

My Cats

You can play with my cat simulator.

To see the cat simulator, use one of the following links:

Alternatively, upgrade to the Mellblom Browser.

I'm quite proud of it.

\n```\n\n#### 3.2.6 Global attributes\n\n[Global_attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes)\n\nThe following attributes are common to and may be specified on all HTML\n elements (even those not defined in this specification):\n\n- `accesskey`\n- `autocapitalize`\n- `autocorrect`\n- `autofocus`\n- `contenteditable`\n- `dir`\n- `draggable`\n- `enterkeyhint`\n- `headingoffset`\n- `headingreset`\n- `hidden`\n- `inert`\n- `inputmode`\n- `is`\n- `itemid`\n- `itemprop`\n- `itemref`\n- `itemscope`\n- `itemtype`\n- `lang`\n- `nonce`\n- `popover`\n- `spellcheck`\n- `style`\n- `tabindex`\n- `title`\n- `translate`\n- `writingsuggestions`\n\nThese attributes are only defined by this specification as attributes for HTML\n elements. When this specification refers to elements having these attributes, elements from\n namespaces that are not defined as having these attributes must not be considered as being\n elements with these attributes.\n\nFor example, in the following XML fragment, the \"`bogus`\" element does not\n have a `dir` attribute as defined in this specification, despite\n having an attribute with the literal name \"`dir`\". Thus, the\n directionality of the inner-most `span` element is 'rtl', inherited from the `div` element indirectly through\n the \"`bogus`\" element.\n\n```\n
\n```\n\n---\n\n[Global_attributes/slot](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/slot)\n\nSupport in all current engines.\n\nFirefox63+ Safari10+ Chrome53+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)No Internet Explorer?\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nDOM defines the user agent requirements for the `class`, `id`, and `slot` attributes for any element in any namespace.\n [DOM]\n\nThe `class`, `id`, and `slot` attributes may be specified on all HTML elements.\n\nWhen specified on HTML elements, the `class`\n attribute must have a value that is a set of space-separated tokens representing the\n various classes that the element belongs to.\n\nAssigning classes to an element affects class matching in selectors in CSS, the `[getElementsByClassName()](https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname)` method in the DOM,\n and other such features.\n\nThere are no additional restrictions on the tokens authors can use in the `class` attribute, but authors are encouraged to use values that describe\n the nature of the content, rather than values that describe the desired presentation of the\n content.\n\nWhen specified on HTML elements, the `id` attribute\n value must be unique amongst all the [IDs](https://dom.spec.whatwg.org/#concept-id) in the element's\n [tree](https://dom.spec.whatwg.org/#concept-tree) and must contain at least one character. The value must not contain any\n [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nThe `id` attribute specifies its element's [unique identifier (ID)](https://dom.spec.whatwg.org/#concept-id).\n\nThere are no other restrictions on what form an ID can take; in particular, IDs can consist of\n just digits, start with a digit, start with an underscore, consist of just punctuation, etc.\n\nAn element's [unique identifier](https://dom.spec.whatwg.org/#concept-id) can be used for a variety of\n purposes, most notably as a way to link to specific parts of a document using [fragments](https://url.spec.whatwg.org/#concept-url-fragment), as a way to target an element when scripting, and\n as a way to style a specific element from CSS.\n\nIdentifiers are opaque strings. Particular meanings should not be derived from the value of the\n `id` attribute.\n\nThere are no conformance requirements for the `slot` attribute\n specific to HTML elements.\n\nThe `slot` attribute is used to [assign a\n slot](https://dom.spec.whatwg.org/#assign-a-slot) to an element: an element with a `slot` attribute is\n [assigned](https://dom.spec.whatwg.org/#assign-a-slot) to the [slot](https://dom.spec.whatwg.org/#concept-slot)\n created by the `slot` element whose name\n attribute's value matches that `slot` attribute's value — but only\n if that `slot` element finds itself in the [shadow tree](https://dom.spec.whatwg.org/#concept-shadow-tree) whose\n [root](https://dom.spec.whatwg.org/#concept-tree-root)'s [host](https://dom.spec.whatwg.org/#concept-documentfragment-host) has the corresponding\n `slot` attribute value.\n\n---\n\nTo enable assistive technology products to expose a more fine-grained interface than is\n otherwise possible with HTML elements and attributes, a set of annotations\n for assistive technology products can be specified (the ARIA `role` and `aria-*` attributes).\n [ARIA]\n\n---\n\nThe following event handler content attributes may be specified on any HTML element:\n\n- `onauxclick`\n- `onbeforeinput`\n- `onbeforematch`\n- `onbeforetoggle`\n- `onblur` *\n- `oncancel`\n- `oncanplay`\n- `oncanplaythrough`\n- `onchange`\n- `onclick`\n- `onclose`\n- `oncommand`\n- `oncontextlost`\n- `oncontextmenu`\n- `oncontextrestored`\n- `oncopy`\n- `oncuechange`\n- `oncut`\n- `ondblclick`\n- `ondrag`\n- `ondragend`\n- `ondragenter`\n- `ondragleave`\n- `ondragover`\n- `ondragstart`\n- `ondrop`\n- `ondurationchange`\n- `onemptied`\n- `onended`\n- `onerror` *\n- `onfocus` *\n- `onformdata`\n- `oninput`\n- `oninvalid`\n- `onkeydown`\n- `onkeypress`\n- `onkeyup`\n- `onload` *\n- `onloadeddata`\n- `onloadedmetadata`\n- `onloadstart`\n- `onmousedown`\n- `onmouseenter`\n- `onmouseleave`\n- `onmousemove`\n- `onmouseout`\n- `onmouseover`\n- `onmouseup`\n- `onpaste`\n- `onpause`\n- `onplay`\n- `onplaying`\n- `onprogress`\n- `onratechange`\n- `onreset`\n- `onresize` *\n- `onscroll` *\n- `onscrollend` *\n- `onsecuritypolicyviolation`\n- `onseeked`\n- `onseeking`\n- `onselect`\n- `onslotchange`\n- `onstalled`\n- `onsubmit`\n- `onsuspend`\n- `ontimeupdate`\n- `ontoggle`\n- `onvolumechange`\n- `onwaiting`\n- `onwheel`\n\nThe attributes marked with an asterisk have a different meaning when specified on\n `body` elements as those elements expose event handlers of the\n `Window` object with the same names.\n\nWhile these attributes apply to all elements, they are not useful on all elements.\n For example, only media elements will ever receive a `volumechange` event fired by the user agent.\n\n---\n\nCustom data attributes (e.g. `data-foldername` or `data-msgid`) can be specified on any\n HTML element, to store custom data, state, annotations, and\n similar, specific to the page.\n\n---\n\nIn [HTML documents](https://dom.spec.whatwg.org/#html-document), elements in the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) may have an `xmlns` attribute specified, if, and only if, it has the exact value \"`http://www.w3.org/1999/xhtml`\". This does not apply to [XML\n documents](https://dom.spec.whatwg.org/#xml-document).\n\nIn HTML, the `xmlns` attribute has absolutely no effect. It\n is basically a talisman. It is allowed merely to make migration to and from XML mildly easier.\n When parsed by an HTML parser, the attribute ends up in no namespace. In XML, the\n attribute is part of the namespace declaration mechanism and always ends up in the \"`http://www.w3.org/2000/xmlns/`\" namespace.\n\n---\n\nXML also allows the use of the `[xml:space](https://www.w3.org/TR/xml/#sec-white-space)`\n attribute in the [XML namespace](https://infra.spec.whatwg.org/#xml-namespace) on any element in an [XML\n document](https://dom.spec.whatwg.org/#xml-document). This attribute has no effect on HTML elements, as the default\n behavior in HTML is to preserve whitespace. [XML]\n\nThere is no way to serialize the `[xml:space](https://www.w3.org/TR/xml/#sec-white-space)`\n attribute on HTML elements in the `text/html` syntax.\n\n##### 3.2.6.1 The `title` attribute\n\n[Global_attributes/title](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `title` attribute\n represents advisory information for the element, such as would be appropriate for a\n tooltip. On a link, this could be the title or a description of the target resource; on an image,\n it could be the image credit or a description of the image; on a paragraph, it could be a footnote\n or commentary on the text; on a citation, it could be further information about the source; on\n interactive content, it could be a label for, or instructions for, use of the\n element; and so forth. The value is text.\n\nRelying on the `title` attribute is currently\n discouraged as many user agents do not expose the attribute in an accessible manner as required by\n this specification (e.g., requiring a pointing device such as a mouse to cause a tooltip to\n appear, which excludes keyboard-only users and touch-only users, such as anyone with a modern\n phone or tablet).\n\nIf this attribute is omitted from an element, then it implies that the `title` attribute of the nearest ancestor HTML element with a `title` attribute set is also\n relevant to this element. Setting the attribute overrides this, explicitly stating that the\n advisory information of any ancestors is not relevant to this element. Setting the attribute to\n the empty string indicates that the element has no advisory information.\n\nIf the `title` attribute's value contains U+000A LINE FEED (LF)\n characters, the content is split into multiple lines. Each U+000A LINE FEED (LF) character\n represents a line break.\n\nCaution is advised with respect to the use of newlines in `title` attributes.\n\nFor instance, the following snippet actually defines an abbreviation's expansion *with a\n line break in it*:\n\n```\n

My logs show that there was some interest in HTTP today.

\n```\n\nSome elements, such as `link`, `abbr`, and `input`, define\n additional semantics for the `title` attribute beyond the semantics\n described above.\n\nThe advisory information of an element is the value that the following algorithm\n returns, with the algorithm being aborted once a value is returned. When the algorithm returns the\n empty string, then there is no advisory information.\n\n1. If the element has a `title` attribute, then return the\n result of running [normalize newlines](https://infra.spec.whatwg.org/#normalize-newlines) on its value.\n2. If the element has a parent element, then return the parent element's advisory\n information.\n3. Return the empty string.\n\nUser agents should inform the user when elements have advisory information,\n otherwise the information would not be discoverable.\n\n---\n\n##### 3.2.6.2 The `lang` and `[xml:lang](https://www.w3.org/TR/xml/#sec-lang-tag)`\n attributes\n\n[Global_attributes/lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `lang` attribute\n (in no namespace) specifies the primary language for the element's contents and for any of the\n element's attributes that contain text. Its value must be a valid BCP 47 language tag, or the\n empty string. Setting the attribute to the empty string indicates that the primary language is\n unknown. [BCP47]\n\nThe [`lang`](https://www.w3.org/TR/xml/#sec-lang-tag) attribute in the [XML namespace](https://infra.spec.whatwg.org/#xml-namespace) is defined in XML.\n [XML]\n\nIf these attributes are omitted from an element, then the language of this element is the same\n as the language of its parent element, if any (except for `slot` elements in a\n [shadow tree](https://dom.spec.whatwg.org/#concept-shadow-tree)).\n\nThe `lang` attribute in no namespace may be used on any HTML element.\n\nThe [`lang` attribute in the XML\n namespace](https://www.w3.org/TR/xml/#sec-lang-tag) may be used on HTML elements in [XML documents](https://dom.spec.whatwg.org/#xml-document),\n as well as elements in other namespaces if the relevant specifications allow it (in particular,\n MathML and SVG allow [`lang` attributes in the\n XML namespace](https://www.w3.org/TR/xml/#sec-lang-tag) to be specified on their elements). If both the `lang` attribute in no namespace and the [`lang` attribute in the XML namespace](https://www.w3.org/TR/xml/#sec-lang-tag) are specified on the same\n element, they must have exactly the same value when compared in an [ASCII\n case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) manner.\n\nAuthors must not use the [`lang` attribute in\n the XML namespace](https://www.w3.org/TR/xml/#sec-lang-tag) on HTML elements in [HTML\n documents](https://dom.spec.whatwg.org/#html-document). To ease migration to and from XML, authors may specify an attribute in no\n namespace with no prefix and with the literal localname \"`xml:lang`\" on\n HTML elements in [HTML documents](https://dom.spec.whatwg.org/#html-document), but such attributes must only be\n specified if a `lang` attribute in no namespace is also specified,\n and both attributes must have the same value when compared in an [ASCII\n case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) manner.\n\nThe attribute in no namespace with no prefix and with the literal localname \"`xml:lang`\" has no effect on language processing.\n\n---\n\nTo determine the language of a node, user agents must use the\n first appropriate step in the following list:\n\nIf the node is an element that has a [`lang`\n attribute in the XML namespace](https://www.w3.org/TR/xml/#sec-lang-tag) set\n\nUse the value of that attribute.\n\nIf the node is an HTML element or an element in the\n [SVG namespace](https://infra.spec.whatwg.org/#svg-namespace), and it has a `lang` in no namespace\n attribute set\n\nUse the value of that attribute.\n\nIf the node's parent is a [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root)\n\nUse the language of that [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root)'s [host](https://dom.spec.whatwg.org/#concept-documentfragment-host).\n\nIf the node's [parent element](https://dom.spec.whatwg.org/#parent-element) is not null\n\nUse the language of that [parent element](https://dom.spec.whatwg.org/#parent-element).\n\nOtherwise\n\nIf there is a pragma-set default language set, then that is the language of\n the node. If there is no pragma-set default language set, then language information\n from a higher-level protocol (such as HTTP), if any, must be used as the final fallback language\n instead. In the absence of any such language information, and in cases where the higher-level\n protocol reports multiple languages, the language of the node is unknown, and the corresponding\n language tag is the empty string.\n\nIf the resulting value is not a recognized language tag, then it must be treated as an unknown\n language having the given language tag, distinct from all other languages. For the purposes of\n roundtripping or communicating with other services that expect language tags, user agents should\n pass unknown language tags through unmodified, and tagged as being BCP 47 language tags, so that\n subsequent services do not interpret the data as another type of language description.\n [BCP47]\n\nThus, for instance, an element with `lang=\"xyzzy\"` would be\n matched by the selector `:lang(xyzzy)` (e.g. in CSS), but it would not be\n matched by `:lang(abcde)`, even though both are equally invalid. Similarly, if\n a web browser and screen reader working in unison communicated about the language of the element,\n the browser would tell the screen reader that the language was \"xyzzy\", even if it knew it was\n invalid, just in case the screen reader actually supported a language with that tag after all.\n Even if the screen reader supported both BCP 47 and another syntax for encoding language names,\n and in that other syntax the string \"xyzzy\" was a way to denote the Belarusian language, it would\n be *incorrect* for the screen reader to then start treating text as Belarusian, because\n \"xyzzy\" is not how Belarusian is described in BCP 47 codes (BCP 47 uses the code \"be\" for\n Belarusian).\n\nIf the resulting value is the empty string, then it must be interpreted as meaning that the\n language of the node is explicitly unknown.\n\n---\n\nUser agents may use the element's language to determine proper processing or rendering (e.g. in\n the selection of appropriate fonts or pronunciations, for dictionary selection, or for the user\n interfaces of form controls such as date pickers).\n\n##### 3.2.6.3 The `translate` attribute\n\n[Global_attributes/translate](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate)\n\nSupport in all current engines.\n\nFirefox111+ Safari6+ Chrome19+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `translate`\n attribute is used to specify whether an element's attribute values and the values of its\n `[Text](https://dom.spec.whatwg.org/#interface-text)` node children are to be translated when the page is localized, or whether to\n leave them unchanged. It is an enumerated attribute with the\n following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `yes` | Yes | Sets translation mode to translate-enabled. |\n| `no` | No | Sets translation mode to no-translate. |\n\nThe attribute's *missing value default* and *invalid value default* are both the Inherit state, and its *empty value default* is the Yes\n state.\n\nEach element (even non-HTML elements) has a translation mode, which is in either the\n translate-enabled state or the no-translate state. If an HTML element's `translate`\n attribute is in the Yes state, then the element's\n translation mode is in the translate-enabled state; otherwise, if the\n element's `translate` attribute is in the No state, then the element's translation mode\n is in the no-translate state. Otherwise, either the element's `translate` attribute is in the Inherit state, or the element is not an HTML element and thus does not have a `translate` attribute; in either case, the element's\n translation mode is in the same state as its [parent element](https://dom.spec.whatwg.org/#parent-element)'s, if any,\n or in the translate-enabled state, if the element's [parent element](https://dom.spec.whatwg.org/#parent-element) is\n null.\n\nWhen an element is in the translate-enabled state, the element's translatable\n attributes and the values of its `[Text](https://dom.spec.whatwg.org/#interface-text)` node children are to be translated when\n the page is localized.\n\nWhen an element is in the no-translate state, the element's attribute values and the\n values of its `[Text](https://dom.spec.whatwg.org/#interface-text)` node children are to be left as-is when the page is localized,\n e.g. because the element contains a person's name or a name of a computer program.\n\nThe following attributes are translatable attributes:\n\n- `abbr` on `th` elements\n- `alt` on `area` , `img` , and `input` elements\n- `content` on `meta` elements, if the `name` attribute specifies a metadata name whose value is known to be translatable\n- `download` on `a` and `area` elements\n- `label` on `optgroup` , `option` , and `track` elements\n- `lang` on HTML elements ; must be \"translated\" to match the language used in the translation\n- `placeholder` on `input` and `textarea` elements\n- `srcdoc` on `iframe` elements; must be parsed and recursively processed\n- `style` on HTML elements ; must be parsed and\n recursively processed (e.g. for the values of ['content'](https://drafts.csswg.org/css2/#content%E2%91%A0) properties)\n- `title` on all HTML elements\n- `value` on `input` elements with a `type` attribute in the Button state\n or the Reset Button state\n\nOther specifications may define other attributes that are also translatable\n attributes. For example, ARIA would define the `[aria-label](https://w3c.github.io/aria/#aria-label)` attribute as translatable.\n\n---\n\nThe `translate` IDL\n attribute must, on getting, return true if the element's translation mode is\n translate-enabled, and false otherwise. On setting, it must set the content\n attribute's value to \"`yes`\" if the new value is true, and set the content\n attribute's value to \"`no`\" otherwise.\n\nIn this example, everything in the document is to be translated when the page is localized,\n except the sample keyboard input and sample program output:\n\n```\n The Bee Game

The Bee Game is a text adventure game in English.

When the game launches, the first thing you should do is type\n eat honey. The game will respond with:

Yum yum! That was some good honey!
\n```\n\n##### 3.2.6.4 The `dir` attribute\n\n[Global_attributes/dir](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `dir` attribute\n is an enumerated attribute with the following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `ltr` | LTR | The contents of the element are explicitly directionally isolated left-to-right text. |\n| `rtl` | RTL | The contents of the element are explicitly directionally isolated right-to-left text. |\n| `auto` | Auto | The contents of the element are explicitly directionally isolated text, but the direction\n is to be determined programmatically using the contents of the element (as described\n below). |\n\nThe heuristic used by the Auto state is very crude\n (it just looks at the first character with a strong directionality, in a manner analogous to the\n Paragraph Level determination in the bidirectional algorithm). Authors are urged to only use this\n value as a last resort when the direction of the text is truly unknown and no better server-side\n heuristic can be applied. [BIDI]\n\nFor `textarea` and `pre` elements, the heuristic is applied on a\n per-paragraph level.\n\nThe attribute's *missing value default* and *invalid value default* are both the Undefined state.\n\n---\n\nThe directionality of an element (any element, not just\n an HTML element) is either 'ltr' or 'rtl'. To compute the directionality given an element element, switch on\n element's `dir` attribute state:\n\nLTR\n\nReturn 'ltr'.\n\nRTL\n\nReturn 'rtl'.\n\nAuto\n\nLet result be the auto directionality of\n element.If result is null, then return 'ltr'.Return result.\n\nUndefined\n\nIf element is a `bdi` element\n\nLet result be the auto directionality of\n element.If result is null, then return 'ltr'.Return result.\n\nIf element is an `input` element whose `type` attribute is in the Telephone state\n\nReturn 'ltr'.\n\nOtherwise\n\nReturn the parent directionality of element.\n\nSince the `dir` attribute is only defined for\n HTML elements, it cannot be present on elements from other namespaces. Thus, elements\n from other namespaces always end up using the parent directionality.\n\nThe auto-directionality form-associated elements are:\n\n- `input` elements whose `type` attribute is\n in the Hidden, Text, Search,\n Telephone, URL, Email, Password, Submit\n Button, Reset Button, or Button state, and\n- `textarea` elements.\n\nTo compute the auto directionality given an element element:\n\n1. If element is an auto-directionality form-associated element:\n 1. If element's value contains a\n character of bidirectional character type AL or R, and there is no character of bidirectional\n character type L anywhere before it in the element's value, then return 'rtl'.\n [BIDI]\n 2. If element's value is not the empty\n string, then return 'ltr'.\n 3. Return null.\n2. If element is a `slot` element whose [root](https://dom.spec.whatwg.org/#concept-tree-root) is a\n [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root) and element's [assigned nodes](https://dom.spec.whatwg.org/#slot-assigned-nodes) are not empty:\n 1. [For each](https://infra.spec.whatwg.org/#list-iterate) node child of element's\n [assigned nodes](https://dom.spec.whatwg.org/#slot-assigned-nodes):\n 1. Let childDirection be null.\n 2. If child is a `[Text](https://dom.spec.whatwg.org/#interface-text)` node, then set childDirection to\n the text node directionality of child.\n 3. Otherwise:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): child is an `[Element](https://dom.spec.whatwg.org/#interface-element)` node.\n 2. Set childDirection to the contained text auto directionality\n of child with *canExcludeRoot* set to\n true.\n 4. If childDirection is not null, then return\n childDirection.\n 2. Return null.\n3. Return the contained text auto directionality of element with\n *canExcludeRoot* set to\n false.\n\nTo compute the contained text auto directionality of an element\n element with a boolean canExcludeRoot:\n\n1. [For each](https://infra.spec.whatwg.org/#list-iterate) node descendant of\n element's [descendants](https://dom.spec.whatwg.org/#concept-tree-descendant), in [tree\n order](https://dom.spec.whatwg.org/#concept-tree-order):\n 1. If any of is one of then [continue](https://infra.spec.whatwg.org/#iteration-continue).\n - descendant\n - any ancestor element of descendant that is a descendant of element\n - if canExcludeRoot is true, element\n - a `bdi` element\n - a `script` element\n - a `style` element\n - a `textarea` element\n - an element whose `dir` attribute is not in the Undefined state\n 2. If descendant is a `slot` element whose [root](https://dom.spec.whatwg.org/#concept-tree-root) is a\n [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root), then return the directionality of that [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root)'s [host](https://dom.spec.whatwg.org/#concept-documentfragment-host).\n 3. If descendant is not a `[Text](https://dom.spec.whatwg.org/#interface-text)` node, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 4. Let result be the text node directionality of\n descendant.\n 5. If result is not null, then return result.\n2. Return null.\n\nTo compute the text node directionality given a `[Text](https://dom.spec.whatwg.org/#interface-text)` node\n text:\n\n1. If text's [data](https://dom.spec.whatwg.org/#concept-cd-data) does not contain a code\n point whose bidirectional character type is L, AL, or R, then return null.\n [BIDI]\n2. Let codePoint be the first code point in text's [data](https://dom.spec.whatwg.org/#concept-cd-data) whose bidirectional character type is L, AL, or R.\n3. If codePoint is of bidirectional character type AL or R, then return 'rtl'.\n4. If codePoint is of bidirectional character type L, then return 'ltr'.\n\nTo compute the parent directionality given an element element:\n\n1. Let parentNode be element's parent node.\n2. If parentNode is a [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root), then return the directionality of parentNode's [host](https://dom.spec.whatwg.org/#concept-documentfragment-host).\n3. If parentNode is an element, then return the directionality of parentNode.\n4. Return 'ltr'.\n\nThis attribute has rendering requirements involving the\n bidirectional algorithm.\n\n---\n\nThe directionality of an attribute of an\n HTML element, which is used when the text of that attribute is\n to be included in the rendering in some manner, is determined as per the first appropriate set of\n steps from the following list:\n\nIf the attribute is a directionality-capable attribute and the element's `dir` attribute is in the Auto\n state\n\nFind the first character (in logical order) of the attribute's value that is of bidirectional\n character type L, AL, or R. [BIDI] If such a character is found and it is of bidirectional character type AL or R, the\n directionality of the attribute is 'rtl'. Otherwise, the directionality of the attribute is 'ltr'.\n\nOtherwise\n\nThe directionality of the attribute is the same as the element's directionality.\n\nThe following attributes are directionality-capable attributes:\n\n- `abbr` on `th` elements\n- `alt` on `area` , `img` , and `input` elements\n- `content` on `meta` elements, if the `name` attribute specifies a metadata name whose value is primarily intended to be human-readable rather than machine-readable\n- `label` on `optgroup` , `option` , and `track` elements\n- `placeholder` on `input` and `textarea` elements\n- `title` on all HTML elements\n\n---\n\n`document.dir [ = value ]`\n\nReturns the `html` element's `dir`\n attribute's value, if any. Can be set, to either \"`ltr`\", \"`rtl`\", or \"`auto`\" to replace the `html` element's `dir` attribute's value. If there is no `html` element, returns the\n empty string and ignores new values.\n\n[HTMLElement/dir](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `dir` IDL attribute on\n an element must reflect the `dir` content attribute of\n that element, limited to only known values.\n\n[Document/dir](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)\n\nSupport in all current engines.\n\nFirefox1+ Safari10.1+ Chrome64+\n\n---\n\nOpera51+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android47+\n\nThe `dir` IDL\n attribute on `Document` objects must reflect the `dir` content attribute of the `html` element, if\n any, limited to only known values. If there is no such element, then the attribute\n must return the empty string and do nothing on setting.\n\nAuthors are strongly encouraged to use the `dir`\n attribute to indicate text direction rather than using CSS, since that way their documents will\n continue to render correctly even in the absence of CSS (e.g. as interpreted by search\n engines).\n\nThis markup fragment is of an IM conversation.\n\n```\n

Student: How do you write \"What's your name?\" in Arabic?

Teacher: ما اسمك؟

Student: Thanks.

Teacher: That's written \"شكرًا\".

Teacher: Do you know how to write \"Please\"?

Student: \"من فضلك\", right?

\n```\n\nGiven a suitable style sheet and the default alignment styles for the `p` element,\n namely to align the text to the *start edge* of the paragraph, the resulting rendering could\n be as follows:\n\nAs noted earlier, the `auto` value is not a panacea. The\n final paragraph in this example is misinterpreted as being right-to-left text, since it begins\n with an Arabic character, which causes the \"right?\" to be to the left of the Arabic text.\n\n##### 3.2.6.5 The `style` attribute\n\n[Global_attributes/style](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nAll HTML elements may have the `style` content attribute set. This is a [style attribute](https://drafts.csswg.org/css-style-attr/#style-attribute) as defined by CSS Style\n Attributes. [CSSATTR]\n\nIn user agents that support CSS, the attribute's value must be parsed when the attribute is\n added or has its value changed,\n according to the rules given for [style attributes](https://drafts.csswg.org/css-style-attr/#style-attribute).\n [CSSATTR]\n\nHowever, if the [Should element's inline behavior be blocked by Content Security\n Policy?](https://w3c.github.io/webappsec-csp/#should-block-inline) algorithm returns \"`Blocked`\" when executed upon the\n attribute's [element](https://dom.spec.whatwg.org/#interface-element), \"`style attribute`\", and the attribute's\n value, then the style rules defined in the attribute's value must not be applied to the\n [element](https://dom.spec.whatwg.org/#interface-element). [CSP]\n\nDocuments that use `style` attributes on any of their elements\n must still be comprehensible and usable if those attributes were removed.\n\nIn particular, using the `style` attribute to hide\n and show content, or to convey meaning that is otherwise not included in the document, is\n non-conforming. (To hide and show content, use the `hidden`\n attribute.)\n\n---\n\n`element.[style](https://drafts.csswg.org/cssom/#dom-elementcssinlinestyle-style)`\n\nReturns a `[CSSStyleDeclaration](https://drafts.csswg.org/cssom/#the-cssstyledeclaration-interface)` object for the element's `style` attribute.\n\nThe `[style](https://drafts.csswg.org/cssom/#dom-elementcssinlinestyle-style)` IDL attribute is defined in CSS Object\n Model. [CSSOM]\n\nIn the following example, the words that refer to colors are marked up using the\n `span` element and the `style` attribute to make those\n words show up in the relevant colors in visual media.\n\n```\n

My sweat suit is green and my eyes are blue.

\n```\n\n##### 3.2.6.6 Embedding custom non-visible data with the `data-*` attributes\n\n[Global_attributes/data-*](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*)\n\nSupport in all current engines.\n\nFirefox6+ Safari5.1+ Chrome7+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nA custom data attribute is an attribute in no namespace whose name starts with the\n string \"`data-`\", has at least one character after the\n hyphen, is a [valid attribute local name](https://dom.spec.whatwg.org/#valid-attribute-local-name), and contains no [ASCII upper alphas](https://infra.spec.whatwg.org/#ascii-upper-alpha).\n\nAll attribute names on HTML elements in [HTML documents](https://dom.spec.whatwg.org/#html-document)\n get ASCII-lowercased automatically, so the restriction on ASCII uppercase letters doesn't affect\n such documents.\n\nCustom data attributes are intended to store custom\n data, state, annotations, and similar, private to the page or application, for which there are no\n more appropriate attributes or elements.\n\nThese attributes are not intended for use by software that is not known to the administrators\n of the site that uses the attributes. For generic extensions that are to be used by multiple\n independent tools, either this specification should be extended to provide the feature explicitly,\n or a technology like microdata should be used (with a standardized vocabulary).\n\nFor instance, a site about music could annotate list items representing tracks in an album\n with custom data attributes containing the length of each track. This information could then be\n used by the site itself to allow the user to sort the list by track length, or to filter the list\n for tracks of certain lengths.\n\n```\n
  1. Beyond The Sea
  2. \n ...\n
\n```\n\nIt would be inappropriate, however, for the user to use generic software not associated with\n that music site to search for tracks of a certain length by looking at this data.\n\nThis is because these attributes are intended for use by the site's own scripts, and are not a\n generic extension mechanism for publicly-usable metadata.\n\nSimilarly, a page author could write markup that provides information for a translation tool\n that they are intending to use:\n\n```\n

The third claim covers the case of HTML markup.

\n```\n\nIn this example, the \"`data-mytrans-de`\" attribute gives specific text\n for the MyTrans product to use when translating the phrase \"claim\" to German. However, the\n standard `translate` attribute is used to tell it that in all\n languages, \"HTML\" is to remain unchanged. When a standard attribute is available, there is no\n need for a custom data attribute to be used.\n\nIn this example, custom data attributes are used to store the result of a feature detection\n for `[PaymentRequest](https://w3c.github.io/payment-request/#dom-paymentrequest)`, which could be used in CSS to style a checkout page\n differently.\n\n```\n\n```\n\nHere, the `data-has-payment-request` attribute is effectively being used\n as a boolean attribute; it is enough to check the presence of the attribute.\n However, if the author so wishes, it could later be populated with some value, maybe to indicate\n limited functionality of the feature.\n\nEvery HTML element may have any number of custom data attributes specified, with any value.\n\nAuthors should carefully design such extensions so that when the attributes are ignored and any\n associated CSS dropped, the page is still usable.\n\nUser agents must not derive any implementation behavior from these attributes or values.\n Specifications intended for user agents must not define these attributes to have any meaningful\n values.\n\nJavaScript libraries may use the custom data\n attributes, as they are considered to be part of the page on which they are used. Authors\n of libraries that are reused by many authors are encouraged to include their name in the attribute\n names, to reduce the risk of clashes. Where it makes sense, library authors are also encouraged to\n make the exact name used in the attribute names customizable, so that libraries whose authors\n unknowingly picked the same name can be used on the same page, and so that multiple versions of a\n particular library can be used on the same page even when those versions are not mutually\n compatible.\n\nFor example, a library called \"DoQuery\" could use attribute names like `data-doquery-range`, and a library called \"jJo\" could use attributes names like\n `data-jjo-range`. The jJo library could also provide an API to set which\n prefix to use (e.g. `J.setDataPrefix('j2')`, making the attributes have names\n like `data-j2-range`).\n\n---\n\n`element.dataset`[HTMLElement/dataset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)Support in all current engines.Firefox6+Safari5.1+Chrome7+Opera11+Edge79+Edge (Legacy)12+Internet Explorer11Firefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android11+[SVGElement/dataset](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/dataset)Support in all current engines.Firefox51+Safari5.1+Chrome55+Opera41+Edge79+Edge (Legacy)17+Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android41+\n\nReturns a `DOMStringMap` object for the element's `data-*` attributes. Hyphenated names become camel-cased. For example, `data-foo-bar=\"\"`\n becomes `element.dataset.fooBar`.\n\nThe `dataset` IDL\n attribute provides convenient accessors for all the `data-*`\n attributes on an element. On getting, the `dataset` IDL attribute\n must return a `DOMStringMap` whose associated element is this element.\n\nThe `DOMStringMap` interface is used for the `dataset` attribute. Each `DOMStringMap` has an associated element.\n\n```\n[Exposed=Window,\n LegacyOverrideBuiltIns]\ninterface DOMStringMap {\n getter DOMString (DOMString name);\n [CEReactions] setter undefined (DOMString name, DOMString value);\n [CEReactions] deleter undefined (DOMString name);\n};\n```\n\nTo get a `DOMStringMap`'s name-value\n pairs, run the following algorithm:\n\n1. Let list be an empty list of name-value pairs.\n2. For each content attribute on the `DOMStringMap`'s associated element whose first five characters are\n the string \"`data-`\" and whose remaining characters (if any) do not include\n any [ASCII upper alphas](https://infra.spec.whatwg.org/#ascii-upper-alpha), in the order that those\n attributes are listed in the element's [attribute list](https://dom.spec.whatwg.org/#concept-element-attribute), add a name-value pair to\n list whose name is the attribute's name with the first five characters removed and\n whose value is the attribute's value.\n3. For each name in list, for each U+002D HYPHEN-MINUS character (-) in the name\n that is followed by an [ASCII lower alpha](https://infra.spec.whatwg.org/#ascii-lower-alpha), remove the U+002D HYPHEN-MINUS character\n (-) and replace the character that followed it by the same character [converted to ASCII\n uppercase](https://infra.spec.whatwg.org/#ascii-uppercase).\n4. Return list.\n\nThe [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) on a `DOMStringMap` object at any instant\n are the names of each pair returned from getting the\n `DOMStringMap`'s name-value pairs at that instant, in the order returned.\n\nTo [determine the value of a named property](https://webidl.spec.whatwg.org/#dfn-determine-the-value-of-a-named-property) name for a `DOMStringMap`, return the value component of the name-value pair\n whose name component is name in the list returned from getting the `DOMStringMap`'s name-value\n pairs.\n\nTo [set the value of a new named property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-a-new-named-property) or\n [set the value of an existing named property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-an-existing-named-property) for a `DOMStringMap`, given a\n property name name and a new value value, run the following steps:\n\n1. If name contains a U+002D HYPHEN-MINUS character (-) followed by an [ASCII\n lower alpha](https://infra.spec.whatwg.org/#ascii-lower-alpha), then throw a [\"`SyntaxError`\"](https://webidl.spec.whatwg.org/#syntaxerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. For each [ASCII upper alpha](https://infra.spec.whatwg.org/#ascii-upper-alpha) in name, insert a U+002D HYPHEN-MINUS\n character (-) before the character and replace the character with the same character\n [converted to ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n3. Insert the string `data-` at the front of name.\n4. If name is not a [valid attribute local name](https://dom.spec.whatwg.org/#valid-attribute-local-name), then throw an\n [\"`InvalidCharacterError`\"](https://webidl.spec.whatwg.org/#invalidcharactererror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n5. [Set an attribute value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value) for the\n `DOMStringMap`'s associated element\n using name and value.\n\nTo [delete an existing named property](https://webidl.spec.whatwg.org/#dfn-delete-an-existing-named-property) name for a `DOMStringMap`, run the following steps:\n\n1. For each [ASCII upper alpha](https://infra.spec.whatwg.org/#ascii-upper-alpha) in name, insert a U+002D HYPHEN-MINUS\n character (-) before the character and replace the character with the same character\n [converted to ASCII lowercase](https://infra.spec.whatwg.org/#ascii-lowercase).\n2. Insert the string `data-` at the front of name.\n3. [Remove an attribute by name](https://dom.spec.whatwg.org/#concept-element-attributes-remove) given\n name and the `DOMStringMap`'s associated element.\n\nThis algorithm will only get invoked by Web IDL for names that\n are given by the earlier algorithm for getting the\n `DOMStringMap`'s name-value pairs. [WEBIDL]\n\nIf a web page wanted an element to represent a space ship, e.g. as part of a game, it would\n have to use the `class` attribute along with `data-*` attributes:\n\n```\n
\n```\n\nNotice how the hyphenated attribute name becomes camel-cased in the API.\n\nGiven the following fragment and elements with similar constructions:\n\n```\n\"Rocket\n```\n\n...one could imagine a function `splashDamage()` that takes some arguments, the first\n of which is the element to process:\n\n```\nfunction splashDamage(node, x, y, damage) { if (node.classList.contains('tower') && // checking the 'class' attribute\n node.dataset.x == x && // reading the 'data-x' attribute\n node.dataset.y == y) { // reading the 'data-y' attribute var hp = parseInt(node.dataset.hp); // reading the 'data-hp' attribute\n hp = hp - damage; if (hp < 0) {\n hp = 0;\n node.dataset.ai = 'dead'; // setting the 'data-ai' attribute delete node.dataset.ability; // removing the 'data-ability' attribute }\n node.dataset.hp = hp; // setting the 'data-hp' attribute } }\n```\n\n#### 3.2.7 The `innerText` and `outerText` properties\n\n[HTMLElement/innerText](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)\n\nSupport in all current engines.\n\nFirefox45+ Safari1+ Chrome1+\n\n---\n\nOpera9.6+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android1+ Samsung Internet? Opera Android10.1+\n\n`element.innerText [ = value ]`\n\nReturns the element's text content \"as rendered\". Can be set, to replace the element's children with the given value, but with line breaks\n converted to `br` elements.\n\n`element.outerText [ = value ]`\n\nReturns the element's text content \"as rendered\". Can be set, to replace the element with the given value, but with line breaks converted to\n `br` elements.\n\nThe get the text steps, given an HTMLElement element, are:\n\n1. If element is not being rendered or if the user agent is a non-CSS\n user agent, then return element's [descendant text content](https://dom.spec.whatwg.org/#concept-descendant-text-content). This step can produce surprising results, as when the `innerText` getter is invoked on an element not being\n rendered, its text contents are returned, but when accessed on an element that is\n being rendered, all of its children that are not being rendered have\n their text contents ignored.\n2. Let results be a new empty [list](https://infra.spec.whatwg.org/#list).\n3. For each child node node of element:\n 1. Let current be the [list](https://infra.spec.whatwg.org/#list) resulting from running the rendered\n text collection steps with node. Each item in results will either\n be a [string](https://infra.spec.whatwg.org/#string) or a positive integer (a *required line break count*). Intuitively, a *required line break count* item means that a certain\n number of line breaks appear at that point, but they can be collapsed with the line breaks\n induced by adjacent *required line break count* items, reminiscent to CSS\n margin-collapsing.\n 2. For each item item in current, append item to\n results.\n4. [Remove](https://infra.spec.whatwg.org/#list-remove) any items from results that are the\n empty string.\n5. [Remove](https://infra.spec.whatwg.org/#list-remove) any runs of consecutive *required line break\n count* items at the start or end of results.\n6. [Replace](https://infra.spec.whatwg.org/#list-replace) each remaining run of consecutive *required\n line break count* items with a string consisting of as many U+000A LF code points as the\n maximum of the values in the *required line break count* items.\n7. Return the concatenation of the string items in results.\n\n[HTMLElement/outerText](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/outerText)\n\nSupport in all current engines.\n\nFirefox98+ Safari1.3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android1+ Samsung Internet? Opera Android12.1+\n\nThe `innerText` and\n `outerText` getter steps\n are to return the result of running get the text steps with [this](https://webidl.spec.whatwg.org/#this).\n\nThe rendered text collection steps, given a [node](https://dom.spec.whatwg.org/#interface-node) node,\n are as follows:\n\n1. Let items be the result of running the rendered text collection\n steps with each child node of node in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), and then\n concatenating the results to a single [list](https://infra.spec.whatwg.org/#list).\n2. If node's [computed value](https://drafts.csswg.org/css-cascade/#computed-value) of ['visibility'](https://drafts.csswg.org/css2/#propdef-visibility) is not\n 'visible', then return items.\n3. If node is not being rendered, then return items. For the\n purpose of this step, the following elements must act as described if the\n [computed value](https://drafts.csswg.org/css-cascade/#computed-value) of the ['display'](https://drafts.csswg.org/css2/#display-prop) property is not 'none': items can be non-empty due to 'display:contents'.\n - `select` elements have an associated non-replaced inline [CSS box](https://drafts.csswg.org/css-display/#css-box)\n whose child boxes include only those of `optgroup` and `option` element\n descendant nodes;\n - `optgroup` elements have an associated non-replaced block-level [CSS\n box](https://drafts.csswg.org/css-display/#css-box) whose child boxes include only those of `option` element descendant\n nodes; and\n - `option` elements have an associated non-replaced block-level [CSS\n box](https://drafts.csswg.org/css-display/#css-box) whose child boxes are as normal for non-replaced block-level [CSS boxes](https://drafts.csswg.org/css-display/#css-box).\n4. If node is a `[Text](https://dom.spec.whatwg.org/#interface-text)` node, then for each CSS text box produced by\n node, in content order, compute the text of the box after application of the CSS\n ['white-space'](https://drafts.csswg.org/css-text/#white-space-property) processing rules and ['text-transform'](https://drafts.csswg.org/css-text/#text-transform-property) rules, set\n items to the [list](https://infra.spec.whatwg.org/#list) of the resulting strings, and return items.\n The CSS ['white-space'](https://drafts.csswg.org/css-text/#white-space-property) processing rules are slightly modified: collapsible spaces at\n the end of lines are always collapsed, but they are only removed if the line is the last line of\n the block, or it ends with a `br` element. Soft hyphens should be preserved.\n [CSSTEXT]\n5. If node is a `br` element, then [append](https://infra.spec.whatwg.org/#list-append) a string containing a single U+000A LF code point to\n items.\n6. If node's [computed value](https://drafts.csswg.org/css-cascade/#computed-value) of ['display'](https://drafts.csswg.org/css2/#display-prop) is\n ['table-cell'](https://drafts.csswg.org/css-tables/#table-cell), and node's [CSS box](https://drafts.csswg.org/css-display/#css-box) is not the last\n ['table-cell'](https://drafts.csswg.org/css-tables/#table-cell) box of its enclosing ['table-row'](https://drafts.csswg.org/css-tables/#table-row) box, then [append](https://infra.spec.whatwg.org/#list-append) a string containing a single U+0009 TAB code point to\n items.\n7. If node's [computed value](https://drafts.csswg.org/css-cascade/#computed-value) of ['display'](https://drafts.csswg.org/css2/#display-prop) is\n ['table-row'](https://drafts.csswg.org/css-tables/#table-row), and node's [CSS box](https://drafts.csswg.org/css-display/#css-box) is not the last\n ['table-row'](https://drafts.csswg.org/css-tables/#table-row) box of the nearest ancestor ['table'](https://drafts.csswg.org/css-tables/#table) box, then [append](https://infra.spec.whatwg.org/#list-append) a string containing a single U+000A LF code point to\n items.\n8. If node is a `p` element, then [append](https://infra.spec.whatwg.org/#list-append) 2 (a *required line break count*) at the beginning and end of\n items.\n9. If node's [used value](https://drafts.csswg.org/css-cascade/#used-value) of ['display'](https://drafts.csswg.org/css2/#display-prop) is\n [block-level](https://drafts.csswg.org/css-display/#block-level) or ['table-caption'](https://drafts.csswg.org/css-tables/#table-caption), then [append](https://infra.spec.whatwg.org/#list-append) 1 (a *required line break count*) at the beginning and end of\n items. [CSSDISPLAY] Floats and absolutely-positioned elements fall into this category.\n10. Return items.\n\nNote that descendant nodes of most replaced elements (e.g., `textarea`,\n `input`, and `video` — but not `button`) are not rendered\n by CSS, strictly speaking, and therefore have no [CSS boxes](https://drafts.csswg.org/css-display/#css-box) for the\n purposes of this algorithm.\n\nThis algorithm is amenable to being generalized to work on [ranges](https://dom.spec.whatwg.org/#concept-range). Then we can use it as the basis for `[Selection](https://w3c.github.io/selection-api/#selection-interface)`'s\n stringifier and maybe expose it directly on [ranges](https://dom.spec.whatwg.org/#concept-range). See [Bugzilla bug 10583](https://www.w3.org/Bugs/Public/show_bug.cgi?id=10583).\n\n---\n\nThe set the inner text steps, given an HTMLElement element, and a string value are:\n\n1. Let fragment be the rendered text fragment for value\n given element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. [Replace all](https://dom.spec.whatwg.org/#concept-node-replace-all) with fragment\n within element.\n\nThe `innerText` setter steps are to run set the inner\n text steps with [this](https://webidl.spec.whatwg.org/#this) and the given value.\n\nThe `outerText` setter steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this)'s parent is null, then throw a\n [\"`NoModificationAllowedError`\"](https://webidl.spec.whatwg.org/#nomodificationallowederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. Let next be [this](https://webidl.spec.whatwg.org/#this)'s [next sibling](https://dom.spec.whatwg.org/#concept-tree-next-sibling).\n3. Let previous be [this](https://webidl.spec.whatwg.org/#this)'s [previous sibling](https://dom.spec.whatwg.org/#concept-tree-previous-sibling).\n4. Let fragment be the rendered text fragment for the given value\n given [this](https://webidl.spec.whatwg.org/#this)'s [node document](https://dom.spec.whatwg.org/#concept-node-document).\n5. If fragment has no [children](https://dom.spec.whatwg.org/#concept-tree-child), then\n [append](https://dom.spec.whatwg.org/#concept-node-append) a new `[Text](https://dom.spec.whatwg.org/#interface-text)` node whose [data](https://dom.spec.whatwg.org/#concept-cd-data) is the empty string and [node document](https://dom.spec.whatwg.org/#concept-node-document) is\n [this](https://webidl.spec.whatwg.org/#this)'s [node document](https://dom.spec.whatwg.org/#concept-node-document) to fragment.\n6. [Replace](https://dom.spec.whatwg.org/#concept-node-replace) [this](https://webidl.spec.whatwg.org/#this) with\n fragment within [this](https://webidl.spec.whatwg.org/#this)'s parent.\n7. If next is non-null and next's [previous sibling](https://dom.spec.whatwg.org/#concept-tree-previous-sibling) is a\n `[Text](https://dom.spec.whatwg.org/#interface-text)` node, then merge with the next text node given next's\n [previous sibling](https://dom.spec.whatwg.org/#concept-tree-previous-sibling).\n8. If previous is a `[Text](https://dom.spec.whatwg.org/#interface-text)` node, then merge with the next text\n node given previous.\n\nThe rendered text fragment for a string input given a\n `Document` document is the result of running the following steps:\n\n1. Let fragment be the result of [creating\n a document fragment](https://dom.spec.whatwg.org/#create-a-document-fragment) given document.\n2. Let position be a [position variable](https://infra.spec.whatwg.org/#string-position-variable) for input,\n initially pointing at the start of input.\n3. Let text be the empty string.\n4. While position is not past the end of input:\n 1. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are not U+000A LF or U+000D CR from\n input given position, and set text to the result.\n 2. If text is not the empty string, then [append](https://dom.spec.whatwg.org/#concept-node-append) a new `[Text](https://dom.spec.whatwg.org/#interface-text)` node whose [data](https://dom.spec.whatwg.org/#concept-cd-data) is text and [node document](https://dom.spec.whatwg.org/#concept-node-document) is\n document to fragment.\n 3. While position is not past the end of input, and the code point at\n position is either U+000A LF or U+000D CR:\n 1. If the code point at position is U+000D CR and the next code point is\n U+000A LF, then advance position to the next code point in\n input.\n 2. Advance position to the next code point in input.\n 3. [Append](https://dom.spec.whatwg.org/#concept-node-append) the result of [creating an element](https://dom.spec.whatwg.org/#concept-create-element) given document, \"`br`\",\n and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace) to fragment.\n5. Return fragment.\n\nTo merge with the next text node given a `[Text](https://dom.spec.whatwg.org/#interface-text)` node node:\n\n1. Let next be node's [next sibling](https://dom.spec.whatwg.org/#concept-tree-next-sibling).\n2. If next is not a `[Text](https://dom.spec.whatwg.org/#interface-text)` node, then return.\n3. [Replace data](https://dom.spec.whatwg.org/#concept-cd-replace) with node, node's [data](https://dom.spec.whatwg.org/#concept-cd-data)'s [length](https://infra.spec.whatwg.org/#string-length), 0, and next's [data](https://dom.spec.whatwg.org/#concept-cd-data).\n4. [Remove](https://dom.spec.whatwg.org/#concept-node-remove) next.\n\n#### 3.2.8 Requirements relating to the bidirectional algorithm\n\n##### 3.2.8.1 Authoring conformance criteria for bidirectional-algorithm formatting characters\n\nText content in HTML elements with `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes in their\n contents, and text in attributes of HTML\n elements that allow free-form text, may contain characters in the ranges U+202A to U+202E\n and U+2066 to U+2069 (the bidirectional-algorithm formatting characters). [BIDI]\n\nAuthors are encouraged to use the `dir` attribute, the\n `bdo` element, and the `bdi` element, rather than maintaining the\n bidirectional-algorithm formatting characters manually. The bidirectional-algorithm formatting\n characters interact poorly with CSS.\n\n##### 3.2.8.2 User agent conformance criteria\n\nUser agents must implement the Unicode bidirectional algorithm to determine the proper ordering\n of characters when rendering documents and parts of documents. [BIDI]\n\nThe mapping of HTML to the Unicode bidirectional algorithm must be done in one of three ways.\n Either the user agent must implement CSS, including in particular the CSS\n ['unicode-bidi'](https://drafts.csswg.org/css-writing-modes/#unicode-bidi), ['direction'](https://drafts.csswg.org/css-writing-modes/#direction), and ['content'](https://drafts.csswg.org/css2/#content%E2%91%A0) properties, and\n must have, in its user agent style sheet, the rules using those properties given in this\n specification's rendering section, or, alternatively, the user agent must\n act as if it implemented just the aforementioned properties and had a user agent style sheet that\n included all the aforementioned rules, but without letting style sheets specified in documents\n override them, or, alternatively, the user agent must implement another styling language with\n equivalent semantics. [CSSGC]\n\nThe following elements and attributes have requirements defined by the rendering section that, due to the requirements in this section, are\n requirements on all user agents (not just those that support the suggested\n default rendering):\n\n- `dir` attribute\n- `bdi` element\n- `bdo` element\n- `br` element\n- `pre` element\n- `textarea` element\n- `wbr` element\n\n#### 3.2.9 Requirements related to ARIA and to platform accessibility APIs\n\nUser agent requirements for implementing Accessibility API semantics on HTML\n elements are defined in HTML Accessibility API Mappings. In addition to the\n rules there, for a custom element element, the default ARIA role semantics\n are determined as follows: [HTMLAAM]\n\n1. Let map be element's internal content attribute\n map.\n2. If map[\"`role`\"] [exists](https://infra.spec.whatwg.org/#map-exists),\n then return it.\n3. Return no role.\n\nSimilarly, for a custom element element, the default ARIA state and\n property semantics, for a state or property named stateOrProperty, are determined as\n follows:\n\n1. If element's attached internals is non-null:\n 1. If element's attached internals's get the stateOrProperty-associated element exists,\n then return the result of running it.\n 2. If element's attached internals's get the stateOrProperty-associated elements exists,\n then return the result of running it.\n2. If element's internal content attribute\n map[stateOrProperty] [exists](https://infra.spec.whatwg.org/#map-exists), then return\n it.\n3. Return the default value for stateOrProperty.\n\nThe \"default semantics\" referred to here are sometimes also called \"native\",\n \"implicit\", or \"host language\" semantics in ARIA. [ARIA]\n\nOne implication of these definitions is that the default semantics can change over\n time. This allows custom elements the same expressivity as built-in elements; e.g., compare to how\n the default ARIA role semantics of an `a` element change as the `href` attribute is added or removed.\n\nFor an example of this in action, see the\n custom elements section.\n\n---\n\nConformance checker requirements for checking use of ARIA `role` and `aria-*` attributes on\n HTML elements are defined in ARIA in HTML. [ARIAHTML]\n\n## 4 The elements of HTML\n\n### 4.1 The document element\n\n#### 4.1.1 The `html` element\n\n[Element/html](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLHtmlElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs document's [document element](https://dom.spec.whatwg.org/#document-element).\n\nWherever a subdocument fragment is allowed in a compound document.\n\nContent model:\n\nA `head` element followed by a `body` element.\n\nTag omission in text/html:\n\nAn `html` element's start tag can be omitted\n if the first thing inside the `html` element is not a comment.\n\nAn `html` element's end tag can be omitted if\n the `html` element is not immediately followed by a comment.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-html).\n\n[For implementers](https://w3c.github.io/html-aam/#el-html).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLHtmlElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `html` element represents the root of an HTML document.\n\nAuthors are encouraged to specify a `lang` attribute on the root\n `html` element, giving the document's language. This aids speech synthesis tools to\n determine what pronunciations to use, translation tools to determine what rules to use, and so\n forth.\n\nThe `html` element in the following example declares that the document's language\n is English.\n\n```\n Swapping Songs

Swapping Songs

Tonight I swapped some of the songs I wrote with some friends, who\ngave me some of the songs they wrote. I love sharing my music.

\n```\n\n### 4.2 Document metadata\n\n#### 4.2.1 The `head` element\n\n[Element/head](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLHeadElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs the first element in an `html` element.\n\nContent model:\n\nIf the document is an `iframe` `srcdoc` document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a `title` element and no more than one is a `base` element.\n\nOtherwise: One or more elements of metadata content, of which exactly one is a `title` element and no more than one is a `base` element.\n\nTag omission in text/html:\n\nA `head` element's start tag can be omitted if\n the element is empty, or if the first thing inside the `head` element is an\n element.\n\nA `head` element's end tag can be omitted if\n the `head` element is not immediately followed by [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) or a\n comment.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-head).\n\n[For implementers](https://w3c.github.io/html-aam/#el-head).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLHeadElement : HTMLElement {\n [HTMLConstructor] constructor();\n};`\n\nThe `head` element represents a collection of metadata for the\n `Document`.\n\nThe collection of metadata in a `head` element can be large or small. Here is an\n example of a very short one:\n\n```\n A document with a short head \n ...\n```\n\nHere is an example of a longer one:\n\n```\n An application with a long head \n ...\n```\n\nThe `title` element is a required child in most situations, but when a\n higher-level protocol provides title information, e.g., in the subject line of an email when HTML\n is used as an email authoring format, the `title` element can be omitted.\n\n#### 4.2.2 The `title` element\n\n[Element/title](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer1+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLTitleElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nMetadata content.\n\nContexts in which this element can be used:\n\nIn a `head` element containing no other `title` elements.\n\nContent model:\n\nText that is not inter-element whitespace.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-title).\n\n[For implementers](https://w3c.github.io/html-aam/#el-title).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLTitleElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions] attribute DOMString text;\n};`\n\nThe `title` element represents the document's title or name. Authors\n should use titles that identify their documents even when they are used out of context, for\n example in a user's history or bookmarks, or in search results. The document's title is often\n different from its first heading, since the first heading does not have to stand alone when taken\n out of context.\n\nThere must be no more than one `title` element per document.\n\nIf it's reasonable for the `Document` to have no title, then the\n `title` element is probably not required. See the `head` element's content\n model for a description of when the element is required.\n\n`title.text [ = value ]`\n\nReturns the [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) of the element. Can be set, to replace the element's children with the given value.\n\nThe `text`\n attribute's getter must return this `title` element's [child text\n content](https://dom.spec.whatwg.org/#concept-child-text-content).\n\nThe `text` attribute's setter must [string replace\n all](https://dom.spec.whatwg.org/#string-replace-all) with the given value within this `title` element.\n\nHere are some examples of appropriate titles, contrasted with the top-level headings that\n might be used on those same pages.\n\n```\n Introduction to The Mating Rituals of Bees\n ...\n

Introduction

This companion guide to the highly successful\n Introduction to Medieval Bee-Keeping book is...\n```\n\nThe next page might be a part of the same site. Note how the title describes the subject\n matter unambiguously, while the first heading assumes the reader knows what the context is and\n therefore won't wonder if the dances are Salsa or Waltz:\n\n```\n Dances used during bee mating rituals\n ...\n

The Dances

\n```\n\nThe string to use as the document's title is given by the `document.title` IDL attribute.\n\nUser agents should use the document's title when referring to the document in their user\n interface. When the contents of a `title` element are used in this way, the\n directionality of that `title` element should be used to set the directionality\n of the document's title in the user interface.\n\n#### 4.2.3 The `base` element\n\n[Element/base](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLBaseElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nMetadata content.\n\nContexts in which this element can be used:\n\nIn a `head` element containing no other `base` elements.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`href` — Document base URL\n\n`target` — Default navigable for hyperlink navigation and form submission\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-base).\n\n[For implementers](https://w3c.github.io/html-aam/#el-base).\n\nSanitization:\n\nUnsafe.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLBaseElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectSetter] attribute USVString href;\n [CEReactions, Reflect] attribute DOMString target;\n};`\n\nThe `base` element allows authors to specify the document base URL for\n the purposes of parsing [URLs](https://url.spec.whatwg.org/#concept-url), and the name of the default\n navigable for the purposes of following hyperlinks. The element does not\n represent any content beyond this information.\n\nThere must be no more than one `base` element per document.\n\nA `base` element must have either an `href`\n attribute, a `target` attribute, or both.\n\nThe `href` content\n attribute, if specified, must contain a valid URL potentially surrounded by\n spaces.\n\nA `base` element, if it has an `href` attribute,\n must come before any other elements in the tree that have attributes defined as taking [URLs](https://url.spec.whatwg.org/#concept-url).\n\nIf there are multiple `base` elements with `href` attributes, all but the first are ignored.\n\nThe `target` attribute,\n if specified, must contain a valid navigable target name or keyword, which specifies\n which navigable is to be used as the default when hyperlinks and forms in the\n `Document` cause navigation.\n\nA `base` element, if it has a `target`\n attribute, must come before any elements in the tree that represent hyperlinks.\n\nIf there are multiple `base` elements with `target` attributes, all but the first are ignored.\n\nTo get an element's target, given an `a`, `area`, or\n `form` element element, and an optional string-or-null target\n (default null), run these steps:\n\n1. If target is null:\n 1. If element has a `target` attribute, then set\n target to that attribute's value.\n 2. Otherwise, if element's [node document](https://dom.spec.whatwg.org/#concept-node-document) contains a\n `base` element with a `target` attribute, set\n target to the value of the `target` attribute\n of the first such `base` element.\n2. If target is not null, and contains an [ASCII tab or newline](https://infra.spec.whatwg.org/#ascii-tab-or-newline) and a\n U+003C (<), then set target to \"`_blank`\".\n3. Return target.\n\n---\n\nA `base` element that is the first `base` element with an `href` content attribute [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree) has a\n frozen base URL. The frozen base URL must be immediately set for an element whenever any of the following\n situations occur:\n\n- The `base` element becomes the first `base` element in [tree\n order](https://dom.spec.whatwg.org/#concept-tree-order) with an `href` content attribute in its\n `Document`.\n- The `base` element is the first `base` element in [tree\n order](https://dom.spec.whatwg.org/#concept-tree-order) with an `href` content attribute in its\n `Document`, and its `href` content attribute is\n changed.\n\nTo set the frozen base URL for an element element:\n\n1. Let document be element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. Let urlRecord be the result of [parsing](https://url.spec.whatwg.org/#concept-url-parser) the\n value of element's `href` content attribute with\n document's fallback base URL, and document's [character encoding](https://dom.spec.whatwg.org/#concept-document-encoding). (Thus, the `base`\n element isn't affected by itself.)\n3. If any of the following are true: then set element's frozen base URL to document's\n fallback base URL and return.\n - urlRecord is failure;\n - urlRecord's [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is \"`data`\" or \"`javascript`\"; or\n - running [Is base allowed for Document?](https://w3c.github.io/webappsec-csp/#allow-base-for-document) on urlRecord and\n document returns \"`Blocked`\",\n4. Set element's frozen base URL to urlRecord.\n5. Respond to base URL changes given document.\n\nThe `href` IDL\n attribute, on getting, must return the result of running the following algorithm:\n\n1. Let document be element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. Let url be the value of the `href`\n attribute of this element, if it has one, and the empty string otherwise.\n3. Let urlRecord be the result of [parsing](https://url.spec.whatwg.org/#concept-url-parser) url with document's fallback base URL, and\n document's [character encoding](https://dom.spec.whatwg.org/#concept-document-encoding).\n (Thus, the `base` element isn't affected by other `base` elements or\n itself.)\n4. If urlRecord is failure, return url.\n5. Return the [serialization](https://url.spec.whatwg.org/#concept-url-serializer) of\n urlRecord.\n\nIn this example, a `base` element is used to set the document base\n URL:\n\n```\n This is an example for the <base> element

Visit the archives.

\n```\n\nThe link in the above example would be a link to \"`https://www.example.com/news/archives.html`\".\n\n#### 4.2.4 The `link` element\n\n[Element/link](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLLinkElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[HTMLLinkElement/rel](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLLinkElement/relList](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/relList)\n\nSupport in all current engines.\n\nFirefox30+ Safari9+ Chrome50+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nMetadata content.\n\nIf the element is allowed in the body: flow content.\n\nIf the element is allowed in the body: phrasing content.\n\nContexts in which this element can be used:\n\nWhere metadata content is expected.\n\nIn a `noscript` element that is a child of a `head` element.\n\nIf the element is allowed in the body: where phrasing content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`href` — Address of the hyperlink\n\n`crossorigin` — How the element handles crossorigin requests\n\n`rel` — Relationship between the document containing the hyperlink and the destination resource\n\n`media` — Applicable media\n\n`integrity` — Integrity metadata used in Subresource Integrity checks [SRI]\n\n`hreflang` — Language of the linked resource\n\n`type` — Hint for the type of the referenced resource\n\n`referrerpolicy` — [Referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) for [fetches](https://fetch.spec.whatwg.org/#concept-fetch) initiated by the element\n\n`sizes` — Sizes of the icons (for `rel`=\"`icon`\")\n\n`imagesrcset` — Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for `rel`=\"`preload`\")\n\n`imagesizes` — Image sizes for different page layouts (for `rel`=\"`preload`\")\n\n`as` — Destination for a preload request (for `rel`=\"`preload`\" and `rel`=\"`modulepreload`\")\n\n`blocking` — Whether the element is potentially render-blocking\n\n`color` — Color to use when customizing a site's icon (for `rel`=\"`mask-icon`\")\n\n`disabled` — Whether the link is disabled\n\n`fetchpriority` — Sets the [priority](https://fetch.spec.whatwg.org/#request-priority) for [fetches](https://fetch.spec.whatwg.org/#concept-fetch) initiated by the element\n\nAlso, the `title` attribute has special semantics on this element: Title of the link; [CSS style sheet set name](https://drafts.csswg.org/cssom/#css-style-sheet-set-name)\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-link).\n\n[For implementers](https://w3c.github.io/html-aam/#el-link).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLLinkElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectURL] attribute USVString href;\n [CEReactions] attribute DOMString? crossOrigin;\n [CEReactions, Reflect] attribute DOMString rel;\n [CEReactions] attribute DOMString as;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect=\"rel\"] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) relList;\n [CEReactions, Reflect] attribute DOMString media;\n [CEReactions, Reflect] attribute DOMString integrity;\n [CEReactions, Reflect] attribute DOMString hreflang;\n [CEReactions, Reflect] attribute DOMString type;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) sizes;\n [CEReactions, Reflect] attribute USVString imageSrcset;\n [CEReactions, Reflect] attribute DOMString imageSizes;\n [CEReactions] attribute DOMString referrerPolicy;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) blocking;\n [CEReactions, Reflect] attribute boolean disabled;\n [CEReactions] attribute DOMString fetchPriority;\n\n // also has obsolete members\n};\nHTMLLinkElement includes [LinkStyle](https://drafts.csswg.org/cssom/#the-linkstyle-interface);`\n\nThe `link` element allows authors to link their document to other resources.\n\nThe address of the link(s) is given by the `href` attribute. If the `href` attribute is present, then its value must be a valid\n non-empty URL potentially surrounded by spaces. One or both of the `href` or `imagesrcset`\n attributes must be present.\n\nIf both the `href` and `imagesrcset` attributes are absent, then the element does not\n define a link.\n\nThe types of link indicated (the relationships) are given by the value of the `rel` attribute, which, if present, must have a\n value that is a unordered set of unique space-separated tokens. The allowed keywords and their meanings are defined in a later section. If the `rel` attribute is absent, has no keywords, or if\n none of the keywords used are allowed according to the definitions in this specification, then the\n element does not create any links.\n\n`rel`'s\n [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) are the keywords defined in\n HTML link types which are allowed on `link` elements, impact\n the processing model, and are supported by the user agent. The possible [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) are\n `alternate`,\n `dns-prefetch`,\n `expect`,\n `icon`,\n `manifest`,\n `modulepreload`,\n `next`,\n `pingback`,\n `preconnect`,\n `prefetch`,\n `preload`,\n `search`, and\n `stylesheet`.\n `rel`'s [supported\n tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) must only include the tokens from this list that the user agent implements the\n processing model for.\n\nTheoretically a user agent could support the processing model for the `canonical` keyword — if it were a search engine that executed\n JavaScript. But in practice that's quite unlikely. So in most cases, `canonical` ought not be included in `rel`'s [supported\n tokens](https://dom.spec.whatwg.org/#concept-supported-tokens).\n\nA `link` element must have either a `rel`\n attribute or an `itemprop` attribute, but not both.\n\nIf a `link` element has an `itemprop` attribute,\n or has a `rel` attribute that contains only keywords that are\n body-ok, then the element is said to be allowed in the body. This means\n that the element can be used where phrasing content is expected.\n\nIf the `rel` attribute is used, the element can\n only sometimes be used in the `body` of the page. When used with the `itemprop` attribute, the element can be used both in the\n `head` element and in the `body` of the page, subject to the constraints of\n the microdata model.\n\n---\n\nTwo categories of links can be created using the `link` element: links to external resources and hyperlinks. The link types section defines\n whether a particular link type is an external resource or a hyperlink. One `link`\n element can create multiple links (of which some might be external resource links and some might be hyperlinks); exactly which and how many links are created depends on the\n keywords given in the `rel` attribute. User agents must process\n the links on a per-link basis, not a per-element basis.\n\nEach link created for a `link` element is handled separately. For\n instance, if there are two `link` elements with `rel=\"stylesheet\"`,\n they each count as a separate external resource, and each is affected by its own attributes\n independently. Similarly, if a single `link` element has a `rel` attribute with the value `next stylesheet`,\n it creates both a hyperlink (for the `next` keyword) and\n an external resource link (for the `stylesheet`\n keyword), and they are affected by other attributes (such as `media` or `title`)\n differently.\n\nFor example, the following `link` element creates two hyperlinks (to the same page):\n\n```\n\n```\n\nThe two links created by this element are one whose semantic is that the target page has\n information about the current page's author, and one whose semantic is that the target page has\n information regarding the license under which the current page is provided.\n\nHyperlinks created with the `link` element and its\n `rel` attribute apply to the whole document. This contrasts with\n the `rel` attribute of `a` and `area`\n elements, which indicates the type of a link whose context is given by the link's location within\n the document.\n\nUnlike those created by `a` and `area` elements, hyperlinks created by `link` elements are not displayed as\n part of the document by default, in user agents that support the suggested\n default rendering. And even if they are force-displayed using CSS, they have no\n [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior). Instead, they primarily provide semantic information which might\n be used by the page or by other software that consumes the page's contents. Additionally, the user\n agent can provide\n its own UI for following such hyperlinks.\n\nThe exact behavior for links to external resources\n depends on the exact relationship, as defined for the relevant link\n type.\n\n---\n\nThe `crossorigin`\n attribute is a CORS settings attribute. It is intended for use with external resource links.\n\nThe `media` attribute\n says which media the resource applies to. The value must be a valid media query\n list.\n\n[Subresource_Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)\n\nSupport in all current engines.\n\nFirefox43+ Safari11.1+ Chrome45+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `integrity`\n attribute represents the [integrity\n metadata](https://fetch.spec.whatwg.org/#concept-request-integrity-metadata) for requests which this element is responsible for. The value is text. The\n attribute must only be specified on `link` elements that have a `rel` attribute that contains the `stylesheet`, `preload`, or `modulepreload` keyword. [SRI]\n\nThe `hreflang`\n attribute on the `link` element has the same semantics as the `hreflang` attribute on the `a`\n element.\n\nThe `type` attribute\n gives the [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) of the linked resource. It is purely advisory. The value must be\n a [valid MIME type string](https://mimesniff.spec.whatwg.org/#valid-mime-type).\n\nFor external resource links, the `type` attribute is used as a hint to user agents so that they can\n avoid fetching resources they do not support.\n\nThe `referrerpolicy` attribute is a referrer policy\n attribute. It is intended for use with external\n resource links, where it helps set the [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) used when fetching and processing the linked resource.\n [REFERRERPOLICY]\n\nThe `title` attribute\n gives the title of the link. With one exception, it is purely advisory. The value is text. The\n exception is for style sheet links that are [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree), for which the `title` attribute defines [CSS\n style sheet sets](https://drafts.csswg.org/cssom/#css-style-sheet-set).\n\nThe `title` attribute on `link`\n elements differs from the global `title` attribute of most other\n elements in that a link without a title does not inherit the title of the parent element: it\n merely has no title.\n\n---\n\nThe `imagesrcset`\n attribute may be present, and is a srcset attribute.\n\nThe `imagesrcset` and `href` attributes (if width\n descriptors are not used) together contribute the image\n sources to the source set.\n\nIf the `imagesrcset` attribute is present and has any\n image candidate strings using a width\n descriptor, the `imagesizes` attribute must also be present, and is a\n sizes attribute. The `imagesizes` attribute\n contributes the source size to the source set.\n\nThe `imagesrcset` and `imagesizes` attributes must only be specified on\n `link` elements that have both a `rel` attribute that\n specifies the `preload` keyword, as well as an `as` attribute in the \"`image`\" state.\n\nThese attributes allow preloading the appropriate resource that is later used by an\n `img` element that has the corresponding values for its `srcset` and `sizes`\n attributes:\n\n```\n \"A\n```\n\nNote how we omit the `href` attribute, as it would only\n be relevant for browsers that do not support `imagesrcset`, and in those cases it would likely cause the\n incorrect image to be preloaded.\n\nThe `imagesrcset` attribute can be combined with the\n `media` attribute to preload the appropriate resource\n selected from a `picture` element's sources, for art direction:\n\n```\n \"An \n```\n\n---\n\nThe `sizes` attribute\n gives the sizes of icons for visual media. Its value, if present, is merely advisory. User agents may use the value to decide which icon(s) to use if multiple icons are\n available. If specified, the attribute must have a value that is an unordered set of\n unique space-separated tokens which are [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive). Each value\n must be either an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string \"`any`\", or a value that consists of two valid non-negative integers that do not have a leading U+0030 DIGIT\n ZERO (0) character and that are separated by a single U+0078 LATIN SMALL LETTER X or U+0058 LATIN\n CAPITAL LETTER X character. The attribute must only be specified on `link` elements\n that have a `rel` attribute that specifies the `icon` keyword or the `apple-touch-icon` keyword.\n\nThe `apple-touch-icon` keyword is a registered extension to the predefined set of link types, but user\n agents are not required to support it in any way.\n\n---\n\nThe `as` attribute\n specifies either a preload destination or a module preload destination\n for a preload request for the resource given by the `href`\n attribute. It is an enumerated attribute. Each of the union of preload destinations and module preload destinations is a keyword for this\n attribute, mapping to a state of the same name. The attribute must be specified on\n `link` elements that have a `rel` attribute that\n contains the `preload` keyword; in such cases it must have a\n value which is a preload destination. It may be specified on `link`\n elements that have a `rel` attribute that contains the\n `modulepreload` keyword; in such cases it must have a value\n which is a module preload destination. For other `link` elements, it must\n not be specified.\n\nThe processing model for how the `as` attribute is\n used is given in an individual link type's fetch and process the linked resource\n algorithm.\n\nThe attribute does not have a *missing value\n default* or *invalid value default*, meaning that invalid\n or missing values for the attribute map to no state. This is accounted for in the processing\n model. For `preload` links, both conditions are an error; for\n `modulepreload` links, a missing value will be treated as\n \"`script`\".\n\n---\n\nThe `blocking`\n attribute is a blocking attribute. It is used by link types `stylesheet` and `expect`, and it must only be specified on link elements\n that have a `rel` attribute containing those keywords.\n\n---\n\nThe `color` attribute is\n used with the `mask-icon` link type. The attribute must only be specified on\n `link` elements that have a `rel` attribute that\n contains the `mask-icon` keyword. The value must be a string that matches the\n CSS [](https://drafts.csswg.org/css-color/#typedef-color) production, defining a suggested color that user agents can use to\n customize the display of the icon that the user sees when they pin your site.\n\nThis specification does not have any user agent requirements for the `color` attribute.\n\nThe `mask-icon` keyword is a registered extension to the predefined set of link types, but user\n agents are not required to support it in any way.\n\n---\n\n`link` elements have an associated explicitly enabled boolean. It is\n initially false.\n\nThe `disabled`\n attribute is a boolean attribute that is used with the `stylesheet` link type. The attribute must only be specified on\n `link` elements that have a `rel` attribute that\n contains the `stylesheet` keyword.\n\nWhenever the `disabled` attribute is removed, set the\n `link` element's explicitly enabled attribute to true.\n\nRemoving the `disabled` attribute dynamically, e.g.,\n using `document.querySelector(\"link\").removeAttribute(\"disabled\")`, will\n fetch and apply the style sheet:\n\n```\n\n```\n\n[HTMLLinkElement/fetchPriority](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/fetchPriority)\n\nFirefoxNo Safari🔰 preview+ Chrome102+\n\n---\n\nOpera? Edge102+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `fetchpriority` attribute is a fetch\n priority attribute that is intended for use with external resource links, where it is used to set the [priority](https://fetch.spec.whatwg.org/#request-priority) used when fetching and processing the linked\n resource.\n\n---\n\nThere is no reflecting IDL attribute for the `color` attribute, but this might be added later.\n\n[HTMLLinkElement/as](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as)\n\nSupport in all current engines.\n\nFirefox56+ Safari10+ Chrome50+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `as` IDL\n attribute must reflect the `as` content attribute,\n limited to only known values.\n\nThe `crossOrigin` IDL attribute must reflect the\n `crossorigin` content attribute, limited to only\n known values.\n\n[HTMLLinkElement/referrerPolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy)\n\nSupport in all current engines.\n\nFirefox50+ Safari14.1+ Chrome58+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `referrerPolicy` IDL attribute must\n reflect the `referrerpolicy` content\n attribute, limited to only known values.\n\nThe `fetchPriority` IDL attribute must\n reflect the `fetchpriority` content\n attribute, limited to only known values.\n\nThe `relList` attribute can be used for\n feature detection, by calling its `[supports()](https://dom.spec.whatwg.org/#dom-domtokenlist-supports)`\n method to check which types of links are supported.\n\n##### 4.2.4.1 Processing the `media` attribute\n\nIf the link is a hyperlink then the `media`\n attribute is purely advisory, and describes for which media the document in question was\n designed.\n\nHowever, if the link is an external resource link, then the `media` attribute is prescriptive. The user agent must apply the\n external resource when the `media` attribute's value\n matches the environment and the other relevant conditions apply, and must not apply\n it otherwise.\n\nThe default, if the `media` attribute is\n omitted, is \"`all`\", meaning that by default links apply to all media.\n\nThe external resource might have further restrictions defined within that limit\n its applicability. For example, a CSS style sheet might have some `@media`\n blocks. This specification does not override such further restrictions or requirements.\n\n##### 4.2.4.2 Processing the `type` attribute\n\nIf the `type` attribute is present, then the user agent must\n assume that the resource is of the given type (even if that is not a [valid MIME type\n string](https://mimesniff.spec.whatwg.org/#valid-mime-type), e.g. the empty string). If the attribute is omitted, but the external\n resource link type has a default type defined, then the user agent must assume that the\n resource is of that type. If the UA does not support the given [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) for the\n given link relationship, then the UA should not fetch and process the linked\n resource; if the UA does support the given [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) for the given link\n relationship, then the UA should fetch and process the linked resource at the\n appropriate time as specified for the external resource link's particular type.\n If the attribute is omitted, and the external resource link type does not have a\n default type defined, but the user agent would fetch and process the linked resource\n if the type was known and supported, then the user agent should fetch and process the linked\n resource under the assumption that it will be supported.\n\nUser agents must not consider the `type` attribute\n authoritative — upon fetching the resource, user agents must not use the `type` attribute to determine its actual type. Only the actual type\n (as defined in the next paragraph) is used to determine whether to *apply* the resource,\n not the aforementioned assumed type.\n\nIf the external resource link type defines rules\n for processing the resource's Content-Type metadata, then those\n rules apply. Otherwise, if the resource is expected to be an image, user agents may apply the\n [image sniffing rules](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically), with the official\n type being the type determined from the resource's Content-Type\n metadata, and use the resulting [computed type of the\n resource](https://mimesniff.spec.whatwg.org/#computed-mime-type) as if it was the actual type. Otherwise, if neither of these conditions apply or\n if the user agent opts not to apply the image sniffing rules, then the user agent must use the\n resource's Content-Type metadata to determine the type of the\n resource. If there is no type metadata, but the external resource link type has a\n default type defined, then the user agent must assume that the resource is of that type.\n\nThe `stylesheet` link type defines rules for\n processing the resource's Content-Type metadata.\n\nOnce the user agent has established the type of the resource, the user agent must apply the\n resource if it is of a supported type and the other relevant conditions apply, and must ignore the\n resource otherwise.\n\nIf a document contains style sheet links labeled as follows:\n\n```\n \n```\n\n...then a compliant UA that supported only CSS style sheets would fetch the B and C files, and\n skip the A file (since `[text/plain](https://www.rfc-editor.org/rfc/rfc2046#section-4.1.3)` is not the [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) for CSS style\n sheets).\n\nFor files B and C, it would then check the actual types returned by the server. For those that\n are sent as `text/css`, it would apply the styles, but for those labeled as\n `[text/plain](https://www.rfc-editor.org/rfc/rfc2046#section-4.1.3)`, or any other type, it would not.\n\nIf one of the two files was returned without a Content-Type metadata, or with a\n syntactically incorrect type like `Content-Type: \"null\"`, then the\n default type for `stylesheet` links would kick in. Since that\n default type is `text/css`, the style sheet *would* nonetheless be applied.\n\n##### 4.2.4.3 Fetching and processing a resource\n from a `link` element\n\nAll external resource\n links have a fetch and process the linked resource algorithm, which takes a\n `link` element el. They also have linked resource fetch setup\n steps which take a `link` element el and [request](https://fetch.spec.whatwg.org/#concept-request) request. Individual link types may provide\n their own fetch and process the linked resource algorithm, but unless explicitly\n stated, they use the default fetch and process the linked resource algorithm.\n Similarly, individual link types may provide their own linked resource fetch setup\n steps, but unless explicitly stated, these steps just return true.\n\nThe default fetch and process the linked resource, given a `link` element\n el, is as follows:\n\n1. Let options be the result of creating link options from el.\n2. Let request be the result of creating a\n link request given options.\n3. If request is null, then return.\n4. Run the linked resource fetch setup steps, given el and\n request. If the result is false, then return.\n5. Set request's [initiator\n type](https://fetch.spec.whatwg.org/#request-initiator-type) to \"`css`\" if el's `rel` attribute contains the keyword `stylesheet`; \"`link`\" otherwise.\n6. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request with *[processResponseConsumeBody](https://fetch.spec.whatwg.org/#process-response-end-of-body)* set to the following steps\n given [response](https://fetch.spec.whatwg.org/#concept-response) response and null, failure, or\n a [byte sequence](https://infra.spec.whatwg.org/#byte-sequence) bodyBytes:\n 1. Let success be true.\n 2. If any of the following are true: then set success to false. Note that content-specific errors, e.g., CSS parse errors or PNG decoding\n errors, do not affect success.\n - bodyBytes is null or failure; or\n - response's [status](https://fetch.spec.whatwg.org/#concept-response-status) is not an\n [ok status](https://fetch.spec.whatwg.org/#ok-status),\n 3. Otherwise, wait for the link\n resource's critical subresources to finish loading. The specification that defines a link type's critical subresources\n (e.g., CSS) is expected to describe how these subresources are fetched and processed. However,\n since this is not currently explicit, this specification describes waiting for a link resource's critical subresources to\n be fetched and processed, with the expectation that this will be done correctly.\n 4. Process the linked resource given el, success,\n response, and bodyBytes.\n\nTo create a link request given a link processing options options:\n\n1. [Assert](https://infra.spec.whatwg.org/#assert): options's href is\n not the empty string.\n2. Let url be the result of encoding-parsing a URL given\n options's href, relative to\n options's base URL. Passing the base URL instead of a document or environment is tracked by [issue #9715](https://github.com/whatwg/html/issues/9715).\n3. If url is failure, then return null.\n4. Let request be the result of creating a potential-CORS request given url, options's\n destination, and options's crossorigin.\n5. Set request's [policy\n container](https://fetch.spec.whatwg.org/#concept-request-policy-container) to options's policy\n container.\n6. Set request's [integrity\n metadata](https://fetch.spec.whatwg.org/#concept-request-integrity-metadata) to options's integrity.\n7. Set request's [cryptographic\n nonce metadata](https://fetch.spec.whatwg.org/#concept-request-nonce-metadata) to options's cryptographic\n nonce metadata.\n8. Set request's [referrer\n policy](https://fetch.spec.whatwg.org/#concept-request-referrer-policy) to options's referrer\n policy.\n9. Set request's [client](https://fetch.spec.whatwg.org/#concept-request-client) to\n options's environment.\n10. Set request's [priority](https://fetch.spec.whatwg.org/#request-priority) to\n options's fetch priority.\n11. Return request.\n\nUser agents may opt to only try to fetch\n and process such resources when they are needed, instead of pro-actively fetching all the\n external resources that are not applied.\n\nSimilar to the fetch and process the linked resource algorithm, all external resource links have a process the linked\n resource algorithm which takes a `link` element el, boolean\n success, a [response](https://fetch.spec.whatwg.org/#concept-response) response, and a\n [byte sequence](https://infra.spec.whatwg.org/#byte-sequence) bodyBytes. Individual link types may provide their own\n process the linked resource algorithm, but unless explicitly stated, that algorithm\n does nothing.\n\nUnless otherwise specified for a given `rel` keyword, the\n element must delay the load event of the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) until\n all the attempts to fetch and process the linked resource and its critical\n subresources are complete. (Resources that the user agent has not yet attempted to fetch\n and process, e.g., because it is waiting for the resource to be needed, do not delay the\n load event.)\n\n##### 4.2.4.4 Processing ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` headers\n\nAll link types that can be external resource\n links define a algorithm, which takes a link\n processing options. This algorithm defines whether and how they react to appearing in an\n HTTP ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` response header.\n\nFor most link types, this algorithm does nothing. The summary table is a good reference to quickly know whether a link\n type has defined steps.\n\nA link processing options is a [struct](https://infra.spec.whatwg.org/#struct). It has the following\n [items](https://infra.spec.whatwg.org/#struct-item):\n\nhref (default the empty\n string)\n\ninitiator (default\n \"`link`\")\n\nintegrity (default\n the empty string)\n\ntype (default the empty\n string)\n\ncryptographic nonce\n metadata (default the empty string)\n\nA string\n\ndestination\n (default the empty string)\n\nA [destination type](https://fetch.spec.whatwg.org/#destination-type).\n\ncrossorigin\n (default No CORS)\n\nA CORS settings attribute state\n\nreferrer\n policy (default the empty string)\n\nA [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy)\n\nsource set (default\n null)\n\nNull or a source set\n\nbase URL\n\nA [URL](https://url.spec.whatwg.org/#concept-url)\n\norigin\n\nAn origin\n\nenvironment\n\nAn environment\n\npolicy\n container\n\nA policy container\n\ndocument (default\n null)\n\nNull or a `Document`\n\non document\n ready (default null)\n\nNull or an algorithm accepting a `Document`\n\nfetch priority\n (default `Auto`)\n\nA fetch priority attribute state\n\nA link processing options has a base URL and an href\n rather than a parsed URL because the URL could be a result of the options's source set.\n\nTo create link options from element given a `link` element\n el:\n\n1. Let document be el's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. Let options be a new link processing options with crossoriginthe state of el's `crossorigin`\n content attributereferrer policythe state of el's `referrerpolicy`\n content attributesource setel's source setbase URLdocument's document base URLorigindocument's [origin](https://dom.spec.whatwg.org/#concept-document-origin)environmentdocument's relevant settings objectpolicy containerdocument's policy containerdocumentdocumentcryptographic nonce metadatathe current value of el's [[CryptographicNonce]] internal slotfetch prioritythe state of el's `fetchpriority`\n content attribute\n3. If el has an `href` attribute, then set\n options's href to the value of\n el's `href` attribute.\n4. If el has an `integrity` attribute,\n then set options's integrity to the\n value of el's `integrity` content\n attribute.\n5. If el has a `type` attribute, then set\n options's type to the value of\n el's `type` attribute.\n6. [Assert](https://infra.spec.whatwg.org/#assert): options's href is not\n the empty string, or options's source\n set is not null. A `link` element with neither an `href` or an\n `imagesrcset` does not represent a link.\n7. Return options.\n\nTo extract links from headers given a headers:\n\n1. Let links be a new [list](https://infra.spec.whatwg.org/#list).\n2. Let rawLinkHeaders be the result of \n ``Link`` from headers.\n3. [For each](https://infra.spec.whatwg.org/#list-iterate) linkHeader of\n rawLinkHeaders:\n 1. Let linkObject be the result of [parsing](https://httpwg.org/specs/rfc8288.html#parse-fv) linkHeader. [WEBLINK]\n 2. If linkObject[\"`target_uri`\"] does not\n [exist](https://infra.spec.whatwg.org/#map-exists), then [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 3. [Append](https://infra.spec.whatwg.org/#list-append) linkObject to\n links.\n4. Return links.\n\nTo process link headers given a `Document` doc,\n a [response](https://fetch.spec.whatwg.org/#concept-response) response, and a\n \"`pre-media`\" or \"`media`\" phase:\n\n1. Let links be the result of extracting links from response's .\n2. [For each](https://infra.spec.whatwg.org/#list-iterate) linkObject in links:\n 1. Let rel be linkObject[\"`relation_type`\"].\n 2. Let attribs be linkObject[\"`target_attributes`\"].\n 3. Let expectedPhase be \"`media`\" if either \"`srcset`\", \"`imagesrcset`\", or \"`media`\" [exist](https://infra.spec.whatwg.org/#map-exists) in\n attribs; otherwise \"`pre-media`\".\n 4. If expectedPhase is not phase, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 5. If attribs[\"`media`\"] [exists](https://infra.spec.whatwg.org/#map-exists) and attribs[\"`media`\"]\n does not match the environment, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 6. Let options be a new link processing options with hreflinkObject[\"`target_uri`\"]base URLdoc's document base URLorigindoc's [origin](https://dom.spec.whatwg.org/#concept-document-origin)environmentdoc's relevant settings objectpolicy containerdoc's policy\n containerdocumentdoc\n 7. to options\n given attribs and rel. If that returned false, then return.\n 8. If attribs[\"`imagesrcset`\"] [exists](https://infra.spec.whatwg.org/#map-exists) and attribs[\"`imagesizes`\"] [exists](https://infra.spec.whatwg.org/#map-exists),\n then set options's source set to the\n result of creating a source set given\n linkObject[\"`target_uri`\"], attribs[\"`imagesrcset`\"], attribs[\"`imagesizes`\"], and null.\n 9. Run the steps for rel given\n options.\n\nTo to a link processing\n options options given attribs and a string rel:\n\n1. If rel is \"`preload`\":\n 1. If attribs[\"`as`\"] does not [exist](https://infra.spec.whatwg.org/#map-exists), then return false.\n 2. Let destination be the result of translating attribs[\"`as`\"].\n 3. If destination is null, then return false.\n 4. Set options's destination to\n destination.\n2. If attribs[\"`crossorigin`\"] [exists](https://infra.spec.whatwg.org/#map-exists) and is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for one of\n the CORS settings attribute keywords,\n then set options's crossorigin to the\n CORS settings attribute state corresponding to that keyword.\n3. If attribs[\"`integrity`\"] [exists](https://infra.spec.whatwg.org/#map-exists), then set options's integrity to attribs[\"`integrity`\"].\n4. If attribs[\"`referrerpolicy`\"]\n [exists](https://infra.spec.whatwg.org/#map-exists) and is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for\n some [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy), then set options's referrer policy to that [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy).\n5. If attribs[\"`nonce`\"]\n [exists](https://infra.spec.whatwg.org/#map-exists), then set options's nonce to attribs[\"`nonce`\"].\n6. If attribs[\"`type`\"] [exists](https://infra.spec.whatwg.org/#map-exists), then set options's type to attribs[\"`type`\"].\n7. If attribs[\"`fetchpriority`\"]\n [exists](https://infra.spec.whatwg.org/#map-exists) and is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for\n a fetch priority attribute keyword, then set options's fetch priority to that fetch priority\n attribute keyword.\n8. Return true.\n\n##### 4.2.4.5 Early hints\n\n[Status/103](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103)\n\nFirefoxpreview+ SafariNo Chrome103+\n\n---\n\nOperaNo Edge103+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nEarly hints allow user-agents to perform some operations, such as to speculatively\n load resources that are likely to be used by the document, before the navigation request is fully\n handled by the server and a response code is served. Servers can indicate early hints by serving a\n [response](https://fetch.spec.whatwg.org/#concept-response) with a 103 status code before serving the final\n [response](https://fetch.spec.whatwg.org/#concept-response).[RFC8297]\n\nFor compatibility reasons [early hints are typically\n delivered over HTTP/2 or above](https://httpwg.org/specs/rfc8297.html#security-considerations), but for readability we use HTTP/1.1-style notation below.\n\nFor example, given the following sequence of responses:\n\n```\n103 Early Hint\nLink: ; rel=preload; as=image\n```\n\n```\n200 OK\nContent-Type: text/html\n\n\n...\n\n```\n\nthe image will start loading before the HTML content arrives.\n\nOnly the first early hint response served during the navigation is handled, and it\n is discarded if it is succeeded by a cross-origin redirect.\n\nIn addition to the ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` headers, it is possible that the 103\n response contains a [Content Security Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) header, which is enforced when processing\n the early hint.\n\nFor example, given the following sequence of responses:\n\n```\n103 Early Hint\nContent-Security-Policy: style-src: self;\nLink: ; rel=preload; as=style\n```\n\n```\n103 Early Hint\nLink: ; rel=preload; as=image\n```\n\n```\n302 Redirect\nLocation: /alternate.html\n```\n\n```\n200 OK\nContent-Security-Policy: style-src: none;\nLink: ; rel=preload; as=font\n```\n\nThe font and style would be loaded, and the image will be discarded, as only the first early\n hint response in the final redirect chain is respected. The late [Content Security\n Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) header comes after the request to fetch the style has already been performed, but\n the style will not be accessible to the document.\n\nTo process early hint headers given a [response](https://fetch.spec.whatwg.org/#concept-response) response and an environment reservedEnvironment:\n\nEarly-hint ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` headers are always processed\n before ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` headers from the final [response](https://fetch.spec.whatwg.org/#concept-response), followed by `link` elements. This is\n equivalent to prepending the contents of the early and final ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` headers to the `Document`'s `head` element,\n in respective order.\n\n1. Let earlyPolicyContainer be the result of creating a policy container from\n a fetch response given response and reservedEnvironment. This allows the early hint [response](https://fetch.spec.whatwg.org/#concept-response) to\n include a [Content Security Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) which would be [enforced](https://w3c.github.io/webappsec-csp/#enforced) when fetching the early hint [request](https://fetch.spec.whatwg.org/#concept-request).\n2. Let links be the result of extracting links from response's .\n3. Let earlyHints be an empty [list](https://infra.spec.whatwg.org/#list).\n4. [For each](https://infra.spec.whatwg.org/#list-iterate) linkObject in links: The moment we receive the early hint link header, we begin [fetching](https://fetch.spec.whatwg.org/#concept-fetch) earlyRequest. If it comes back before the\n `Document` is created, we set earlyResponse to the [response](https://fetch.spec.whatwg.org/#concept-response) of that [fetch](https://fetch.spec.whatwg.org/#concept-fetch) and\n once the `Document` is created we commit it (by making it available in the map\n of preloaded resources as if it was a `link` element). If the\n `Document` is created first, the [response](https://fetch.spec.whatwg.org/#concept-response) is\n committed as soon as it becomes available.\n 1. Let rel be linkObject[\"`relation_type`\"].\n 2. Let options be a new link processing options with hreflinkObject[\"`target_uri`\"]initiator\"`early-hint`\"base URLresponse's [URL](https://fetch.spec.whatwg.org/#concept-response-url)originresponse's [URL](https://fetch.spec.whatwg.org/#concept-response-url)'s [origin](https://url.spec.whatwg.org/#concept-url-origin)environmentreservedEnvironmentpolicy containerearlyPolicyContainer\n 3. Let attribs be linkObject[\"`target_attributes`\"]. Only the `as`, `crossorigin`, `integrity`, and `type`\n attributes are handled as part of early hint processing. The other ones, in particular `blocking`, `imagesrcset`, `imagesizes`, and `media` are only applicable once a `Document` is\n created.\n 4. to options\n given attribs and rel. If that returned false, then return.\n 5. Run the steps for rel given\n options.\n 6. [Append](https://infra.spec.whatwg.org/#list-append) options to\n earlyHints.\n5. Return the following substeps given `Document` doc: [for each](https://infra.spec.whatwg.org/#list-iterate) options in earlyHints:\n 1. If options's on document ready is null, then set\n options's document to\n doc.\n 2. Otherwise, call options's on document ready with doc.\n\n##### 4.2.4.6 Providing users with a means to follow hyperlinks created using the `link`\n element\n\nInteractive user agents may provide users with a means to follow the hyperlinks created using the `link` element, somewhere\n within their user interface. Such invocations of the follow\n the hyperlink algorithm must set the *userInvolvement* argument to \"`browser UI`\". The exact interface is not defined by this\n specification, but it could include the following information (obtained from the element's\n attributes, again as defined below), in some form or another (possibly simplified), for each\n hyperlink created with each `link` element in the document:\n\n- The relationship between this document and the resource (given by the `rel` attribute)\n- The title of the resource (given by the `title` attribute).\n- The address of the resource (given by the `href` attribute).\n- The language of the resource (given by the `hreflang` attribute).\n- The optimum media for the resource (given by the `media` attribute).\n\nUser agents could also include other information, such as the type of the resource (as given by\n the `type` attribute).\n\n#### 4.2.5 The `meta`\n element\n\n[Element/meta](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLMetaElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nMetadata content.\n\nIf the `itemprop` attribute is present: flow content.\n\nIf the `itemprop` attribute is present: phrasing content.\n\nContexts in which this element can be used:\n\nIf the `charset` attribute is present, or if the element's `http-equiv` attribute is in the Encoding declaration state: in a `head` element.\n\nIf the `http-equiv` attribute is present but not in the Encoding declaration state: in a `head` element.\n\nIf the `http-equiv` attribute is present but not in the Encoding declaration state: in a `noscript` element that is a child of a `head` element.\n\nIf the `name` attribute is present: where metadata content is expected.\n\nIf the `itemprop` attribute is present: where metadata content is expected.\n\nIf the `itemprop` attribute is present: where phrasing content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`name` — Metadata name\n\n`http-equiv` — Pragma directive\n\n`content` — Value of the element\n\n`charset` — Character encoding declaration\n\n`media` — Applicable media\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-meta).\n\n[For implementers](https://w3c.github.io/html-aam/#el-meta).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLMetaElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute DOMString name;\n [CEReactions, Reflect=\"http-equiv\"] attribute DOMString httpEquiv;\n [CEReactions, Reflect] attribute DOMString content;\n [CEReactions, Reflect] attribute DOMString media;\n\n // also has obsolete members\n};`\n\nThe `meta` element represents various kinds of metadata that cannot be\n expressed using the `title`, `base`, `link`, `style`,\n and `script` elements.\n\nThe `meta` element can represent document-level metadata with the `name` attribute, pragma directives with the `http-equiv` attribute, and the file's character encoding\n declaration when an HTML document is serialized to string form (e.g. for transmission over\n the network or for disk storage) with the `charset`\n attribute.\n\nExactly one of the `name`, `http-equiv`, `charset`,\n and `itemprop` attributes must be specified.\n\nIf either `name`, `http-equiv`, or `itemprop` is\n specified, then the `content` attribute must also be\n specified. Otherwise, it must be omitted.\n\nThe `charset`\n attribute specifies the [character encoding](https://encoding.spec.whatwg.org/#encoding) used by the document.\n This is a character encoding declaration. If the attribute is present, its value must\n be an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string \"`utf-8`\".\n\nThe `charset` attribute on the\n `meta` element has no effect in XML documents, but is allowed in XML documents in order\n to facilitate migration to and from XML.\n\nThere must not be more than one `meta` element with a `charset` attribute per document.\n\nThe `content`\n attribute gives the value of the document metadata or pragma directive when the element is used\n for those purposes. The allowed values depend on the exact context, as described in subsequent\n sections of this specification.\n\nIf a `meta` element has a `name` attribute, it sets document metadata. Document metadata\n is expressed in terms of name-value pairs, the `name` attribute\n on the `meta` element giving the name, and the `content` attribute on the same element giving the value. The name\n specifies what aspect of metadata is being set; valid names and the meaning of their values are\n described in the following sections. If a `meta` element has no `content` attribute, then the value part of the metadata\n name-value pair is the empty string.\n\nThe `media` attribute\n says which media the metadata applies to. The value must be a valid media query list.\n Unless the `name` is `theme-color`, the `media`\n attribute has no effect on the processing model and must not be used by authors.\n\n##### 4.2.5.1 Standard metadata names\n\n[Element/meta/name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThis specification defines a few names for the `name`\n attribute of the `meta` element.\n\nNames are case-insensitive, and must be compared in an [ASCII\n case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) manner.\n\n`application-name`\n\nThe value must be a short free-form string giving the name of the web application that the\n page represents. If the page is not a web application, the `application-name` metadata name must not be used.\n Translations of the web application's name may be given, using the `lang` attribute to specify the language of each name. There must not be more than one `meta` element with a given language\n and where the `name` attribute value is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for\n `application-name` per document. User agents may use the application name in UI in preference to the page's\n `title`, since the title might include status messages and the like relevant to the\n status of the page at a particular moment in time instead of just being the name of the\n application. To find the application name to use given an ordered list of languages (e.g. British English,\n American English, and English), user agents must run the following steps: Let languages be the list of languages.Let default language be the language of the\n `Document`'s [document element](https://dom.spec.whatwg.org/#document-element), if any, and if that language is not\n unknown. If there is a default language, and if it is not the same language\n as any of the languages in languages, append it to languages. Let winning language be the first language in languages for which\n there is a `meta` element in the `Document` where the\n `name` attribute value is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for\n `application-name` and whose\n language is the language in question. If none of the languages have such a `meta` element, then return;\n there's no given application name. Return the value of the `content` attribute of the\n first `meta` element in the `Document` in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) where the\n `name` attribute value is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for `application-name`\n and whose language is winning language. This algorithm would be used by a browser when it needs a name for the page, for\n instance, to label a bookmark. The languages it would provide to the algorithm would be the\n user's preferred languages.\n\n`author`\n\nThe value must be a free-form string giving the name of one of the page's\n authors.\n\n`description`\n\nThe value must be a free-form string that describes the page. The value must be\n appropriate for use in a directory of pages, e.g. in a search engine. There must not be more than\n one `meta` element where the `name` attribute value\n is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for\n `description` per document.\n\n`generator`\n\nThe value must be a free-form string that identifies one of the software packages used to\n generate the document. This value must not be used on pages whose markup is not generated by\n software, e.g. pages whose markup was written by a user in a text editor. Here is what a tool called \"Frontweaver\" could include in its output, in the page's\n `head` element, to identify itself as the tool used to generate the page: ``\n\n`keywords`\n\nThe value must be a set of comma-separated tokens, each of which is a keyword\n relevant to the page. This page about typefaces on British motorways uses a `meta` element to specify\n some keywords that users might use to look for the page: ` Typefaces on UK motorways \n ...` Many search engines do not consider such keywords, because this feature has\n historically been used unreliably and even misleadingly as a way to spam search engine results\n in a way that is not helpful for users. To obtain the list of keywords that the author has specified as applicable to the page, the\n user agent must run the following steps: Let keywords be an empty list. For each `meta` element with a `name`\n attribute and a `content` attribute and where the `name` attribute value is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive)\n match for `keywords`: [Split the value of the element's `content` attribute on commas](https://infra.spec.whatwg.org/#split-on-commas).Add the resulting tokens, if any, to keywords. Remove any duplicates from keywords.Return keywords. This is the list of keywords that the author has\n specified as applicable to the page. User agents should not use this information when there is insufficient confidence in the\n reliability of the value. For instance, it would be reasonable for a content management system to use\n the keyword information of pages within the system to populate the index of a site-specific\n search engine, but a large-scale content aggregator that used this information would likely find\n that certain users would try to game its ranking mechanism through the use of inappropriate\n keywords.\n\n`referrer`\n\nThe value must be a [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy), which defines the default [referrer\n policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) for the `Document`. [REFERRERPOLICY] If any `meta` element element is inserted into the document, or has its `name` or `content`\n attributes changed, user agents must run the following algorithm: If element is not [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree), then return.If element does not have a `name`\n attribute whose value is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for \"`referrer`\", then return.If element does not have a `content`\n attribute, or that attribute's value is the empty string, then return.Let value be the value of element's `content` attribute, [converted to ASCII\n lowercase](https://infra.spec.whatwg.org/#ascii-lowercase). If value is one of the values given in the first column of the following table,\n then set value to the value given in the second column: Legacy value\n Referrer policy\n `never` `[no-referrer](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-no-referrer)` `default` the [default referrer policy](https://w3c.github.io/webappsec-referrer-policy/#default-referrer-policy) `always` `[unsafe-url](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-unsafe-url)` `origin-when-crossorigin` `[origin-when-cross-origin](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-origin-when-cross-origin)` If value is a [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy), then set element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document)'s policy\n container's referrer policy to\n policy. For historical reasons, unlike other standard metadata names, the processing\n model for `referrer` is not responsive to element removals,\n and does not use [tree order](https://dom.spec.whatwg.org/#concept-tree-order). Only the most-recently-inserted or\n most-recently-modified `meta` element in this state has an effect.\n\n`theme-color`[Element/meta/name/theme-color](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color)FirefoxNoSafari15+Chrome🔰 73+OperaNoEdge🔰 79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android80+WebView AndroidNoSamsung Internet6.2+Opera AndroidNo\n\nThe value must be a string that matches the CSS [](https://drafts.csswg.org/css-color/#typedef-color) production, defining\n a suggested color that user agents should use to customize the display of the page or of the\n surrounding user interface. For example, a browser might color the page's title bar with the\n specified value, or use it as a color highlight in a tab bar or task switcher. Within an HTML document, the `media` attribute value must\n be unique amongst all the `meta` elements with their `name` attribute value set to an [ASCII\n case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for `theme-color`. This standard itself uses \"WHATWG green\" as its theme color: ` HTML Standard \n...` The `media` attribute may be used to describe the context\n in which the provided color should be used. If we only wanted to use \"WHATWG green\" as this standard's theme color in dark mode,\n we could use the `prefers-color-scheme` media feature: ` HTML Standard \n...` To obtain a page's theme color, user agents must run the following steps: Let candidate elements be the list of all `meta` elements that\n meet the following criteria, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order): the element is [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree);the element has a `name` attribute, whose value\n is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for `theme-color`; andthe element has a `content` attribute. For each element in candidate elements: If element has a `media` attribute\n and the value of element's `media`\n attribute does not match the environment, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).Let value be the result of [stripping leading and trailing ASCII whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from the value of\n element's `content` attribute.Let color be the result of [parsing](https://drafts.csswg.org/css-color/#parse-a-css-color-value) value.If color is not failure, then return color. Return nothing (the page has no theme color). If any `meta` elements are inserted into the document or removed from the document, or existing `meta` elements have their\n `name`, `content`, or\n `media` attributes changed, or if the environment changes\n such that any `meta` element's `media`\n attribute's value may now or may no longer match the\n environment, user agents must re-run the above algorithm and apply the result to any\n affected UI. When using the theme color in UI, user agents may adjust it in implementation-specific ways\n to make it more suitable for the UI in question. For example, if a user agent intends to use\n the theme color as a background and display white text over it, it might use a darker variant of\n the theme color in that part of the UI, to ensure adequate contrast.\n\n`color-scheme`\n\nTo aid user agents in rendering the page background with the desired color scheme immediately\n (rather than waiting for all CSS in the page to load), a ['color-scheme'](https://drafts.csswg.org/css-color-adjust/#color-scheme-prop) value can\n be provided in a `meta` element. The value must be a string that matches the syntax for the CSS ['color-scheme'](https://drafts.csswg.org/css-color-adjust/#color-scheme-prop)\n property value. It determines the [page's supported color-schemes](https://drafts.csswg.org/css-color-adjust/#pages-supported-color-schemes). There must not be more than one `meta` element with its `name` attribute value set to an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for `color-scheme` per document. The following declaration indicates that the page is aware of and can handle a color scheme\n with dark background colors and light foreground colors: `` To obtain a [page's supported color-schemes](https://drafts.csswg.org/css-color-adjust/#pages-supported-color-schemes), user agents must run the following steps: Let candidate elements be the list of all `meta` elements that\n meet the following criteria, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order): the element is [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree);the element has a `name` attribute, whose value\n is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for `color-scheme`; andthe element has a `content` attribute. For each element in candidate elements: Let parsed be the result of [parsing a list of component values](https://drafts.csswg.org/css-syntax/#parse-a-list-of-component-values) given the value of element's\n `content` attribute.If parsed is a valid CSS ['color-scheme'](https://drafts.csswg.org/css-color-adjust/#color-scheme-prop) property value, then\n return parsed. Return null. If any `meta` elements are inserted into the document or removed from the document, or existing `meta` elements have their\n `name` or `content`\n attributes changed, user agents must re-run the above algorithm. Because these rules check successive elements until they find a match, an\n author can provide multiple such values to handle fallback for legacy user agents. Opposite to\n how CSS fallback works for properties, the multiple meta elements needs to be arranged with the\n legacy values after the newer values.\n\n##### 4.2.5.2 Other metadata names\n\nAnyone can create and use their own extensions to the\n predefined set of metadata names. There is no requirement to register such extensions.\n\nHowever, a new metadata name should not be created in any of the following cases:\n\n- If either the name is a [URL](https://url.spec.whatwg.org/#concept-url), or the value of its accompanying `content` attribute is a [URL](https://url.spec.whatwg.org/#concept-url); in those cases,\n registering it as an extension to the predefined set of\n link types is encouraged (rather than creating a new metadata name).\n- If the name is for something expected to have processing requirements in user agents; in\n that case it ought to be standardized.\n\nAlso, before creating and using a new metadata name, consulting the [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions) is\n encouraged — to avoid choosing a metadata name that's already in use, and to avoid duplicating the\n purpose of any metadata names that are already in use, and to avoid new standardized names\n clashing with your chosen name. [WHATWGWIKI]\n\nAnyone is free to edit the WHATWG Wiki MetaExtensions page at any time to add a metadata name.\n New metadata names can be specified with the following information:\n\nKeyword\n\nThe actual name being defined. The name should not be confusingly similar to any other\n defined name (e.g. differing only in case).\n\nBrief description\n\nA short non-normative description of what the metadata name's meaning is, including the\n format the value is required to be in.\n\nSpecification\n\nA link to a more detailed description of the metadata name's semantics and requirements. It\n could be another page on the wiki, or a link to an external page.\n\nSynonyms\n\nA list of other names that have exactly the same processing requirements. Authors should\n not use the names defined to be synonyms (they are only intended to allow user agents to support\n legacy content). Anyone may remove synonyms that are not used in practice; only names that need to\n be processed as synonyms for compatibility with legacy content are to be registered in this\n way.\n\nStatus\n\nOne of the following: Proposed\n\nThe name has not received wide peer review and approval. Someone has proposed it and is, or\n soon will be, using it.\n\nRatified\n\nThe name has received wide peer review and approval. It has a specification that\n unambiguously defines how to handle pages that use the name, including when they use it in\n incorrect ways.\n\nDiscontinued\n\nThe metadata name has received wide peer review and it has been found wanting. Existing\n pages are using this metadata name, but new pages should avoid it. The \"brief description\" and\n \"specification\" entries will give details of what authors should use instead, if anything.\n\nIf a metadata name is found to be redundant with existing values, it should be removed and\n listed as a synonym for the existing value.\n\nIf a metadata name is added in the \"proposed\" state for a period of a month or more without\n being used or specified, then it may be removed from the WHATWG Wiki MetaExtensions page.\n\nIf a metadata name is added with the \"proposed\" status and found to be redundant with\n existing values, it should be removed and listed as a synonym for the existing value. If a\n metadata name is added with the \"proposed\" status and found to be harmful, then it should be\n changed to \"discontinued\" status.\n\nAnyone can change the status at any time, but should only do so in accordance with the\n definitions above.\n\n##### 4.2.5.3 Pragma directives\n\nWhen the `http-equiv` attribute is specified on a\n `meta` element, the element is a pragma directive.\n\nDespite the name `http-equiv`, pragma directives are\n almost entirely unrelated to HTTP headers. Implementers and web developers are best off thinking\n of them as entirely separate, and the name as being a historical accident.\n\nIn more detail, although the `refresh`\n keyword has the same processing model as the corresponding ``Refresh`` header, every\n other standardized pragma directive has at least slightly different behavior than the\n similarly-named header. (And usually dramatically-different behavior.)\n\nImplementers or specification writers contemplating adding new document-level pragmas or HTTP\n header-controlled switches should be cautious about this mismatch, and avoid perpetuating the\n existing confusion by adding the same or similar behavior to both an HTTP header and an `http-equiv` pragma. Instead, consider providing only an HTTP\n header, or if an in-document pragma is needed, consider adding a new attribute to\n `meta` similar to the model used by the `charset` attribute. (Note that avoiding in-document pragmas is\n often the better choice, since the DOM is mutable. Thus, even in the simple case where the\n developer does not add, remove, or mutate `meta` elements, the policy will go from\n un-applied to applied during parsing, which can have complex implications.)\n\nThe `http-equiv` attribute is an enumerated\n attribute with the following keywords and states:\n\n| Keyword | Conforming | State | Brief description |\n| --- | --- | --- | --- |\n| `content-language` | No | Content language | Sets the pragma-set default language. |\n| `content-type` | | Encoding declaration | An alternative form of setting the `charset`. |\n| `default-style` | | Default style | Sets the [name](https://drafts.csswg.org/cssom/#css-style-sheet-set-name) of the default\n [CSS style sheet set](https://drafts.csswg.org/cssom/#css-style-sheet-set). |\n| `refresh` | | Refresh | Acts as a timed redirect. |\n| | No | | Has no effect. |\n| `x-ua-compatible` | | X-UA-Compatible | In practice, encourages Internet Explorer to more closely follow the specifications. |\n| `content-security-policy` | | Content security policy | [Enforces](https://w3c.github.io/webappsec-csp/#enforced) a [Content Security\n Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) on a `Document`. |\n\nWhen a `meta` element is inserted\n into the document, if its `http-equiv` attribute is\n present and represents one of the above states, then the user agent must run the algorithm\n appropriate for that state, as described in the following list:\n\nContent language state\n (`http-equiv=\"`content-language`\"`)\n\nThis feature is non-conforming. Authors are encouraged to use the `lang` attribute instead. This pragma sets the pragma-set default language. Until such a pragma is\n successfully processed, there is no pragma-set default language. If the `meta` element has no `content`\n attribute, then return.If the element's `content` attribute contains a\n U+002C COMMA character (,), then return.Let input be the value of the element's `content` attribute.Let position point at the first character of input.[Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.[Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are not [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) from input given position.Let candidate be the string that resulted from the previous\n step.If candidate is the empty string, return. Set the pragma-set default language to candidate. If the value consists of multiple space-separated tokens, tokens after the\n first are ignored. This pragma is almost, but not quite, entirely unlike the HTTP ``[Content-Language](https://httpwg.org/specs/rfc7231.html#header.content-language)`` header of the same name.\n [HTTP]\n\nEncoding declaration state (`http-equiv=\"`content-type`\"`)\n\nThe Encoding declaration state is\n just an alternative form of setting the `charset`\n attribute: it is a character encoding declaration. This state's user\n agent requirements are all handled by the parsing section of the specification. For `meta` elements with an `http-equiv`\n attribute in the Encoding declaration\n state, the `content` attribute must have a value\n that is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for a string that consists of:\n \"`text/html;`\", optionally followed by any number of [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), followed by \"`charset=utf-8`\". A document must not contain both a `meta` element with an `http-equiv` attribute in the Encoding declaration state and a\n `meta` element with the `charset` attribute\n present. The Encoding declaration state may be\n used in [HTML documents](https://dom.spec.whatwg.org/#html-document), but elements with an `http-equiv` attribute in that state must not be used in\n [XML documents](https://dom.spec.whatwg.org/#xml-document).\n\nDefault style state (`http-equiv=\"`default-style`\"`)\n\n [Alternative_style_sheets](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets)Support in one engine only.Firefox3+Safari?Chrome1–48OperaYesEdgeNoEdge (Legacy)?Internet Explorer8+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nThis pragma sets the [name](https://drafts.csswg.org/cssom/#css-style-sheet-set-name) of the default\n [CSS style sheet set](https://drafts.csswg.org/cssom/#css-style-sheet-set). If the `meta` element has no `content`\n attribute, or if that attribute's value is the empty string, then return.[Change the preferred CSS style sheet set name](https://drafts.csswg.org/cssom/#change-the-preferred-css-style-sheet-set-name) with the name being the value\n of the element's `content` attribute.\n [CSSOM]\n\nRefresh state (`http-equiv=\"`refresh`\"`)\n\nThis pragma acts as a timed redirect. A `Document` object has an associated will declaratively\n refresh (a boolean). It is initially false. If the `meta` element has no `content`\n attribute, or if that attribute's value is the empty string, then return.Let input be the value of the element's `content` attribute.Run the shared declarative refresh steps with the `meta`\n element's [node document](https://dom.spec.whatwg.org/#concept-node-document), input, and the `meta`\n element. The shared declarative refresh steps, given a `Document` object\n document, string input, and optionally a `meta` element\n meta, are as follows: If document's will declaratively refresh is true, then\n return.Let position point at the first [code point](https://infra.spec.whatwg.org/#code-point) of\n input.[Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.Let time be 0.[Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) from\n input given position, and let timeString be the\n result. If timeString is the empty string: If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is not U+002E (.), then return. Otherwise, set time to the result of parsing timeString using the\n rules for parsing non-negative integers.[Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit) and\n U+002E FULL STOP characters (.) from input given position. Ignore any\n collected characters.Let urlRecord be document's [URL](https://dom.spec.whatwg.org/#concept-document-url). If position is not past the end of input: If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is not U+003B (;), U+002C (,), or [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), then return.[Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is U+003B (;) or U+002C (,), then advance position to the next [code\n point](https://infra.spec.whatwg.org/#code-point).[Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position. If position is not past the end of input: Let urlString be the substring of input from the\n [code point](https://infra.spec.whatwg.org/#code-point) at position to the end of the string.If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is U+0055 (U) or U+0075 (u), then advance position to the next [code\n point](https://infra.spec.whatwg.org/#code-point). Otherwise, jump to the step labeled *skip quotes*.If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is U+0052 (R) or U+0072 (r), then advance position to the next [code\n point](https://infra.spec.whatwg.org/#code-point). Otherwise, jump to the step labeled *parse*.If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is U+004C (L) or U+006C (l), then advance position to the next [code\n point](https://infra.spec.whatwg.org/#code-point). Otherwise, jump to the step labeled *parse*.[Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by position\n is U+003D (=), then advance position to the next [code point](https://infra.spec.whatwg.org/#code-point).\n Otherwise, jump to the step labeled *parse*.[Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input given\n position.*Skip quotes*: If the [code point](https://infra.spec.whatwg.org/#code-point) in input pointed to by\n position is U+0027 (') or U+0022 (\"), then let quote be that [code\n point](https://infra.spec.whatwg.org/#code-point), and advance position to the next [code point](https://infra.spec.whatwg.org/#code-point). Otherwise,\n let quote be the empty string.Set urlString to the substring of input from the [code\n point](https://infra.spec.whatwg.org/#code-point) at position to the end of the string.If quote is not the empty string, and there is a [code point](https://infra.spec.whatwg.org/#code-point) in\n urlString equal to quote, then truncate urlString at that\n [code point](https://infra.spec.whatwg.org/#code-point), so that it and all subsequent [code\n points](https://infra.spec.whatwg.org/#code-point) are removed. *Parse*: Set urlRecord to the result of encoding-parsing a\n URL given urlString, relative to document.If urlRecord is failure, then return.If urlRecord's [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is \"`javascript`\", then return. Set document's will declaratively refresh to true. Perform one or more of the following steps: After the refresh has come due (as defined below), if the user has not canceled the\n redirect and, if meta is given, document's active sandboxing\n flag set does not have the sandboxed automatic features browsing context\n flag set, then navigate document's node navigable to urlRecord using\n document, with *historyHandling* set to \"`replace`\". For the purposes of the previous paragraph, a refresh is said to have come due as soon as\n the *later* of the following two conditions occurs: At least time seconds have elapsed since document's\n completely loaded time, adjusted to take into account user or user agent\n preferences.If meta is given, at least time seconds have elapsed since\n meta was inserted into the\n document document, adjusted to take into account user or user agent\n preferences. It is important to use document here, and not meta's\n [node document](https://dom.spec.whatwg.org/#concept-node-document), as that might have changed between the initial set of steps and\n the refresh coming due and meta is not always given (in case of the HTTP\n ``Refresh`` header). Provide the user with an interface that, when selected, navigates document's node\n navigable to urlRecord using document.Do nothing. In addition, the user agent may, as with anything, inform the user of any and all aspects\n of its operation, including the state of any timers, the destinations of any timed redirects,\n and so forth. For `meta` elements with an `http-equiv` attribute in the Refresh state, the `content` attribute must have a value consisting either of: just a valid non-negative integer, ora valid non-negative integer, followed by a U+003B SEMICOLON character\n (;), followed by one or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), followed by a substring that is\n an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string \"`URL`\",\n followed by a U+003D EQUALS SIGN character (=), followed by a [valid URL string](https://url.spec.whatwg.org/#valid-url-string)\n that does not start with a literal U+0027 APOSTROPHE (') or U+0022 QUOTATION MARK (\")\n character. In the former case, the integer represents a number of seconds before the page is to be\n reloaded; in the latter case the integer represents a number of seconds before the page is to be\n replaced by the page at the given [URL](https://url.spec.whatwg.org/#concept-url). A news organization's front page could include the following markup in the page's\n `head` element, to ensure that the page automatically reloads from the server every\n five minutes: `` A sequence of pages could be used as an automated slide show by making each page refresh to\n the next page in the sequence, using markup such as the following: ``\n\n(`http-equiv=\"\"`)\n\nThis pragma is non-conforming and has no effect. User agents are required to ignore this pragma.\n\nX-UA-Compatible state (`http-equiv=\"`x-ua-compatible`\"`)\n\nIn practice, this pragma encourages Internet Explorer to more closely follow the\n specifications. For `meta` elements with an `http-equiv`\n attribute in the X-UA-Compatible state, the\n `content` attribute must have a value that is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string \"`IE=edge`\". User agents are required to ignore this pragma.\n\nContent security policy state (`http-equiv=\"`content-security-policy`\"`)\n\nThis pragma [enforces](https://w3c.github.io/webappsec-csp/#enforced) a [Content Security\n Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) on a `Document`. [CSP] If the `meta` element is not a child of a `head` element,\n return.If the `meta` element has no `content`\n attribute, or if that attribute's value is the empty string, then return.Let policy be the result of executing Content Security Policy's [parse\n a serialized Content Security Policy](https://w3c.github.io/webappsec-csp/#parse-serialized-policy) algorithm on the `meta` element's\n `content` attribute's value, with a source of \"meta\",\n and a disposition of \"enforce\".Remove all occurrences of the `[report-uri](https://w3c.github.io/webappsec-csp/#report-uri)`, `[frame-ancestors](https://w3c.github.io/webappsec-csp/#frame-ancestors)`, and `[sandbox](https://w3c.github.io/webappsec-csp/#sandbox)` [directives](https://w3c.github.io/webappsec-csp/#directives) from policy.[Enforce the policy](https://w3c.github.io/webappsec-csp/#enforced) policy. For `meta` elements with an `http-equiv`\n attribute in the Content security\n policy state, the `content` attribute must have a\n value consisting of a [valid Content Security\n Policy](https://w3c.github.io/webappsec-csp/#grammardef-serialized-policy), but must not contain any `[report-uri](https://w3c.github.io/webappsec-csp/#report-uri)`,\n `[frame-ancestors](https://w3c.github.io/webappsec-csp/#frame-ancestors)`, or `[sandbox](https://w3c.github.io/webappsec-csp/#sandbox)` [directives](https://w3c.github.io/webappsec-csp/#directives).\n The [Content Security Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) given in the `content` attribute will be [enforced](https://w3c.github.io/webappsec-csp/#enforced) upon the current document. [CSP] At the time of inserting the `meta` element to the document, it is\n possible that some resources have already been fetched. For example, images might be stored in\n the list of available images prior to dynamically inserting a `meta`\n element with an `http-equiv` attribute in the Content security policy state.\n Resources that have already been fetched are not guaranteed to be blocked by a [Content\n Security Policy](https://w3c.github.io/webappsec-csp/#content-security-policy-object) that's [enforced](https://w3c.github.io/webappsec-csp/#enforced) late. A page might choose to mitigate the risk of cross-site scripting attacks by preventing the\n execution of inline JavaScript, as well as blocking all plugin content, using a policy such\n as the following:\n\n ``\n\nThere must not be more than one `meta` element with any particular state in the\n document at a time.\n\n##### 4.2.5.4 Specifying the document's character encoding\n\nA character encoding declaration is a mechanism by which the [character encoding](https://encoding.spec.whatwg.org/#encoding) used to store or transmit a document is specified.\n\nThe Encoding standard requires use of the [UTF-8](https://encoding.spec.whatwg.org/#utf-8) [character\n encoding](https://encoding.spec.whatwg.org/#encoding) and requires use of the \"`utf-8`\" [encoding label](https://encoding.spec.whatwg.org/#label)\n to identify it. Those requirements necessitate that the document's character encoding\n declaration, if it exists, specifies an [encoding label](https://encoding.spec.whatwg.org/#label) using an [ASCII\n case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for \"`utf-8`\". Regardless of whether a\n character encoding declaration is present or not, the actual [character encoding](https://dom.spec.whatwg.org/#concept-document-encoding) used to encode the document must be\n [UTF-8](https://encoding.spec.whatwg.org/#utf-8). [ENCODING]\n\nTo enforce the above rules, authoring tools must default to using [UTF-8](https://encoding.spec.whatwg.org/#utf-8)\n for newly-created documents.\n\nThe following restrictions also apply:\n\n- The character encoding declaration must be serialized without the use of character references or character escapes of any kind.\n- The element containing the character encoding\n declaration must be serialized completely within the first 1024 bytes of the\n document.\n\nIn addition, due to a number of restrictions on `meta` elements, there can only be\n one `meta`-based character encoding declaration per document.\n\nIf an [HTML document](https://dom.spec.whatwg.org/#html-document) does not start with a BOM, and its\n [encoding](https://encoding.spec.whatwg.org/#encoding) is not explicitly given by Content-Type\n metadata, and the document is not an `iframe` `srcdoc` document, then the encoding must be specified\n using a `meta` element with a `charset` attribute\n or a `meta` element with an `http-equiv`\n attribute in the Encoding declaration\n state.\n\nA character encoding declaration is required (either in the Content-Type metadata or explicitly in the file) even when all\n characters are in the ASCII range, because a character encoding is needed to process non-ASCII\n characters entered by the user in forms, in URLs generated by scripts, and so forth.\n\nUsing non-UTF-8 encodings can have unexpected results on form submission and URL encodings,\n which use the [document's character encoding](https://dom.spec.whatwg.org/#concept-document-encoding) by default.\n\nIf the document is an `iframe` `srcdoc`\n document, the document must not have a character encoding declaration. (In\n this case, the source is already decoded, since it is part of the document that contained the\n `iframe`.)\n\nIn XML, the XML declaration should be used for inline character encoding information, if\n necessary.\n\nIn HTML, to declare that the character encoding is [UTF-8](https://encoding.spec.whatwg.org/#utf-8), the author could\n include the following markup near the top of the document (in the `head` element):\n\n```\n\n```\n\nIn XML, the XML declaration would be used instead, at the very top of the markup:\n\n```\n\n```\n\n#### 4.2.6 The `style` element\n\n[Element/style](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera3.5+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer3+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\n[HTMLStyleElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLStyleElement/media](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/media)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nMetadata content.\n\nContexts in which this element can be used:\n\nWhere metadata content is expected.\n\nIn a `noscript` element that is a child of a `head` element.\n\nContent model:\n\nText that gives a [conformant style sheet](https://drafts.csswg.org/css-syntax/#w3c-conformance-classes).\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`media` — Applicable media\n\n`blocking` — Whether the element is potentially render-blocking\n\nAlso, the `title` attribute has special semantics on this element: [CSS style sheet set name](https://drafts.csswg.org/cssom/#css-style-sheet-set-name)\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-style).\n\n[For implementers](https://w3c.github.io/html-aam/#el-style).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLStyleElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n attribute boolean disabled;\n [CEReactions, Reflect] attribute DOMString media;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) blocking;\n\n // also has obsolete members\n};\nHTMLStyleElement includes [LinkStyle](https://drafts.csswg.org/cssom/#the-linkstyle-interface);`\n\nThe `style` element allows authors to embed CSS style sheets in their documents.\n The `style` element is one of several inputs to the styling processing\n model. The element does not represent content for the\n user.\n\n[HTMLStyleElement/disabled](https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement/disabled)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)13+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `disabled` getter steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this) does not have an [associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet), return\n false.\n2. If [this](https://webidl.spec.whatwg.org/#this)'s [associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet)'s [disabled flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-disabled-flag) is set, return true.\n3. Return false.\n\nThe `disabled` setter steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this) does not have an [associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet),\n return.\n2. If the given value is true, set [this](https://webidl.spec.whatwg.org/#this)'s [associated CSS style\n sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet)'s [disabled flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-disabled-flag).\n Otherwise, unset [this](https://webidl.spec.whatwg.org/#this)'s [associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet)'s [disabled flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-disabled-flag).\n\nImportantly, `disabled` attribute assignments only take\n effect when the `style` element has an [associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet):\n\n```\nconst style = document.createElement('style');\nstyle.disabled = true;\nstyle.textContent = 'body { background-color: red; }';\ndocument.body.append(style);\nconsole.log(style.disabled); // false\n```\n\nThe `media` attribute\n says which media the styles apply to. The value must be a valid media query list.\n The user agent must apply the styles when the `media` attribute's value matches the environment and\n the other relevant conditions apply, and must not apply them otherwise.\n\nThe styles might be further limited in scope, e.g. in CSS with the use of `@media` blocks. This specification does not override such further restrictions or\n requirements.\n\nThe default, if the `media`\n attribute is omitted, is \"`all`\", meaning that by default styles apply to all\n media.\n\nThe `blocking`\n attribute is a blocking attribute.\n\n[Alternative_style_sheets](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets)\n\nSupport in one engine only.\n\nFirefox3+ Safari? Chrome1–48\n\n---\n\nOperaYes EdgeNo\n\n---\n\nEdge (Legacy)? Internet Explorer8+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `title` attribute on `style` elements defines\n [CSS style sheet sets](https://drafts.csswg.org/cssom/#css-style-sheet-set). If the `style` element\n has no `title` attribute, then it has no title; the `title` attribute of ancestors does not apply to the `style`\n element. If the `style` element is not [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree), then the `title` attribute is ignored. [CSSOM]\n\nThe `title` attribute on `style`\n elements, like the `title` attribute on `link`\n elements, differs from the global `title` attribute in that a\n `style` block without a title does not inherit the title of the parent element: it\n merely has no title.\n\nThe [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) of a `style` element must be that of a\n [conformant style sheet](https://drafts.csswg.org/css-syntax/#w3c-conformance-classes).\n\nA `style` element is implicitly potentially render-blocking if the\n element was created by its [node document](https://dom.spec.whatwg.org/#concept-node-document)'s parser.\n\n---\n\nThe user agent must run the update a `style` block algorithm whenever\n any of the following conditions occur:\n\n- The element is popped off the stack of open elements of an HTML\n parser or XML parser.\n- The element is not on the stack of open elements of an HTML\n parser or XML parser, and it becomes connected or disconnected.\n- The element is not on the stack of open elements of an HTML\n parser or XML parser, and its [children changed steps](https://dom.spec.whatwg.org/#concept-node-children-changed-ext)\n run.\n\nThe update a `style` block algorithm is as follows:\n\n1. Let element be the `style` element.\n2. If element has an [associated CSS style sheet](https://drafts.csswg.org/cssom/#associated-css-style-sheet), [remove the CSS style sheet](https://drafts.csswg.org/cssom/#remove-a-css-style-sheet) in question.\n3. If element is not [connected](https://dom.spec.whatwg.org/#connected), then return.\n4. If element's `type` attribute is present and\n its value is neither the empty string nor an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for\n \"`text/css`\", then return. In particular, a `type` value with\n parameters, such as \"`text/css; charset=utf-8`\", will cause this algorithm\n to return early.\n5. If the [Should element's inline behavior be blocked by Content Security\n Policy?](https://w3c.github.io/webappsec-csp/#should-block-inline) algorithm returns \"`Blocked`\" when executed upon\n element, \"`style`\", and element's\n [child text content](https://dom.spec.whatwg.org/#concept-child-text-content), then return. [CSP]\n6. [Create a CSS style sheet](https://drafts.csswg.org/cssom/#create-a-css-style-sheet) with the following properties: [type](https://drafts.csswg.org/cssom/#concept-css-style-sheet-type)`text/css`[owner node](https://drafts.csswg.org/cssom/#concept-css-style-sheet-owner-node)element[media](https://drafts.csswg.org/cssom/#concept-css-style-sheet-media) The `media` attribute of element. This is a reference to the (possibly absent at this time) attribute, rather\n than a copy of the attribute's current value. CSSOM defines what happens\n when the attribute is dynamically set, changed, or removed. [title](https://drafts.csswg.org/cssom/#concept-css-style-sheet-title) The `title` attribute of element, if\n element is [in a document tree](https://dom.spec.whatwg.org/#in-a-document-tree), or the empty string otherwise. Again, this is a *reference* to the attribute. [alternate flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-alternate-flag)Unset.[origin-clean flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-origin-clean-flag)Set.[location](https://drafts.csswg.org/cssom/#concept-css-style-sheet-location)[parent CSS style sheet](https://drafts.csswg.org/cssom/#concept-css-style-sheet-parent-css-style-sheet)[owner CSS rule](https://drafts.csswg.org/cssom/#concept-css-style-sheet-owner-css-rule)null[disabled flag](https://drafts.csswg.org/cssom/#concept-css-style-sheet-disabled-flag)Left at its default value.[CSS rules](https://drafts.csswg.org/cssom/#concept-css-style-sheet-css-rules) Left uninitialized. This doesn't seem right. Presumably we should be using the element's\n [child text content](https://dom.spec.whatwg.org/#concept-child-text-content)? Tracked as [issue #2997](https://github.com/whatwg/html/issues/2997).\n7. If element contributes a script-blocking style sheet, [append](https://infra.spec.whatwg.org/#set-append) element to its [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n script-blocking style sheet set.\n8. If element's `media` attribute's value\n matches the environment and element is\n potentially render-blocking, then block rendering on\n element.\n\nOnce the attempts to obtain the style sheet's critical subresources, if any, are\n complete, or, if the style sheet has no critical subresources, once the style sheet\n has been parsed and processed, the user agent must run these steps:\n\nFetching the critical subresources is not well-defined; probably [issue #968](https://github.com/whatwg/html/issues/968) is the best resolution for that.\n In the meantime, any critical subresource [request](https://fetch.spec.whatwg.org/#concept-request) should have its [render-blocking](https://fetch.spec.whatwg.org/#request-render-blocking) set to whether or not the\n `style` element is currently render-blocking.\n\n1. Let element be the `style` element associated with the style sheet\n in question.\n2. Let success be true.\n3. If the attempts to obtain any of the style sheet's critical subresources failed\n for any reason (e.g., DNS error, HTTP 404 response, a connection being prematurely closed,\n unsupported Content-Type), set success to false. Note that content-specific errors, e.g., CSS parse errors or PNG decoding\n errors, do not affect success.\n4. Queue an element task on the networking task source given\n element and the following steps:\n 1. If success is true, [fire an event](https://dom.spec.whatwg.org/#concept-event-fire)\n named `load` at element.\n 2. Otherwise, [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at element.\n 3. If element contributes a script-blocking style sheet:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n script-blocking style sheet set [contains](https://infra.spec.whatwg.org/#list-contain) element.\n 2. [Remove](https://infra.spec.whatwg.org/#list-remove) element from its [node\n document](https://dom.spec.whatwg.org/#concept-node-document)'s script-blocking style sheet set.\n 4. Unblock rendering on element.\n\nThe element must delay the load event of the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) until all the\n attempts to obtain the style sheet's critical subresources, if any, are complete.\n\nThis specification does not specify a style system, but CSS is expected to be\n supported by most web browsers. [CSS]\n\nThe `[LinkStyle](https://drafts.csswg.org/cssom/#the-linkstyle-interface)` interface is also implemented by this element. [CSSOM]\n\nThe following document has its stress emphasis styled as bright red text rather than italics\n text, while leaving titles of works and Latin words in their default italics. It shows how using\n appropriate elements enables easier restyling of documents.\n\n```\n My favorite book

My favorite book of all time has got to be\n A Cat's Life. It is a book by P. Rahmel that talks\n about the Felis catus in modern human society.

\n```\n\n#### 4.2.7 Interactions of styling and scripting\n\nIf the style sheet referenced no other resources (e.g., it was an internal style sheet given by\n a `style` element with no `@import` rules), then the style rules\n must be immediately made available to script; otherwise, the style rules must only be\n made available to script once the event loop reaches its update the\n rendering step.\n\nAn element el in the context of a\n `Document` of an HTML parser or XML parser contributes a\n script-blocking style sheet if all of the following are true:\n\n- el was created by that `Document`'s parser.\n- el is either a `style` element or a `link` element that\n was an external resource link that contributes to the styling\n processing model when the el was created by the parser.\n- el's `media` attribute's value\n matches the environment.\n- el's style sheet was enabled when the element was created by the\n parser.\n- The last time the event loop reached step 1,\n el's [root](https://dom.spec.whatwg.org/#concept-tree-root) was that `Document`.\n- The user agent hasn't given up on loading that particular style sheet yet. A user agent\n may give up on loading a style sheet at any time. Giving up on a style sheet before the style sheet loads, if the style sheet\n eventually does still load, means that the script might end up operating with incorrect\n information. For example, if a style sheet sets the color of an element to green, but a script\n that inspects the resulting style is executed before the sheet is loaded, the script will find\n that the element is black (or whatever the default color is), and might thus make poor choices\n (e.g., deciding to use black as the color elsewhere on the page, instead of green). Implementers\n have to balance the likelihood of a script using incorrect information with the performance impact\n of doing nothing while waiting for a slow network request to finish.\n\nIt is expected that counterparts to the above rules also apply to\n `[](https://www.w3.org/TR/xml-stylesheet/#the-xml-stylesheet-processing-instruction)` PIs. However, this has not yet been thoroughly\n investigated.\n\nA `Document` has a script-blocking style sheet set, which is an [ordered set](https://infra.spec.whatwg.org/#ordered-set), initially empty.\n\nA `Document` document has a style sheet that is blocking\n scripts if the following steps return true:\n\n1. If document's script-blocking style sheet set is not [empty](https://infra.spec.whatwg.org/#list-is-empty), then return true.\n2. If document's node navigable is null, then return false.\n3. Let containerDocument be document's node navigable's\n container document.\n4. If containerDocument is non-null and containerDocument's\n script-blocking style sheet set is not [empty](https://infra.spec.whatwg.org/#list-is-empty),\n then return true.\n5. Return false.\n\nA `Document` has no style sheet that is blocking scripts if it does not\n have a style sheet that is blocking\n scripts.\n\n### 4.3 Sections\n\n[Introduction_to_HTML/Document_and_website_structure#HTML_for_structuring_content](https://developer.mozilla.org/en-US/docs/Web/HTML/Introduction_to_HTML/Document_and_website_structure#HTML_for_structuring_content)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\n#### 4.3.1 The `body` element\n\n[Element/body](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLBodyElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer4+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs the second element in an `html` element.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nA `body` element's start tag can be omitted\n if the element is empty, or if the first thing inside the `body` element is not\n [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) or a comment, except if the\n first thing inside the `body` element is a `meta`, `noscript`,\n `link`, `script`, `style`, or `template` element.\n\nA `body` element's end tag can be omitted if the\n `body` element is not immediately followed by a comment.\n\nContent attributes:\n\nGlobal attributes\n\n`onafterprint`\n\n`onbeforeprint`\n\n`onbeforeunload`\n\n`onhashchange`\n\n`onlanguagechange`\n\n`onmessage`\n\n`onmessageerror`\n\n`onoffline`\n\n`ononline`\n\n`onpageswap`\n\n`onpagehide`\n\n`onpagereveal`\n\n`onpageshow`\n\n`onpopstate`\n\n`onrejectionhandled`\n\n`onstorage`\n\n`onunhandledrejection`\n\n`onunload`\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-body).\n\n[For implementers](https://w3c.github.io/html-aam/#el-body).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLBodyElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};\n\nHTMLBodyElement includes WindowEventHandlers;`\n\nThe `body` element represents the contents of the document.\n\nIn conforming documents, there is only one `body` element. The `document.body` IDL attribute provides scripts with easy access to\n a document's `body` element.\n\nSome DOM operations (for example, parts of the drag and drop model)\n are defined in terms of \"the body element\". This refers to a particular element in\n the DOM, as per the definition of the term, and not any arbitrary `body` element.\n\nThe `body` element exposes as event handler content attributes a number\n of the event handlers of the `Window` object. It also mirrors their\n event handler IDL attributes.\n\nThe event handlers of the `Window` object named by the\n `Window`-reflecting body element event handler set, exposed on the\n `body` element, replace the generic event handlers with the same names\n normally supported by HTML elements.\n\nThus, for example, a bubbling `error` event\n dispatched on a child of the body element of a `Document` would first\n trigger the `onerror` event handler content\n attributes of that element, then that of the root `html` element, and only\n *then* would it trigger the `onerror` event handler content attribute on the\n `body` element. This is because the event would bubble from the target, to the\n `body`, to the `html`, to the `Document`, to the\n `Window`, and the event handler on the\n `body` is watching the `Window` not the `body`. A regular event\n listener attached to the `body` using `addEventListener()`,\n however, would be run when the event bubbled through the `body` and not when it reaches\n the `Window` object.\n\nThis page updates an indicator to show whether or not the user is online:\n\n```\n Online or offline?

You are: (Unknown)

\n```\n\n#### 4.3.2 The `article` element\n\n[Element/article](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\nCategories:\n\nFlow content.\n\nSectioning content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere sectioning content is expected.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-article).\n\n[For implementers](https://w3c.github.io/html-aam/#el-article).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `article` element represents a complete, or self-contained,\n composition in a document, page, application, or site and that is, in principle, independently\n distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or\n newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any\n other independent item of content.\n\nWhen `article` elements are nested, the inner `article` elements\n represent articles that are in principle related to the contents of the outer article. For\n instance, a blog entry on a site that accepts user-submitted comments could represent the comments\n as `article` elements nested within the `article` element for the blog\n entry.\n\nAuthor information associated with an `article` element (q.v. the\n `address` element) does not apply to nested `article` elements.\n\nWhen used specifically with content to be redistributed in syndication, the\n `article` element is similar in purpose to the `entry` element in\n Atom. [ATOM]\n\nThe schema.org microdata vocabulary can be used to provide the publication date\n for an `article` element, using one of the CreativeWork subtypes.\n\nWhen the main content of the page (i.e. excluding footers, headers, navigation blocks, and\n sidebars) is all one single self-contained composition, that content may be marked with an\n `article`, but it is technically redundant in that case (since it's self-evident that\n the page is a single composition, as it is a single document).\n\nThis example shows a blog post using the `article` element, with some schema.org\n annotations:\n\n```\n

The Very First Rule of Life

If there's a microphone anywhere near you, assume it's hot and\n sending whatever you're saying to the world. Seriously.

...

\n```\n\nHere is that same blog post, but showing some of the comments:\n\n```\n

The Very First Rule of Life

If there's a microphone anywhere near you, assume it's hot and\n sending whatever you're saying to the world. Seriously.

...

Comments

Posted by: George Washington

Yeah! Especially when talking about your lobbyist friends!

Posted by: George Hammond

Hey, you have the same first name as me.

\n```\n\nNotice the use of `footer` to give the information for each comment (such as who\n wrote it and when): the `footer` element *can* appear at the start of its\n section when appropriate, such as in this case. (Using `header` in this case wouldn't\n be wrong either; it's mostly a matter of authoring preference.)\n\nIn this example, `article` elements are used to host widgets on a portal page. The\n widgets are implemented as customized built-in\n elements in order to get specific styling and scripted behavior.\n\n```\n eHome Portal

Stocks

Stock Value Delta\n

News

\n```\n\n#### 4.3.3 The `section` element\n\n[Element/section](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\nCategories:\n\nFlow content.\n\nSectioning content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere sectioning content is expected.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-section).\n\n[For implementers](https://w3c.github.io/html-aam/#el-section).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `section` element represents a generic section of a document or\n application. A section, in this context, is a thematic grouping of content, typically with a\n heading.\n\nExamples of sections would be chapters, the various tabbed pages in a tabbed\n dialog box, or the numbered sections of a thesis. A web site's home page could be split into\n sections for an introduction, news items, and contact information.\n\nAuthors are encouraged to use the `article` element instead of the\n `section` element when it would make sense to syndicate the contents of the\n element.\n\nThe `section` element is not a generic\n container element. When an element is needed only for styling purposes or as a convenience for\n scripting, authors are encouraged to use the `div` element instead. A general rule is\n that the `section` element is appropriate only if the element's contents would be\n listed explicitly in the document's outline.\n\nIn the following example, we see an article (part of a larger web page) about apples,\n containing two short sections.\n\n```\n

Apples

Tasty, delicious fruit!

The apple is the pomaceous fruit of the apple tree.

Red Delicious

These bright red apples are the most common found in many\n supermarkets.

Granny Smith

These juicy, green apples make a great filling for\n apple pies.

\n```\n\nHere is a graduation programme with two sections, one for the list of people graduating, and\n one for the description of the ceremony. (The markup in this example features an uncommon style\n sometimes used to minimize the amount of inter-element whitespace.)\n\n```\n Graduation Ceremony Summer 2022

Graduation

Ceremony

Opening Procession

Speech by Valedictorian

Speech by Class President

Presentation of Diplomas

Closing Speech by Headmaster

Graduates

  • Molly Carpenter
  • Anastasia Luccio
  • Ebenezar McCoy
  • Karrin Murphy
  • Thomas Raith
  • Susan Rodriguez
\n```\n\nIn this example, a book author has marked up some sections as chapters and some as appendices,\n and uses CSS to style the headers in these two classes of section differently.\n\n```\n

My Book

A sample with not much content

Published by Dummy Publicorp Ltd.

My First Chapter

This is the first of my chapters. It doesn't say much.

But it has two paragraphs!

It Continues: The Second Chapter

Bla dee bla, dee bla dee bla. Boom.

Chapter Three: A Further Example

It's not like a battle between brightness and earthtones would go\n unnoticed.

But it might ruin my story.

Appendix A: Overview of Examples

These are demonstrations.

Appendix B: Some Closing Remarks

Hopefully this long example shows that you can style\n sections, so long as they are used to indicate actual sections.

\n```\n\n[Element/nav](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\n:\n\nFlow content.\n\nSectioning content.\n\nPalpable content.\n\n:\n\nWhere sectioning content is expected.\n\nContent model:\n\nFlow content.\n\n:\n\nNeither tag is omissible.\n\n:\n\n:\n\n[For authors](https://w3c.github.io/html-aria/#el-nav).\n\n[For implementers](https://w3c.github.io/html-aam/#el-nav).\n\n:\n\n.\n\n:\n\nUses .\n\nThe element a section of a page that links to other\n pages or to parts within the page: a section with navigation links.\n\nNot all groups of links on a page need to be in a element —\n the element is primarily intended for sections that consist of major navigation blocks. In\n particular, it is common for footers to have a short list of links to various pages of a site,\n such as the terms of service, the home page, and a copyright page. The element\n alone is sufficient for such cases; while a element can be used in such cases, it\n is usually unnecessary.\n\nUser agents (such as screen readers) that are targeted at users who can benefit\n from navigation information being omitted in the initial rendering, or who can benefit from\n navigation information being immediately available, can use this element as a way to determine\n what content on the page to initially skip or provide on request (or both).\n\nIn the following example, there are two elements, one for primary navigation\n around the site, and one for secondary navigation around the page itself.\n\n```\n

The Wiki Center Of Exampland

© copyright 1998 Exampland Emperor

\n```\n\nIn the following example, the page has several places where links are present, but only one of\n those places is considered a navigation section.\n\n```\n

Wake up sheeple!

News -\n Blog -\n Forums

Last Modified: 2009-04-01

My Day at the Beach

Today I went to the beach and had a lot of fun.

...more content...

Posted .

...more blog posts...
\n```\n\nYou can also see microdata annotations in the above example that use the schema.org vocabulary\n to provide the publication date and other metadata about the blog post.\n\nA element doesn't have to contain a list, it can contain other kinds of\n content as well. In this navigation block, links are provided in prose:\n\n```\n\n```\n\nIn this example, is used in an email application, to let the user switch\n folders:\n\n```\n

\n```\n\n[Element/aside](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\n:\n\nFlow content.\n\nSectioning content.\n\nPalpable content.\n\n:\n\nWhere sectioning content is expected.\n\nContent model:\n\nFlow content.\n\n:\n\nNeither tag is omissible.\n\n:\n\n:\n\n[For authors](https://w3c.github.io/html-aria/#el-aside).\n\n[For implementers](https://w3c.github.io/html-aam/#el-aside).\n\n:\n\n.\n\n:\n\nUses .\n\nThe element a section of a page that consists of\n content that is tangentially related to the content around the element, and\n which could be considered separate from that content. Such sections are often represented as\n sidebars in printed typography.\n\nThe element can be used for typographical effects like pull quotes or sidebars, for\n advertising, for groups of elements, and for other content that is considered\n separate from the main content of the page.\n\nIt's not appropriate to use the element just for\n parentheticals, since those are part of the main flow of the document.\n\nThe following example shows how an aside is used to mark up background material on Switzerland\n in a much longer news story on Europe.\n\n```\n\n```\n\nThe following example shows how an aside is used to mark up a pull quote in a longer\n article.\n\n```\n...\n\n

He later joined a large company, continuing on the same work.\nI love my job. People ask me what I do for fun when I'm not at\nwork. But I'm paid to do my hobby, so I never know what to\nanswer. Some people wonder what they would do if they didn't have to\nwork... but I know what I would do, because I was unemployed for a\nyear, and I filled that time doing exactly what I do now.

Of course his work — or should that be hobby? —\nisn't his only passion. He also enjoys other pleasures.

\n\n...\n```\n\nThe following extract shows how can be used for blogrolls and other side\n content on a blog:\n\n```\n

My wonderful blog

My tagline

My last post

This is my last post.

My first post

This is my first post.

\n```\n\n#### 4.3.6 The `h1`, `h2`, `h3`, `h4`, `h5`, and `h6`\n elements\n\n[Element/Heading_Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/Heading_Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/Heading_Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/Heading_Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/Heading_Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/Heading_Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLHeadingElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nHeading content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nAs a child of an `hgroup` element.\n\nWhere heading content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-h1-h6).\n\n[For implementers](https://w3c.github.io/html-aam/#el-h1-h6).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLHeadingElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThese elements represent headings for their sections.\n\nThe semantics and meaning of these elements are defined in the section on headings and outlines.\n\nThese elements have a heading level given by the number in their name. The\n heading level corresponds to the levels of nested sections. The `h1`\n element is for a top-level section, `h2` for a subsection, `h3` for a\n sub-subsection, and so on.\n\nAs far as their respective document outlines (their heading and section structures) are\n concerned, these two snippets are semantically equivalent:\n\n```\n

Let's call it a draw(ing surface)

Diving in

Simple shapes

Canvas coordinates

Canvas coordinates diagram

Paths

\n```\n\n```\n

Let's call it a draw(ing surface)

Diving in

Simple shapes

Canvas coordinates

Canvas coordinates diagram

Paths

\n```\n\nAuthors might prefer the former style for its terseness, or the latter style for its\n additional styling hooks. Which is best is purely an issue of preferred authoring style.\n\n#### 4.3.7 The `hgroup` element\n\n[Element/hgroup](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android2.2+ Samsung Internet? Opera Android11.1+\n\nCategories:\n\nFlow content.\n\nHeading content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere heading content is expected.\n\nContent model:\n\nZero or more `p` elements, followed by one `h1`, `h2`,\n `h3`, `h4`, `h5`, or `h6` element, followed by zero\n or more `p` elements, optionally intermixed with script-supporting\n elements.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-hgroup).\n\n[For implementers](https://w3c.github.io/html-aam/#el-hgroup).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `hgroup` element represents a heading and related content. The\n element may be used to group an `h1`–`h6` element with one or more\n `p` elements containing content representing a subheading, alternative title, or\n tagline.\n\nHere are some examples of valid headings contained within an `hgroup` element.\n\n```\n

The reality dysfunction

Space is not the only void

\n```\n\n```\n

Dr. Strangelove

Or: How I Learned to Stop Worrying and Love the Bomb

\n```\n\n[Element/header](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\n:\n\nFlow content.\n\nPalpable content.\n\n:\n\nWhere flow content is expected.\n\nContent model:\n\nFlow content, but with no or element\n descendants.\n\n:\n\nNeither tag is omissible.\n\n:\n\n:\n\nIf there is an ancestor sectioning content element: [for authors](https://w3c.github.io/html-aria/#el-header); [for implementers](https://w3c.github.io/html-aam/#el-header).\n\nOtherwise: [for authors](https://w3c.github.io/html-aria/#el-header); [for implementers](https://w3c.github.io/html-aam/#el-header-ancestorbody).\n\n:\n\n.\n\n:\n\nUses .\n\nThe element a group of introductory or navigational\n aids.\n\nA element is intended to usually contain a heading\n (an – element or an element), but this is\n not required. The element can also be used to wrap a section's table of\n contents, a search form, or any relevant logos.\n\nHere are some sample headers. This first one is for a game:\n\n```\n

Welcome to...

Voidwars!

\n```\n\nThe following snippet shows how the element can be used to mark\n up a specification's header:\n\n```\n

Fullscreen API

Living Standard — Last Updated 19 October 2015

Participate:
GitHub whatwg/fullscreen
Commits:
GitHub whatwg/fullscreen/commits
\n```\n\nThe element is not sectioning content; it doesn't\n introduce a new section.\n\nIn this example, the page has a page heading given by the element, and two\n subsections whose headings are given by elements. The content after the\n element is still part of the last subsection started in the\n element, because the element doesn't take part in the\n algorithm.\n\n```\n

Little Green Guys With Guns

Important News

To play today's games you will need to update your client.

Games

You have three active games:

\n ...\n```\n\n[Element/footer](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera11.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11.1+\n\n:\n\nFlow content.\n\nPalpable content.\n\n:\n\nWhere flow content is expected.\n\nContent model:\n\nFlow content, but with no or element\n descendants.\n\n:\n\nNeither tag is omissible.\n\n:\n\n:\n\nIf there is an ancestor sectioning content element: [for authors](https://w3c.github.io/html-aria/#el-footer); [for implementers](https://w3c.github.io/html-aam/#el-footer).\n\nOtherwise: [for authors](https://w3c.github.io/html-aria/#el-footer); [for implementers](https://w3c.github.io/html-aam/#el-footer-ancestorbody).\n\n:\n\n.\n\n:\n\nUses .\n\nThe element a footer for its nearest ancestor\n sectioning content element, or for if there is no such\n ancestor. A footer typically contains information about its section such as who wrote it, links\n to related documents, copyright data, and the like.\n\nWhen the element contains entire sections, they appendices, indices, long colophons, verbose license\n agreements, and other such content.\n\nContact information for the author or editor of a section belongs in an\n element, possibly itself inside a . Bylines and other\n information that could be suitable for both a or a can be\n placed in either (or neither). The primary purpose of these elements is merely to help the author\n write self-explanatory markup that is easy to maintain and style; they are not intended to impose\n specific structures on authors.\n\nFooters don't necessarily have to appear at the *end* of a section, though they usually\n do.\n\nWhen there is no ancestor sectioning content element, then it applies to the whole\n page.\n\nThe element is not itself sectioning content; it\n doesn't introduce a new section.\n\nHere is a page with two footers, one at the top and one at the bottom, with the same\n content:\n\n```\n

Lorem ipsum

The ipsum of all lorems

A dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim\n veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex\n ea commodo consequat. Duis aute irure dolor in reprehenderit in\n voluptate velit esse cillum dolore eu fugiat nulla\n pariatur. Excepteur sint occaecat cupidatat non proident, sunt in\n culpa qui officia deserunt mollit anim id est laborum.

\n```\n\nHere is an example which shows the element being used both for a site-wide\n footer and for a section footer.\n\n```\n The Ramblings of a Scientist

The Ramblings of a Scientist

My Favorite Trains

I love my trains. My favorite train of all time is a Köf.

It is fun to see them pull some coal cars because they look so\n dwarfed in comparison.

Published

\n```\n\nSome site designs have what is sometimes referred to as \"fat footers\" — footers that\n contain a lot of material, including images, links to other articles, links to pages for sending\n feedback, special offers... in some ways, a whole \"front page\" in the footer.\n\nThis fragment shows the bottom of a page on a site with a \"fat footer\":\n\n```\n...\n

Copyright © 2015 The Snacker —\n Terms of Service

\n```\n\n#### 4.3.10 The `address` element\n\n[Element/address](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nFlow content, but with no heading\n content descendants, no sectioning content\n descendants, and no , , or\n `address` element descendants.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-address).\n\n[For implementers](https://w3c.github.io/html-aam/#el-address).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `address` element represents the contact information for its\n nearest `article` or `body` element ancestor. If that is the body\n element, then the contact information applies to the document as a whole.\n\nFor example, a page at the W3C web site related to HTML might\n include the following contact information:\n\n```\n
Dave Raggett,\n Arnaud Le Hors,\n contact persons for the W3C HTML Activity
\n```\n\nThe `address` element must not be used to represent arbitrary addresses (e.g. postal\n addresses), unless those addresses are in fact the relevant contact information. (The\n `p` element is the appropriate element for marking up postal addresses in general.)\n\nThe `address` element must not contain information other than contact\n information.\n\nFor example, the following is non-conforming use of the\n `address` element:\n\n```\n
Last Modified: 1999/12/24 23:37:50
\n```\n\nTypically, the `address` element would be included along with other information in a\n element.\n\nThe contact information for a node node is a collection of\n `address` elements defined by the first applicable entry from the following list:\n\nIf node is an `article` element\n\nIf node is a `body` element\n\nThe contact information consists of all the `address` elements that have node as an ancestor and do not have another `body` or\n `article` element ancestor that is a descendant of node.\n\nIf node has an ancestor element that is an `article` element\n\nIf node has an ancestor element that is a `body` element\n\nThe contact information of node is the same as the contact information of\n the nearest `article` or `body` element ancestor, whichever is\n nearest.\n\nIf node's [node document](https://dom.spec.whatwg.org/#concept-node-document) has a body\n element\n\nThe contact information of node is the same as the contact information of\n the body element of the `Document`.\n\nOtherwise\n\nThere is no contact information for node.\n\nUser agents may expose the contact information of a node to the user, or use it for other\n purposes, such as indexing sections based on the sections' contact information.\n\nIn this example the footer contains contact information and a copyright notice.\n\n```\n
\n For more details, contact\n John Smith.\n

© copyright 2038 Example Corp.

\n```\n\n#### 4.3.11 Headings and outlines\n\n`h1`–`h6` elements have a heading level, which is\n given by getting the element's computed\n heading level.\n\nThese elements represent headings. The lower a heading's heading level is, the fewer ancestor\n sections the heading has.\n\nThe outline is all headings in a\n document, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n\nThe outline should be used for generating document outlines, for example when\n generating tables of contents. When creating an interactive table of contents, entries should\n jump the user to the relevant heading.\n\nIf a document has one or more headings, at least a\n single heading within the outline should have\n a heading level of 1.\n\nEach heading following another heading lead in the outline must\n have a heading level that is less than, equal to, or 1 greater than lead's\n heading level.\n\nThe following example is non-conforming:\n\n```\n

Apples

Apples are fruit.

Taste

They taste lovely.

\n```\n\nIt could be written as follows and then it would be conforming:\n\n```\n

Apples

Apples are fruit.

Taste

They taste lovely.

\n```\n\n##### 4.3.11.1 Heading levels & offsets\n\nThe `headingoffset`\n content attribute allows authors to offset heading levels for descendants.\n\nIf the `headingoffset` attribute is specified, it must\n have a value that is a valid non-negative integer between 0 and 8, inclusive.\n\nThe `headingreset`\n content attribute is a boolean attribute. It allows authors to prevent a heading\n offset computation from traversing beyond the element with the attribute.\n\nTo get an element's computed heading level, given an element\n element:\n\n1. Let level be 0.\n2. If element's local name is `h1`, then set\n level to 1.\n3. If element's local name is `h2`, then set\n level to 2.\n4. If element's local name is `h3`, then set\n level to 3.\n5. If element's local name is `h4`, then set\n level to 4.\n6. If element's local name is `h5`, then set\n level to 5.\n7. If element's local name is `h6`, then set\n level to 6.\n8. [Assert](https://infra.spec.whatwg.org/#assert): level is not 0.\n9. Increment level by the result of getting an element's computed heading\n offset given element.\n10. If level is greater than 9, then return 9.\n11. Return level.\n\nTo get an element's computed heading offset, given an element element,\n perform the following steps. They return a non-negative integer.\n\n1. Let offset be 0.\n2. Let inclusiveAncestor be element.\n3. While inclusiveAncestor is not null:\n 1. Let nextOffset be 0.\n 2. If inclusiveAncestor is an HTML element and\n has a `headingoffset` attribute, then parse its value\n using the rules for parsing non-negative integers. If the result of parsing the value is not an error, then set nextOffset to that\n value.\n 3. Increment offset by nextOffset.\n 4. If inclusiveAncestor is an HTML element\n and has a `headingreset` attribute, then return\n offset.\n 5. If inclusiveAncestor's parent is a [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root), then set\n inclusiveAncestor to that [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root)'s [host](https://dom.spec.whatwg.org/#concept-documentfragment-host) and [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 6. Set inclusiveAncestor to inclusiveAncestor's [parent\n element](https://dom.spec.whatwg.org/#parent-element).\n4. Return offset.\n\nThis example shows a combination of `headingoffset`,\n `headingreset`, and `[aria-level](https://w3c.github.io/aria/#aria-level)` attributes with comments demonstrating the respective\n heading levels. This example illustrates the various combinations and is not a best practice\n example.\n\n```\n

This is a heading level 1

This is a heading level 2

This is a heading level 3

This is a heading level 1

This is a heading level 2

\n```\n\n##### 4.3.11.2 Sample outlines\n\nThe following markup fragment:\n\n```\n

HTML: Living Standard

Last Updated 12 August 2016

Some intro to the document.

Table of contents

    ...

First section

Some intro to the first section.

\n```\n\n...results in 3 document headings:\n\n1. `

HTML: Living Standard

`\n2. `

Table of contents

`.\n3. `

First section

`.\n\nA rendered view of the outline might look like:\n\nFirst, here is a document, which is a book with very short chapters and subsections:\n\n```\n The Tax Book (all in one page)

The Tax Book

Earning money

Earning money is good.

Getting a job

To earn money you typically need a job.

Spending money

Spending is what money is mainly used for.

Cheap things

Buying cheap things often not cost-effective.

Expensive things

The most expensive thing is often not the most cost-effective either.

Investing money

You can lend your money to other people.

Losing money

If you spend money or invest money, sooner or later you will lose money.\n

Poor judgement

Usually if you lose money it's because you made a mistake.

\n```\n\nIts outline could be presented as follows:\n\n1. The Tax Book\n 1. Earning money\n 1. Getting a job\n 2. Spending money\n 1. Cheap things\n 2. Expensive things\n 3. Investing money\n 4. Losing money\n 1. Poor judgement\n\nNotice that the `title` element is not a heading.\n\nA document can contain multiple top-level headings:\n\n```\n Alphabetic Fruit

Apples

Pomaceous.

Bananas

Edible.

Carambola

Star.

\n```\n\nThe document's outline could be presented as follows:\n\n1. Apples\n2. Bananas\n3. Carambola\n\nelements do not influence the outline of a\n document:\n\n```\n We're adopting a child! — Ray's blog

Ray's blog

We're adopting a child!

As of today, Janine and I have signed the papers to become\n the proud parents of baby Diane! We've been looking forward to\n this day for weeks.

\n```\n\nThe document's outline could be presented as follows:\n\n1. Ray's blog\n 1. We're adopting a child!\n\n---\n\nThe following example is conforming, but not encouraged as it has no heading whose heading level is 1:\n\n```\n Alphabetic Fruit

Apples

Pomaceous.

Bananas

Edible.

Carambola

Star.

\n```\n\nThe document's outline could be presented as follows:\n\n1.\n 1. Apples\n 2. Bananas\n 3. Carambola\n\nThe following example is conforming, but not encouraged as the first heading's heading level is not 1:\n\n```\n Feathers on The Site of Encyclopedic Knowledge

A plea from our caretakers

Please, we beg of you, send help! We're stuck in the server room!

Feathers

Epidermal growths.

\n```\n\nThe document's outline could be presented as follows:\n\n1.\n 1. A plea from our caretakers\n2. Feathers\n\n##### 4.3.11.3 Exposing outlines to users\n\nUser agents are encouraged to expose page outlines to users to\n aid in navigation. This is especially true for non-visual media, e.g. screen readers.\n\nFor instance, a user agent could map the arrow keys as follows:\n\nShift + ← Left\n\nGo to previous heading\n\nShift + → Right\n\nGo to next heading\n\nShift + ↑ Up\n\nGo to next heading whose level is one less than the\n current heading's level\n\nShift + ↓ Down\n\nGo to next heading whose level is the same as the\n current heading's level\n\n#### 4.3.12 Usage summary\n\n*This section is non-normative.*\n\n| Element | Purpose |\n| --- | --- |\n| Example | |\n| `body` | The contents of the document. |\n| ` Steve Hill's Home Page ****

Hard Trance is My Life.

**** ` | |\n| `article` | A complete, or self-contained,\n composition in a document, page, application, or site and that is, in principle, independently\n distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or\n newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any\n other independent item of content. |\n| `**
** \"Yellow

My fave Masif tee so far!

Posted 2 days ago
**
** **
** \"\"

Happy 2nd birthday Masif Saturdays!!!

Posted 3 weeks ago
**
**` | |\n| `section` | A generic section of a document or\n application. A section, in this context, is a thematic grouping of content, typically with a\n heading. |\n| `

Biography

**
**

The facts

1500+ shows, 14+ countries

**
** **
**

2010/2011 figures per year

100+ shows, 8+ countries

**
**` | |\n| | A section of a page that links to other\n pages or to parts within the page: a section with navigation links. |\n| `****` | |\n| | A section of a page that consists of\n content that is tangentially related to the content around the element, and\n which could be considered separate from that content. Such sections are often represented as\n sidebars in printed typography. |\n| `

Music

As any burner can tell you, the event has a lot of trance.

****

This year we played a kind of trance that originated in Belgium, Germany, and the Netherlands in the mid-90s.

` | |\n| `h1`–`h6` | A heading |\n| `**

**The Guide To Music On The Playa**

** **

**The Main Stage**

**

If you want to play on a stage, you should bring one.

**

**Amplified Music**

**

Amplifiers up to 300W or 90dB are welcome.

` | |\n| `hgroup` | A heading and related content. The\n element may be used to group an `h1`–`h6` element with one or more\n `p` elements containing content representing a subheading, alternative title, or\n tagline. |\n| `**
**

Burning Music

The Guide To Music On The Playa

**
**
**
**

Main Stage

The Fiction Of A Music Festival

**
**

If you want to play on a stage, you should bring one.

**
**

Loudness!

Questions About Amplified Music

**
**

Amplifiers up to 300W or 90dB are welcome.

` | |\n| | A group of introductory or navigational\n aids. |\n| `
**
**

Hard Trance is My Life

By DJ Steve Hill and Technikal

**
**

The album with the amusing punctuation has red artwork.

` | |\n| | A footer for its nearest ancestor\n sectioning content element, or for the body element if there is no such\n ancestor. A footer typically contains information about its section such as who wrote it, links\n to related documents, copyright data, and the like. |\n| `

Hard Trance is My Life

The album with the amusing punctuation has red artwork.

**
**

Artists: DJ Steve Hill and Technikal

**
**
` | |\n\n##### 4.3.12.1 Article or section?\n\n*This section is non-normative.*\n\nA `section` forms part of something else. An `article` is its own thing.\n But how does one know which is which? Mostly the real answer is \"it depends on author intent\".\n\nFor example, one could imagine a book with a \"Granny Smith\" chapter that just said \"These\n juicy, green apples make a great filling for apple pies.\"; that would be a `section`\n because there'd be lots of other chapters on (maybe) other kinds of apples.\n\nOn the other hand, one could imagine a tweet or reddit comment or tumblr post or newspaper\n classified ad that just said \"Granny Smith. These juicy, green apples make a great filling for\n apple pies.\"; it would then be `article`s because that was the whole thing.\n\nA comment on an article is not part of the `article` on which it is commenting,\n therefore it is its own `article`.\n\n### 4.4 Grouping content\n\n#### 4.4.1 The `p` element\n\n[Element/p](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLParagraphElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nAs a child of an `hgroup` element.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nA `p` element's end tag can be omitted if the\n `p` element is immediately followed by an `address`, `article`,\n , `blockquote`, `details`, `dialog`,\n `div`, `dl`, `fieldset`, `figcaption`,\n `figure`, , `form`, `h1`, `h2`,\n `h3`, `h4`, `h5`, `h6`, ,\n `hgroup`, `hr`, `main`, , ,\n `ol`, `p`, `pre`, `search`, `section`,\n `table`, or `ul` element, or if there is no more content in the parent\n element and the parent element is an HTML element that is not\n an `a`, `audio`, `del`, `ins`, `map`,\n `noscript`, or `video` element, or an autonomous custom\n element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-p).\n\n[For implementers](https://w3c.github.io/html-aam/#el-p).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLParagraphElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `p` element represents a paragraph.\n\nWhile paragraphs are usually represented in visual media by blocks of text that\n are physically separated from adjacent blocks through blank lines, a style sheet or user agent\n would be equally justified in presenting paragraph breaks in a different manner, for instance\n using inline pilcrows (¶).\n\nThe following examples are conforming HTML fragments:\n\n```\n

The little kitten gently seated herself on a piece of\ncarpet. Later in her life, this would be referred to as the time the\ncat sat on the mat.

\n```\n\n```\n
Personal information

\n```\n\n```\n

There was once an example from Femley,
\nWhose markup was of dubious quality.
\nThe validator complained,
\nSo the author was pained,
\nTo move the error from the markup to the rhyming.

\n```\n\nThe `p` element should not be used when a more specific element is more\n appropriate.\n\nThe following example is technically correct:\n\n```\n

Last modified: 2001-04-23

Author: fred@example.com

\n```\n\nHowever, it would be better marked-up as:\n\n```\n
Last modified: 2001-04-23
Author: fred@example.com
\n```\n\nOr:\n\n```\n

Last modified: 2001-04-23

Author: fred@example.com
\n```\n\nList elements (in particular, `ol` and `ul` elements) cannot be children\n of `p` elements. When a sentence contains a bulleted list, therefore, one might wonder\n how it should be marked up.\n\nFor instance, this fantastic sentence has bullets relating to\n\n- wizards,\n- faster-than-light travel, and\n- telepathy,\n\nand is further discussed below.\n\nThe solution is to realize that a *paragraph*, in HTML terms, is not a\n logical concept, but a structural one. In the fantastic example above, there are actually\n *five* paragraphs as defined by this specification: one\n before the list, one for each bullet, and one after the list.\n\nThe markup for the above example could therefore be:\n\n```\n

For instance, this fantastic sentence has bullets relating to

  • wizards,\n
  • faster-than-light travel, and\n
  • telepathy,\n

and is further discussed below.

\n```\n\nAuthors wishing to conveniently style such \"logical\" paragraphs consisting of multiple\n \"structural\" paragraphs can use the `div` element instead of the `p`\n element.\n\nThus for instance the above example could become the following:\n\n```\n
For instance, this fantastic sentence has bullets relating to\n
  • wizards,\n
  • faster-than-light travel, and\n
  • telepathy,\n
\nand is further discussed below.
\n```\n\nThis example still has five structural paragraphs, but now the author can style just the\n `div` instead of having to consider each part of the example separately.\n\n#### 4.4.2 The `hr` element\n\n[Element/hr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLHRElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nAs a descendant of a `select` element.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-hr).\n\n[For implementers](https://w3c.github.io/html-aam/#el-hr).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLHRElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `hr` element represents a paragraph-level thematic\n break, e.g., a scene change in a story, or a transition to another topic within a section of a\n reference book; alternatively, it represents a separator between a set of options of a\n `select` element.\n\nThe following fictional extract from a project manual shows two sections that use the\n `hr` element to separate topics within the section.\n\n```\n

Communication

There are various methods of communication. This section\n covers a few of the important ones used by the project.


Communication stones seem to come in pairs and have mysterious\n properties:

  • They can transfer thoughts in two directions once activated\n if used alone.
  • If used with another device, they can transfer one's\n consciousness to another body.
  • If both stones are used with another device, the\n consciousnesses switch bodies.

Radios use the electromagnetic spectrum in the meter range and\n longer.


Signal flares use the electromagnetic spectrum in the\n nanometer range.

Food

All food at the project is rationed:

Potatoes
Two per day
Soup
One bowl per day

Cooking is done by the chefs on a set rotation.

\n```\n\nThere is no need for an `hr` element between the sections themselves, since the\n `section` elements and the `h1` elements imply thematic changes\n themselves.\n\nThe following extract from Pandora's Star by Peter F. Hamilton shows two\n paragraphs that precede a scene change and the paragraph that follows it. The scene change,\n represented in the printed book by a gap containing a solitary centered star between the second\n and third paragraphs, is here represented using the `hr` element.\n\n```\n

Dudley was ninety-two, in his second life, and fast approaching\ntime for another rejuvenation. Despite his body having the physical\nage of a standard fifty-year-old, the prospect of a long degrading\ncampaign within academia was one he regarded with dread. For a\nsupposedly advanced civilization, the Intersolar Commonwealth could be\nappallingly backward at times, not to mention cruel.

Maybe it won't be that bad, he told himself. The lie was\ncomforting enough to get him through the rest of the night's\nshift.


The Carlton AllLander drove Dudley home just after dawn. Like the\nastronomer, the vehicle was old and worn, but perfectly capable of\ndoing its job. It had a cheap diesel engine, common enough on a\nsemi-frontier world like Gralmond, although its drive array was a\nthoroughly modern photoneural processor. With its high suspension and\ndeep-tread tyres it could plough along the dirt track to the\nobservatory in all weather and seasons, including the metre-deep snow\nof Gralmond's winters.

\n```\n\nThe `hr` element does not affect the document's\n outline.\n\n#### 4.4.3 The `pre` element\n\n[Element/pre](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLPreElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-pre).\n\n[For implementers](https://w3c.github.io/html-aam/#el-pre).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLPreElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `pre` element represents a block of preformatted text, in which\n structure is represented by typographic conventions rather than by elements.\n\nIn the HTML syntax, a leading newline character immediately following\n the `pre` element start tag is stripped.\n\nSome examples of cases where the `pre` element could be used:\n\n- Including an email, with paragraphs indicated by blank lines, lists indicated by lines\n prefixed with a bullet, and so on.\n- Including fragments of computer code, with structure indicated according to the conventions\n of that language.\n- Displaying ASCII art.\n\nAuthors are encouraged to consider how preformatted text will be experienced when\n the formatting is lost, as will be the case for users of speech synthesizers, braille displays,\n and the like. For cases like ASCII art, it is likely that an alternative presentation, such as a\n textual description, would be more universally accessible to the readers of the document.\n\nTo represent a block of computer code, the `pre` element can be used with a\n `code` element; to represent a block of computer output the `pre` element\n can be used with a `samp` element. Similarly, the `kbd` element can be used\n within a `pre` element to indicate text that the user is to enter.\n\nThis element has rendering requirements involving the\n bidirectional algorithm.\n\nIn the following snippet, a sample of computer code is presented.\n\n```\n

This is the Panel constructor:

function Panel(element, canClose, closeHandler) {\n  this.element = element;\n  this.canClose = canClose;\n  this.closeHandler = function () { if (closeHandler) closeHandler() };\n}
\n```\n\nIn the following snippet, `samp` and `kbd` elements are mixed in the\n contents of a `pre` element to show a session of Zork I.\n\n```\n
You are in an open field west of a big white house with a boarded\nfront door.\nThere is a small mailbox here.\n\n> open mailbox Opening the mailbox reveals:\nA leaflet.\n\n>
\n```\n\nThe following shows a contemporary poem that uses the `pre` element to preserve its\n unusual formatting, which forms an intrinsic part of the poem itself.\n\n```\n
                maxling\n\nit is with a          heart\n               heavy\n\nthat i admit loss of a feline\n        so           loved\n\na friend lost to the\n        unknown\n                                (night)\n\n~cdr 11dec07
\n```\n\n#### 4.4.4 The `blockquote` element\n\n[Element/blockquote](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLQuoteElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`cite` — Link to the source of the quotation or more information about the edit\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-blockquote).\n\n[For implementers](https://w3c.github.io/html-aam/#el-blockquote).\n\nSanitization:\n\nDefault with attributes `cite`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLQuoteElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectURL] attribute USVString cite;\n};` The `HTMLQuoteElement` interface is also used by the `q`\n element.\n\nThe `blockquote` element represents a section that is quoted from\n another source.\n\nContent inside a `blockquote` must be quoted from another source, whose address, if\n it has one, may be cited in the `cite` attribute.\n\nIf the `cite` attribute is present, it must be a\n valid URL potentially surrounded by spaces. To obtain the\n corresponding citation link, the value of the attribute must be parsed relative to the element's [node document](https://dom.spec.whatwg.org/#concept-node-document). User agents may\n allow users to follow such citation links, but they are primarily intended for private use (e.g.,\n by server-side scripts collecting statistics about a site's use of quotations), not for\n readers.\n\nThe content of a `blockquote` may be abbreviated or may have context added in the\n conventional manner for the text's language.\n\nFor example, in English this is traditionally done using square brackets. Consider a page with\n the sentence \"Jane ate the cracker. She then said she liked apples and fish.\"; it could be quoted\n as follows:\n\n```\n

[Jane] then said she liked [...] fish.

\n```\n\nAttribution for the quotation, if any, must be placed outside the `blockquote`\n element.\n\nFor example, here the attribution is given in a paragraph after the quote:\n\n```\n

I contend that we are both atheists. I just believe in one fewer\n god than you do. When you understand why you dismiss all the other\n possible gods, you will understand why I dismiss yours.

— Stephen Roberts

\n```\n\nThe other examples below show other ways of showing attribution.\n\nHere a `blockquote` element is used in conjunction with a `figure`\n element and its `figcaption` to clearly relate a quote to its attribution (which is\n not part of the quote and therefore doesn't belong inside the `blockquote`\n itself):\n\n```\n

The truth may be puzzling. It may take some work to grapple with.\n It may be counterintuitive. It may contradict deeply held\n prejudices. It may not be consonant with what we desperately want to\n be true. But our preferences do not determine what's true. We have a\n method, and that method helps us to reach not absolute truth, only\n asymptotic approaches to the truth — never there, just closer\n and closer, always finding vast new oceans of undiscovered\n possibilities. Cleverly designed experiments are the key.

Carl Sagan, in \"Wonder and Skepticism\", from\n the Skeptical Inquirer Volume 19, Issue 1 (January-February\n 1995)
\n```\n\nThis next example shows the use of `cite` alongside `blockquote`:\n\n```\n

His next piece was the aptly named Sonnet 130:

My mistress' eyes are nothing like the sun,
\n Coral is far more red, than her lips red,
\n ...\n```\n\nThis example shows how a forum post could use `blockquote` to show what post a user\n is replying to. The `article` element is used for each post, to mark up the\n threading.\n\n```\n

Bacon on a crowbar

t3yw 12 points 1 hour ago

I bet a narwhal would love that.

greg 8 points 1 hour ago

I bet a narwhal would love that.

Dude narwhals don't eat bacon.

t3yw 15 points 1 hour ago

I bet a narwhal would love that.

Dude narwhals don't eat bacon.

Next thing you'll be saying they don't get capes and wizard\n hats either!

boing -5 points 1 hour ago

narwhals are worse than ceiling cat

fred 1 points 23 minutes ago

I bet a narwhal would love that.

I bet they'd love to peel a banana too.

\n```\n\nThis example shows the use of a `blockquote` for short snippets, demonstrating that\n one does not have to use `p` elements inside `blockquote` elements:\n\n```\n

He began his list of \"lessons\" with the following:

One should never assume that his side of\nthe issue will be recognized, let alone that it will\nbe conceded to have merits.

He continued with a number of similar points, ending with:

Finally, one should be prepared for the threat\nof breakdown in negotiations at any given moment and not\nbe cowed by the possibility.

We shall now discuss these points...\n```\n\nExamples of how to represent a conversation are shown\n in a later section; it is not appropriate to use the `cite` and `blockquote`\n elements for this purpose.\n\n#### 4.4.5 The `ol` element\n\n[Element/ol](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLOListElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nIf the element's children include at least one `li` element: Palpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nZero or more `li` and script-supporting elements.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`reversed` — Number the list backwards\n\n`start` — Starting value of the list\n\n`type` — Kind of list marker\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-ol).\n\n[For implementers](https://w3c.github.io/html-aam/#el-ol).\n\nSanitization:\n\nDefault with attributes `reversed`, `start`, `type`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLOListElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute boolean reversed;\n [CEReactions, Reflect, ReflectDefault=1] attribute long start;\n [CEReactions, Reflect] attribute DOMString type;\n\n // also has obsolete members\n};`\n\nThe `ol` element represents a list of items, where the items have been\n intentionally ordered, such that changing the order would change the meaning of the document.\n\nThe items of the list are the `li` element child nodes of the `ol`\n element, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n\n[Element/ol#attr-reversed](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol#attr-reversed)\n\nSupport in all current engines.\n\nFirefox18+ Safari6+ Chrome18+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)≤79+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `reversed` attribute\n is a boolean attribute. If present, it indicates that the list is a descending list\n (..., 3, 2, 1). If the attribute is omitted, the list is an ascending list (1, 2, 3, ...).\n\nThe `start` attribute, if\n present, must be a valid integer. It is used to determine the starting value of the list.\n\nAn `ol` element has a starting value, which is\n an integer determined as follows:\n\n1. If the `ol` element has a `start` attribute:\n 1. Let parsed be the result of parsing\n the value of the attribute as an integer.\n 2. If parsed is not an error, then return parsed.\n2. If the `ol` element has a `reversed`\n attribute, then return the number of owned `li`\n elements.\n3. Return 1.\n\nThe `type` attribute can be\n used to specify the kind of marker to use in the list, in the cases where that matters (e.g.\n because items are to be referenced by their number/letter). The attribute, if\n specified, must have a value that is [identical to](https://infra.spec.whatwg.org/#string-is) one of the characters given in the\n first cell of one of the rows of the following table. The `type` attribute represents the state given in the cell in the second\n column of the row whose first cell matches the attribute's value; if none of the cells match, or\n if the attribute is omitted, then the attribute represents the decimal state.\n\n| Keyword | State | Description | Examples for values 1-3 and 3999-4001 | | | | | | | |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `1`\n (U+0031) | decimal | Decimal numbers | 1. | 2. | 3. | ... | 3999. | 4000. | 4001. | ... |\n| `a` (U+0061) | lower-alpha | Lowercase latin alphabet | a. | b. | c. | ... | ewu. | ewv. | eww. | ... |\n| `A` (U+0041) | upper-alpha | Uppercase latin alphabet | A. | B. | C. | ... | EWU. | EWV. | EWW. | ... |\n| `i` (U+0069) | lower-roman | Lowercase roman numerals | i. | ii. | iii. | ... | mmmcmxcix. | i̅v̅. | i̅v̅i. | ... |\n| `I` (U+0049) | upper-roman | Uppercase roman numerals | I. | II. | III. | ... | MMMCMXCIX. | I̅V̅. | I̅V̅I. | ... |\n\nUser agents should render the items of the list in a manner consistent with the state of the\n `type` attribute of the `ol` element. Numbers less than\n or equal to zero should always use the decimal system regardless of the `type` attribute.\n\nFor CSS user agents, a mapping for this attribute to the\n ['list-style-type'](https://drafts.csswg.org/css-lists/#propdef-list-style-type) CSS property is given in the Rendering\n section (the mapping is straightforward: the states above have the same names as their\n corresponding CSS values).\n\nIt is possible to redefine the default CSS list styles used to implement this\n attribute in CSS user agents; doing so will affect how list items are rendered.\n\nDue to [ReflectDefault] the `start` IDL attribute does not necessarily match the list's starting value, in cases where the `start` content attribute is omitted and the `reversed` content attribute is specified.\n\nThe following markup shows a list where the order matters, and where the `ol`\n element is therefore appropriate. Compare this list to the equivalent list in the `ul`\n section to see an example of the same items using the `ul` element.\n\n```\n

I have lived in the following countries (given in the order of when\nI first lived there):

  1. Switzerland\n
  2. United Kingdom\n
  3. United States\n
  4. Norway\n
\n```\n\nNote how changing the order of the list changes the meaning of the document. In the following\n example, changing the relative order of the first two items has changed the birthplace of the\n author:\n\n```\n

I have lived in the following countries (given in the order of when\nI first lived there):

  1. United Kingdom\n
  2. Switzerland\n
  3. United States\n
  4. Norway\n
\n```\n\n#### 4.4.6 The `ul` element\n\n[Element/ul](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLUListElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nIf the element's children include at least one `li` element: Palpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nZero or more `li` and script-supporting elements.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-ul).\n\n[For implementers](https://w3c.github.io/html-aam/#el-ul).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLUListElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `ul` element represents a list of items, where the order of the\n items is not important — that is, where changing the order would not materially change the\n meaning of the document.\n\nThe items of the list are the `li` element child nodes of the `ul`\n element.\n\nThe following markup shows a list where the order does not matter, and where the\n `ul` element is therefore appropriate. Compare this list to the equivalent list in the\n `ol` section to see an example of the same items using the `ol`\n element.\n\n```\n

I have lived in the following countries:

  • Norway\n
  • Switzerland\n
  • United Kingdom\n
  • United States\n
\n```\n\nNote that changing the order of the list does not change the meaning of the document. The\n items in the snippet above are given in alphabetical order, but in the snippet below they are\n given in order of the size of their current account balance in 2007, without changing the meaning\n of the document whatsoever:\n\n```\n

I have lived in the following countries:

  • Switzerland\n
  • Norway\n
  • United Kingdom\n
  • United States\n
\n```\n\n[Element/menu](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLMenuElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n:\n\nFlow content.\n\nIf the element's children include at least one element: Palpable content.\n\n:\n\nWhere flow content is expected.\n\nContent model:\n\nZero or more and elements.\n\n:\n\nNeither tag is omissible.\n\n:\n\n:\n\n[For authors](https://w3c.github.io/html-aria/#el-menu).\n\n[For implementers](https://w3c.github.io/html-aam/#el-menu).\n\n:\n\n.\n\n:\n\n`[Exposed=Window]\ninterface HTMLMenuElement : {\n [] constructor();\n\n // also has obsolete members\n};`\n\nThe element a toolbar consisting of its contents, in\n the form of an unordered list of items (represented by elements), each of\n which represents a command that the user can perform or activate.\n\nThe element is simply a semantic alternative to \n to express an unordered list of commands (a \"toolbar\").\n\nIn this example, a text-editing application uses a element to provide a\n series of editing commands:\n\n```\n
  • \n```\n\nNote that the styling to make this look like a conventional toolbar menu is up to the\n application.\n\n#### 4.4.8 The `li` element\n\n[Element/li](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLLIElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nInside `ol` elements.\n\nInside `ul` elements.\n\nInside elements.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nAn `li` element's end tag can be omitted if the\n `li` element is immediately followed by another `li` element or if there is\n no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nIf the element is not a child of an `ul` or element: `value` — Ordinal value of the list item\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-li).\n\n[For implementers](https://w3c.github.io/html-aam/#el-li).\n\nSanitization:\n\nDefault with attributes `value`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLLIElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute long value;\n\n // also has obsolete members\n};`\n\nThe `li` element represents a list item. If its parent element is an\n `ol`, `ul`, or element, then the element is an item of the\n parent element's list, as defined for those elements. Otherwise, the list item has no defined\n list-related relationship to any other `li` element.\n\nThe `value` attribute, if\n present, must be a valid integer. It is used to determine the ordinal\n value of the list item, when the `li`'s list owner is an\n `ol` element.\n\n---\n\nAny element whose [computed value](https://drafts.csswg.org/css-cascade/#computed-value) of ['display'](https://drafts.csswg.org/css2/#display-prop) is 'list-item' has a\n list owner, which is determined as follows:\n\n1. If the element is not being rendered, return null; the element has no\n list owner.\n2. Let ancestor be the element's parent.\n3. If the element has an `ol`, `ul`, or ancestor, set\n ancestor to the closest such ancestor element.\n4. Return the closest inclusive ancestor of ancestor that produces a [CSS\n box](https://drafts.csswg.org/css-display/#css-box). Such an element will always exist, as at the very least the [document\n element](https://dom.spec.whatwg.org/#document-element) will always produce a [CSS box](https://drafts.csswg.org/css-display/#css-box).\n\nTo determine the ordinal value of each element owned by a given list\n owner owner, perform the following steps:\n\n1. Let i be 1.\n2. If owner is an `ol` element, let numbering be\n owner's starting value. Otherwise, let\n numbering be 1.\n3. *Loop*: If i is greater than the number of list items that owner owns, then return; all\n of owner's owned list items have been assigned ordinal values.\n4. Let item be the ith of owner's owned list items, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n5. If item is an `li` element that has a `value` attribute:\n 1. Let parsed be the result of parsing\n the value of the attribute as an integer.\n 2. If parsed is not an error, then set numbering to\n parsed.\n6. The ordinal value of item is numbering.\n7. If owner is an `ol` element, and owner has a `reversed` attribute, decrement numbering by 1;\n otherwise, increment numbering by 1.\n8. Increment i by 1.\n9. Go to the step labeled *loop*.\n\n---\n\nThe element's `value` IDL attribute does not directly\n correspond to its ordinal value; it simply reflects\n the content attribute. For example, given this list:\n\n```\n
    1. Item 1\n
    2. Item 3\n
    3. Item 4\n
    \n```\n\nThe ordinal values are 1, 3, and 4, whereas the `value` IDL attributes return 0, 3, 0 on getting.\n\nThe following example, the top ten movies are listed (in reverse order). Note the way the list\n is given a title by using a `figure` element and its `figcaption`\n element.\n\n```\n
    The top 10 movies of all time
    1. Josie and the Pussycats, 2001
    2. Црна мачка, бели мачор, 1998
    3. A Bug's Life, 1998
    4. Toy Story, 1995
    5. Monsters, Inc, 2001
    6. Cars, 2006
    7. Toy Story 2, 1999
    8. Finding Nemo, 2003
    9. The Incredibles, 2004
    10. Ratatouille, 2007
    \n```\n\nThe markup could also be written as follows, using the `reversed` attribute on the `ol` element:\n\n```\n
    The top 10 movies of all time
    1. Josie and the Pussycats, 2001
    2. Црна мачка, бели мачор, 1998
    3. A Bug's Life, 1998
    4. Toy Story, 1995
    5. Monsters, Inc, 2001
    6. Cars, 2006
    7. Toy Story 2, 1999
    8. Finding Nemo, 2003
    9. The Incredibles, 2004
    10. Ratatouille, 2007
    \n```\n\nWhile it is conforming to include heading elements (e.g. `h1`) inside\n `li` elements, it likely does not convey the semantics that the author intended. A\n heading starts a new section, so a heading in a list implicitly splits the list into spanning\n multiple sections.\n\n#### 4.4.9 The `dl` element\n\n[Element/dl](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLDListElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nIf the element's children include at least one name-value group: Palpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nEither: Zero or more groups each consisting of one or more `dt` elements followed by one or more `dd` elements, optionally intermixed with script-supporting elements.\n\nOr: One or more `div` elements, optionally intermixed with script-supporting elements.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-dl).\n\n[For implementers](https://w3c.github.io/html-aam/#el-dl).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLDListElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `dl` element represents an association list consisting of zero or\n more name-value groups (a description list). A name-value group consists of one or more names\n (`dt` elements, possibly as children of a `div` element child) followed by\n one or more values (`dd` elements, possibly as children of a `div` element\n child), ignoring any nodes other than `dt` and `dd` element children, and\n `dt` and `dd` elements that are children of `div` element\n children. Within a single `dl` element, there should not be more than one\n `dt` element for each name.\n\nName-value groups may be terms and definitions, metadata topics and values, questions and\n answers, or any other groups of name-value data.\n\nThe values within a group are alternatives; multiple paragraphs forming part of the same value\n must all be given within the same `dd` element.\n\nThe order of the list of groups, and of the names and values within each group, may be\n significant.\n\nIn order to annotate groups with microdata attributes, or other global\n attributes that apply to whole groups, or just for styling purposes, each group in a\n `dl` element can be wrapped in a `div` element. This does not change the\n semantics of the `dl` element.\n\nThe name-value groups of a `dl` element dl are determined using the\n following algorithm. A name-value group has a name (a list of `dt` elements, initially\n empty) and a value (a list of `dd` elements, initially empty).\n\n1. Let groups be an empty list of name-value groups.\n2. Let current be a new name-value group.\n3. Let seenDd be false.\n4. Let child be dl's [first child](https://dom.spec.whatwg.org/#concept-tree-first-child).\n5. Let grandchild be null.\n6. While child is not null:\n 1. If child is a `div` element:\n 1. Let grandchild be child's [first child](https://dom.spec.whatwg.org/#concept-tree-first-child).\n 2. While grandchild is not null:\n 1. Process `dt` or `dd` for\n grandchild.\n 2. Set grandchild to grandchild's [next\n sibling](https://dom.spec.whatwg.org/#concept-tree-next-sibling).\n 2. Otherwise, process `dt` or `dd` for\n child.\n 3. Set child to child's [next sibling](https://dom.spec.whatwg.org/#concept-tree-next-sibling).\n7. If current is not empty, then append current to\n groups.\n8. Return groups.\n\nTo process `dt` or `dd` for a node node means to\n follow these steps:\n\n1. Let groups, current, and seenDd be the same variables as\n those of the same name in the algorithm that invoked these steps.\n2. If node is a `dt` element:\n 1. If seenDd is true, then append current to groups, set\n current to a new name-value group, and set seenDd to false.\n 2. Append node to current's name.\n3. Otherwise, if node is a `dd` element, then append node to\n current's value and set seenDd to true.\n\nWhen a name-value group has an empty list as name or value, it is often due to\n accidentally using `dd` elements in the place of `dt` elements and vice\n versa. Conformance checkers can spot such mistakes and might be able to advise authors how to\n correctly use the markup.\n\nIn the following example, one entry (\"Authors\") is linked to two values (\"John\" and\n \"Luke\").\n\n```\n
    Authors\n
    John\n
    Luke\n
    Editor\n
    Frank\n
    \n```\n\nIn the following example, one definition is linked to two terms.\n\n```\n
    color
    colour
    A sensation which (in humans) derives from the ability of\n the fine structure of the eye to distinguish three differently\n filtered analyses of a view.
    \n```\n\nThe following example illustrates the use of the `dl` element to mark up metadata\n of sorts. At the end of the example, one group has two metadata labels (\"Authors\" and \"Editors\")\n and two values (\"Robert Rothman\" and \"Daniel Jackson\"). This example also uses the\n `div` element around the groups of `dt` and `dd` element, to aid\n with styling.\n\n```\n
    Last modified time
    2004-12-23T23:33Z
    Recommended update interval
    60s
    Authors
    Editors
    Robert Rothman
    Daniel Jackson
    \n```\n\nThe following example shows the `dl` element used to give a set of instructions.\n The order of the instructions here is important (in the other examples, the order of the blocks\n was not important).\n\n```\n

    Determine the victory points as follows (use the\nfirst matching case):

    If you have exactly five gold coins
    You get five victory points
    If you have one or more gold coins, and you have one or more silver coins
    You get two victory points
    If you have one or more silver coins
    You get one victory point
    Otherwise
    You get no victory points
    \n```\n\nThe following snippet shows a `dl` element being used as a glossary. Note the use\n of `dfn` to indicate the word being defined.\n\n```\n
    Apartment, n.
    An execution context grouping one or more threads with one or\n more COM objects.
    Flat, n.
    A deflated tire.
    Home, n.
    The user's login directory.
    \n```\n\nThis example uses microdata attributes in a `dl` element, together\n with the `div` element, to annotate the ice cream desserts at a French restaurant.\n\n```\n
    Café ou Chocolat Liégeois\n
    3.50 €
    \n 2 boules Café ou Chocolat, 1 boule Vanille, sauce café ou chocolat, chantilly\n
    Américaine\n
    3.50 €
    \n 1 boule Crème brûlée, 1 boule Vanille, 1 boule Caramel, chantilly\n
    \n```\n\nWithout the `div` element the markup would need to use the `itemref` attribute to link the data in the `dd` elements\n with the item, as follows.\n\n```\n
    Café ou Chocolat Liégeois
    3.50 €
    \n 2 boules Café ou Chocolat, 1 boule Vanille, sauce café ou chocolat, chantilly\n\n
    Américaine
    3.50 €
    \n 1 boule Crème brûlée, 1 boule Vanille, 1 boule Caramel, chantilly\n
    \n```\n\nThe `dl` element is inappropriate for marking up dialogue. See some examples of how to mark up dialogue.\n\n#### 4.4.10 The `dt` element\n\n[Element/dt](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nBefore `dd` or `dt` elements inside `dl` elements.\n\nBefore `dd` or `dt` elements inside `div` elements that are children of a `dl` element.\n\nContent model:\n\nFlow content, but with no , , sectioning content, or heading content descendants.\n\nTag omission in text/html:\n\nA `dt` element's end tag can be omitted if the\n `dt` element is immediately followed by another `dt` element or a\n `dd` element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-dt).\n\n[For implementers](https://w3c.github.io/html-aam/#el-dt).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `dt` element represents the term, or name, part of a\n term-description group in a description list (`dl` element).\n\nThe `dt` element itself, when used in a `dl` element, does\n not indicate that its contents are a term being defined, but this can be indicated using the\n `dfn` element.\n\nThis example shows a list of frequently asked questions (a FAQ) marked up using the\n `dt` element for questions and the `dd` element for answers.\n\n```\n

    FAQ

    What do we want?
    Our data.
    When do we want it?
    Now.
    Where is it?
    We are not sure.
    \n```\n\n#### 4.4.11 The `dd` element\n\n[Element/dd](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAfter `dt` or `dd` elements inside `dl` elements.\n\nAfter `dt` or `dd` elements inside `div` elements that are children of a `dl` element.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nA `dd` element's end tag can be omitted if the\n `dd` element is immediately followed by another `dd` element or a\n `dt` element, or if there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-dd).\n\n[For implementers](https://w3c.github.io/html-aam/#el-dd).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `dd` element represents the description, definition, or value, part\n of a term-description group in a description list (`dl` element).\n\nA `dl` can be used to define a vocabulary list, like in a dictionary. In the\n following example, each entry, given by a `dt` with a `dfn`, has several\n `dd`s, showing the various parts of the definition.\n\n```\n
    happiness
    /ˈhæpinəs/
    n.
    The state of being happy.
    Good fortune; success. Oh happiness! It worked!
    rejoice
    /rɪˈdʒɔɪs/
    v.intr. To be delighted oneself.
    v.tr. To cause one to be delighted.
    \n```\n\n#### 4.4.12 The `figure` element\n\n[Element/figure](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure)\n\nSupport in all current engines.\n\nFirefox4+ Safari5.1+ Chrome8+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nEither: one `figcaption` element followed by flow content.\n\nOr: flow content followed by one `figcaption` element.\n\nOr: flow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-figure).\n\n[For implementers](https://w3c.github.io/html-aam/#el-figure).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `figure` element represents some flow content,\n optionally with a caption, that is self-contained (like a complete sentence) and is typically\n referenced as a single unit from the main flow of the document.\n\n\"Self-contained\" in this context does not necessarily mean independent. For\n example, each sentence in a paragraph is self-contained; an image that is part of a sentence would\n be inappropriate for `figure`, but an entire sentence made of images would be\n fitting.\n\nThe element can thus be used to annotate illustrations, diagrams, photos, code listings,\n etc.\n\nWhen a `figure` is referred to from the main content of the document by identifying\n it by its caption (e.g., by figure number), it enables such content to be easily moved away from\n that primary content, e.g., to the side of the page, to dedicated pages, or to an appendix,\n without affecting the flow of the document.\n\nIf a `figure` element is referenced by its relative position, e.g.,\n \"in the photograph above\" or \"as the next figure shows\", then moving the figure would disrupt the\n page's meaning. Authors are encouraged to consider using labels to refer to figures, rather than\n using such relative references, so that the page can easily be restyled without affecting the\n page's meaning.\n\nThe first `figcaption` element child of the element, if any,\n represents the caption of the `figure` element's contents. If there is no child\n `figcaption` element, then there is no caption.\n\nA `figure` element's contents are part of the surrounding flow. If the purpose of\n the page is to display the figure, for example a photograph on an image sharing site, the\n `figure` and `figcaption` elements can be used to explicitly provide a\n caption for that figure. For content that is only tangentially related, or that serves a separate\n purpose than the surrounding flow, the element should be used (and can itself\n wrap a `figure`). For example, a pull quote that repeats content from an\n `article` would be more appropriate in an than in a\n `figure`, because it isn't part of the content, it's a repetition of the content for\n the purposes of enticing readers or highlighting key topics.\n\nThis example shows the `figure` element to mark up a code listing.\n\n```\n

    In listing 4 we see the primary core interface\nAPI declaration.

    Listing 4. The primary core interface API declaration.
    interface PrimaryCore {\n boolean verifyDataLine();\n undefined sendData(sequence<byte> data);\n undefined initSelfDestruct();\n}

    The API is designed to use UTF-8.

    \n```\n\nHere we see a `figure` element to mark up a photo that is the main content of the\n page (as in a gallery).\n\n```\n Bubbles at work — My Gallery™
    \"Bubbles,
    Bubbles at work
    \n```\n\nIn this example, we see an image that is *not* a figure, as well as an image and a\n video that are. The first image is literally part of the example's second sentence, so it's not a\n self-contained unit, and thus `figure` would be inappropriate.\n\n```\n

    Malinko's comics

    This case centered on some sort of \"intellectual property\"\ninfringement related to a comic (see Exhibit A). The suit started\nafter a trailer ending with these words:\n\n

    \"ROUGH

    ...was aired. A lawyer, armed with a Bigger Notebook, launched a\npreemptive strike using snowballs. A complete copy of the trailer is\nincluded with Exhibit B.\n\n

    \"Two
    Exhibit A. The alleged rough copy comic.
    Exhibit B. The Rough Copy trailer.

    The case was resolved out of court.\n```\n\nHere, a part of a poem is marked up using `figure`.\n\n```\n

    'Twas brillig, and the slithy toves
    \n Did gyre and gimble in the wabe;
    \n All mimsy were the borogoves,
    \n And the mome raths outgrabe.

    Jabberwocky (first verse). Lewis Carroll, 1832-98
    \n```\n\nIn this example, which could be part of a much larger work discussing a castle, nested\n `figure` elements are used to provide both a group caption and individual captions for\n each figure in the group:\n\n```\n
    The castle through the ages: 1423, 1858, and 1999 respectively.
    Etching. Anonymous, ca. 1423.
    \"The
    Oil-based paint on canvas. Maria Towle, 1858.
    \"The
    Film photograph. Peter Jankle, 1999.
    \"The
    \n```\n\nThe previous example could also be more succinctly written as follows (using `title` attributes in place of the nested\n `figure`/`figcaption` pairs):\n\n```\n
    \"The \"The \"The
    The castle through the ages: 1423, 1858, and 1999 respectively.
    \n```\n\nThe figure is sometimes referenced only implicitly from the content:\n\n```\n

    Fiscal negotiations stumble in Congress as deadline nears

    \"Obama
    Barack Obama and Harry Reid. White House press photograph.

    Negotiations in Congress to end the fiscal impasse sputtered on Tuesday, leaving both chambers\n grasping for a way to reopen the government and raise the country's borrowing authority with a\n Thursday deadline drawing near.

    \n ...\n
    \n```\n\n#### 4.4.13 The `figcaption` element\n\n[Element/figcaption](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption)\n\nSupport in all current engines.\n\nFirefox4+ Safari5.1+ Chrome8+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs the first or last child of a `figure` element.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-figcaption).\n\n[For implementers](https://w3c.github.io/html-aam/#el-figcaption).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `figcaption` element represents a caption or legend for the rest of\n the contents of the `figcaption` element's parent `figure` element, if any.\n\nThe element can contain additional information about the source:\n\n```\n

    A duck.

    Photograph courtesy of 🌟 News.

    \n```\n\n```\n

    Average rent for 3-room apartments, excluding non-profit apartments

    Zürich’s Statistics Office —

    \n```\n\n#### 4.4.14 The `main` element\n\n[Element/main](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main)\n\nSupport in all current engines.\n\nFirefox21+ Safari7+ Chrome26+\n\n---\n\nOpera16+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected, but only if it is a hierarchically correct\n `main` element.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-main).\n\n[For implementers](https://w3c.github.io/html-aam/#el-main).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `main` element represents the dominant contents of the\n document.\n\nA document must not have more than one `main` element that does not have the `hidden` attribute specified.\n\nA hierarchically correct `main` element is one whose ancestor elements\n are limited to `html`, `body`, `div`, `form` without\n an [accessible name](https://w3c.github.io/accname/#dfn-accessible-name), and autonomous custom elements. Each `main` element must be a\n hierarchically correct `main` element.\n\nIn this example, the author has used a presentation where each component of the page is\n rendered in a box. To wrap the main content of the page (as opposed to the header, the footer,\n the navigation bar, and a sidebar), the `main` element is used.\n\n```\n RPG System 17

    System Eighteen

    Character creation

    Attributes (magic, strength, agility) are purchased at the cost of one point per level.

    Rolls

    Each encounter, roll the dice for all your skills. If you roll more than the opponent, you win.

    Copyright © 2013\n

    \n```\n\nIn the following example, multiple `main` elements are used and script is used to\n make navigation work without a server roundtrip and to set the `hidden` attribute on those that are not current:\n\n```\n …

    Home

    \n …\n

    About

    \n …\n

    Contact

    \n …\n
    \n```\n\n#### 4.4.15 The `search` element\n\n[Element/search](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search)\n\nNo support in current engines.\n\nFirefoxNo SafariNo ChromeNo\n\n---\n\nOperaNo EdgeNo\n\n---\n\nEdge (Legacy)No Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome AndroidNo WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-search).\n\n[For implementers](https://w3c.github.io/html-aam/#el-search).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `search` element represents a part of a document or application\n that contains a set of form controls or other content related to performing a search or filtering\n operation. This could be a search of the web site or application; a way of searching or filtering\n search results on the current web page; or a global or Internet-wide search function.\n\nIt's not appropriate to use the `search` element just for presenting\n search results, though suggestions and links as part of \"quick search\" results can be\n included as part of a search feature. Rather, a returned web page of search results would instead\n be expected to be presented as part of the main content of that web page.\n\nIn the following example, the author is including a search form within the\n of the web page:\n\n```\n

    My fancy blog

    \n ...\n
    \n```\n\nIn this example, the author has implemented their web application's search functionality\n entirely with JavaScript. There is no use of the `form` element to perform\n server-side submission, but the containing `search` element semantically identifies\n the purpose of the descendant content as representing search capabilities.\n\n```\n

    Results found:

    • Consulting services

      \n Find out how can we help you improve your business with our integrated consultants, Bob and Bob.\n

    • \n ...\n
    \n```\n\nIn the following example, the page has two search features. The first is located in the web page's\n and serves as a global mechanism to search the web site's content. Its purpose is\n indicated by its specified `title` attribute. The second is included as part of the main content\n of the page, as it represents a mechanism to search and filter the content of the current page. It contains\n a heading to indicate its purpose.\n\n```\n
    \n ...\n \n ...\n

    Hotels near your location

    Filter results

    \n ...\n
    \n```\n\n#### 4.4.16 The `div` element\n\n[Element/div](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLDivElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nAs a child of a `dl` element.\n\nAs a descendant of an `option` element, an `optgroup` element, or a `select` element.\n\nContent model:\n\nIf the element is a child of a `dl` element: One or more `dt` elements followed by one or more `dd` elements, optionally intermixed with script-supporting elements.\n\nOtherwise, if the element is a descendant of an `option` element, an\n `optgroup` element, or a `select` element: transparent.\n\nOtherwise: flow content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-div).\n\n[For implementers](https://w3c.github.io/html-aam/#el-div).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLDivElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `div` element has no special meaning at all. It represents its\n children. It can be used with the `class`, `lang`, and `title` attributes to mark up\n semantics common to a group of consecutive elements. It can also be used in a `dl`\n element, wrapping groups of `dt` and `dd` elements.\n\nAuthors are strongly encouraged to view the `div` element as an element\n of last resort, for when no other element is suitable. Use of more appropriate elements instead of\n the `div` element leads to better accessibility for readers and easier maintainability\n for authors.\n\nFor example, a blog post would be marked up using `article`, a chapter using\n `section`, a page's navigation aids using , and a group of form\n controls using `fieldset`.\n\nOn the other hand, `div` elements can be useful for stylistic purposes or to wrap\n multiple paragraphs within a section that are all to be annotated in a similar way. In the\n following example, we see `div` elements used as a way to set the language of two\n paragraphs at once, instead of setting the language on the two paragraph elements separately:\n\n```\n

    My use of language and my cats

    My cat's behavior hasn't changed much since her absence, except\n that she plays her new physique to the neighbors regularly, in an\n attempt to get pets.

    My other cat, coloured black and white, is a sweetie. He followed\n us to the pool today, walking down the pavement with us. Yesterday\n he apparently visited our neighbours. I wonder if he recognises that\n their flat is a mirror image of ours.

    Hm, I just noticed that in the last paragraph I used British\n English. But I'm supposed to write in American English. So I\n shouldn't say \"pavement\" or \"flat\" or \"colour\"...

    I should say \"sidewalk\" and \"apartment\" and \"color\"!

    \n```\n\n### 4.5 Text-level semantics\n\n#### 4.5.1 The `a` element\n\n[Element/a](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLAnchorElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[HTMLAnchorElement/download](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)\n\nSupport in all current engines.\n\nFirefox20+ Safari10.1+ Chrome15+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)13+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLAnchorElement/rel](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLAnchorElement/relList](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList)\n\nSupport in all current engines.\n\nFirefox30+ Safari9+ Chrome65+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)18 Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nIf the element has an `href` attribute: Interactive content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nTransparent, but there must be no interactive content descendant,\n `a` element descendant, or descendant with the `tabindex` attribute specified.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`href` — Address of the hyperlink\n\n`target` — Navigable for hyperlink navigation\n\n`download` — Whether to download the resource instead of navigating to it, and its filename if so\n\n`ping` — [URLs](https://url.spec.whatwg.org/#concept-url) to ping\n\n`rel` — Relationship between the location in the document containing the hyperlink and the destination resource\n\n`hreflang` — Language of the linked resource\n\n`type` — Hint for the type of the referenced resource\n\n`referrerpolicy` — [Referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) for [fetches](https://fetch.spec.whatwg.org/#concept-fetch) initiated by the element\n\nAccessibility considerations:\n\nIf the element has an `href` attribute: [for authors](https://w3c.github.io/html-aria/#el-a); [for implementers](https://w3c.github.io/html-aam/#el-a).\n\nOtherwise: [for authors](https://w3c.github.io/html-aria/#el-a-no-href); [for implementers](https://w3c.github.io/html-aam/#el-a-no-href).\n\nSanitization:\n\nDefault with attributes `href`, `hreflang`,\n and `type`, and navigating URL attributes `href`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLAnchorElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute DOMString download;\n [CEReactions, Reflect] attribute USVString ping;\n [CEReactions, Reflect] attribute DOMString rel;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect=\"rel\"] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) relList;\n\n [CEReactions] attribute DOMString text;\n\n [CEReactions] attribute DOMString referrerPolicy;\n\n // also has obsolete members\n};\nHTMLAnchorElement includes HyperlinkElementUtils;\nHTMLAnchorElement includes HTMLHyperlinkElementUtils;`\n\nIf the `a` element has an `href` attribute,\n then it represents a hyperlink (a hypertext anchor) labeled by its\n contents.\n\nIf the `a` element has no `href` attribute,\n then the element represents a placeholder for where a link might otherwise have been\n placed, if it had been relevant, consisting of just the element's contents.\n\nThe `target`, `download`, `ping`,\n `rel`, `hreflang`, `type`,\n and `referrerpolicy` attributes must be omitted\n if the `href` attribute is not present.\n\nIf the `itemprop` attribute is specified on an `a` element,\n then the `href` attribute must also be specified.\n\nIf a site uses a consistent navigation toolbar on every page, then the link that would\n normally link to the page itself could be marked up using an `a` element:\n\n```\n\n```\n\nThe `href`, `target`, `download`, `ping`,\n and `referrerpolicy` attributes affect what\n happens when users follow hyperlinks or download hyperlinks created using the `a`\n element. The `rel`, `hreflang`, and `type`\n attributes may be used to indicate to the user the likely nature of the target resource before the\n user follows the link.\n\n`a.text`\n\nSame as `[textContent](https://dom.spec.whatwg.org/#dom-node-textcontent)`.\n\n[HTMLAnchorElement/referrerPolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)\n\nSupport in all current engines.\n\nFirefox50+ Safari14+ Chrome52+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe IDL attribute `referrerPolicy` must reflect the `referrerpolicy` content attribute, limited to\n only known values.\n\nThe `text`\n attribute's getter must return this element's [descendant text content](https://dom.spec.whatwg.org/#concept-descendant-text-content).\n\nThe `text` attribute's setter must [string replace\n all](https://dom.spec.whatwg.org/#string-replace-all) with the given value within this element.\n\nThe `a` element can be wrapped around entire paragraphs, lists, tables, and so\n forth, even entire sections, so long as there is no interactive content within (e.g., buttons or\n other links). This example shows how this can be used to make an entire advertising block into a\n link:\n\n```\n\n```\n\nThe following example shows how a bit of script can be used to effectively make an entire row\n in a job listing table a hyperlink:\n\n```\n
    Position\n Team\n Location\n
    Manager Remotees\n Remote\n
    Director Remotees\n Remote\n
    Astronaut Architecture\n Remote\n
    \n```\n\n#### 4.5.2 The `em` element\n\n[Element/em](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-em).\n\n[For implementers](https://w3c.github.io/html-aam/#el-em).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `em` element represents stress emphasis of its contents.\n\nThe level of stress that a particular piece of content has is given by its number of ancestor\n `em` elements.\n\nThe placement of stress emphasis changes the meaning of the sentence. The element thus forms an\n integral part of the content. The precise way in which stress is used in this way depends on the\n language.\n\nThese examples show how changing the stress emphasis changes the meaning. First, a general\n statement of fact, with no stress:\n\n```\n

    Cats are cute animals.

    \n```\n\nBy emphasizing the first word, the statement implies that the kind of animal under discussion\n is in question (maybe someone is asserting that dogs are cute):\n\n```\n

    Cats are cute animals.

    \n```\n\nMoving the stress to the verb, one highlights that the truth of the entire sentence is in\n question (maybe someone is saying cats are not cute):\n\n```\n

    Cats are cute animals.

    \n```\n\nBy moving it to the adjective, the exact nature of the cats is reasserted (maybe someone\n suggested cats were *mean* animals):\n\n```\n

    Cats are cute animals.

    \n```\n\nSimilarly, if someone asserted that cats were vegetables, someone correcting this might\n emphasize the last word:\n\n```\n

    Cats are cute animals.

    \n```\n\nBy emphasizing the entire sentence, it becomes clear that the speaker is fighting hard to get\n the point across. This kind of stress emphasis also typically affects the punctuation, hence the\n exclamation mark here.\n\n```\n

    Cats are cute animals!

    \n```\n\nAnger mixed with emphasizing the cuteness could lead to markup such as:\n\n```\n

    Cats are cute animals!

    \n```\n\nThe `em` element isn't a generic \"italics\" element. Sometimes, text is intended to\n stand out from the rest of the paragraph, as if it was in a different mood or voice. For this,\n the `i` element is more appropriate.\n\nThe `em` element also isn't intended to convey importance; for that purpose, the\n `strong` element is more appropriate.\n\n#### 4.5.3 The `strong` element\n\n[Element/strong](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-strong).\n\n[For implementers](https://w3c.github.io/html-aam/#el-strong).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `strong` element represents strong importance, seriousness, or\n urgency for its contents.\n\n**Importance**: the `strong` element can be used in a heading, caption,\n or paragraph to distinguish the part that really matters from other parts that might be more\n detailed, more jovial, or merely boilerplate. (This is distinct from marking up subheadings, for\n which the `hgroup` element is appropriate.)\n\nFor example, the first word of the previous paragraph is marked up with\n `strong` to distinguish it from the more detailed text in the rest of the\n paragraph.\n\n**Seriousness**: the `strong` element can be used to mark up a warning\n or caution notice.\n\n**Urgency**: the `strong` element can be used to denote contents that\n the user needs to see sooner than other parts of the document.\n\nThe relative level of importance of a piece of content is given by its number of ancestor\n `strong` elements; each `strong` element increases the importance of its\n contents.\n\nChanging the importance of a piece of text with the `strong` element does not change\n the meaning of the sentence.\n\nHere, the word \"chapter\" and the actual chapter number are mere boilerplate, and the actual\n name of the chapter is marked up with `strong`:\n\n```\n

    Chapter 1: The Praxis

    \n```\n\nIn the following example, the name of the diagram in the caption is marked up with\n `strong`, to distinguish it from boilerplate text (before) and the description\n (after):\n\n```\n
    Figure 1. Ant colony dynamics. The ants in this colony are\naffected by the heat source (upper left) and the food source (lower right).
    \n```\n\nIn this example, the heading is really \"Flowers, Bees, and Honey\", but the author has added a\n light-hearted addition to the heading. The `strong` element is thus used to mark up\n the first part to distinguish it from the latter part.\n\n```\n

    Flowers, Bees, and Honey and other things I don't understand

    \n```\n\nHere is an example of a warning notice in a game, with the\n various parts marked up according to how important they are:\n\n```\n

    Warning. This dungeon is dangerous.\nAvoid the ducks. Take any gold you find.\nDo not take any of the diamonds,\nthey are explosive and will destroy anything within\nten meters. You have been warned.

    \n```\n\nIn this example, the `strong` element is used to denote the part of the text that\n the user is intended to read first.\n\n```\n

    Welcome to Remy, the reminder system.

    Your tasks for today:

    • Turn off the oven.

    • Put out the trash.

    • Do the laundry.

    \n```\n\n#### 4.5.4 The `small` element\n\n[Element/small](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-small).\n\n[For implementers](https://w3c.github.io/html-aam/#el-small).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `small` element represents side comments such as small print.\n\nSmall print typically features disclaimers, caveats, legal restrictions, or\n copyrights. Small print is also sometimes used for attribution, or for satisfying licensing\n requirements.\n\nThe `small` element does not \"de-emphasize\" or lower the importance of\n text emphasized by the `em` element or marked as important with the `strong`\n element. To mark text as not emphasized or important, simply do not mark it up with the\n `em` or `strong` elements respectively.\n\nThe `small` element should not be used for extended spans of text, such as multiple\n paragraphs, lists, or sections of text. It is only intended for short runs of text. The text of a\n page listing terms of use, for instance, would not be a suitable candidate for the\n `small` element: in such a case, the text is not a side comment, it is the main content\n of the page.\n\nThe `small` element must not be used for subheadings; for that purpose, use the\n `hgroup` element.\n\nIn this example, the `small` element is used to indicate that value-added tax is\n not included in a price of a hotel room:\n\n```\n
    Single room\n
    199 € breakfast included, VAT not included
    Double room\n
    239 € breakfast included, VAT not included
    \n```\n\nIn this second example, the `small` element is used for a side comment in an\n article.\n\n```\n

    Example Corp today announced record profits for the\nsecond quarter (Full Disclosure: Foo News is a subsidiary of\nExample Corp), leading to speculation about a third quarter\nmerger with Demo Group.

    \n```\n\nThis is distinct from a sidebar, which might be multiple paragraphs long and is removed from\n the main flow of text. In the following example, we see a sidebar from the same article. This\n sidebar also has small print, indicating the source of the information in the sidebar.\n\n```\n\n```\n\nIn this last example, the `small` element is marked as being *important*\n small print.\n\n```\n

    Continued use of this service will result in a kiss.

    \n```\n\n#### 4.5.5 The `s` element\n\n[Element/s](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-s).\n\n[For implementers](https://w3c.github.io/html-aam/#el-s).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `s` element represents contents that are no longer accurate or no\n longer relevant.\n\nThe `s` element is not appropriate when indicating document edits; to\n mark a span of text as having been removed from a document, use the `del` element.\n\nIn this example a recommended retail price has been marked as no longer relevant as the\n product in question has a new sale price.\n\n```\n

    Buy our Iced Tea and Lemonade!

    Recommended retail price: $3.99 per bottle

    Now selling for just $2.99 a bottle!

    \n```\n\n#### 4.5.6 The `cite` element\n\n[Element/cite](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-cite).\n\n[For implementers](https://w3c.github.io/html-aam/#el-cite).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `cite` element represents the title of a work (e.g.\n a book,\n a paper,\n an essay,\n a poem,\n a score,\n a song,\n a script,\n a film,\n a TV show,\n a game,\n a sculpture,\n a painting,\n a theatre production,\n a play,\n an opera,\n a musical,\n an exhibition,\n a legal case report,\n a computer program, \n etc.). This can be a work that is being quoted or referenced in detail (i.e., a\n citation), or it can just be a work that is mentioned in passing.\n\nA person's name is not the title of a work — even if people call that person a piece of\n work — and the element must therefore not be used to mark up people's names. (In some cases,\n the `b` element might be appropriate for names; e.g. in a gossip article where the\n names of famous people are keywords rendered with a different style to draw attention to them. In\n other cases, if an element is *really* needed, the `span` element can be\n used.)\n\nThis next example shows a typical use of the `cite` element:\n\n```\n

    My favorite book is The Reality Dysfunction by\nPeter F. Hamilton. My favorite comic is Pearls Before\nSwine by Stephan Pastis. My favorite track is Jive\nSamba by the Cannonball Adderley Sextet.

    \n```\n\nThis is correct usage:\n\n```\n

    According to the Wikipedia article HTML, as it\nstood in mid-February 2008, leaving attribute values unquoted is\nunsafe. This is obviously an over-simplification.

    \n```\n\nThe following, however, is incorrect usage, as the `cite` element here is\n containing far more than the title of the work:\n\n```\n

    According to the Wikipedia article on HTML, as it\nstood in mid-February 2008, leaving attribute values unquoted is\nunsafe. This is obviously an over-simplification.

    \n```\n\nThe `cite` element is a key part of any citation in a bibliography, but it is only\n used to mark the title:\n\n```\n

    Universal Declaration of Human Rights, United Nations,\nDecember 1948. Adopted by General Assembly resolution 217 A (III).

    \n```\n\nA *citation* is not a *quote* (for which the `q` element\n is appropriate).\n\nThis is incorrect usage, because `cite` is not for quotes:\n\n```\n

    This is wrong!, said Ian.

    \n```\n\nThis is also incorrect usage, because a person is not a work:\n\n```\n

    This is still wrong!, said Ian.

    \n```\n\nThe correct usage does not use a `cite` element:\n\n```\n

    This is correct, said Ian.

    \n```\n\nAs mentioned above, the `b` element might be relevant for marking names as being\n keywords in certain kinds of documents:\n\n```\n

    And then Ian said this might be right, in a\ngossip column, maybe!.

    \n```\n\nWhere the title of a work is conventionally set off with\n punctuation — for example, the quotation marks used around article titles in English, or the corner brackets (『』)\n used around book titles in Japanese — that punctuation is not part of the title, and belongs outside the\n `cite` element.\n\nThis is correct usage:\n\n```\n

    My review of 『阪急電車』 was titled “A cute series of short stories”.

    \n```\n\n#### 4.5.7 The `q` element\n\n[Element/q](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`cite` — Link to the source of the quotation or more information about the edit\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-q).\n\n[For implementers](https://w3c.github.io/html-aam/#el-q).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLQuoteElement`.\n\nThe `q` element represents some phrasing\n content quoted from another source.\n\nQuotation punctuation (such as quotation marks) that is quoting the contents of the element\n must not appear immediately before, after, or inside `q` elements; they will be\n inserted into the rendering by the user agent.\n\nContent inside a `q` element must be quoted from another source, whose address, if\n it has one, may be cited in the `cite` attribute. The source may be fictional, as when quoting\n characters in a novel or screenplay.\n\nIf the `cite` attribute is present, it must be a valid\n URL potentially surrounded by spaces. To obtain the corresponding citation\n link, the value of the attribute must be parsed\n relative to the element's [node document](https://dom.spec.whatwg.org/#concept-node-document). User agents may allow users to follow\n such citation links, but they are primarily intended for private use (e.g., by server-side scripts\n collecting statistics about a site's use of quotations), not for readers.\n\nThe `q` element must not be used in place of quotation marks that do not represent\n quotes; for example, it is inappropriate to use the `q` element for marking up\n sarcastic statements.\n\nThe use of `q` elements to mark up quotations is entirely optional; using explicit\n quotation punctuation without `q` elements is just as correct.\n\nHere is a simple example of the use of the `q` element:\n\n```\n

    The man said Things that are impossible just take\nlonger. I disagreed with him.

    \n```\n\nHere is an example with both an explicit citation link in the `q` element, and an\n explicit citation outside:\n\n```\n

    The W3C page About W3C says the W3C's\nmission is To lead the\nWorld Wide Web to its full potential by developing protocols and\nguidelines that ensure long-term growth for the Web. I\ndisagree with this mission.

    \n```\n\nIn the following example, the quotation itself contains a quotation:\n\n```\n

    In Example One, he writes The man\nsaid Things that are impossible just take longer. I\ndisagreed with him. Well, I disagree even more!

    \n```\n\nIn the following example, quotation marks are used instead of the `q` element:\n\n```\n

    His best argument was ❝I disagree❞, which\nI thought was laughable.

    \n```\n\nIn the following example, there is no quote — the quotation marks are used to name a\n word. Use of the `q` element in this case would be inappropriate.\n\n```\n

    The word \"ineffable\" could have been used to describe the disaster\nresulting from the campaign's mismanagement.

    \n```\n\n#### 4.5.8 The `dfn` element\n\n[Element/dfn](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn)\n\nSupport in all current engines.\n\nFirefox1+ Safari6+ Chrome15+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content, but there must be no `dfn` element descendants.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAlso, the `title` attribute has special semantics on this element: Full term or expansion of abbreviation\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-dfn).\n\n[For implementers](https://w3c.github.io/html-aam/#el-dfn).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `dfn` element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the `dfn`\n element must also contain the definition(s) for the term given\n by the `dfn` element.\n\nDefining term: if the `dfn` element has a `title` attribute, then the exact value of that\n attribute is the term being defined. Otherwise, if it contains exactly one element child node and\n no child `[Text](https://dom.spec.whatwg.org/#interface-text)` nodes, and that child element is an `abbr` element with a\n `title` attribute, then the exact value of *that*\n attribute is the term being defined. Otherwise, it is the [descendant text content](https://dom.spec.whatwg.org/#concept-descendant-text-content) of\n the `dfn` element that gives the term being defined.\n\nIf the `title` attribute of the `dfn` element is\n present, then it must contain only the term being defined.\n\nThe `title` attribute of ancestor elements does not\n affect `dfn` elements.\n\nAn `a` element that links to a `dfn` element represents an instance of\n the term defined by the `dfn` element.\n\nIn the following fragment, the term \"Garage Door Opener\" is first defined in the first\n paragraph, then used in the second. In both cases, its abbreviation is what is actually\n displayed.\n\n```\n

    The GDO\nis a device that allows off-world teams to open the iris.

    Teal'c activated his GDO\nand so Hammond ordered the iris to be opened.

    \n```\n\nWith the addition of an `a` element, the reference\n can be made explicit:\n\n```\n

    The GDO\nis a device that allows off-world teams to open the iris.

    Teal'c activated his GDO\nand so Hammond ordered the iris to be opened.

    \n```\n\n#### 4.5.9 The `abbr` element\n\n[Element/abbr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome2+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer7+\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAlso, the `title` attribute has special semantics on this element: Full term or expansion of abbreviation\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-abbr).\n\n[For implementers](https://w3c.github.io/html-aam/#el-abbr).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `abbr` element represents an abbreviation or acronym, optionally\n with its expansion. The `title` attribute may be used to provide an expansion of the\n abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and\n nothing else.\n\nThe paragraph below contains an abbreviation marked up with the `abbr` element.\n This paragraph defines the term \"Web Hypertext Application\n Technology Working Group\".\n\n```\n

    The WHATWG\nis a loose unofficial collaboration of web browser manufacturers and\ninterested parties who wish to develop new technologies designed to\nallow authors to write and deploy Applications over the World Wide\nWeb.

    \n```\n\nAn alternative way to write this would be:\n\n```\n

    The Web Hypertext Application Technology\nWorking Group (WHATWG)\nis a loose unofficial collaboration of web browser manufacturers and\ninterested parties who wish to develop new technologies designed to\nallow authors to write and deploy Applications over the World Wide\nWeb.

    \n```\n\nThis paragraph has two abbreviations. Notice how only one is defined; the other, with no\n expansion associated with it, does not use the `abbr` element.\n\n```\n

    The\nWHATWG\nstarted working on HTML5 in 2004.

    \n```\n\nThis paragraph links an abbreviation to its definition.\n\n```\n

    The WHATWG\ncommunity does not have much representation from Asia.

    \n```\n\nThis paragraph marks up an abbreviation without giving an expansion, possibly as a hook to\n apply styles for abbreviations (e.g. smallcaps).\n\n```\n

    Philip` and Dashiva both denied that they were going to\nget the issue counts from past revisions of the specification to\nbackfill the WHATWG issue graph.

    \n```\n\nIf an abbreviation is pluralized, the expansion's grammatical number (plural vs singular) must\n match the grammatical number of the contents of the element.\n\nHere the plural is outside the element, so the expansion is in the singular:\n\n```\n

    Two WGs worked on\nthis specification: the WHATWG and the\nHTMLWG.

    \n```\n\nHere the plural is inside the element, so the expansion is in the plural:\n\n```\n

    Two WGs worked on\nthis specification: the WHATWG and the\nHTMLWG.

    \n```\n\nAbbreviations do not have to be marked up using this element. It is expected to be useful in\n the following cases:\n\n- Abbreviations for which the author wants to give expansions, where using the `abbr` element with a `title` attribute is an\n alternative to including the expansion inline (e.g. in parentheses).\n- Abbreviations that are likely to be unfamiliar to the document's readers, for which authors\n are encouraged to either mark up the abbreviation using an `abbr` element with a `title` attribute or include the expansion inline in the text the first\n time the abbreviation is used.\n- Abbreviations whose presence needs to be semantically annotated, e.g. so that they can be\n identified from a style sheet and given specific styles, for which the `abbr` element\n can be used without a `title` attribute.\n\nProviding an expansion in a `title` attribute once\n will not necessarily cause other `abbr` elements in the same document with the same\n contents but without a `title` attribute to behave as if they had\n the same expansion. Every `abbr` element is independent.\n\n#### 4.5.10 The `ruby` element\n\n[Element/ruby](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby)\n\nSupport in all current engines.\n\nFirefox38+ Safari5+ Chrome5+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nSee prose.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-ruby).\n\n[For implementers](https://w3c.github.io/html-aam/#el-ruby).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `ruby` element allows one or more spans of phrasing content to be marked with\n ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily\n used in East Asian typography as a guide for pronunciation or to include other annotations. In\n Japanese, this form of typography is also known as *furigana*.\n\nThe content model of `ruby` elements consists of one or more of the following\n sequences:\n\n1. One or the other of the following:\n - Phrasing content, but with no `ruby` elements and with no\n `ruby` element descendants\n - A single `ruby` element that itself has no `ruby` element\n descendants\n2. One or the other of the following:\n - One or more `rt` elements\n - An `rp` element followed by one or more `rt` elements, each of\n which is itself followed by an `rp` element\n\nThe `ruby` and `rt` elements can be used for a variety of kinds of\n annotations, including in particular (though by no means limited to) those described below. For\n more details on Japanese Ruby in particular, and how to render Ruby for Japanese, see\n Requirements for Japanese Text Layout. [JLREQ]\n\nAt the time of writing, CSS does not yet provide a way to fully control the\n rendering of the HTML `ruby` element. It is hoped that CSS will be extended to support\n the styles described below in due course.\n\nMono-ruby for individual base characters in Japanese\n\nOne or more hiragana or katakana characters (the ruby annotation) are placed with each\n ideographic character (the base text). This is used to provide readings of kanji characters.\n\n `Bannotation` In this example, notice how each annotation corresponds to a single base character.\n `君くん子しは和わして同どうぜず。` 君くん子しは和わして同どうぜず。\n This example can also be written as follows, using one `ruby` element with two\n segments of base text and two annotations (one for each) rather than two back-to-back\n `ruby` elements each with one base text segment and annotation (as in the markup\n above):\n `君くん子しは和わして同どうぜず。`\n\nMono-ruby for compound words (jukugo)\n\nThis is similar to the previous case: each ideographic character in the compound word (the\n base text) has its reading given in hiragana or katakana characters (the ruby annotation). The\n difference is that the base text segments form a compound word rather than being separate from\n each other.\n\n `BannotationBannotation` In this example, notice again how each annotation corresponds to a single base character. In this example, each compound word (jukugo) corresponds to a single `ruby` element. The rendering here is expected to be that each annotation be placed over (or next to, in vertical text) the corresponding base character, with the annotations not overhanging any of the adjacent characters. `鬼き門もんの方ほう角がくを凝ぎょう視しする` 鬼き門もんの方ほう角がくを凝ぎょう視しする\n\nJukugo-ruby\n\nThis is semantically identical to the previous case (each individual ideographic character in\n the base compound word has its reading given in an annotation in hiragana or katakana\n characters), but the rendering is the more complicated Jukugo Ruby rendering.\n\n This is the same example as above for mono-ruby for compound words. The different rendering is expected to be achieved using different styling (e.g. in CSS), and is not shown here. `鬼き門もんの方ほう角がくを凝ぎょう視しする` For more details on [Jukugo Ruby rendering](https://www.w3.org/TR/jlreq/#positioning_of_jukugoruby), see\n Appendix F in the Requirements for Japanese Text Layout. [JLREQ]\n\nGroup ruby for describing meanings\n\nThe annotation describes the meaning of the base text, rather than (or in addition to) the\n pronunciation. As such, both the base text and the annotation can be multiple characters long.\n\n `BASEannotation` Here a compound ideographic word has its corresponding katakana given as an annotation.\n `境界面インターフェース` 境界面インターフェース Here a compound ideographic word has its translation in English provided as an annotation.\n `編集者editor` 編集者editor\n\nGroup ruby for Jukuji readings\n\nA phonetic reading that corresponds to multiple base characters, because a one-to-one mapping\n would be difficult. (In English, the words \"Colonel\" and \"Lieutenant\" are examples of words\n where a direct mapping of pronunciation to individual letters is, in some dialects, rather\n unclear.)\n\n In this example, the name of a species of flowers has a phonetic reading provided using group ruby:\n `紫陽花あじさい` 紫陽花あじさい\n\nText with both phonetic and semantic annotations (double-sided ruby)\n\nSometimes, ruby styles described above are combined.\n\n If this results in two annotations covering the same single base segment, then the\n annotations can just be placed back to back.\n\n `BASEannotation 1annotation 2` `BaaAaaSaaEaa` In this contrived example, some symbols are given names in English and French.\n\n `\n ♥ Heart Cœur \n ☘ Shamrock Trèfle \n ✶ Star Étoile ` In more complicated situations such as the following examples, a nested `ruby`\n element is used to give the inner annotations, and then that whole `ruby` is then\n given an annotation at the \"outer\" level.\n\n `BaAnStEnannotation` Here both a phonetic reading and the meaning are given in ruby annotations. The annotation on the nested `ruby` element gives a mono-ruby phonetic annotation for each base character, while the annotation in the `rt` element that is a child of the outer `ruby` element gives the meaning using hiragana.\n `東とう南なんたつみの方角` 東とう南なんたつみの方角\n This is the same example, but the meaning is given in English instead of Japanese:\n `東とう南なんSoutheastの方角` 東とう南なんSoutheastの方角\n\n---\n\nWithin a `ruby` element that does not have a `ruby` element ancestor,\n content is segmented and segments are placed into three categories: base text segments, annotation\n segments, and ignored segments. Ignored segments do not form part of the document's semantics\n (they consist of some inter-element whitespace and `rp` elements, the\n latter of which are used for legacy user agents that do not support ruby at all). Base text\n segments can overlap (with a limit of two segments overlapping any one position in the DOM, and\n with any segment having an earlier start point than an overlapping segment also having an equal or\n later end point, and any segment have a later end point than an overlapping segment also having an\n equal or earlier start point). Annotation segments correspond to `rt` elements. Each annotation\n segment can be associated with a base text segment, and each base text segment can have annotation\n segments associated with it. (In a conforming document, each base text segment is associated with\n at least one annotation segment, and each annotation segment is associated with one base text\n segment.) A `ruby` element represents the union of the segments of base\n text it contains, along with the mapping from those base text segments to annotation segments.\n Segments are described in terms of DOM ranges; annotation segment ranges always\n consist of exactly one element. [DOM]\n\nAt any particular time, the segmentation and categorization of content of a `ruby`\n element is the result that would be obtained from running the following algorithm:\n\n1. Let base text segments be an empty list of base text segments, each\n potentially with a list of base text subsegments.\n2. Let annotation segments be an empty list of annotation segments, each\n potentially being associated with a base text segment or subsegment.\n3. Let root be the `ruby` element for which the algorithm is\n being run.\n4. If root has a `ruby` element ancestor, then jump to the\n step labeled *end*.\n5. Let current parent be root.\n6. Let index be 0.\n7. Let start index be null.\n8. Let saved start index be null.\n9. Let current base text be null.\n10. *Start mode*: If index is greater than or equal to the number of child\n nodes in current parent, then jump to the step labeled *end mode*.\n11. If the indexth node in current parent is an\n `rt` or `rp` element, jump to the step labeled *annotation\n mode*.\n12. Set start index to the value of index.\n13. *Base mode*: If the indexth node in current\n parent is a `ruby` element, and if current parent is the\n same element as root, then push a ruby level and then jump to\n the step labeled *start mode*.\n14. If the indexth node in current parent is an\n `rt` or `rp` element, then set the current base text and then\n jump to the step labeled *annotation mode*.\n15. Increment index by one.\n16. *Base mode post-increment*: If index is greater than or equal to the\n number of child nodes in current parent, then jump to the step labeled *end\n mode*.\n17. Jump back to the step labeled *base mode*.\n18. *Annotation mode*: If the indexth node in current\n parent is an `rt` element, then push a ruby annotation and jump to\n the step labeled *annotation mode increment*.\n19. If the indexth node in current parent is an\n `rp` element, jump to the step labeled *annotation mode increment*.\n20. If the indexth node in current parent is not a\n `[Text](https://dom.spec.whatwg.org/#interface-text)` node, or is a `[Text](https://dom.spec.whatwg.org/#interface-text)` node that is not inter-element\n whitespace, then jump to the step labeled *base mode*.\n21. *Annotation mode increment*: Let lookahead index be index plus one.\n22. *Annotation mode white-space skipper*: If lookahead index is\n equal to the number of child nodes in current parent then jump to the step\n labeled *end mode*.\n23. If the lookahead indexth node in current parent is\n an `rt` element or an `rp` element, then set index to\n lookahead index and jump to the step labeled *annotation mode*.\n24. If the lookahead indexth node in current parent is\n not a `[Text](https://dom.spec.whatwg.org/#interface-text)` node, or is a `[Text](https://dom.spec.whatwg.org/#interface-text)` node that is not inter-element\n whitespace, then jump to the step labeled *base mode* (without further incrementing\n index, so the inter-element whitespace seen so far becomes part\n of the next base text segment).\n25. Increment lookahead index by one.\n26. Jump to the step labeled *annotation mode white-space skipper*.\n27. *End mode*: If current parent is not the same element as root, then pop a ruby level and jump to the step labeled *base mode\n post-increment*.\n28. *End*: Return base text segments and annotation\n segments. Any content of the `ruby` element not described by segments in either\n of those lists is implicitly in an *ignored segment*.\n\nWhen the steps above say to set the current base text, it means to run the following\n steps at that point in the algorithm:\n\n1. Let text range be a DOM range whose [start](https://dom.spec.whatwg.org/#concept-range-start) is the [boundary\n point](https://dom.spec.whatwg.org/#concept-range-bp) (current parent, start index) and whose\n [end](https://dom.spec.whatwg.org/#concept-range-end) is the [boundary\n point](https://dom.spec.whatwg.org/#concept-range-bp) (current parent, index).\n2. Let new text segment be a base text segment described by the range\n text range.\n3. Add new text segment to base text\n segments.\n4. Let current base text be new text\n segment.\n5. Let start index be null.\n\nWhen the steps above say to push a ruby level, it means to run the following steps\n at that point in the algorithm:\n\n1. Let current parent be the indexth node in current parent.\n2. Let index be 0.\n3. Set saved start index to the value of start\n index.\n4. Let start index be null.\n\nWhen the steps above say to pop a ruby level, it means to run the following steps at\n that point in the algorithm:\n\n1. Let index be the position of current parent in\n root.\n2. Let current parent be root.\n3. Increment index by one.\n4. Set start index to the value of saved start\n index.\n5. Let saved start index be null.\n\nWhen the steps above say to push a ruby annotation, it means to run the following\n steps at that point in the algorithm:\n\n1. Let rt be the `rt` element that is the indexth node of current parent.\n2. Let annotation range be a DOM range whose [start](https://dom.spec.whatwg.org/#concept-range-start) is the [boundary\n point](https://dom.spec.whatwg.org/#concept-range-bp) (current parent, index) and whose [end](https://dom.spec.whatwg.org/#concept-range-end) is the [boundary point](https://dom.spec.whatwg.org/#concept-range-bp)\n (current parent, index plus one) (i.e. that contains only\n rt).\n3. Let new annotation segment be an annotation segment described by the\n range annotation range.\n4. If current base text is not null, associate new\n annotation segment with current base text.\n5. Add new annotation segment to annotation\n segments.\n\nIn this example, each ideograph in the Japanese text 漢字 is annotated with its reading in hiragana.\n\n```\n...\n漢かん字じ\n...\n```\n\nThis might be rendered as:\n\nIn this example, each ideograph in the traditional Chinese text 漢字 is annotated with its bopomofo reading.\n\n```\n漢ㄏㄢˋ字ㄗˋ\n```\n\nThis might be rendered as:\n\nIn this example, each ideograph in the simplified Chinese text 汉字 is annotated with its pinyin reading.\n\n```\n...汉hàn字zì...\n```\n\nThis might be rendered as:\n\nIn this more contrived example, the acronym \"HTML\" has four annotations: one for the whole\n acronym, briefly describing what it is, one for the letters \"HT\" expanding them to \"Hypertext\",\n one for the letter \"M\" expanding it to \"Markup\", and one for the letter \"L\" expanding it to\n \"Language\".\n\n```\n HTHypertextMMarkupLLanguage An abstract language for describing documents and applications\n\n```\n\n#### 4.5.11 The `rt` element\n\n[Element/rt](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt)\n\nSupport in all current engines.\n\nFirefox38+ Safari5+ Chrome5+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet Explorer5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `ruby` element.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nAn `rt` element's end tag can be omitted if the\n `rt` element is immediately followed by an `rt` or `rp` element,\n or if there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-rt).\n\n[For implementers](https://w3c.github.io/html-aam/#el-rt).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `rt` element marks the ruby text component of a ruby annotation. When it is the\n child of a `ruby` element, it doesn't represent\n anything itself, but the `ruby` element uses it as part of determining what *it* represents.\n\nAn `rt` element that is not a child of a `ruby` element\n represents the same thing as its children.\n\n#### 4.5.12 The `rp` element\n\n[Element/rp](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp)\n\nSupport in all current engines.\n\nFirefox38+ Safari5+ Chrome5+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet Explorer5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `ruby` element, either immediately before or immediately after an `rt` element.\n\nContent model:\n\nText.\n\nTag omission in text/html:\n\nAn `rp` element's end tag can be omitted if the\n `rp` element is immediately followed by an `rt` or `rp` element,\n or if there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-rp).\n\n[For implementers](https://w3c.github.io/html-aam/#el-rp).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `rp` element can be used to provide parentheses or other content around a ruby\n text component of a ruby annotation, to be shown by user agents that don't support ruby\n annotations.\n\nAn `rp` element that is a child of a `ruby`\n element represents nothing. An `rp` element\n whose parent element is not a `ruby` element represents its\n children.\n\nThe example above, in which each ideograph in the text 漢字 is annotated with its phonetic reading, could be expanded to\n use `rp` so that in legacy user agents the readings are in parentheses:\n\n```\n...\n漢(かん)字(じ)\n...\n```\n\nIn conforming user agents the rendering would be as above, but in user agents that do not\n support ruby, the rendering would be:\n\n```\n... 漢(かん)字(じ)...\n```\n\nWhen there are multiple annotations for a segment, `rp` elements can also be placed\n between the annotations. Here is another copy of an earlier contrived example showing some\n symbols with names given in English and French, but this time with `rp` elements as\n well:\n\n```\n\n♥: Heart, Cœur.\n☘: Shamrock, Trèfle.\n✶: Star, Étoile. \n```\n\nThis would make the example render as follows in non-ruby-capable user agents:\n\n```\n♥: Heart, Cœur. ☘: Shamrock, Trèfle. ✶: Star, Étoile.\n```\n\n#### 4.5.13 The `data` element\n\n[Element/data](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data)\n\nSupport in all current engines.\n\nFirefox22+ Safari10+ Chrome62+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)18 Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLDataElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement)\n\nSupport in all current engines.\n\nFirefox22+ Safari10+ Chrome62+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)14+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLDataElement/value](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement/value)\n\nSupport in all current engines.\n\nFirefox22+ Safari10+ Chrome62+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)14+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`value` — Machine-readable value\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-data).\n\n[For implementers](https://w3c.github.io/html-aam/#el-data).\n\nSanitization:\n\nDefault with attributes `value`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLDataElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute DOMString value;\n};`\n\nThe `data` element represents its contents, along with a\n machine-readable form of those contents in the `value`\n attribute.\n\nThe `value` attribute\n must be present. Its value must be a representation of the element's contents in a\n machine-readable format.\n\nWhen the value is date- or time-related, the more specific `time`\n element can be used instead.\n\nThe element can be used for several purposes.\n\nWhen combined with microformats or the microdata attributes defined in\n this specification, the element serves to provide both a machine-readable value for the purposes\n of data processors, and a human-readable value for the purposes of rendering in a web browser. In\n this case, the format to be used in the `value` attribute is\n determined by the microformats or microdata vocabulary in use.\n\nThe element can also, however, be used in conjunction with scripts in the page, for when a\n script has a literal value to store alongside a human-readable value. In such cases, the format to\n be used depends only on the needs of the script. (The `data-*`\n attributes can also be useful in such situations.)\n\nHere, a short table has its numeric values encoded using the `data` element so\n that the table sorting JavaScript library can provide a sorting mechanism on each column\n despite the numbers being presented in textual form in one column and in a decomposed form in\n another.\n\n```\n
    Game Corporations Map Size\n
    1830 Eight 19+74 hexes (93 total)
    1856 Eleven 12+87 hexes (99 total)
    1870 Ten 4+145 hexes (149 total)
    \n```\n\n#### 4.5.14 The `time` element\n\n[Element/time](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time)\n\nSupport in all current engines.\n\nFirefox22+ Safari7+ Chrome62+\n\n---\n\nOpera49+ Edge79+\n\n---\n\nEdge (Legacy)18 Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android? Samsung Internet? Opera Android46+\n\n[HTMLTimeElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement)\n\nSupport in all current engines.\n\nFirefox22+ Safari10+ Chrome62+\n\n---\n\nOpera49+ Edge79+\n\n---\n\nEdge (Legacy)14+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android46+\n\n[HTMLTimeElement/dateTime](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime)\n\nSupport in all current engines.\n\nFirefox22+ Safari10+ Chrome62+\n\n---\n\nOpera49+ Edge79+\n\n---\n\nEdge (Legacy)14+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android46+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nIf the element has a `datetime` attribute: Phrasing content.\n\nOtherwise: Text, but must match requirements described in prose below.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`datetime` — Machine-readable value\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-time).\n\n[For implementers](https://w3c.github.io/html-aam/#el-time).\n\nSanitization:\n\nDefault with attributes `datetime`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLTimeElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute DOMString dateTime;\n};`\n\nThe `time` element represents its contents, along with a\n machine-readable form of those contents in the `datetime`\n attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and\n durations, as described below.\n\nThe `datetime`\n attribute may be present. If present, its value must be a representation of the element's contents\n in a machine-readable format.\n\nA `time` element that does not have a `datetime` content attribute must not have any element\n descendants.\n\nThe datetime value of a `time` element is the value of the element's\n `datetime` content attribute, if it has one, otherwise the\n [child text content](https://dom.spec.whatwg.org/#concept-child-text-content) of the `time` element.\n\nThe datetime value of a `time` element must match one of the following\n syntaxes.\n\nA valid month string\n\n``\n\nA valid date string\n\n``\n\nA valid yearless date string\n\n``\n\nA valid time string\n\n`` `` ``\n\nA valid local date and time string\n\n`` `` `` `` `` `` Times with dates but without a time zone offset are useful for specifying events\n that are observed at the same specific time in each time zone, throughout a day. For example,\n the 2020 new year is celebrated at 2020-01-01 00:00 in each time zone, not at the same precise\n moment across all time zones. For events that occur at the same time across all time zones, for\n example a videoconference meeting, a valid global date and time string is likely\n more useful.\n\nA valid time-zone offset string\n\n`` `` `` `` `` For times without dates (or times referring to events that recur on multiple\n dates), specifying the geographic location that controls the time is usually more useful than\n specifying a time zone offset, because geographic locations change time zone offsets with\n daylight saving time. In some cases, geographic locations even change time zone, e.g. when the\n boundaries of those time zones are redrawn, as happened with Samoa at the end of 2011. There\n exists a time zone database that describes the boundaries of time zones and what rules apply\n within each such zone, known as the *time zone database*. [TZDATABASE]\n\nA valid global date and time string\n\n`` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` `` Times with dates and a time zone offset are useful for specifying specific\n events, or recurring virtual events where the time is not anchored to a specific geographic\n location. For example, the precise time of an asteroid impact, or a particular meeting in a\n series of meetings held at 1400 UTC every day, regardless of whether any particular part of the\n world is observing daylight saving time or not. For events where the precise time varies by the\n local time zone offset of a specific geographic location, a valid local date and time\n string combined with that geographic location is likely more useful.\n\nA valid week string\n\n``\n\nFour or more [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), at least one of which is not U+0030 DIGIT ZERO (0)\n\n`` ``\n\nA valid duration string\n\n`` ``\n\nThe machine-readable equivalent of the element's contents must be obtained from the\n element's datetime value by using the following algorithm:\n\n1. If parsing a month string from the element's\n datetime value returns a month, that is the\n machine-readable equivalent; return.\n2. If parsing a date string from the element's\n datetime value returns a date, that is the\n machine-readable equivalent; return.\n3. If parsing a yearless date string from\n the element's datetime value returns a yearless\n date, that is the machine-readable equivalent; return.\n4. If parsing a time string from the element's\n datetime value returns a time, that is the\n machine-readable equivalent; return.\n5. If parsing a local date and time\n string from the element's datetime value returns a local date and time, that is the machine-readable\n equivalent; return.\n6. If parsing a time-zone offset string\n from the element's datetime value returns a time-zone\n offset, that is the machine-readable equivalent; return.\n7. If parsing a global date and time\n string from the element's datetime value returns a global date and time, that is the machine-readable equivalent;\n return.\n8. If parsing a week string from the element's\n datetime value returns a week, that is the\n machine-readable equivalent; return.\n9. If the element's datetime value consists of only [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit),\n at least one of which is not U+0030 DIGIT ZERO (0), then the machine-readable equivalent is the\n base-ten interpretation of those digits, representing a year; return.\n10. If parsing a duration string from the\n element's datetime value returns a duration,\n that is the machine-readable equivalent; return.\n11. There is no machine-readable equivalent.\n\nThe algorithms referenced above are intended to be designed such that for any\n arbitrary string s, only one of the algorithms returns a value. A more\n efficient approach might be to create a single algorithm that parses all these data types in one\n pass; developing such an algorithm is left as an exercise to the reader.\n\nThe `time` element can be used to encode dates, for example in microformats. The\n following shows a hypothetical way of encoding an event using a variant on hCalendar that uses\n the `time` element:\n\n```\n
    http://www.web2con.com/ Web 2.0 Conference:\n -\n ,\n at the Argent Hotel, San Francisco, CA
    \n```\n\nHere, a fictional microdata vocabulary based on the Atom vocabulary is used with the\n `time` element to mark up a blog post's publication date.\n\n```\n

    Big tasks

    Published .

    Today, I went out and bought a bike for my kid.

    \n```\n\nIn this example, another article's publication date is marked up using `time`, this\n time using the schema.org microdata vocabulary:\n\n```\n

    Small tasks

    Published .

    I put a bike bell on her bike.

    \n```\n\nIn the following snippet, the `time` element is used to encode a date in the\n ISO8601 format, for later processing by a script:\n\n```\n

    Our first date was .

    \n```\n\nIn this second snippet, the value includes a time:\n\n```\n

    We stopped talking at .

    \n```\n\nA script loaded by the page (and thus privy to the page's internal convention of marking up\n dates and times using the `time` element) could scan through the page and look at all\n the `time` elements therein to create an index of dates and times.\n\nFor example, this element conveys the string \"Friday\" with the additional semantic that the\n 18th of November 2011 is the meaning that corresponds to \"Friday\":\n\n```\nToday is .\n```\n\nIn this example, a specific time in the Pacific Standard Time timezone is specified:\n\n```\nYour next meeting is at .\n```\n\n#### 4.5.15 The `code` element\n\n[Element/code](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-code).\n\n[For implementers](https://w3c.github.io/html-aam/#el-code).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `code` element represents a fragment of computer code. This could\n be an XML element name, a filename, a computer program, or any other string that a computer would\n recognize.\n\nThere is no formal way to indicate the language of computer code being marked up. Authors who\n wish to mark `code` elements with the language used, e.g. so that syntax highlighting\n scripts can use the right rules, can use the `class` attribute, e.g.\n by adding a class prefixed with \"`language-`\" to the element.\n\nThe following example shows how the element can be used in a paragraph to mark up element\n names and computer code, including punctuation.\n\n```\n

    The code element represents a fragment of computer\ncode.

    When you call the activate() method on the\nrobotSnowman object, the eyes glow.

    The example below uses the begin keyword to indicate\nthe start of a statement block. It is paired with an end\nkeyword, which is followed by the . punctuation character\n(full stop) to indicate the end of the program.

    \n```\n\nThe following example shows how a block of code could be marked up using the `pre`\n and `code` elements.\n\n```\n
    var i: Integer;\nbegin\n   i := 1;\nend.
    \n```\n\nA class is used in that example to indicate the language used.\n\nSee the `pre` element for more details.\n\n#### 4.5.16 The `var` element\n\n[Element/var](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-var).\n\n[For implementers](https://w3c.github.io/html-aam/#el-var).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `var` element represents a variable. This could be an actual\n variable in a mathematical expression or programming context, an identifier representing a\n constant, a symbol identifying a physical quantity, a function parameter, or just be a term used\n as a placeholder in prose.\n\nIn the paragraph below, the letter \"n\" is being used as a\n variable in prose:\n\n```\n

    If there are n pipes leading to the ice\ncream factory then I expect at least n\nflavors of ice cream to be available for purchase!

    \n```\n\nFor mathematics, in particular for anything beyond the simplest of expressions, MathML is more\n appropriate. However, the `var` element can still be used to refer to specific\n variables that are then mentioned in MathML expressions.\n\nIn this example, an equation is shown, with a legend that references the variables in the\n equation. The expression itself is marked up with MathML, but the variables are mentioned in the\n figure's legend using `var`.\n\n```\n
    a = b2 + c2
    \n Using Pythagoras' theorem to solve for the hypotenuse a of\n a triangle with sides b and c
    \n```\n\nHere, the equation describing mass-energy equivalence is used in a sentence, and the\n `var` element is used to mark the variables and constants in that equation:\n\n```\n

    Then she turned to the blackboard and picked up the chalk. After a few moment's\nthought, she wrote E = m c2. The teacher\nlooked pleased.

    \n```\n\n#### 4.5.17 The `samp` element\n\n[Element/samp](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-samp).\n\n[For implementers](https://w3c.github.io/html-aam/#el-samp).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `samp` element represents sample or quoted output from another\n program or computing system.\n\nSee the `pre` and `kbd` elements for more details.\n\nThis element can be contrasted with the `output` element, which can be\n used to provide immediate output in a web application.\n\nThis example shows the `samp` element being used\n inline:\n\n```\n

    The computer said Too much cheese in tray\ntwo but I didn't know what that meant.

    \n```\n\nThis second example shows a block of sample output from a console program. Nested\n `samp` and `kbd` elements allow for the styling of specific elements\n of the sample output using a style sheet. There's also a few parts of the `samp` that\n are annotated with even more detailed markup, to enable very precise styling. To achieve this,\n `span` elements are used.\n\n```\n
    jdoe@mowmow:~$ ssh demo.example.com\nLast login: Tue Apr 12 09:10:17 2005 from mowmow.example.com on pts/1\nLinux demo 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189 #1 SMP Tue Feb 1 11:22:36 PST 2005 i686 unknown\n\njdoe@demo:~$ _
    \n```\n\nThis third example shows a block of input and its respective output. The example uses\n both `code` and `samp` elements.\n\n```\n
     console.log(2.3 + 2.4) 4.699999999999999 
    \n```\n\n#### 4.5.18 The `kbd` element\n\n[Element/kbd](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-kbd).\n\n[For implementers](https://w3c.github.io/html-aam/#el-kbd).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `kbd` element represents user input (typically keyboard input,\n although it may also be used to represent other input, such as voice commands).\n\nWhen the `kbd` element is nested inside a `samp` element, it represents\n the input as it was echoed by the system.\n\nWhen the `kbd` element *contains* a `samp` element, it represents\n input based on system output, for example invoking a menu item.\n\nWhen the `kbd` element is nested inside another `kbd` element, it\n represents an actual key or other single unit of input as appropriate for the input mechanism.\n\nHere the `kbd` element is used to indicate keys to press:\n\n```\n

    To make George eat an apple, press Shift + F3

    \n```\n\nIn this second example, the user is told to pick a particular menu item. The outer\n `kbd` element marks up a block of input, with the inner `kbd` elements\n representing each individual step of the input, and the `samp` elements inside them\n indicating that the steps are input based on something being displayed by the system, in this\n case menu labels:\n\n```\n

    To make George eat an apple, select\n File|Eat Apple...

    \n```\n\nSuch precision isn't necessary; the following is equally fine:\n\n```\n

    To make George eat an apple, select File | Eat Apple...

    \n```\n\n#### 4.5.19 The `sub` and `sup` elements\n\n[Element/sub](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/sup](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\nThe `sub` element: [for authors](https://w3c.github.io/html-aria/#el-sub); [for implementers](https://w3c.github.io/html-aam/#el-sub).\n\nThe `sup` element: [for authors](https://w3c.github.io/html-aria/#el-sup); [for implementers](https://w3c.github.io/html-aam/#el-sup).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUse `HTMLElement`.\n\nThe `sup` element represents a superscript and the `sub`\n element represents a subscript.\n\nThese elements must be used only to mark up typographical conventions with specific meanings,\n not for typographical presentation for presentation's sake. For example, it would be inappropriate\n for the `sub` and `sup` elements to be used in the name of the LaTeX\n document preparation system. In general, authors should use these elements only if the\n *absence* of those elements would change the meaning of the content.\n\nIn certain languages, superscripts are part of the typographical conventions for some\n abbreviations.\n\n```\n

    Their names are\nMlle Gwendoline and\nMme Denise.

    \n```\n\nThe `sub` element can be used inside a `var` element, for variables that\n have subscripts.\n\nHere, the `sub` element is used to represent the subscript that identifies the\n variable in a family of variables:\n\n```\n

    The coordinate of the ith point is\n(xi, yi).\nFor example, the 10th point has coordinate\n(x10, y10).

    \n```\n\nMathematical expressions often use subscripts and superscripts. Authors are encouraged to use\n MathML for marking up mathematics, but authors may opt to use `sub` and\n `sup` if detailed mathematical markup is not desired. [MATHML]\n\n```\nE=mc2\n```\n\n```\nf(x, n) = log4xn\n```\n\n#### 4.5.20 The `i` element\n\n[Element/i](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-i).\n\n[For implementers](https://w3c.github.io/html-aam/#el-i).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `i` element represents a span of text in an alternate voice or\n mood, or otherwise offset from the normal prose in a manner indicating a different quality of\n text, such as a taxonomic designation, a technical term, an idiomatic phrase from another\n language, transliteration, a thought, or a ship name in Western texts.\n\nTerms in languages different from the main text should be annotated with `lang` attributes (or, in XML, [`lang` attributes in the XML namespace](https://www.w3.org/TR/xml/#sec-lang-tag)).\n\nThe examples below show uses of the `i` element:\n\n```\n

    The Felis silvestris catus is cute.

    The term prose content is defined above.

    There is a certain je ne sais quoi in the air.

    \n```\n\nIn the following example, a dream sequence is marked up using\n `i` elements.\n\n```\n

    Raymond tried to sleep.

    The ship sailed away on Thursday, he\ndreamt. The ship had many people aboard, including a beautiful\nprincess called Carey. He watched her, day-in, day-out, hoping she\nwould notice him, but she never did.

    Finally one night he picked up the courage to speak with\nher—

    Raymond woke with a start as the fire alarm rang out.

    \n```\n\nAuthors can use the `class` attribute on the `i`\n element to identify why the element is being used, so that if the style of a particular use (e.g.\n dream sequences as opposed to taxonomic terms) is to be changed at a later date, the author\n doesn't have to go through the entire document (or series of related documents) annotating each\n use.\n\nAuthors are encouraged to consider whether other elements might be more applicable than the\n `i` element, for instance the `em` element for marking up stress emphasis,\n or the `dfn` element to mark up the defining instance of a term.\n\nStyle sheets can be used to format `i` elements, just like any other\n element can be restyled. Thus, it is not the case that content in `i` elements will\n necessarily be italicized.\n\n#### 4.5.21 The `b` element\n\n[Element/b](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-b).\n\n[For implementers](https://w3c.github.io/html-aam/#el-b).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `b` element represents a span of text to which attention is being\n drawn for utilitarian purposes without conveying any extra importance and with no implication of\n an alternate voice or mood, such as key words in a document abstract, product names in a review,\n actionable words in interactive text-driven software, or an article lede.\n\nThe following example shows a use of the `b` element to highlight key words without\n marking them up as important:\n\n```\n

    The frobonitor and barbinator components are fried.

    \n```\n\nIn the following example, objects in a text adventure are highlighted as being special by use\n of the `b` element.\n\n```\n

    You enter a small room. Your sword glows\nbrighter. A rat scurries past the corner wall.

    \n```\n\nAnother case where the `b` element is appropriate is in marking up the lede (or\n lead) sentence or paragraph. The following example shows how a [BBC article about\n kittens adopting a rabbit as their own](http://news.bbc.co.uk/2/hi/uk_news/scotland/north_east/7101506.stm) could be marked up:\n\n```\n

    Kittens 'adopted' by pet rabbit

    Six abandoned kittens have found an\n unexpected new mother figure — a pet rabbit.

    Veterinary nurse Melanie Humble took the three-week-old\n kittens to her Aberdeen home.

    [...]\n```\n\nAs with the `i` element, authors can use the `class`\n attribute on the `b` element to identify why the element is being used, so that if the\n style of a particular use is to be changed at a later date, the author doesn't have to go through\n annotating each use.\n\nThe `b` element should be used as a last resort when no other element is more\n appropriate. In particular, headings should use the `h1` to `h6` elements,\n stress emphasis should use the `em` element, importance should be denoted with the\n `strong` element, and text marked or highlighted should use the `mark`\n element.\n\nThe following would be *incorrect* usage:\n\n```\n

    WARNING! Do not frob the barbinator!

    \n```\n\nIn the previous example, the correct element to use would have been `strong`, not\n `b`.\n\nStyle sheets can be used to format `b` elements, just like any other\n element can be restyled. Thus, it is not the case that content in `b` elements will\n necessarily be boldened.\n\n#### 4.5.22 The `u` element\n\n[Element/u](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-u).\n\n[For implementers](https://w3c.github.io/html-aam/#el-u).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `u` element represents a span of text with an unarticulated, though\n explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in\n Chinese text (a Chinese proper name mark), or labeling the text as being misspelt.\n\nIn most cases, another element is likely to be more appropriate: for marking stress emphasis,\n the `em` element should be used; for marking key words or phrases either the\n `b` element or the `mark` element should be used, depending on the context;\n for marking book titles, the `cite` element should be used; for labeling text with explicit textual annotations, the\n `ruby` element should be used; for technical terms, taxonomic designation,\n transliteration, a thought, or for labeling ship names in Western texts, the `i`\n element should be used.\n\nThe default rendering of the `u` element in visual presentations\n clashes with the conventional rendering of hyperlinks (underlining). Authors are encouraged to\n avoid using the `u` element where it could be confused for a hyperlink.\n\nIn this example, a `u` element is used to mark a word as misspelt:\n\n```\n

    The see is full of fish.

    \n```\n\n#### 4.5.23 The `mark` element\n\n[Element/mark](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark)\n\nSupport in all current engines.\n\nFirefox4+ Safari5.1+ Chrome7+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-mark).\n\n[For implementers](https://w3c.github.io/html-aam/#el-mark).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `mark` element represents a run of text in one document marked or\n highlighted for reference purposes, due to its relevance in\n another context. When used in a quotation or other block of text referred to from the prose, it\n indicates a highlight that was not originally present but which has been added to bring the\n reader's attention to a part of the text that might not have been considered important by the\n original author when the block was originally written, but which is now under previously\n unexpected scrutiny. When used in the main prose of a document, it indicates a part of the\n document that has been highlighted due to its likely relevance to the user's current activity.\n\nThis example shows how the `mark` element can be used to bring attention to a\n particular part of a quotation:\n\n```\n

    Consider the following quote:

    Look around and you will find, no-one's really\n colour blind.

    As we can tell from the spelling of the word,\nthe person writing this quote is clearly not American.

    \n```\n\n(If the goal was to mark the element as misspelt, however, the `u` element,\n possibly with a class, would be more appropriate.)\n\nAnother example of the `mark` element is highlighting parts of a document that are\n matching some search string. If someone looked at a document, and the server knew that the user\n was searching for the word \"kitten\", then the server might return the document with one paragraph\n modified as follows:\n\n```\n

    I also have some kittens who are visiting me\nthese days. They're really cute. I think they like my garden! Maybe I\nshould adopt a kitten.

    \n```\n\nIn the following snippet, a paragraph of text refers to a specific part of a code\n fragment.\n\n```\n

    The highlighted part below is where the error lies:

    var i: Integer;\nbegin\n   i := 1.1;\nend.
    \n```\n\nThis is separate from *syntax highlighting*, for which `span` is more\n appropriate. Combining both, one would get:\n\n```\n

    The highlighted part below is where the error lies:

    var i: Integer;\nbegin i := 1.1;\nend.
    \n```\n\nThis is another example showing the use of `mark` to highlight a part of quoted\n text that was originally not emphasized. In this example, common typographic conventions have led\n the author to explicitly style `mark` elements in quotes to render in italics.\n\n```\n

    She knew

    Did you notice the subtle joke in the joke on panel 4?

    I didn't want to believe. Of course\n on some level I realized it was a known-plaintext attack. But I\n couldn't admit it until I saw for myself.

    (Emphasis mine.) I thought that was great. It's so pedantic, yet it\n explains everything neatly.

    \n```\n\nNote, incidentally, the distinction between the `em` element in this example, which\n is part of the original text being quoted, and the `mark` element, which is\n highlighting a part for comment.\n\nThe following example shows the difference between denoting the *importance* of a span\n of text (`strong`) as opposed to denoting the *relevance* of a span of text\n (`mark`). It is an extract from a textbook, where the extract has had the parts\n relevant to the exam highlighted. The safety warnings, important though they may be, are\n apparently not relevant to the exam.\n\n```\n

    Wormhole Physics Introduction

    A wormhole in normal conditions can be held open for a\nmaximum of just under 39 minutes. Conditions that can increase\nthe time include a powerful energy source coupled to one or both of\nthe gates connecting the wormhole, and a large gravity well (such as a\nblack hole).

    Momentum is preserved across the wormhole. Electromagnetic\nradiation can travel in both directions through a wormhole,\nbut matter cannot.

    When a wormhole is created, a vortex normally forms.\nWarning: The vortex caused by the wormhole opening will\nannihilate anything in its path. Vortexes can be avoided when\nusing sufficiently advanced dialing technology.

    An obstruction in a gate will prevent it from accepting a\nwormhole connection.

    \n```\n\n#### 4.5.24 The `bdi` element\n\n[Element/bdi](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi)\n\nSupport in all current engines.\n\nFirefox10+ Safari6+ Chrome16+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAlso, the `dir` global attribute has special semantics on this element.\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-bdi).\n\n[For implementers](https://w3c.github.io/html-aam/#el-bdi).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `bdi` element represents a span of text that is to be isolated from\n its surroundings for the purposes of bidirectional text formatting. [BIDI]\n\nThe `dir` global attribute defaults to `auto` on this element (it never inherits from the parent element like\n with other elements).\n\nThis element has rendering requirements involving the\n bidirectional algorithm.\n\nThis element is especially useful when embedding user-generated content with an unknown\n directionality.\n\nIn this example, usernames are shown along with the number of posts that the user has\n submitted. If the `bdi` element were not used, the username of the Arabic user would\n end up confusing the text (the bidirectional algorithm would put the colon and the number \"3\"\n next to the word \"User\" rather than next to the word \"posts\").\n\n```\n
    • User jcranmer: 12 posts.\n
    • User hober: 5 posts.\n
    • User إيان: 3 posts.\n
    \n```\n\nWhen using the `bdi` element, the username acts as expected.\n\nIf the `bdi` element were to be replaced by a `b` element, the username would confuse the bidirectional algorithm and the third bullet would end up saying \"User 3 :\", followed by the Arabic name (right-to-left), followed by \"posts\" and a period.\n\n#### 4.5.25 The `bdo` element\n\n[Element/bdo](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo)\n\nSupport in all current engines.\n\nFirefox10+ Safari4+ Chrome15+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAlso, the `dir` global attribute has special semantics on this element.\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-bdo).\n\n[For implementers](https://w3c.github.io/html-aam/#el-bdo).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `bdo` element represents explicit text directionality formatting\n control for its children. It allows authors to override the Unicode bidirectional algorithm by\n explicitly specifying a direction override. [BIDI]\n\nAuthors must specify the `dir` attribute on this element, with the\n value `ltr` to specify a left-to-right override and with the value `rtl` to\n specify a right-to-left override. The `auto` value must not be specified.\n\nThis element has rendering requirements involving the\n bidirectional algorithm.\n\n#### 4.5.26 The `span` element\n\n[Element/span](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLSpanElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari6+ Chrome15+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-span).\n\n[For implementers](https://w3c.github.io/html-aam/#el-span).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLSpanElement : HTMLElement {\n [HTMLConstructor] constructor();\n};`\n\nThe `span` element doesn't mean anything on its own, but can be useful when used\n together with the global attributes, e.g. `class`,\n `lang`, or `dir`. It\n represents its children.\n\nIn this example, a code fragment is marked up using `span` elements and `class` attributes so that its keywords and identifiers can be\n color-coded from CSS:\n\n```\n
    for (j = 0; j < 256; j++) {\n  i_t3 = (i_t3 & 0x1ffff) | (j << 17);\n  i_t6 = (((((((i_t3 >> 3) ^ i_t3) >> 1) ^ i_t3) >> 8) ^ i_t3) >> 5) & 0xff;\n  if (i_t6 == i_t1)\n    break;\n}
    \n```\n\n#### 4.5.27 The `br` element\n\n[Element/br](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLBRElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-br).\n\n[For implementers](https://w3c.github.io/html-aam/#el-br).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLBRElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n // also has obsolete members\n};`\n\nThe `br` element represents a line break.\n\nWhile line breaks are usually represented in visual media by physically moving\n subsequent text to a new line, a style sheet or user agent would be equally justified in causing\n line breaks to be rendered in a different manner, for instance as green dots, or as extra\n spacing.\n\n`br` elements must be used only for line breaks that are actually part of the\n content, as in poems or addresses.\n\nThe following example is correct usage of the `br` element:\n\n```\n

    P. Sherman
    \n42 Wallaby Way
    \nSydney

    \n```\n\n`br` elements must not be used for separating thematic groups in a paragraph.\n\nThe following examples are non-conforming, as they abuse the `br` element:\n\n```\n

    34 comments.
    Add a comment.

    \n```\n\n```\n


    \n```\n\nHere are alternatives to the above, which are correct:\n\n```\n

    34 comments.

    Add a comment.

    \n```\n\n```\n

    \n```\n\nIf a paragraph consists of nothing but a single `br` element, it\n represents a placeholder blank line (e.g. as in a template). Such blank lines must not be used for\n presentation purposes.\n\nAny content inside `br` elements must not be considered part of the surrounding\n text.\n\nThis element has rendering requirements involving the\n bidirectional algorithm.\n\n#### 4.5.28 The `wbr` element\n\n[Element/wbr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera11.6+ Edge79+\n\n---\n\nEdge (Legacy)? Internet Explorer5.5–7\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-wbr).\n\n[For implementers](https://w3c.github.io/html-aam/#el-wbr).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLElement`.\n\nThe `wbr` element represents a line break opportunity.\n\nIn the following example, someone is quoted as saying something which, for effect, is written\n as one long word. However, to ensure that the text can be wrapped in a readable fashion, the\n individual words in the quote are separated using a `wbr` element.\n\n```\n

    So then she pointed at the tiger and screamed\n\"thereisnowayyouareevergoingtocatchme\"!

    \n```\n\nAny content inside `wbr` elements must not be considered part of the surrounding\n text.\n\n```\nvar wbr = document.createElement(\"wbr\");\nwbr.textContent = \"This is wrong\";\ndocument.body.appendChild(wbr);\n```\n\nThis element has rendering requirements involving the\n bidirectional algorithm.\n\n#### 4.5.29 Usage summary\n\n*This section is non-normative.*\n\n| Element | Purpose | Example |\n| --- | --- | --- |\n| `a` | Hyperlinks | `Visit my **drinks** page.` |\n| `em` | Stress emphasis | `I must say I **adore** lemonade.` |\n| `strong` | Importance | `This tea is **very hot**.` |\n| `small` | Side comments | `These grapes are made into wine. **Alcohol is addictive.**` |\n| `s` | Inaccurate text | `Price: **£4.50** £2.00!` |\n| `cite` | Titles of works | `The case **Hugo v. Danielle** is relevant here.` |\n| `q` | Quotations | `The judge said **You can drink water from the fish tank** but advised against it.` |\n| `dfn` | Defining instance | `The term **organic food** refers to food produced without synthetic chemicals.` |\n| `abbr` | Abbreviations | `Organic food in Ireland is certified by the **IOFGA**.` |\n| `ruby`, `rt`, `rp` | Ruby annotations | `** OJ (Orange Juice)**` |\n| `data` | Machine-readable equivalent | `Available starting today! **North Coast Organic Apple Cider**` |\n| `time` | Machine-readable equivalent of date- or time-related data | `Available starting on ****!` |\n| `code` | Computer code | `The **fruitdb** program can be used for tracking fruit production.` |\n| `var` | Variables | `If there are **n** fruit in the bowl, at least **n**÷2 will be ripe.` |\n| `samp` | Computer output | `The computer said **Unknown error -3**.` |\n| `kbd` | User input | `Hit **F1** to continue.` |\n| `sub` | Subscripts | `Water is H**2**O.` |\n| `sup` | Superscripts | `The Hydrogen in heavy water is usually **2**H.` |\n| `i` | Alternative voice | `Lemonade consists primarily of **Citrus limon**.` |\n| `b` | Keywords | `Take a **lemon** and squeeze it with a **juicer**.` |\n| `u` | Annotations | `The mixture of apple juice and **eldeflower** juice is very pleasant.` |\n| `mark` | Highlight | `Elderflower cordial, with one **part** cordial to ten **part**s water, stands a**part** from the rest.` |\n| `bdi` | Text directionality isolation | `The recommended restaurant is **My Juice Café (At The Beach)**.` |\n| `bdo` | Text directionality formatting | `The proposal is to write English, but in reverse order. \"Juice\" would become \"**Juice**\">` |\n| `span` | Other | `In French we call it **sirop de sureau**.` |\n| `br` | Line break | `Simply Orange Juice Company**
    **Apopka, FL 32703**
    **U.S.A.` |\n| `wbr` | Line breaking opportunity | `www.simply****orange****juice.com` |\n\n### 4.6 Links\n\n#### 4.6.1 Introduction\n\nLinks are a conceptual construct, created by `a`, `area`,\n `form`, and `link` elements, that represent\n a connection between two resources, one of which is the current `Document`. There are\n three kinds of links in HTML:\n\nLinks to\n external resources\n\nThese are links to resources that are to be used to augment the current document,\n generally automatically processed by the user agent. All external resource links have a fetch and process the linked resource\n algorithm which describes how the resource is obtained.\n\nHyperlinks\n\nThese are links to other resources that are generally exposed to the user by the user\n agent so that the user can cause the user agent to navigate to those resources, e.g.\n to visit them in a browser or download them.\n\nInternal resource links\n\nThese are links to resources within the current document, used to give those resources\n special meaning or behavior.\n\nFor `link` elements with an `href` attribute and a\n `rel` attribute, links must be created for the keywords of the\n `rel` attribute, as defined for those keywords in the link types section.\n\nSimilarly, for `a` and `area` elements with an `href` attribute and a `rel` attribute, links must be created for the keywords of the\n `rel` attribute as defined for those keywords in the link types section. Unlike `link` elements, however,\n `a` and `area` elements with an `href`\n attribute that either do not have a `rel` attribute, or\n whose `rel` attribute has no keywords that are defined as\n specifying hyperlinks, must also create a hyperlink.\n This implied hyperlink has no special meaning (it has no link type)\n beyond linking the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) to the resource given by the element's `href` attribute.\n\nSimilarly, for `form` elements with a `rel`\n attribute, links must be created for the keywords of the `rel`\n attribute as defined for those keywords in the link types section.\n `form` elements that do not have a `rel` attribute,\n or whose `rel` attribute has no keywords that are defined as\n specifying hyperlinks, must also create a hyperlink.\n\nA hyperlink can have one or more hyperlink\n annotations that modify the processing semantics of that hyperlink.\n\n#### 4.6.2 Links created by `a` and `area` elements\n\nThe `href`\n attribute on `a` and `area` elements must have a value that is a valid\n URL potentially surrounded by spaces.\n\nThe `href` attribute on `a` and\n `area` elements is not required; when those elements do not have `href` attributes they do not create hyperlinks.\n\nThe `target`\n attribute, if present, must be a valid navigable target name or keyword. It gives the\n name of the navigable that will be used. User agents use this\n name when following hyperlinks.\n\nThe `download`\n attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource. The attribute may have a value; the\n value, if any, specifies the default filename that the author recommends for use in labeling the\n resource in a local file system. There are no restrictions on allowed values, but authors are\n cautioned that most file systems have limitations with regard to what punctuation is supported in\n filenames, and user agents are likely to adjust filenames accordingly.\n\n[Element/a#attr-ping](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-ping)\n\nSupport in all current engines.\n\nFirefox🔰 1+ Safari6+ Chrome12+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android≤37+ Samsung Internet? Opera Android?\n\nThe `ping` attribute, if present, gives the URLs of the\n resources that are interested in being notified if the user follows the hyperlink. The value must\n be a set of space-separated tokens, each of which must be a valid non-empty\n URL whose [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is an [HTTP(S)\n scheme](https://fetch.spec.whatwg.org/#http-scheme). The value is used by the user agent for hyperlink\n auditing.\n\nThe `rel` attribute on `a` and `area`\n elements controls what kinds of links the elements create. The attribute's value must be an\n unordered set of unique space-separated tokens. The allowed\n keywords and their meanings are defined below.\n\n`rel`'s [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) are the keywords defined in HTML link types which are allowed on `a` and `area`\n elements, impact the processing model, and are supported by the user agent. The possible [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) are `noreferrer`, `noopener`, and `opener`. `rel`'s [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) must only include the tokens from this\n list that the user agent implements the processing model for.\n\nThe `rel` attribute has no default value. If the\n attribute is omitted or if none of the values in the attribute are recognized by the user agent,\n then the document has no particular relationship with the destination resource other than there\n being a hyperlink between the two.\n\nThe `referrerpolicy` attribute is a referrer\n policy attribute. Its purpose is to set the [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) used when\n following hyperlinks. [REFERRERPOLICY]\n\n---\n\nWhen an `a` or `area` element's [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) is\n invoked, the user agent may allow the user to indicate a preference regarding whether the\n hyperlink is to be used for navigation or whether the resource it\n specifies is to be downloaded.\n\nIn the absence of a user preference, the default should be navigation if the element has no\n `download` attribute, and should be to download the\n specified resource if it does.\n\nThe [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) of an `a` or `area` element\n element given an event event is:\n\n1. If element has no `href` attribute,\n then return.\n2. Let hyperlinkSuffix be null.\n3. If element is an `a` element, and event's [target](https://dom.spec.whatwg.org/#event-target) is an `img` with an `ismap` attribute specified:\n 1. Let x and y be 0.\n 2. If event's `[isTrusted](https://dom.spec.whatwg.org/#dom-event-istrusted)` attribute is\n initialized to true, then set x to the distance in [CSS\n pixels](https://drafts.csswg.org/css-values/#px) from the left edge of the image to the location of the click, and set\n y to the distance in [CSS pixels](https://drafts.csswg.org/css-values/#px) from the top edge of the\n image to the location of the click.\n 3. If x is negative, set x to 0.\n 4. If y is negative, set y to 0.\n 5. Set hyperlinkSuffix to the concatenation of U+003F (?), the value of\n x expressed as a base-ten integer using [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit), U+002C (,), and\n the value of y expressed as a base-ten integer using [ASCII\n digits](https://infra.spec.whatwg.org/#ascii-digit).\n4. Let userInvolvement be event's user\n navigation involvement.\n5. If the user has expressed a preference to download the hyperlink, then set\n userInvolvement to \"`browser UI`\". That is, if the user has expressed a specific preference for downloading, this\n no longer counts as merely \"`activation`\".\n6. If element has a `download`\n attribute, or if the user has expressed a preference to download the hyperlink, then download the hyperlink created by element with\n *hyperlinkSuffix* set to hyperlinkSuffix and\n *userInvolvement* set to\n userInvolvement.\n7. Otherwise, follow the hyperlink created by\n element with *hyperlinkSuffix* set to\n hyperlinkSuffix and *userInvolvement* set to\n userInvolvement.\n\n#### 4.6.3 API for hyperlink elements\n\n```\ninterface mixin HyperlinkElementUtils {\n readonly attribute USVString origin;\n [CEReactions] attribute USVString protocol;\n [CEReactions] attribute USVString username;\n [CEReactions] attribute USVString password;\n [CEReactions] attribute USVString host;\n [CEReactions] attribute USVString hostname;\n [CEReactions] attribute USVString port;\n [CEReactions] attribute USVString pathname;\n [CEReactions] attribute USVString search;\n [CEReactions] attribute USVString hash;\n\n [CEReactions, Reflect] attribute DOMString hreflang;\n [CEReactions, Reflect] attribute DOMString type;\n};\n```\n\n`hyperlink.origin`[HTMLAnchorElement/origin](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/origin)Support in all current engines.Firefox26+Safari5.1+Chrome8+Opera?Edge79+Edge (Legacy)17+Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android?[HTMLAreaElement/origin](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/origin)Support in all current engines.Firefox26+Safari10+Chrome32+Opera?Edge79+Edge (Legacy)17+Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android37+Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's origin.\n\n`hyperlink.protocol`[HTMLAnchorElement/protocol](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/protocol](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's scheme. Can be set, to change the URL's scheme.\n\n`hyperlink.username`[HTMLAnchorElement/username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)Support in all current engines.Firefox26+Safari10+Chrome32+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)Support in all current engines.Firefox26+Safari10+Chrome32+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's username. Can be set, to change the URL's username.\n\n`hyperlink.password`[HTMLAnchorElement/password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)Support in all current engines.Firefox26+Safari10+Chrome32+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)Support in all current engines.Firefox26+Safari10+Chrome32+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's password. Can be set, to change the URL's password.\n\n`hyperlink.host`[HTMLAnchorElement/host](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/host](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's host and port (if different from the default port for the\n scheme). Can be set, to change the URL's host and port.\n\n`hyperlink.hostname`[HTMLAnchorElement/hostname](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/hostname](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's host. Can be set, to change the URL's host.\n\n`hyperlink.port`[HTMLAnchorElement/port](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/port](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's port. Can be set, to change the URL's port.\n\n`hyperlink.pathname`[HTMLAnchorElement/pathname](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/pathname](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's path. Can be set, to change the URL's path.\n\n`hyperlink.search`[HTMLAnchorElement/search](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/search](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's query (includes leading \"`?`\" if\n non-empty). Can be set, to change the URL's query (ignores leading \"`?`\").\n\n`hyperlink.hash`[HTMLAnchorElement/hash](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/hash](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)Support in all current engines.Firefox1+Safari1+Chrome1+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL's fragment (includes leading \"`#`\" if\n non-empty). Can be set, to change the URL's fragment (ignores leading \"`#`\").\n\nAn element implementing the `HyperlinkElementUtils` mixin is a hyperlink\n element.\n\nA hyperlink element has an associated url (null or a [URL](https://url.spec.whatwg.org/#concept-url)). It is initially null.\n\nA hyperlink element has the following extract an origin steps:\n\n1. If [this](https://webidl.spec.whatwg.org/#this)'s url is null, then\n return null.\n2. Return [this](https://webidl.spec.whatwg.org/#this)'s url's\n [origin](https://url.spec.whatwg.org/#concept-url-origin).\n\nA hyperlink element must have an associated set the url algorithm.\n\nWhen hyperlink elements are created, the user agent\n must set the url.\n\nA hyperlink element has an associated\n reinitialize url algorithm, which runs these\n steps:\n\n1. If the element's url is non-null, its [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is \"`blob`\", and it has an\n [opaque path](https://url.spec.whatwg.org/#url-opaque-path), then terminate these steps.\n2. Set the url.\n\nA hyperlink element must have an associated update `href`\n algorithm.\n\nThe `hreflang`\n attribute on hyperlink elements that create hyperlinks, if present, gives the language of the linked resource. It is\n purely advisory. The value must be a valid BCP 47 language tag. [BCP47] User agents must not consider this attribute authoritative — upon fetching the\n resource, user agents must use only language information associated with the resource to determine\n its language, not metadata included in the link to the resource.\n\nThe `type`\n attribute on hyperlink elements, if present, gives the\n [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) of the linked resource. It is purely advisory. The value must be a\n [valid MIME type string](https://mimesniff.spec.whatwg.org/#valid-mime-type). User agents must not consider the `type` attribute authoritative — upon fetching the\n resource, user agents must not use metadata included in the link to the resource to determine its\n type.\n\n---\n\nThe `origin` getter steps are:\n\n1. Reinitialize url.\n2. If [this](https://webidl.spec.whatwg.org/#this)'s url is null, return the\n empty string.\n3. Return the serialization of\n [this](https://webidl.spec.whatwg.org/#this)'s url's [origin](https://url.spec.whatwg.org/#concept-url-origin).\n\nThe `protocol` getter steps are:\n\n1. Reinitialize url.\n2. If [this](https://webidl.spec.whatwg.org/#this)'s url is null, return\n \"`:`\".\n3. Return [this](https://webidl.spec.whatwg.org/#this)'s url's [scheme](https://url.spec.whatwg.org/#concept-url-scheme), followed by \"`:`\".\n\nThe `protocol` setter steps are:\n\n1. Reinitialize url.\n2. If [this](https://webidl.spec.whatwg.org/#this)'s url is null, then\n return.\n3. [Basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) the given value, followed by \"`:`\", with [this](https://webidl.spec.whatwg.org/#this)'s url as\n [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [scheme start state](https://url.spec.whatwg.org/#scheme-start-state) as\n [*state override*](https://url.spec.whatwg.org/#basic-url-parser-state-override). Because the URL parser ignores multiple consecutive colons, providing a value\n of \"`https:`\" (or even \"`https::::`\") is the same as\n providing a value of \"`https`\".\n4. Update `href`.\n\nThe `username` getter steps are:\n\n1. Reinitialize url.\n2. If [this](https://webidl.spec.whatwg.org/#this)'s url is null, return the\n empty string.\n3. Return [this](https://webidl.spec.whatwg.org/#this)'s url's [username](https://url.spec.whatwg.org/#concept-url-username).\n\nThe `username` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null or url [cannot have a username/password/port](https://url.spec.whatwg.org/#cannot-have-a-username-password-port), then return.\n4. [Set the username](https://url.spec.whatwg.org/#set-the-username), given url and the given value.\n5. Update `href`.\n\nThe `password` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null, then return the empty string.\n4. Return url's [password](https://url.spec.whatwg.org/#concept-url-password).\n\nThe `password` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null or url [cannot have a username/password/port](https://url.spec.whatwg.org/#cannot-have-a-username-password-port), then return.\n4. [Set the password](https://url.spec.whatwg.org/#set-the-password), given url and the given value.\n5. Update `href`.\n\nThe `host` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url or url's [host](https://url.spec.whatwg.org/#concept-url-host) is null,\n return the empty string.\n4. If url's [port](https://url.spec.whatwg.org/#concept-url-port) is null, return\n url's [host](https://url.spec.whatwg.org/#concept-url-host), [serialized](https://url.spec.whatwg.org/#concept-host-serializer).\n5. Return url's [host](https://url.spec.whatwg.org/#concept-url-host), [serialized](https://url.spec.whatwg.org/#concept-host-serializer), followed by \"`:`\" and url's [port](https://url.spec.whatwg.org/#concept-url-port), [serialized](https://url.spec.whatwg.org/#serialize-an-integer).\n\nThe `host` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null or url has an [opaque path](https://url.spec.whatwg.org/#url-opaque-path), then\n return.\n4. [Basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) the given value, with\n url as [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [host\n state](https://url.spec.whatwg.org/#host-state) as [*state\n override*](https://url.spec.whatwg.org/#basic-url-parser-state-override).\n5. Update `href`.\n\nThe `hostname` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url or url's [host](https://url.spec.whatwg.org/#concept-url-host) is null,\n return the empty string.\n4. Return url's [host](https://url.spec.whatwg.org/#concept-url-host), [serialized](https://url.spec.whatwg.org/#concept-host-serializer).\n\nThe `hostname` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null or url has an [opaque path](https://url.spec.whatwg.org/#url-opaque-path), then\n return.\n4. [Basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) the given value, with\n url as [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [hostname\n state](https://url.spec.whatwg.org/#hostname-state) as [*state\n override*](https://url.spec.whatwg.org/#basic-url-parser-state-override).\n5. Update `href`.\n\nThe `port` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url or url's [port](https://url.spec.whatwg.org/#concept-url-port) is null,\n return the empty string.\n4. Return url's [port](https://url.spec.whatwg.org/#concept-url-port), [serialized](https://url.spec.whatwg.org/#serialize-an-integer).\n\nThe `port` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null or url [cannot have a username/password/port](https://url.spec.whatwg.org/#cannot-have-a-username-password-port), then return.\n4. If the given value is the empty string, then set url's [port](https://url.spec.whatwg.org/#concept-url-port) to null.\n5. Otherwise, [basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) the given value, with\n url as [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [port\n state](https://url.spec.whatwg.org/#port-state) as [*state\n override*](https://url.spec.whatwg.org/#basic-url-parser-state-override).\n6. Update `href`.\n\nThe `pathname` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null, then return the empty string.\n4. Return the result of [URL path serializing](https://url.spec.whatwg.org/#url-path-serializer) url.\n\nThe `pathname` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null or url has an [opaque path](https://url.spec.whatwg.org/#url-opaque-path), then\n return.\n4. Set url's [path](https://url.spec.whatwg.org/#concept-url-path) to the empty\n list.\n5. [Basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) the given value, with\n url as [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [path start\n state](https://url.spec.whatwg.org/#path-start-state) as [*state\n override*](https://url.spec.whatwg.org/#basic-url-parser-state-override).\n6. Update `href`.\n\nThe `search` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null, or url's [query](https://url.spec.whatwg.org/#concept-url-query) is either null or the empty string, return the empty\n string.\n4. Return \"`?`\", followed by url's [query](https://url.spec.whatwg.org/#concept-url-query).\n\nThe `search` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null, terminate these steps.\n4. If the given value is the empty string, set url's [query](https://url.spec.whatwg.org/#concept-url-query) to null.\n5. Otherwise:\n 1. Let input be the given value with a single leading \"`?`\"\n removed, if any.\n 2. Set url's [query](https://url.spec.whatwg.org/#concept-url-query) to the empty\n string.\n 3. [Basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) input, with\n url as [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [query\n state](https://url.spec.whatwg.org/#query-state) as [*state\n override*](https://url.spec.whatwg.org/#basic-url-parser-state-override).\n6. Update `href`.\n\nThe `hash` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null, or url's [fragment](https://url.spec.whatwg.org/#concept-url-fragment) is either null or the empty string, return the\n empty string.\n4. Return \"`#`\", followed by url's [fragment](https://url.spec.whatwg.org/#concept-url-fragment).\n\nThe `hash` setter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null, then return.\n4. If the given value is the empty string, set url's [fragment](https://url.spec.whatwg.org/#concept-url-fragment) to null.\n5. Otherwise:\n 1. Let input be the given value with a single leading \"`#`\"\n removed, if any.\n 2. Set url's [fragment](https://url.spec.whatwg.org/#concept-url-fragment) to the empty\n string.\n 3. [Basic URL parse](https://url.spec.whatwg.org/#concept-basic-url-parser) input, with\n url as [*url*](https://url.spec.whatwg.org/#basic-url-parser-url) and [fragment\n state](https://url.spec.whatwg.org/#fragment-state) as [*state\n override*](https://url.spec.whatwg.org/#basic-url-parser-state-override).\n6. Update `href`.\n\n#### 4.6.4 API for `a` and `area` elements\n\n```\ninterface mixin HTMLHyperlinkElementUtils {\n [CEReactions, ReflectSetter] stringifier attribute USVString href;\n [CEReactions, Reflect] attribute DOMString target;\n};\n```\n\n`hyperlink.toString()`\n\n`hyperlink.href`[HTMLAnchorElement/href](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)Support in all current engines.Firefox1+Safari1+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+[HTMLAnchorElement/toString](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/toString)Support in all current engines.Firefox22+Safari3+Chrome52+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android?[HTMLAreaElement/href](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)Support in all current engines.Firefox1+Safari1+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+[HTMLAreaElement/toString](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/toString)Support in all current engines.Firefox22+Safari10.1+Chrome32+Opera?Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the hyperlink's URL. Can be set, to change the URL.\n\nThe `href` getter steps are:\n\n1. Reinitialize url.\n2. Let url be [this](https://webidl.spec.whatwg.org/#this)'s url.\n3. If url is null and [this](https://webidl.spec.whatwg.org/#this) has no `href` content attribute, return the empty string.\n4. Otherwise, if url is null, return [this](https://webidl.spec.whatwg.org/#this)'s `href` content attribute's value.\n5. Return url, [serialized](https://url.spec.whatwg.org/#concept-url-serializer).\n\nThe HTML element insertion steps for `a` and `area`\n elements, given insertedNode, are:\n\n1. If insertedNode is not [connected](https://dom.spec.whatwg.org/#connected), then return.\n2. Consider speculative loads given insertedNode's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n\nThe HTML element removing steps for `a` and `area` elements,\n given removedNode, isSubtreeRoot, and oldAncestor are:\n\n1. If oldAncestor is not [connected](https://dom.spec.whatwg.org/#connected), then return.\n2. Consider speculative loads given oldAncestor's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n\nThe HTML element moving steps for `a` and `area` elements,\n given movedNode, are:\n\n1. Consider speculative loads given movedNode's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n\nThe following [attribute change\n steps](https://dom.spec.whatwg.org/#concept-element-attributes-change-ext), given element, localName, oldValue,\n value, and namespace, are used for all `a` and `area`\n elements:\n\n1. If namespace is not null, then return.\n2. If oldValue equals value, then return.\n3. If localName is `href`, then set the url given element. This is only observable for `[blob:](https://w3c.github.io/FileAPI/#blob-url)` URLs as\n [parsing](https://url.spec.whatwg.org/#concept-url-parser) them involves a [Blob URL Store](https://w3c.github.io/FileAPI/#BlobURLStore) lookup.\n4. If localName is `href`, `referrerpolicy`, or `rel`, then consider speculative loads given\n element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n\nTo update `href` for an `HTMLAnchorElement` or\n `HTMLAreaElement` element, set the element's `href`\n content attribute's value to the element's url, [serialized](https://url.spec.whatwg.org/#concept-url-serializer).\n\nThe set the url algorithm for\n `HTMLAnchorElement` and `HTMLAreaElement` elements is as follows:\n\n1. Set this element's url to null.\n2. If this element's `href` content attribute is\n absent, then return.\n3. Let url be the result of encoding-parsing a URL given this\n element's `href` content attribute's value, relative to\n this element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n4. If url is not failure, then set this element's url to url.\n\n#### 4.6.5 Following hyperlinks\n\nAn element element cannot navigate if any of the following are true:\n\n- element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active;\n or\n- element is not an `a` element and is not\n [connected](https://dom.spec.whatwg.org/#connected).\n\nThis is also used by form submission for\n the `form` element. The exception for `a` elements is for compatibility with\n web content.\n\nTo get an element's noopener, given an `a`, `area`, or\n `form` element element, a [URL record](https://url.spec.whatwg.org/#concept-url) url, and a\n string target, perform the following steps. They return a boolean.\n\n1. If element's link types include the `noopener` or `noreferrer`\n keyword, then return true.\n2. If element's link types\n do not include the `opener` keyword and target is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for \"`_blank`\", then return\n true.\n3. If url's [blob URL entry](https://url.spec.whatwg.org/#concept-url-blob-entry) is not\n null:\n 1. Let blobOrigin be url's [blob URL entry](https://url.spec.whatwg.org/#concept-url-blob-entry)'s [environment](https://w3c.github.io/FileAPI/#blob-url-entry-environment)'s origin.\n 2. Let topLevelOrigin be element's relevant settings\n object's top-level origin.\n 3. If blobOrigin is not same site with topLevelOrigin,\n then return true.\n4. Return false.\n\nTo follow the hyperlink created by an element\n subject, given an optional hyperlinkSuffix (default null) and an\n optional userInvolvement (default \"`none`\"):\n\n1. If subject cannot navigate, then return.\n2. Let targetAttributeValue be the empty string.\n3. If subject is an `a` or `area` element, then set\n targetAttributeValue to the result of getting\n an element's target given subject.\n4. Let urlRecord be the result of encoding-parsing a URL given\n subject's `href` attribute value, relative to\n subject's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n5. If urlRecord is failure, then return.\n6. Let noopener be the result of getting\n an element's noopener with subject, urlRecord, and\n targetAttributeValue.\n7. Let targetNavigable be the first return value of applying the rules for\n choosing a navigable given targetAttributeValue, subject's\n node navigable, and noopener.\n8. If targetNavigable is null, then return.\n9. Let urlString be the result of applying the [URL serializer](https://url.spec.whatwg.org/#concept-url-serializer) to urlRecord.\n10. If hyperlinkSuffix is non-null, then append it to\n urlString.\n11. Navigate targetNavigable to\n urlString using subject's [node document](https://dom.spec.whatwg.org/#concept-node-document), with *referrerPolicy* set to subject's\n hyperlink referrer policy, *userInvolvement* set to userInvolvement, and\n *sourceElement* set to subject. Unlike many other types of navigations, following hyperlinks does not have\n special \"`replace`\" behavior for when\n documents are not completely loaded. This is true for both user-initiated instances\n of following hyperlinks, as well as script-triggered ones via, e.g., `aElement.click()`.\n\nThe hyperlink referrer policy for an element subject is the value\n returned by the following steps:\n\n1. If subject's link\n types includes the `noreferrer` keyword, then return\n \"`no-referrer`\".\n2. Return the current state of subject's `referrerpolicy` content attribute.\n\n#### 4.6.6 Downloading resources\n\n[HTMLAnchorElement/download](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)\n\nSupport in all current engines.\n\nFirefox20+ Safari10.1+ Chrome15+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)13+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nIn some cases, resources are intended for later use rather than immediate viewing. To indicate\n that a resource is intended to be downloaded for use later, rather than immediately used, the\n `download` attribute can be specified on the\n `a` or `area` element that creates the hyperlink to that\n resource.\n\nThe attribute can furthermore be given a value, to specify the filename that user agents are\n to use when storing the resource in a file system. This value can be overridden by the ``[Content-Disposition](https://httpwg.org/specs/rfc6266.html)`` HTTP header's filename parameters.\n [RFC6266]\n\nIn cross-origin situations, the `download`\n attribute has to be combined with the ``[Content-Disposition](https://httpwg.org/specs/rfc6266.html)`` HTTP header, specifically with the\n `attachment` disposition type, to avoid the user being warned of possibly\n nefarious activity. (This is to protect users from being made to download sensitive personal or\n confidential information without their full understanding.)\n\n---\n\nTo download the hyperlink created by an\n element subject, given an optional hyperlinkSuffix (default null) and an\n optional userInvolvement (default\n \"`none`\"):\n\n1. If subject cannot navigate, then return.\n2. If subject's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s active\n sandboxing flag set has the sandboxed downloads browsing context flag set,\n then return.\n3. Let urlString be the result of encoding-parsing-and-serializing a\n URL given subject's `href` attribute\n value, relative to subject's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n4. If urlString is failure, then return.\n5. If hyperlinkSuffix is non-null, then append it to\n urlString.\n6. If userInvolvement is not \"`browser UI`\":\n 1. [Assert](https://infra.spec.whatwg.org/#assert): subject has a `download` attribute.\n 2. Let navigation be subject's relevant global object's\n .\n 3. Let filename be the value of subject's `download` attribute.\n 4. Let continue be the result of firing a download request `navigate` event at\n navigation with *destinationURL*\n set to urlString, *userInvolvement* set to\n userInvolvement, *sourceElement*\n set to subject, and *filename* set to\n filename.\n 5. If continue is false, then return.\n 6. given subject's node navigable.\n7. Optionally, the user agent may return, if it believes doing so would safeguard the user\n from a potentially hostile download.\n8. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose [URL](https://fetch.spec.whatwg.org/#concept-request-url) is urlString, [client](https://fetch.spec.whatwg.org/#concept-request-client) is entry settings object, [initiator](https://fetch.spec.whatwg.org/#concept-request-initiator) is \"`download`\", [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is the empty string, and whose\n [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set.\n9. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request, with *[processResponse](https://fetch.spec.whatwg.org/#process-response)* set to the following steps given [response](https://fetch.spec.whatwg.org/#concept-response) response:\n 1. Handle as a download response with\n subject's node navigable and null.\n\nTo handle as a download a [response](https://fetch.spec.whatwg.org/#concept-response) response with a navigable navigable and a navigation ID or null navigationId:\n\n1. Let suggestedFilename be the result of getting the suggested\n filename for response.\n2. Let download behavior be the result of [WebDriver BiDi download will\n begin](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-download-will-begin) with navigable and a new \n whose [id](https://w3c.github.io/webdriver-bidi/#navigation-status-id) is navigationId, [status](https://w3c.github.io/webdriver-bidi/#navigation-status-status) is \"`[pending](https://w3c.github.io/webdriver-bidi/#navigation-status-pending)`\", [url](https://w3c.github.io/webdriver-bidi/#navigation-status-url) is response's [URL](https://fetch.spec.whatwg.org/#concept-response-url), [suggestedFilename](https://w3c.github.io/webdriver-bidi/#navigation-status-suggested-filename) is\n suggestedFilename, and [downloadResponse](https://fetch.spec.whatwg.org/#concept-response) is response.\n3. If download behavior is not null and download behavior's\n [allowed](https://w3c.github.io/webdriver-bidi/#download-behavior-struct-allowed) is false:\n 1. Invoke [WebDriver BiDi download end](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-download-end) with navigable and a new\n whose [id](https://w3c.github.io/webdriver-bidi/#navigation-status-id) is navigationId, [status](https://w3c.github.io/webdriver-bidi/#navigation-status-status) is \"`[canceled](https://w3c.github.io/webdriver-bidi/#navigation-status-canceled)`\", [url](https://w3c.github.io/webdriver-bidi/#navigation-status-url) is response's [URL](https://fetch.spec.whatwg.org/#concept-response-url), and [downloadResponse](https://fetch.spec.whatwg.org/#concept-response) is response.\n 2. Return.\n4. If download behavior is not null, let destinationFolder be\n download behavior's [destinationFolder](https://w3c.github.io/webdriver-bidi/#download-behavior-struct-destination-folder).\n5. Run these steps in parallel:\n 1. Run [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) steps to save response for later use.\n If destinationFolder is not null, the user agent should save the file to that path.\n If the user agent needs a filename, the user agent should use the\n suggestedFilename.\n 2. If any of the following are true: then:\n - the download is canceled by the user;\n - the download is canceled by the user agent;\n - an error occurs (for example, a network error, not enough storage, an unavailable\n destination folder);\n 1. Invoke [WebDriver BiDi download end](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-download-end) with navigable and a new\n whose [id](https://w3c.github.io/webdriver-bidi/#navigation-status-id) is navigationId, [status](https://w3c.github.io/webdriver-bidi/#navigation-status-status) is \"`[canceled](https://w3c.github.io/webdriver-bidi/#navigation-status-canceled)`\", [url](https://w3c.github.io/webdriver-bidi/#navigation-status-url) is response's [URL](https://fetch.spec.whatwg.org/#concept-response-url).\n 2. Return.\n 3. When the download completes successfully, invoke [WebDriver BiDi download\n end](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-download-end) with navigable and a new \n whose [id](https://w3c.github.io/webdriver-bidi/#navigation-status-id) is navigationId, [status](https://w3c.github.io/webdriver-bidi/#navigation-status-status) is \"`[complete](https://w3c.github.io/webdriver-bidi/#navigation-status-complete)`\", [downloadedFilepath](https://w3c.github.io/webdriver-bidi/#navigation-status-downloaded-filepath) is an absolute path\n of the downloaded file if available, otherwise null, [url](https://w3c.github.io/webdriver-bidi/#navigation-status-url) is response's [URL](https://fetch.spec.whatwg.org/#concept-response-url), and [downloadResponse](https://fetch.spec.whatwg.org/#concept-response) is response.\n\nTo get the suggested filename for a [response](https://fetch.spec.whatwg.org/#concept-response) response:\n\nThis algorithm is intended to mitigate security dangers involved in downloading\n files from untrusted sites, and user agents are strongly urged to follow it.\n\n1. Let filename be the undefined value.\n2. If response has a ``[Content-Disposition](https://httpwg.org/specs/rfc6266.html)`` header, that header specifies the\n `attachment` disposition type, and the header includes filename information,\n then let filename have the value specified by the header, and jump to the step labeled\n *sanitize* below. [RFC6266]\n3. Let interface origin be the [origin](https://dom.spec.whatwg.org/#concept-document-origin) of the `Document` in which the download or navigate action resulting in the\n download was initiated, if any.\n4. Let response origin be the origin of the URL of\n response, unless that URL's [scheme](https://url.spec.whatwg.org/#concept-url-scheme) component\n is `data`, in which case let response origin be the same as the\n interface origin, if any.\n5. If there is no interface origin, then let trusted operation be true.\n Otherwise, let trusted operation be true if response origin is the\n same origin as interface origin, and false otherwise.\n6. If trusted operation is true and response has a ``[Content-Disposition](https://httpwg.org/specs/rfc6266.html)`` header and that header includes\n filename information, then let filename have the value specified by the header, and\n jump to the step labeled *sanitize* below. [RFC6266]\n7. If the download was not initiated from a hyperlink created by an\n `a` or `area` element, or if the element of the hyperlink from\n which it was initiated did not have a `download`\n attribute when the download was initiated, or if there was such an attribute but its value when\n the download was initiated was the empty string, then jump to the step labeled *no proposed\n filename*.\n8. Let proposed filename have the value of the `download` attribute of the element of the\n hyperlink that initiated the download at the time the download was\n initiated.\n9. If trusted operation is true, let filename have\n the value of proposed filename, and jump to the step labeled *sanitize*\n below.\n10. If response has a ``[Content-Disposition](https://httpwg.org/specs/rfc6266.html)`` header and that header specifies\n the `attachment` disposition type, let filename have the value of\n proposed filename, and jump to the step labeled *sanitize* below.\n [RFC6266]\n11. *No proposed filename*: If trusted operation is true, or if the user\n indicated a preference for having the response in question downloaded, let filename\n have a value derived from the [URL](https://url.spec.whatwg.org/#concept-url) of response in an\n [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) manner, and jump to the step labeled *sanitize*\n below.\n12. Let filename be set to the user's preferred filename or to a filename selected by\n the user agent, and jump to the step labeled *sanitize* below. If the algorithm reaches this step, then a download was begun from a different origin than\n response, and the origin did not mark the file as suitable for downloading, and the\n download was not initiated by the user. This could be because a `download` attribute was used to trigger the download, or\n because response is not of a type that the user agent supports. This could be dangerous, because, for instance, a hostile server could be trying to get a\n user to unknowingly download private information and then re-upload it to the hostile server,\n by tricking the user into thinking the data is from the hostile server. Thus, it is in the user's interests that the user be somehow notified that\n response comes from quite a different source, and to prevent confusion, any\n suggested filename from the potentially hostile interface origin should be\n ignored.\n13. *Sanitize*: Optionally, allow the user to influence filename. For\n example, a user agent could prompt the user for a filename, potentially providing the value of\n filename as determined above as a default value.\n14. Adjust filename to be suitable for the local file system. For example, this could involve removing characters that are not legal in\n filenames, or trimming leading and trailing whitespace.\n15. If the platform conventions do not in any way use extensions to determine the types of file on the file system,\n then return filename as the filename.\n16. Let claimed type be the type given by response's Content-Type metadata, if any is known. Let named type be\n the type given by filename's extension, if any\n is known. For the purposes of this step, a *type* is a mapping of a [MIME type](https://mimesniff.spec.whatwg.org/#mime-type)\n to an extension.\n17. If named type is consistent with the user's preferences (e.g., because the\n value of filename was determined by prompting the user), then return\n filename as the filename.\n18. If claimed type and named type are the same type (i.e., the type\n given by response's Content-Type metadata is\n consistent with the type given by filename's extension), then return filename as the\n filename.\n19. If the claimed type is known, then alter filename to\n add an extension corresponding to claimed\n type. Otherwise, if named type is known to be potentially dangerous (e.g. it\n will be treated by the platform conventions as a native executable, shell script, HTML\n application, or executable-macro-capable document), then optionally alter filename to add a known-safe extension\n (e.g. \"`.txt`\"). This last step would make it impossible to download executables, which might not\n be desirable. As always, implementers are forced to balance security and usability in this\n matter.\n20. Return filename as the filename.\n\nFor the purposes of this algorithm, a file extension\n consists of any part of the filename that platform conventions dictate will be used for\n identifying the type of the file. For example, many operating systems use the part of the filename\n following the last dot (\"`.`\") in the filename to determine the type of the\n file, and from that the manner in which the file is to be opened or executed.\n\nUser agents should ignore any directory or path information provided by the response itself,\n its [URL](https://url.spec.whatwg.org/#concept-url), and any `download` attribute, in\n deciding where to store the resulting file in the user's file system.\n\n#### 4.6.7 Hyperlink auditing\n\nIf a hyperlink created by an `a` or `area` element has a\n `ping` attribute, and the user follows the hyperlink, and\n the value of the element's `href` attribute can be parsed, relative to the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document), without failure, then the user agent must take the `ping` attribute's value, [split that string on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace), parse each resulting token, relative to the element's [node document](https://dom.spec.whatwg.org/#concept-node-document), and\n then run these steps for each resulting [URL](https://url.spec.whatwg.org/#concept-url) ping URL, ignoring when\n parsing returns failure:\n\n1. If ping URL's [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is not an\n [HTTP(S) scheme](https://fetch.spec.whatwg.org/#http-scheme), then return.\n2. Optionally, return. (For example, the user agent might wish to ignore any or\n all ping URLs in accordance with the user's expressed preferences.)\n3. Let settingsObject be the element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n relevant settings object.\n4. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose [URL](https://fetch.spec.whatwg.org/#concept-request-url) is ping URL, [method](https://fetch.spec.whatwg.org/#concept-request-method) is ``POST``, is « (``Content-Type``,\n ``text/ping``) », [body](https://fetch.spec.whatwg.org/#concept-request-body) is ``PING``, [client](https://fetch.spec.whatwg.org/#concept-request-client) is\n settingsObject, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is the\n empty string, [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is \"`include`\", [referrer](https://fetch.spec.whatwg.org/#concept-request-referrer) is \"`no-referrer`\", and whose [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set, and whose\n [initiator type](https://fetch.spec.whatwg.org/#request-initiator-type) is \"`ping`\".\n5. Let target URL be the result of encoding-parsing-and-serializing a\n URL given the element's `href` attribute's value,\n relative to the element's [node document](https://dom.spec.whatwg.org/#concept-node-document), and then: If the [URL](https://dom.spec.whatwg.org/#concept-document-url) of the `Document` object\n containing the hyperlink being audited and ping URL have the same\n originIf the origins are different, but the [scheme](https://url.spec.whatwg.org/#concept-url-scheme) of\n the [URL](https://dom.spec.whatwg.org/#concept-document-url) of the `Document` containing the\n hyperlink being audited is not \"`https`\"request must include a ``Ping-From`` header with, as its value, the\n [URL](https://dom.spec.whatwg.org/#concept-document-url) of the document containing the hyperlink, and a\n ``Ping-To`` HTTP header with, as its value, the target URL.Otherwiserequest must include a ``Ping-To`` HTTP header with, as its value,\n target URL. request does not include a\n ``Ping-From`` header.\n6. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request.\n\nThis may be done in parallel with the primary fetch, and is independent of the\n result of that fetch.\n\nUser agents should allow the user to adjust this behavior, for example in conjunction with a\n setting that disables the sending of HTTP ``[Referer](https://httpwg.org/specs/rfc7231.html#header.referer)`` (sic)\n headers. Based on the user's preferences, UAs may either ignore the `ping` attribute altogether, or selectively ignore URLs in the\n list (e.g. ignoring any third-party URLs); this is explicitly accounted for in the steps\n above.\n\nUser agents must ignore any entity bodies returned in the responses. User agents may close the\n connection prematurely once they start receiving a response body.\n\nAn `a` or `area` element that creates a hyperlink and has\n the `ping` attribute is present, user agents may indicate\n to the user that following the hyperlink will also cause secondary requests to be sent in the\n background, possibly including listing the actual target URLs.\n\nFor example, a visual user agent could include the hostnames of the target ping\n URLs along with the hyperlink's actual URL in a status bar or tooltip.\n\nThe `ping` attribute is redundant with pre-existing\n technologies like HTTP redirects and JavaScript in allowing web pages to track which off-site\n links are most popular or allowing advertisers to track click-through rates.\n\nHowever, the `ping` attribute provides these advantages\n to the user over those alternatives:\n\n- It allows the user to see the final target URL unobscured.\n- It allows the UA to inform the user about the out-of-band notifications.\n- It allows the UA to optimize the use of available network bandwidth so that the target page\n loads faster.\n\n##### 4.6.7.1 The ``Ping-From`` and ``Ping-To`` headers\n\nThe ``Ping-From`` and ``Ping-To`` HTTP request headers are included in hyperlink\n auditing requests. Their value is a [URL](https://url.spec.whatwg.org/#concept-url), [serialized](https://url.spec.whatwg.org/#concept-url-serializer).\n\n#### 4.6.8 Link types\n\n[Link_types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera9+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\n[Link_types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)\n\nThe following table summarizes the link types that are defined by this specification, by their\n corresponding keywords. This table is non-normative; the actual definitions for the link types are\n given in the next few sections.\n\nIn this section, the term *referenced document* refers to the resource identified by the\n element representing the link, and the term *current document* refers to the resource within\n which the element representing the link finds itself.\n\nTo determine which link types apply to a `link`, `a`, `area`,\n or `form` element, the element's `rel` attribute must be [split on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace). The resulting tokens\n are the keywords for the link types that apply to that element.\n\nExcept where otherwise specified, a keyword must not be specified more than once per `rel` attribute.\n\nSome of the sections that follow the table below list synonyms for certain keywords. The\n indicated synonyms are to be handled as specified by user agents, but must\n not be used in documents (for example, the keyword \"`copyright`\").\n\nKeywords are always [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive), and must be\n compared as such.\n\nThus, `rel=\"next\"` is the same as `rel=\"NEXT\"`.\n\nKeywords that are body-ok affect whether `link` elements are\n allowed in the body. The body-ok keywords are\n `dns-prefetch`,\n `modulepreload`,\n `pingback`,\n `preconnect`,\n `prefetch`,\n `preload`, and\n `stylesheet`.\n\nNew link types that are to be implemented by web browsers are to be added to this standard. The\n remainder can be registered as extensions.\n\n| Link type | Effect on... | body-ok | Has ``[Link](https://httpwg.org/specs/rfc8288.html#header)`` processing | Brief description | | |\n| --- | --- | --- | --- | --- | --- | --- |\n| `link` | `a` and `area` | `form` | | | | |\n| `alternate` | Hyperlink | *not allowed* | · | · | Gives alternate representations of the current document. | |\n| `canonical` | Hyperlink | *not allowed* | · | · | Gives the preferred URL for the current document. | |\n| `author` | Hyperlink | *not allowed* | · | · | Gives a link to the author of the current document or article. | |\n| `bookmark` | *not allowed* | Hyperlink | *not allowed* | · | · | Gives the permalink for the nearest ancestor section. |\n| `dns-prefetch` | External Resource | *not allowed* | Yes | · | Specifies that the user agent should preemptively perform DNS resolution for the target resource's origin. | |\n| `expect` | Internal Resource | *not allowed* | · | · | Expect an element with the target ID to appear in the current document. | |\n| `external` | *not allowed* | Annotation | · | · | Indicates that the referenced document is not part of the same site as the current document. | |\n| `help` | Hyperlink | · | · | Provides a link to context-sensitive help. | | |\n| `icon` | External Resource | *not allowed* | · | · | Imports an icon to represent the current document. | |\n| `manifest` | External Resource | *not allowed* | · | · | Imports or links to an [application manifest](https://w3c.github.io/manifest/#dfn-manifest). [MANIFEST] | |\n| `modulepreload` | External Resource | *not allowed* | Yes | · | Specifies that the user agent must preemptively fetch the module\n script and store it in the document's module map for later\n evaluation. Optionally, the module's dependencies can be fetched as well. | |\n| `license` | Hyperlink | · | · | Indicates that the main content of the current document is covered by the copyright license described by the referenced document. | | |\n| `next` | Hyperlink | · | · | Indicates that the current document is a part of a series, and that the next document in the series is the referenced document. | | |\n| `nofollow` | *not allowed* | Annotation | · | · | Indicates that the current document's original author or publisher does not endorse the referenced document. | |\n| `noopener` | *not allowed* | Annotation | · | · | Creates a top-level traversable with a non-auxiliary browsing\n context if the hyperlink would otherwise create one that was auxiliary (i.e., has an\n appropriate `target` attribute value). | |\n| `noreferrer` | *not allowed* | Annotation | · | · | No ``[Referer](https://httpwg.org/specs/rfc7231.html#header.referer)`` (sic) header will be included.\n Additionally, has the same effect as `noopener`. | |\n| `opener` | *not allowed* | Annotation | · | · | Creates an auxiliary browsing context if the hyperlink would otherwise create\n a top-level traversable with a non-auxiliary browsing context (i.e.,\n has \"`_blank`\" as `target`\n attribute value). | |\n| `pingback` | External Resource | *not allowed* | Yes | · | Gives the address of the pingback server that handles pingbacks to the current document. | |\n| `preconnect` | External Resource | *not allowed* | Yes | Yes | Specifies that the user agent should preemptively connect to the target resource's origin. | |\n| `prefetch` | External Resource | *not allowed* | Yes | · | Specifies that the user agent should preemptively [fetch](https://fetch.spec.whatwg.org/#concept-fetch) and cache the target resource as it is likely to be required for a followup navigation. | |\n| `preload` | External Resource | *not allowed* | Yes | Yes | Specifies that the user agent must preemptively [fetch](https://fetch.spec.whatwg.org/#concept-fetch) and cache the target resource for current navigation according to the preload destination given by the `as` attribute (and the [priority](https://fetch.spec.whatwg.org/#request-priority) associated with the [corresponding](https://fetch.spec.whatwg.org/#concept-potential-destination-translate) [destination](https://fetch.spec.whatwg.org/#concept-request-destination)). | |\n| `prev` | Hyperlink | · | · | Indicates that the current document is a part of a series, and that the previous document in the series is the referenced document. | | |\n| `privacy-policy` | Hyperlink | *not allowed* | · | · | Gives a link to information about the data collection and usage practices that apply to the current document. | |\n| `search` | Hyperlink | · | · | Gives a link to a resource that can be used to search through the current document and its related pages. | | |\n| `stylesheet` | External Resource | *not allowed* | Yes | · | Imports a style sheet. | |\n| `tag` | *not allowed* | Hyperlink | *not allowed* | · | · | Gives a tag (identified by the given address) that applies to the current document. |\n| `terms-of-service` | Hyperlink | *not allowed* | · | · | Gives a link to information about the agreements between the current document's provider and users who wish to use the current document. | |\n\n##### 4.6.8.1 Link type \"`alternate`\"\n\n[Alternative_style_sheets](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets)\n\nSupport in one engine only.\n\nFirefox3+ Safari? Chrome1–48\n\n---\n\nOperaYes EdgeNo\n\n---\n\nEdge (Legacy)? Internet Explorer8+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `alternate` keyword may be used with `link`,\n `a`, and `area` elements.\n\nThe meaning of this keyword depends on the values of the other attributes.\n\nIf the element is a `link` element and the `rel`\n attribute also contains the keyword `stylesheet`\n\nThe `alternate` keyword modifies the meaning of the `stylesheet` keyword in the way described for that keyword. The\n `alternate` keyword does not create a link of its own. Here, a set of `link` elements provide some style sheets: ` `\n\nIf the `alternate` keyword is used with the `type` attribute set to the value `application/rss+xml` or the value `application/atom+xml`\n\nThe keyword creates a hyperlink referencing a syndication feed (though not\n necessarily syndicating exactly the same content as the current page). For the purposes of feed autodiscovery, user agents should consider all `link`\n elements in the document with the `alternate` keyword used and\n with their `type` attribute set to the value `application/rss+xml` or the value `application/atom+xml`. If the user agent has the concept of a default\n syndication feed, the first such element (in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)) should be used as the\n default. The following `link` elements give syndication feeds for a blog: ` ` Such `link` elements would be used by user agents engaged in feed autodiscovery,\n with the first being the default (where applicable). The following example offers various different syndication feeds to the user, using\n `a` elements: `

    You can access the planets database using Atom feeds:

    ` These links would not be used in feed autodiscovery.\n\nOtherwise\n\nThe keyword creates a hyperlink referencing an alternate representation of the\n current document. The nature of the referenced document is given by the `hreflang`, and `type` attributes. If the `alternate` keyword is used with the `hreflang` attribute, and that attribute's value differs\n from the [document element](https://dom.spec.whatwg.org/#document-element)'s language, it indicates that the referenced\n document is a translation. If the `alternate` keyword is used with the `type` attribute, it indicates that the referenced document is\n a reformulation of the current document in the specified format. The `hreflang` and `type` attributes can be combined when specified with the `alternate` keyword. The following example shows how you can specify versions of the page that use alternative\n formats, are aimed at other languages, and that are intended for other media: ` ` This relationship is transitive — that is, if a document links to two other documents\n with the link type \"`alternate`\", then, in addition to implying\n that those documents are alternative representations of the first document, it is also implying\n that those two documents are alternative representations of each other.\n\n##### 4.6.8.2 Link type \"`author`\"\n\nThe `author` keyword may be used with `link`,\n `a`, and `area` elements. This keyword creates a hyperlink.\n\nFor `a` and `area` elements, the `author`\n keyword indicates that the referenced document provides further information about the author of\n the nearest `article` element ancestor of the element defining the hyperlink, if there\n is one, or of the page as a whole, otherwise.\n\nFor `link` elements, the `author` keyword indicates\n that the referenced document provides further information about the author for the page as a\n whole.\n\nThe \"referenced document\" can be, and often is, a `[mailto:](https://www.rfc-editor.org/rfc/rfc6068#section-2)` URL giving the email address of the author. [MAILTO]\n\n**Synonyms**: For historical reasons, user agents must also treat\n `link`, `a`, and `area` elements that have a `rev` attribute with the value \"`made`\" as having the `author` keyword specified as a link relationship.\n\n##### 4.6.8.3 Link type \"`bookmark`\"\n\nThe `bookmark` keyword may be used with `a` and\n `area` elements. This keyword creates a hyperlink.\n\nThe `bookmark` keyword gives a permalink for the nearest\n ancestor `article` element of the linking element in question, or of\n the section the linking element is most closely associated with, if\n there are no ancestor `article` elements.\n\nThe following snippet has three permalinks. A user agent could determine which permalink\n applies to which part of the spec by looking at where the permalinks are given.\n\n```\n ...\n

    Example of permalinks

    First example

    This permalink applies to\n only the content from the first H2 to the second H2. The DIV isn't\n exactly that section, but it roughly corresponds to it.

    Second example

    \n ...\n```\n\n##### 4.6.8.4 Link type \"`canonical`\"\n\nThe `canonical` keyword may be used with `link`\n element. This keyword creates a hyperlink.\n\nThe `canonical` keyword indicates that URL given by the `href` attribute is the preferred URL for the current document. That\n helps search engines reduce duplicate content, as described in more detail in The Canonical\n Link Relation. [RFC6596]\n\n##### 4.6.8.5 Link type \"`dns-prefetch`\"\n\n[Link_types/dns-prefetch](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/dns-prefetch)\n\nFirefox3+ Safari? Chrome46+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)No Internet Explorer?\n\n---\n\nFirefox Android? Safari iOS? Chrome AndroidYes WebView Android46+ Samsung Internet? Opera Android?\n\nThe `dns-prefetch` keyword may be used with\n `link` elements. This keyword creates an external\n resource link. This keyword is body-ok.\n\nThe `dns-prefetch` keyword indicates that preemptively\n performing DNS resolution for the origin of the specified resource is likely to be\n beneficial, as it is highly likely that the user will require resources located at that\n origin, and the user experience would be improved by preempting the latency costs\n associated with DNS resolution.\n\nThere is no default type for resources given by the `dns-prefetch` keyword.\n\nThe appropriate times to fetch and\n process this type of link are:\n\n- When the external resource link is created on a `link` element\n that is already browsing-context connected.\n- When the external resource link's `link` element becomes\n browsing-context connected.\n- When the `href` attribute of the `link`\n element of an external resource link that is already browsing-context\n connected is changed.\n\nThe fetch and process the linked resource steps for this type of linked resource,\n given a `link` element el, are:\n\n1. Let url be the result of encoding-parsing a URL given\n el's `href` attribute's value, relative to\n el's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. If url is failure, then return.\n3. Let partitionKey be the result of [determining the network partition key](https://fetch.spec.whatwg.org/#determine-the-network-partition-key) given el's\n [node document](https://dom.spec.whatwg.org/#concept-node-document)'s relevant settings object.\n4. The user agent should [resolve an origin](https://fetch.spec.whatwg.org/#resolve-an-origin) given partitionKey and\n url's [origin](https://url.spec.whatwg.org/#concept-url-origin). As the results of this algorithm can be cached, future fetches could be\n faster.\n\n##### 4.6.8.6 Link type \"`expect`\"\n\nThe `expect` keyword may be used with `link`\n elements. This keyword creates an internal resource\n link.\n\nAn internal resource link created by the `expect`\n keyword can be used to block rendering until the element that\n it indicates is connected to the document and fully\n parsed.\n\nThere is no default type for resources given by the `expect`\n keyword.\n\nWhenever any of the following conditions occur for a `link` element\n el:\n\n- the `expect` internal resource link is created\n on el that is already browsing-context connected;\n- an `expect` internal resource link has been\n created on el and el becomes\n browsing-context connected;\n- an `expect` internal resource link has been\n created on el, el is already browsing-context connected, and\n el's `href` attribute is set, changed, or removed;\n or\n- an `expect` internal resource link has been\n created on el, el is already browsing-context connected, and\n el's `media` attribute is set, changed, or\n removed,\n\nthen process el.\n\nTo process internal resource link given a `link` element el,\n run these steps:\n\n1. Let doc be el's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n2. Let url be the result of encoding-parsing a URL given\n el's `href` attribute's value, relative to\n doc.\n3. If this fails, or if url does not [equal](https://url.spec.whatwg.org/#concept-url-equals) doc's\n [URL](https://dom.spec.whatwg.org/#concept-document-url) with *[exclude fragments](https://url.spec.whatwg.org/#url-equals-exclude-fragments)* set to true, then unblock rendering on\n el and return.\n4. Let indicatedElement be the result of selecting the indicated part given doc\n and url.\n5. If all of the following are true: then block rendering on el.\n - doc's current document readiness is \"`loading`\";\n - el creates an internal resource link;\n - el is browsing-context connected;\n - el's `rel` attribute\n contains `expect`;\n - el is potentially render-blocking;\n - el's `media` attribute\n matches the environment; and\n - indicatedElement is not an element, or is on a\n stack of open elements of an HTML parser whose associated\n `Document` is doc,\n6. Otherwise, unblock rendering on el.\n\nTo process internal resource links given a `Document` doc:\n\n1. [For each](https://infra.spec.whatwg.org/#list-iterate) `expect` `link` element link in\n doc's render-blocking element set, process link.\n\nThe following [attribute change\n steps](https://dom.spec.whatwg.org/#concept-element-attributes-change-ext), given element, localName, oldValue,\n value, and namespace, are used to ensure `expect` `link` elements respond to dynamic `id` and `name` changes:\n\n1. If namespace is not null, then return.\n2. If element is in a stack of open elements of an\n HTML parser, then return.\n3. If any of the following is true: then process internal resource links given element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document).\n - localName is `id`; or\n - localName is `name` and element is an `a` element,\n\n##### 4.6.8.7 Link type \"`external`\"\n\nThe `external` keyword may be used with `a`,\n `area`, and `form` elements. This keyword does not create a\n hyperlink, but annotates any other\n hyperlinks created by the element (the implied hyperlink, if no other keywords create one).\n\nThe `external` keyword indicates that the link is leading to a\n document that is not part of the site that the current document forms a part of.\n\n##### 4.6.8.8 Link type \"`help`\"\n\nThe `help` keyword may be used with `link`,\n `a`, `area`, and `form` elements. This keyword creates a\n hyperlink.\n\nFor `a`, `area`, and `form` elements, the `help` keyword indicates that the referenced document provides further help\n information for the parent of the element defining the hyperlink, and its children.\n\nIn the following example, the form control has associated context-sensitive help. The user\n agent could use this information, for example, displaying the referenced document if the user\n presses the \"Help\" or \"F1\" key.\n\n```\n

    \n```\n\nFor `link` elements, the `help` keyword indicates that\n the referenced document provides help for the page as a whole.\n\nFor `a` and `area` elements, on some browsers, the `help` keyword causes the link to use a different cursor.\n\n##### 4.6.8.9 Link type \"`icon`\"\n\n[Link_types#icon](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types#icon)\n\nSupport in all current engines.\n\nFirefox2+ Safari3.1+ Chrome4+\n\n---\n\nOpera9+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer11\n\n---\n\nFirefox Android4+ Safari iOSNo Chrome Android18+ WebView Android38+ Samsung Internet4.0+ Opera AndroidNo\n\n---\n\n[caniuse.com table](https://caniuse.com/#feat=link-icon-png)\n\nThe `icon` keyword may be used with `link` elements.\n This keyword creates an external resource link.\n\nThe specified resource is an icon representing the page or site, and should be used by the user\n agent when representing the page in the user interface.\n\nIcons could be auditory icons, visual icons, or other kinds of icons. If\n multiple icons are provided, the user agent must select the most appropriate icon according to the\n `type`, `media`, and `sizes` attributes. If there are multiple equally appropriate icons,\n user agents must use the last one declared in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) at the time that the user\n agent collected the list of icons. If the user agent tries to use an icon but that icon is\n determined, upon closer examination, to in fact be inappropriate (e.g. because it uses an\n unsupported format), then the user agent must try the next-most-appropriate icon as determined by\n the attributes.\n\nUser agents are not required to update icons when the list of icons changes, but\n are encouraged to do so.\n\nThere is no default type for resources given by the `icon` keyword.\n However, for the purposes of determining the type of the\n resource, user agents must expect the resource to be an image.\n\nThe `sizes` keywords represent icon sizes in raw pixels (as\n opposed to [CSS pixels](https://drafts.csswg.org/css-values/#px)).\n\nAn icon that is 50 [CSS pixels](https://drafts.csswg.org/css-values/#px) wide intended for\n displays with a device pixel density of two device pixels per [CSS pixel](https://drafts.csswg.org/css-values/#px)\n (2x, 192dpi) would have a width of 100 raw pixels. This feature does not support indicating that a\n different resource is to be used for small high-resolution icons vs large low-resolution icons\n (e.g. 50×50 2x vs 100×100 1x).\n\nTo parse and process the attribute's value, the user agent must first [split the attribute's value on ASCII whitespace](https://infra.spec.whatwg.org/#split-on-ascii-whitespace), and must then\n parse each resulting keyword to determine what it represents.\n\nThe `any` keyword represents that the\n resource contains a scalable icon, e.g. as provided by an SVG image.\n\nOther keywords must be further parsed as follows to determine what they represent:\n\n1. If the keyword doesn't contain exactly one U+0078 LATIN SMALL LETTER X or U+0058 LATIN\n CAPITAL LETTER X character, then this keyword doesn't represent anything. Return for\n that keyword.\n2. Let width string be the string before the \"`x`\" or\n \"`X`\".\n3. Let height string be the string after the \"`x`\" or\n \"`X`\".\n4. If either width string or height string start with\n a U+0030 DIGIT ZERO (0) character or contain any characters other than [ASCII digits](https://infra.spec.whatwg.org/#ascii-digit),\n then this keyword doesn't represent anything. Return for that keyword.\n5. Apply the rules for parsing non-negative integers to width\n string to obtain width.\n6. Apply the rules for parsing non-negative integers to height\n string to obtain height.\n7. The keyword represents that the resource contains a bitmap icon with a width of width device pixels and a height of height device\n pixels.\n\nThe keywords specified on the `sizes` attribute must not\n represent icon sizes that are not actually available in the linked resource.\n\nThe linked resource fetch setup steps for this type of linked resource, given a\n `link` element el and [request](https://fetch.spec.whatwg.org/#concept-request) request, are:\n\n1. Set request's [destination](https://fetch.spec.whatwg.org/#concept-request-destination) to\n \"`image`\".\n2. Return true.\n\nThe steps for this type of linked resource are to do\n nothing.\n\nIn the absence of a `link` with the `icon` keyword, for\n `Document` objects whose [URL](https://dom.spec.whatwg.org/#concept-document-url)'s\n [scheme](https://url.spec.whatwg.org/#concept-url-scheme) is an [HTTP(S) scheme](https://fetch.spec.whatwg.org/#http-scheme), user agents may\n instead run these steps:\n\n1. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose\n [URL](https://fetch.spec.whatwg.org/#concept-request-url) is the [URL record](https://url.spec.whatwg.org/#concept-url) obtained by\n resolving the [URL](https://url.spec.whatwg.org/#concept-url) \"`/favicon.ico`\" against the\n `Document` object's [URL](https://dom.spec.whatwg.org/#concept-document-url), [client](https://fetch.spec.whatwg.org/#concept-request-client) is the `Document` object's\n relevant settings object, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is \"`image`\", [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is \"`include`\", and whose [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set.\n2. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request, with *[processResponse](https://fetch.spec.whatwg.org/#process-response)* set to the following steps given [response](https://fetch.spec.whatwg.org/#concept-response) response:\n 1. Use response's unsafe response as an icon as if it had been\n declared using the `icon` keyword.\n\nThe following snippet shows the top part of an application with several icons.\n\n```\n lsForums — Inbox \n ...\n```\n\nFor historical reasons, the `icon` keyword may be preceded by the\n keyword \"`shortcut`\". If the \"`shortcut`\" keyword is\n present, the `rel` attribute's entire value must be an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string \"`shortcut icon`\" (with a single U+0020 SPACE character between the tokens and\n no other [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)).\n\n##### 4.6.8.10 Link type \"`license`\"\n\nThe `license` keyword may be used with `link`,\n `a`, `area`, and `form` elements. This keyword creates a\n hyperlink.\n\nThe `license` keyword indicates that the referenced document\n provides the copyright license terms under which the main content of the current document is\n provided.\n\nThis specification does not specify how to distinguish between the main content of a document\n and content that is not deemed to be part of that main content. The distinction should be made\n clear to the user.\n\nConsider a photo sharing site. A page on that site might describe and show a photograph, and\n the page might be marked up as follows:\n\n```\n Exampl Pictures: Kissat

    Kissat

    Kissat

    One of them has six toes!

    MIT Licensed

    Home | Photo index

    © copyright 2009 Exampl Pictures. All Rights Reserved.

    \n```\n\nIn this case the `license` applies to just the photo (the main\n content of the document), not the whole document. In particular not the design of the page\n itself, which is covered by the copyright given at the bottom of the document. This could be made\n clearer in the styling (e.g. making the license link prominently positioned near the photograph,\n while having the page copyright in light small text at the foot of the page).\n\n**Synonyms**: For historical reasons, user agents must also treat the keyword\n \"`copyright`\" like the `license` keyword.\n\n##### 4.6.8.11 Link type \"`manifest`\"\n\n[Link_types/manifest](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/manifest)\n\nSupport in one engine only.\n\nFirefox? Safari? ChromeNo\n\n---\n\nOpera? EdgeNo\n\n---\n\nEdge (Legacy)? Internet Explorer?\n\n---\n\nFirefox Android? Safari iOS? Chrome Android39+ WebView Android? Samsung Internet? Opera Android?\n\nThe `manifest` keyword may be used with `link` elements.\n This keyword creates an external resource link.\n\nThe `manifest` keyword indicates the manifest file that provides\n metadata associated with the current document.\n\nThere is no default type for resources given by the `manifest`\n keyword.\n\nWhen a web application is not [installed](https://w3c.github.io/manifest/#dfn-installed-web-application), the\n appropriate time to fetch and process the linked resource for this link type is when\n the user agent deems it necessary. For example, when the user chooses to [install the web application](https://w3c.github.io/manifest/#dfn-installed-web-application).\n\nFor an [installed web application](https://w3c.github.io/manifest/#dfn-installed-web-application), the\n appropriate times to fetch and process the linked resource for this link type\n are:\n\n- When the external resource link is created on a `link` element\n that is already browsing-context connected.\n- When the external resource link's `link` element becomes\n browsing-context connected.\n- When the `href` attribute of the `link`\n element of an external resource link that is already browsing-context\n connected is changed.\n\nIn any case, only the first `link` element in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) whose `rel` attribute contains the token `manifest` may be used.\n\nA user agent must not delay the load event for this link type.\n\nThe linked resource fetch setup steps for this type of linked resource, given a\n `link` element el and [request](https://fetch.spec.whatwg.org/#concept-request) request, are:\n\n1. Let navigable be el's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s node\n navigable.\n2. If navigable is null, then return false.\n3. If navigable is not a top-level traversable, then return\n false.\n4. Set request's [initiator](https://fetch.spec.whatwg.org/#concept-request-initiator) to\n \"`manifest`\".\n5. Set request's [destination](https://fetch.spec.whatwg.org/#concept-request-destination) to\n \"`manifest`\".\n6. Set request's [mode](https://fetch.spec.whatwg.org/#concept-request-mode) to \"`cors`\".\n7. Set request's [credentials\n mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) to the CORS settings attribute credentials mode for el's\n `crossorigin` content attribute.\n8. Return true.\n\nTo process this type of linked resource given\n a `link` element el, boolean success, [response](https://fetch.spec.whatwg.org/#concept-response) response, and [byte sequence](https://infra.spec.whatwg.org/#byte-sequence) bodyBytes:\n\n1. If response's Content-Type metadata is not a\n [JSON MIME type](https://mimesniff.spec.whatwg.org/#json-mime-type), then set success to false.\n2. If success is true:\n 1. Let document URL be el's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s [URL](https://dom.spec.whatwg.org/#concept-document-url).\n 2. Let manifest URL be response's [URL](https://fetch.spec.whatwg.org/#concept-response-url).\n 3. Let client be el's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s relevant\n settings object.\n 4. [Process the manifest](https://w3c.github.io/manifest/#dfn-processing-a-manifest) given document URL, manifest\n URL, bodyBytes, and client. [MANIFEST]\n\nThe steps for this type of linked resource are to do\n nothing.\n\n##### 4.6.8.12 Link type \"`modulepreload`\"\n\n[Link_types/modulepreload](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/modulepreload)\n\nFirefox115+ Safari? Chrome66+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)No Internet Explorer?\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `modulepreload` keyword may be used with\n `link` elements. This keyword creates an external resource link. This\n keyword is body-ok.\n\nThe `modulepreload` keyword is a specialized alternative\n to the `preload` keyword, with a processing model geared toward\n preloading module scripts. In particular, it uses the specific\n fetch behavior for module scripts (including, e.g., a different interpretation of the `crossorigin` attribute), and places the result into the\n appropriate module map for later evaluation. In\n contrast, a similar external resource link using the `preload` keyword would place the result in the preload cache, without\n affecting the document's module map.\n\nAdditionally, implementations can take advantage of the fact that module scripts declare their dependencies in order to fetch the specified module's\n dependency as well. This is intended as an optimization opportunity, since the user agent knows\n that, in all likelihood, those dependencies will also be needed later. It will not generally be\n observable without using technology such as service workers, or monitoring on the server side.\n Notably, the appropriate `load` or `error` events will occur after the specified module is fetched, and\n will not wait for any dependencies.\n\nA user agent must not delay the load event for this link type.\n\nA module preload destination is \"`json`\", \"`style`\", \"`text`\", or a [script-like destination](https://fetch.spec.whatwg.org/#request-destination-script-like).\n\nThe appropriate times to fetch and process the linked resource for such a link\n are:\n\n- When the external resource link is created on a `link` element\n that is already browsing-context connected.\n- When the external resource link's `link` element becomes\n browsing-context connected.\n- When the `href` attribute of the `link`\n element of an external resource link that is already browsing-context\n connected is changed.\n\nUnlike some other link relations, changing the relevant attributes (such as `as`, `crossorigin`, and\n `referrerpolicy`) of such a `link`\n does not trigger a new fetch. This is because the document's module map has already been populated by a previous\n fetch, and so re-fetching would be pointless.\n\nThe fetch and process the linked resource algorithm for `modulepreload` links, given a `link` element\n el, is as follows:\n\n1. If el's `href` attribute's value is the\n empty string, then return.\n2. Let destination be the current state of el's `as` attribute (a [destination](https://fetch.spec.whatwg.org/#concept-request-destination)), or \"`script`\" if\n it is in no state.\n3. If destination is not a module preload destination, then\n queue an element task on the networking task source given el\n to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at el, and return.\n4. Let url be the result of encoding-parsing a URL given\n el's `href` attribute's value, relative to\n el's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n5. If url is failure, then return.\n6. Let settings object be el's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n relevant settings object.\n7. Let credentials mode be the CORS settings attribute credentials\n mode for el's `crossorigin`\n attribute.\n8. Let cryptographic nonce be\n el.[[CryptographicNonce]].\n9. Let integrity metadata be the value of el's `integrity` attribute, if it is specified, or the empty string\n otherwise.\n10. If el does not have an `integrity`\n attribute, then set integrity metadata to the result of resolving a module\n integrity metadata with url and settings object.\n11. Let referrer policy be the current state of el's `referrerpolicy` attribute.\n12. Let fetch priority be the current state of el's `fetchpriority` attribute.\n13. Let options be a script fetch options whose cryptographic nonce is cryptographic\n nonce, integrity metadata is\n integrity metadata, parser\n metadata is \"`not-parser-inserted`\", credentials mode is credentials\n mode, referrer\n policy is referrer policy, and fetch priority is\n fetch priority.\n14. Fetch a modulepreload module script graph given url,\n destination, settings object, options, and with the following\n steps given result:\n 1. If result is null, then [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at el,\n and return.\n 2. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `load` at el.\n\nThe steps for this type of linked resource are to do\n nothing.\n\nThe following snippet shows the top part of an application with several modules preloaded:\n\n```\n IRCFog \n```\n\n#### 4.8.3 The `img` element\n\n[Element/img](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLImageElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera8+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\n[HTMLImageElement/alt](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLImageElement/srcset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset)\n\nSupport in all current engines.\n\nFirefox38+ Safari8+ Chrome34+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLImageElement/sizes](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes)\n\nSupport in all current engines.\n\nFirefox38+ Safari9.1+ Chrome38+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)13+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLImageElement/useMap](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/useMap)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLImageElement/isMap](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/isMap)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nEmbedded content.\n\nForm-associated element.\n\nIf the element has a `usemap` or `controls` attribute: Interactive content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere embedded content is expected.\n\nAs a child of a `picture` element, after all `source` elements.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`alt` — Replacement text for use when images are not available\n\n`src` — Address of the resource\n\n`srcset` — Images to use in different situations, e.g., high-resolution displays, small monitors, etc.\n\n`sizes` — Image sizes for different page layouts\n\n`crossorigin` — How the element handles crossorigin requests\n\n`usemap` — Name of image map to use\n\n`ismap` — Whether the image is a server-side image map\n\n`controls` — Show user agent controls\n\n`width` — Horizontal dimension\n\n`height` — Vertical dimension\n\n`referrerpolicy` — [Referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) for [fetches](https://fetch.spec.whatwg.org/#concept-fetch) initiated by the element\n\n`decoding` — Decoding hint to use when processing this image for presentation\n\n`loading` — Used when determining loading deferral\n\n`fetchpriority` — Sets the [priority](https://fetch.spec.whatwg.org/#request-priority) for [fetches](https://fetch.spec.whatwg.org/#concept-fetch) initiated by the element\n\nAccessibility considerations:\n\nIf the element has a non-empty `alt` attribute: [for authors](https://w3c.github.io/html-aria/#el-img); [for implementers](https://w3c.github.io/html-aam/#el-img).\n\nOtherwise: [for authors](https://w3c.github.io/html-aria/#el-img-empty-alt); [for implementers](https://w3c.github.io/html-aam/#el-img-empty-alt).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window,\n [LegacyFactoryFunction](https://webidl.spec.whatwg.org/#LegacyFactoryFunction)=Image(optional unsigned long width, optional unsigned long height)]\ninterface HTMLImageElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute DOMString alt;\n [CEReactions, ReflectURL] attribute USVString src;\n [CEReactions, Reflect] attribute USVString srcset;\n [CEReactions, Reflect] attribute DOMString sizes;\n [CEReactions] attribute DOMString? crossOrigin;\n [CEReactions, Reflect] attribute DOMString useMap;\n [CEReactions, Reflect] attribute boolean isMap;\n [CEReactions, Reflect] attribute boolean controls;\n [CEReactions, ReflectSetter] attribute unsigned long width;\n [CEReactions, ReflectSetter] attribute unsigned long height;\n readonly attribute unsigned long naturalWidth;\n readonly attribute unsigned long naturalHeight;\n readonly attribute boolean complete;\n readonly attribute USVString currentSrc;\n [CEReactions] attribute DOMString referrerPolicy;\n [CEReactions] attribute DOMString decoding;\n [CEReactions] attribute DOMString loading;\n [CEReactions] attribute DOMString fetchPriority;\n\n [Promise](https://webidl.spec.whatwg.org/#idl-promise) decode();\n\n // also has obsolete members\n};`\n\nAn `img` element represents an image.\n\nAn `img` element has a dimension\n attribute source, initially set to the element itself.\n\n[HTMLImageElement/src](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[Element/img#attr-srcset](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-srcset)\n\nSupport in all current engines.\n\nFirefox38+ Safari8+ Chrome34+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)≤18+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe image given by the `src`\n and `srcset` attributes, and\n any previous sibling `source` elements' `srcset`\n attributes if the parent is a `picture` element, is the embedded content; the value of\n the `alt` attribute provides\n equivalent content for those who cannot process images or who have image loading disabled (i.e.,\n it is the `img` element's fallback content).\n\nThe requirements on the `alt` attribute's value are described\n in a separate section.\n\nAt least one of the `src` and `srcset` attributes must be present.\n\nIf the `src` attribute is present, it must contain a\n valid non-empty URL potentially surrounded by spaces referencing a non-interactive,\n optionally animated, image resource that is neither paged nor scripted.\n\nThe requirements above imply that images can be static bitmaps (e.g. PNGs, GIFs,\n JPEGs), single-page vector documents (single-page PDFs, XML files with an SVG document element),\n animated bitmaps (APNGs, animated GIFs), animated vector graphics (XML files with an SVG\n [document element](https://dom.spec.whatwg.org/#document-element) that use declarative SMIL animation), and so forth. However, these\n definitions preclude SVG files with script, multipage PDF files, interactive MNG files, HTML\n documents, plain text documents, and the like. [PNG] [GIF] [JPEG] [PDF] [XML] [APNG] [SVG] [MNG]\n\nThe `srcset` attribute is a srcset\n attribute.\n\nThe `srcset` attribute and the `src` attribute (if width\n descriptors are not used) contribute the image sources\n to the source set (if no `source` element was selected).\n\nIf the `srcset` attribute is present and has any image candidate strings using a width\n descriptor, the `sizes` attribute must also be present.\n If the `srcset` attribute is *not* specified, and the\n `loading` attribute is in the Lazy state, the `sizes` attribute may be specified with the value \"`auto`\" ([ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive)). The `sizes` attribute is a sizes attribute,\n which contributes the source size to the source set (if no\n `source` element was selected).\n\nAn `img` element allows auto-sizes if:\n\n- its `loading` attribute is in the Lazy state, and\n- its `sizes` attribute's value is \" `auto` \" ( [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) ), or starts with \" `auto,` \" ( [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) ).\n\n[Attributes/crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)\n\nSupport in all current engines.\n\nFirefox8+ Safari6+ Chrome13+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `crossorigin`\n attribute is a CORS settings attribute. Its purpose is to allow images from\n third-party sites that allow cross-origin access to be used with `canvas`.\n\nThe `referrerpolicy` attribute is a referrer\n policy attribute. Its purpose is to set the [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) used when [fetching](https://fetch.spec.whatwg.org/#concept-fetch) the image. [REFERRERPOLICY]\n\nThe `decoding`\n attribute indicates the preferred method to decode this\n image. The attribute, if present, must be an image decoding hint. This attribute's *missing value default* and *invalid value default* are both the Auto state.\n\n[HTMLImageElement/fetchPriority](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority)\n\nFirefoxNo Safari🔰 preview+ Chrome102+\n\n---\n\nOpera? Edge102+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `fetchpriority` attribute is a fetch\n priority attribute. Its purpose is to set the [priority](https://fetch.spec.whatwg.org/#request-priority) used when [fetching](https://fetch.spec.whatwg.org/#concept-fetch) the image.\n\nThe `loading` attribute is a lazy\n loading attribute. Its purpose is to indicate the policy for loading images that are\n outside the viewport.\n\nWhen the `loading` attribute's state is changed to the\n Eager state, the user agent must run these\n steps:\n\n1. Let resumptionSteps be the `img` element's lazy load\n resumption steps.\n2. If resumptionSteps is null, then return.\n3. Set the `img`'s lazy load resumption steps to null.\n4. Invoke resumptionSteps.\n\n```\n\"1\" \"2\" \"3\"
    \"4\" \"5\"\n```\n\nIn the example above, the images load as follows:\n\n`1.jpeg`, `2.jpeg`,\n `4.jpeg`\n\nThe images load eagerly and delay the window's load event.\n\n`3.jpeg`\n\nThe image loads when layout is known, due to being in the viewport, however it does not\n delay the window's load event.\n\n`5.jpeg`\n\nThe image loads only once scrolled into the viewport, and does not delay the window's\n load event.\n\nDevelopers are encouraged to specify a preferred aspect ratio via `width` and `height` attributes\n on lazy loaded images, even if CSS sets the image's width and height properties, to prevent the\n page layout from shifting around after the image loads.\n\nThe `img` HTML element insertion steps, given insertedNode,\n are:\n\n1. If insertedNode's parent is a `picture` element, then, count this as\n a relevant mutation for\n insertedNode.\n\nThe `img` HTML element moving steps, given movedNode,\n isSubtreeRoot, and oldAncestor are:\n\n1. If isSubtreeRoot is true and oldAncestor is a `picture`\n element, then count this as a relevant mutation for\n movedNode.\n\nThe `img` HTML element removing steps, given removedNode,\n oldAncestor, and isSubtreeRoot are:\n\n1. If isSubtreeRoot is true and oldAncestor is a `picture`\n element, then count this as a relevant mutation for\n removedNode.\n\n---\n\nThe `img` element must not be used as a layout tool. In particular, `img`\n elements should not be used to display transparent images, as such images rarely convey meaning and\n rarely add anything useful to the document.\n\n---\n\nWhat an `img` element represents depends on the `src` attribute and the `alt`\n attribute.\n\nIf the `src` attribute is set and the `alt` attribute is set to the empty string\n\nThe image is either decorative or supplemental to the rest of the content, redundant with\n some other information in the document. If the image is available and the user agent is configured\n to display that image, then the element represents the element's image data. Otherwise, the element represents nothing, and may be omitted completely from\n the rendering. User agents may provide the user with a notification that an image is present but\n has been omitted from the rendering.\n\nIf the `src` attribute is set and the `alt` attribute is set to a value that isn't empty\n\nThe image is a key part of the content; the `alt` attribute\n gives a textual equivalent or replacement for the image. If the image is available and the user agent is configured\n to display that image, then the element represents the element's image data. Otherwise, the element represents the text given by the `alt` attribute. User agents may provide the user with a notification\n that an image is present but has been omitted from the rendering.\n\nIf the `src` attribute is set and the `alt` attribute is not\n\nThe image might be a key part of the content, and there is no textual equivalent of the image\n available. In a conforming document, the absence of the `alt` attribute indicates that the image is a key part of the content\n but that a textual replacement for the image was not available when the image was generated. If the image is available and the user agent is configured\n to display that image, then the element represents the element's image data. If the image has a `src` attribute whose value is\n the empty string, then the element represents nothing. Otherwise, the user agent should display some sort of indicator that there is an image that\n is not being rendered, and may, if requested by the user, or if so configured, or when required\n to provide contextual information in response to navigation, provide caption information for the\n image, derived as follows: If the image has a `title` attribute whose value is not\n the empty string, then return the value of that attribute.If the image is a descendant of a `figure` element that has a child\n `figcaption` element, and, ignoring the `figcaption` element and its\n descendants, the `figure` element has no flow content descendants other\n than inter-element whitespace and the `img` element, then return the\n contents of the first such `figcaption` element.Return nothing. (There is no caption information.)\n\nIf the `src` attribute is not set and either the `alt` attribute is set to the empty string or the `alt` attribute is not set at all\n\nThe element represents nothing.\n\nOtherwise\n\nThe element represents the text given by the `alt` attribute.\n\nThe `alt` attribute does not represent advisory information.\n User agents must not present the contents of the `alt` attribute\n in the same way as content of the `title` attribute.\n\nUser agents may always provide the user with the option to display any image, or to prevent any\n image from being displayed. User agents may also apply heuristics to help the user make use of the\n image when the user is unable to see it, e.g. due to a visual disability or because they are using\n a text terminal with no graphics capabilities. Such heuristics could include, for instance,\n optical character recognition (OCR) of text found within the image.\n\nWhile user agents are encouraged to repair cases of missing `alt` attributes, authors must not rely on such behavior. Requirements for providing text to act as an alternative for images are described\n in detail below.\n\nThe *contents* of `img` elements, if any, are ignored for the purposes of\n rendering.\n\n---\n\nThe `usemap` attribute,\n if present, can indicate that the image has an associated\n image map.\n\nThe `ismap` attribute,\n when used on an element that is a descendant of an `a` element with an `href` attribute, indicates by its presence that the element\n provides access to a server-side image map. This affects how events are handled on the\n corresponding `a` element.\n\nThe `ismap` attribute is a\n boolean attribute. The attribute must not be specified\n on an element that does not have an ancestor `a` element\n with an `href` attribute.\n\nThe `usemap` and `ismap` attributes can result in confusing behavior when used\n together with `source` elements with the `media`\n attribute specified in a `picture` element.\n\nThe `controls`\n attribute is a boolean attribute. If present, it indicates that the user agent may\n expose a user interface to the user. The attribute must not be specified on an element that does\n not have an `alt` attribute, or whose `alt` attribute's value is the empty string.\n\nIf the `controls` attribute is present, the user agent\n may expose controls over the image (e.g., a control for fullscreen viewing). The specific\n controls provided are [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined), and can be platform-specific or based\n on the user's preferences.\n\nIf the user agent exposes a user interface by displaying controls over the `img`\n element, then the user agent should suppress any user interaction events while the user agent is\n interacting with this interface.\n\n[Issue #12318](https://github.com/whatwg/html/issues/12318) tracks\n the interaction between image controls and animated images. User agents should not expose\n animation controls for images before that issue is resolved.\n\n---\n\nThe `img` element supports dimension\n attributes.\n\n[HTMLImageElement/crossOrigin](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin)\n\nSupport in all current engines.\n\nFirefox8+ Safari6+ Chrome13+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer11\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `crossOrigin` IDL attribute must\n reflect the `crossorigin` content attribute,\n limited to only known values.\n\n[HTMLImageElement/referrerPolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy)\n\nSupport in all current engines.\n\nFirefox50+ Safari14+ Chrome52+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `referrerPolicy` IDL attribute must\n reflect the `referrerpolicy` content\n attribute, limited to only known values.\n\n[HTMLImageElement/decoding](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decoding)\n\nSupport in all current engines.\n\nFirefox63+ Safari11.1+ Chrome65+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[SVGImageElement/decoding](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decoding)\n\nFirefox63+ SafariNo Chrome65+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `decoding`\n IDL attribute must reflect the `decoding`\n content attribute, limited to only known values.\n\n[HTMLImageElement/loading](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading)\n\nSupport in all current engines.\n\nFirefox75+ Safari15.4+ Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `loading`\n IDL attribute must reflect the `loading` content\n attribute, limited to only known values.\n\nThe `fetchPriority` IDL attribute\n must reflect the `fetchpriority` content\n attribute, limited to only known values.\n\n`image.width [ = value ]`[HTMLImageElement/width](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/width)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\n`image.height [ = value ]`[HTMLImageElement/height](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/height)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nThese attributes return the rendered dimensions of the image. When the image is not being\n rendered, they return the `width` and `height` content attributes' values, defaulting to `naturalWidth` and `naturalHeight`. They can be set, to change the corresponding content attributes.\n\n`image.naturalWidth`[HTMLImageElement/naturalWidth](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalWidth)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer9+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\n`image.naturalHeight`[HTMLImageElement/naturalHeight](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/naturalHeight)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer9+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nThese attributes return the density-corrected natural width and height of the\n image, or 0 if the image is not *available*.\n\n`image.complete`[HTMLImageElement/complete](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/complete)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns true if the image has been completely downloaded or if no image is specified;\n otherwise, returns false.\n\n`image.currentSrc`[HTMLImageElement/currentSrc](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/currentSrc)Support in all current engines.Firefox38+Safari9.1+Chrome38+Opera?Edge79+Edge (Legacy)13+Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nReturns the image's [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute).\n\n`image.decode()`[HTMLImageElement/decode](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decode)Support in all current engines.Firefox68+Safari11.1+Chrome64+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?[SVGImageElement/decode](https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decode)Firefox68+SafariNoChrome64+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nThis method causes the user agent to decode the\n image in parallel, returning a promise that fulfills when decoding is complete. The promise will be rejected with an [\"`EncodingError`\"](https://webidl.spec.whatwg.org/#encodingerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if the image cannot be decoded.\n\n`image = new Image([ width [, height ] ])`[HTMLImageElement/Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image)Support in all current engines.Firefox1+Safari1+Chrome1+Opera8+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns a new `img` element, with the `width`\n and `height` attributes set to the values passed in the\n relevant arguments, if applicable.\n\nTo determine the dimensions of an `img` element\n image:\n\n1. Let naturalDimensions be null.\n2. If image is *available*, then set\n naturalDimensions to image's density-corrected natural width and\n height.\n3. Return the result of determining the\n dimensions of image given naturalDimensions.\n\nThe `width`\n getter steps are to return the width of [this](https://webidl.spec.whatwg.org/#this)'s dimensions.\n\nThe `height`\n getter steps are to return the height of [this](https://webidl.spec.whatwg.org/#this)'s dimensions.\n\nThe `naturalWidth` and `naturalHeight` getter\n steps are:\n\n1. If the image is not *available*, then return 0.\n2. Return the respective component of the image's density-corrected natural width and\n height, in [CSS pixels](https://drafts.csswg.org/css-values/#px). [CSS]\n\nSince the density-corrected natural width and height of an image\n take into account any orientation specified in its metadata, `naturalWidth` and `naturalHeight` reflect the dimensions after applying any\n rotation needed to correctly orient the image, regardless of the value of the\n ['image-orientation'](https://drafts.csswg.org/css-images-3/#the-image-orientation) property.\n\nThe `complete` getter steps are:\n\n1. If any of the following are true: then return true.\n - both the `src` attribute and the `srcset` attribute are omitted;\n - the `srcset` attribute is omitted and the `src` attribute's value is the empty string;\n - the `img` element's current request's state is completely available and\n its pending request is null; or\n - the `img` element's current request's state is broken and its\n pending request is null,\n2. Return false.\n\nThe `currentSrc` IDL attribute must return the\n `img` element's current request's current\n URL.\n\nThe `decode()`\n method, when invoked, must perform the following steps:\n\n1. Let promise be a new promise.\n2. Queue a microtask to perform the following steps: This is done because updating the image data\n takes place in a microtask as well. Thus, to make code such as `img.src = \"stars.jpg\";\nimg.decode();` properly decode `stars.jpg`, we need to delay any processing by one\n microtask.\n 1. Let global be [this](https://webidl.spec.whatwg.org/#this)'s relevant global\n object.\n 2. If any of the following are true: then reject promise with an [\"`EncodingError`\"](https://webidl.spec.whatwg.org/#encodingerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n - [this](https://webidl.spec.whatwg.org/#this)'s [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active;\n or\n - [this](https://webidl.spec.whatwg.org/#this)'s current request's state is broken,\n 3. Otherwise, in parallel, wait for one of the following cases to occur, and\n perform the corresponding actions: This `img` element's [node document](https://dom.spec.whatwg.org/#concept-node-document) stops being fully\n activeThis `img` element's current request changes or is mutatedThis `img` element's current request's state becomes brokenQueue a global task on the DOM manipulation task source with\n global to reject promise with an\n [\"`EncodingError`\"](https://webidl.spec.whatwg.org/#encodingerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.This `img` element's current request's state becomes completely\n available Decode the image. If decoding does not need to be performed for this image (for example because it is a\n vector graphic) or the decoding process completes successfully, then queue a global\n task on the DOM manipulation task source with global to\n resolve promise with undefined. If decoding fails (for example due to invalid image data), then queue a global\n task on the DOM manipulation task source with global to\n reject promise with an [\"`EncodingError`\"](https://webidl.spec.whatwg.org/#encodingerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. User agents should ensure that the decoded media data stays readily available until at\n least the end of the next successful update the rendering step in the\n event loop. This is an important part of the API contract, and should not be\n broken if at all possible. (Typically, this would only be violated in low-memory situations\n that require evicting decoded image data, or when the image is too large to keep in decoded\n form for this period of time.) Animated images will become completely available\n only after all their frames are loaded. Thus, even though an implementation could decode the\n first frame before that point, the above steps will not do so, instead waiting until all\n frames are available.\n3. Return promise.\n\nWithout the `decode()` method, the process of loading an\n `img` element and then displaying it might look like the following:\n\n```\nconst img = new Image();\nimg.src = \"nebula.jpg\";\nimg.onload = () => {\n document.body.appendChild(img); };\nimg.onerror = () => {\n document.body.appendChild(new Text(\"Could not load the nebula :(\")); };\n```\n\nHowever, this can cause notable dropped frames, as the paint that occurs after inserting the\n image into the DOM causes a synchronous decode on the main thread.\n\nThis can instead be rewritten using the `decode()`\n method:\n\n```\nconst img = new Image();\nimg.src = \"nebula.jpg\";\nimg.decode().then(() => {\n document.body.appendChild(img); }).catch(() => {\n document.body.appendChild(new Text(\"Could not load the nebula :(\")); });\n```\n\nThis latter form avoids the dropped frames of the original, by allowing the user agent to\n decode the image in parallel, and only inserting it into the DOM (and thus causing\n it to be painted) once the decoding process is complete.\n\nBecause the `decode()` method attempts to ensure that the\n decoded image data is available for at least one frame, it can be combined with the `requestAnimationFrame()` API.\n This means it can be used with coding styles or frameworks that ensure that all DOM modifications\n are batched together as animation frame\n callbacks:\n\n```\nconst container = document.querySelector(\"#container\"); const { containerWidth, containerHeight } = computeDesiredSize();\nrequestAnimationFrame(() => {\n container.style.width = containerWidth;\n container.style.height = containerHeight; }); // ... const img = new Image();\nimg.src = \"supernova.jpg\";\nimg.decode().then(() => {\n requestAnimationFrame(() => container.appendChild(img)); });\n```\n\nA legacy factory function is provided for creating `HTMLImageElement` objects (in\n addition to the factory methods from DOM such as `[createElement()](https://dom.spec.whatwg.org/#dom-document-createelement)`): `Image(width, height)`. When invoked,\n the legacy factory function must perform the following steps:\n\n1. Let document be the current global object's associated `Document`.\n2. Let img be the result of [creating an\n element](https://dom.spec.whatwg.org/#concept-create-element) given document, \"`img`\", and the [HTML\n namespace](https://infra.spec.whatwg.org/#html-namespace).\n3. If width is given, then [set\n an attribute value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value) for img using \"`width`\"\n and width.\n4. If height is given, then [set an attribute value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value) for img\n using \"`height`\" and height.\n5. Return img.\n\nA single image can have different appropriate alternative text depending on the context.\n\nIn each of the following cases, the same image is used, yet the `alt` text is different each time. The image is the coat of arms of the\n Carouge municipality in the canton Geneva in Switzerland.\n\nHere it is used as a supplementary icon:\n\n```\n

    I lived in \"\" Carouge.

    \n```\n\nHere it is used as an icon representing the town:\n\n```\n

    Home town: \"Carouge\"

    \n```\n\nHere it is used as part of a text on the town:\n\n```\n

    Carouge has a coat of arms.

    \"The

    It is used as decoration all over the town.

    \n```\n\nHere it is used as a way to support a similar text where the description is given as well as,\n instead of as an alternative to, the image:\n\n```\n

    Carouge has a coat of arms.

    \"\"

    The coat of arms depicts a lion, sitting in front of a tree.\nIt is used as decoration all over the town.

    \n```\n\nHere it is used as part of a story:\n\n```\n

    She picked up the folder and a piece of paper fell out.

    \"Shaped

    She stared at the folder. S! The answer she had been looking for all\nthis time was simply the letter S! How had she not seen that before? It all\ncame together now. The phone call where Hector had referred to a lion's tail,\nthe time Maria had stuck her tongue out...

    \n```\n\nHere it is not known at the time of publication what the image will be, only that it will be a\n coat of arms of some kind, and thus no replacement text can be provided, and instead only a brief\n caption for the image is provided, in the `title` attribute:\n\n```\n

    The last user to have uploaded a coat of arms uploaded this one:

    \n```\n\nIdeally, the author would find a way to provide real replacement text even in this case, e.g.\n by asking the previous user. Not providing replacement text makes the document more difficult to\n use for people who are unable to view images, e.g. blind users, or users or very low-bandwidth\n connections or who pay by the byte, or users who are forced to use a text-only web browser.\n\nHere are some more examples showing the same picture used in different contexts, with\n different appropriate alternate texts each time.\n\n```\n

    My cats

    Fluffy

    Fluffy is my favorite.

    \"She

    She's just too cute.

    Miles

    My other cat, Miles just eats and sleeps.

    \n```\n\n```\n

    Photography

    Shooting moving targets indoors

    The trick here is to know how to anticipate; to know at what speed and\n what distance the subject will pass by.

    \"A

    Nature by night

    To achieve this, you'll need either an extremely sensitive film, or\n immense flash lights.

    \n```\n\n```\n

    About me

    My pets

    I've got a cat named Fluffy and a dog named Miles.

    \"Fluffy,

    My dog Miles and I like go on long walks together.

    music

    After our walks, having emptied my mind, I like listening to Bach.

    \n```\n\n```\n

    Fluffy and the Yarn

    Fluffy was a cat who liked to play with yarn. She also liked to jump.

    She would play in the morning, she would play in the evening.

    \n```\n\n#### 4.8.4 Images\n\n##### 4.8.4.1 Introduction\n\n*This section is non-normative.*\n\nTo embed an image in HTML, when there is only a single image resource, use the `img`\n element and its `src` attribute.\n\n```\n

    From today's featured article

    \"\"

    Marie Lloyd (1870–1922)\nwas an English music hall singer, ...\n```\n\nHowever, there are a number of situations for which the author might wish to use multiple image\n resources that the user agent can choose from:\n\n- Different users might have different environmental characteristics:\n - The users' physical screen size might be different from one another. A mobile phone's screen might be 4 inches diagonally, while a laptop's screen might be 14\n inches diagonally. This is only relevant when an image's rendered size depends on the\n [viewport](https://drafts.csswg.org/css2/#viewport) size.\n - The users' screen pixel density might be different from one another. A mobile phone's screen might have three times as many physical pixels per inch\n compared to another mobile phone's screen, regardless of their physical screen size.\n - The users' zoom level might be different from one another, or might change for a single\n user over time. A user might zoom in to a particular image to be able to get a more\n detailed look. The zoom level and the screen pixel density (the previous point) can both affect the number\n of physical screen pixels per [CSS pixel](https://drafts.csswg.org/css-values/#px). This ratio is usually\n referred to as device-pixel-ratio.\n - The users' screen orientation might be different from one another, or might change for a\n single user over time. A tablet can be held upright or rotated 90 degrees, so that the screen is either\n \"portrait\" or \"landscape\".\n - The users' network speed, network latency and bandwidth cost might be different from one\n another, or might change for a single user over time. A user might be on a fast, low-latency and constant-cost connection while\n at work, on a slow, low-latency and constant-cost connection while at home, and on a\n variable-speed, high-latency and variable-cost connection anywhere else.\n- Authors might want to show the same image content but with different rendered size depending\n on, usually, the width of the [viewport](https://drafts.csswg.org/css2/#viewport). This is usually referred to as\n viewport-based selection. A web page might have a banner at the top that always spans the entire [viewport](https://drafts.csswg.org/css2/#viewport)\n width. In this case, the rendered size of the image depends on the physical size of the screen\n (assuming a maximised browser window). Another web page might have images in columns, with a single column for screens with a small\n physical size, two columns for screens with medium physical size, and three columns for screens\n with big physical size, with the images varying in rendered size in each case to fill up the\n [viewport](https://drafts.csswg.org/css2/#viewport). In this case, the rendered size of an image might be *bigger* in\n the one-column layout compared to the two-column layout, despite the screen being smaller.\n- Authors might want to show different image content depending on the rendered size of the\n image. This is usually referred to as art direction. When a web page is viewed on a screen with a large physical size (assuming a maximised\n browser window), the author might wish to include some less relevant parts surrounding the\n critical part of the image. When the same web page is viewed on a screen with a small physical\n size, the author might wish to show only the critical part of the image.\n- Authors might want to show the same image content but using different image formats,\n depending on which image formats the user agent supports. This is usually referred to as\n image format-based selection. A web page might have some images in the JPEG, WebP and JPEG XR image\n formats, with the latter two having better compression abilities compared to JPEG. Since\n different user agents can support different image formats, with some formats offering better\n compression ratios, the author would like to serve the better formats to user agents that\n support them, while providing JPEG fallback for user agents that don't.\n\nThe above situations are not mutually exclusive. For example, it is reasonable to combine\n different resources for different device-pixel-ratio with different resources for\n art direction.\n\nWhile it is possible to solve these problems using scripting, doing so introduces some other\n problems:\n\n- Some user agents aggressively download images specified in the HTML markup, before scripts\n have had a chance to run, so that web pages complete loading sooner. If a script changes which\n image to download, the user agent will potentially start two separate downloads, which can\n instead cause worse page loading performance.\n- If the author avoids specifying any image in the HTML markup and instead instantiates a\n single download from script, that avoids the double download problem above but then no image will\n be downloaded at all for users with scripting disabled and the aggressive image downloading\n optimization will also be disabled.\n\nWith this in mind, this specification introduces a number of features to address the above\n problems in a declarative manner.\n\nDevice-pixel-ratio-based selection when the rendered size of the image is\n fixed\n\nThe `src` and `srcset`\n attributes on the `img` element can be used, using the `x`\n descriptor, to provide multiple images that only vary in their size (the smaller image is a\n scaled-down version of the bigger image). The `x` descriptor is not appropriate when the rendered\n size of the image depends on the [viewport](https://drafts.csswg.org/css2/#viewport) width\n (viewport-based selection), but can be used together with\n art direction. `

    From today's featured article

    \"\"

    Marie Lloyd (1870–1922)\nwas an English music hall singer, ...` The user agent can choose any of the given resources depending on the user's screen's pixel\n density, zoom level, and possibly other factors such as the user's network conditions. For backwards compatibility with older user agents that don't yet understand the `srcset` attribute, one of the URLs is specified in the\n `img` element's `src` attribute. This will result\n in something useful (though perhaps lower-resolution than the user would like) being displayed\n even in older user agents. For new user agents, the `src`\n attribute participates in the resource selection, as if it was specified in `srcset` with a `1x` descriptor. The image's rendered size is given in the `width` and\n `height` attributes, which allows the user agent to\n allocate space for the image before it is downloaded.\n\nViewport-based selection\n\nThe `srcset` and `sizes` attributes can be used, using the `w`\n descriptor, to provide multiple images that only vary in their size (the smaller image is a\n scaled-down version of the bigger image). In this example, a banner image takes up the entire [viewport](https://drafts.csswg.org/css2/#viewport) width (using\n appropriate CSS). `

    \"The

    ` The user agent will calculate the effective pixel density of each image from the specified\n `w` descriptors and the specified rendered size in the `sizes` attribute. It can then choose any of the given resources\n depending on the user's screen's pixel density, zoom level, and possibly other factors such as\n the user's network conditions. If the user's screen is 320 [CSS pixels](https://drafts.csswg.org/css-values/#px) wide, this is equivalent\n to specifying `wolf-400.jpg 1.25x, wolf-800.jpg 2.5x, wolf-1600.jpg 5x`.\n On the other hand, if the user's screen is 1200 [CSS pixels](https://drafts.csswg.org/css-values/#px) wide,\n this is equivalent to specifying `wolf-400.jpg 0.33x, wolf-800.jpg 0.67x, wolf-1600.jpg 1.33x`. By using the\n `w` descriptors and the `sizes`\n attribute, the user agent can choose the correct image source to download regardless of how\n large the user's device is. For backwards compatibility, one of the URLs is specified in the `img` element's\n `src` attribute. In new user agents, the `src` attribute is ignored when the `srcset` attribute uses `w` descriptors. In this example, the web page has three layouts depending on the width of the\n [viewport](https://drafts.csswg.org/css2/#viewport). The narrow layout has one column of images (the width of each image is\n about 100%), the middle layout has two columns of images (the width of each image is about\n 50%), and the widest layout has three columns of images, and some page margin (the width of\n each image is about 33%). It breaks between these layouts when the [viewport](https://drafts.csswg.org/css2/#viewport) is\n `30em` wide and `50em` wide, respectively. `\"Kettlebell` The `sizes` attribute sets up the layout breakpoints at\n `30em` and `50em`, and declares the image sizes\n between these breakpoints to be `100vw`, `50vw`, or\n `calc(33vw - 100px)`. These sizes do not necessarily have to match up\n exactly with the actual image width as specified in the CSS. The user agent will pick a width from the `sizes`\n attribute, using the first item with a [](https://drafts.csswg.org/mediaqueries/#typedef-media-condition) (the part in\n parentheses) that evaluates to true, or using the last item (`calc(33vw -\n 100px)`) if they all evaluate to false. For example, if the [viewport](https://drafts.csswg.org/css2/#viewport) width is `29em`, then `(max-width: 30em)` evaluates to true and `100vw` is used,\n so the image size, for the purpose of resource selection, is `29em`. If\n the [viewport](https://drafts.csswg.org/css2/#viewport) width is instead `32em`, then\n `(max-width: 30em)` evaluates to false, but\n `(max-width: 50em)` evaluates to true\n and `50vw` is used, so the image size, for the purpose of resource\n selection, is `16em` (half the [viewport](https://drafts.csswg.org/css2/#viewport) width). Notice that\n the slightly wider [viewport](https://drafts.csswg.org/css2/#viewport) results in a smaller image because of the different\n layout. The user agent can then calculate the effective pixel density and choose an appropriate\n resource similarly to the previous example. This example is the same as the previous example, but the image is lazy-loaded. In this case, the `sizes` attribute can use the `auto` keyword, and the user agent will use the `width` attribute (or the width specified in CSS) for the\n source size. `\"Kettlebell` For better backwards-compatibility with legacy user agents that don't support the `auto` keyword, fallback sizes can be specified if desired. `\"Kettlebell`\n\nArt direction-based selection\n\nThe `picture` element and the `source` element, together with the `media` attribute, can be used to provide multiple images that\n vary the image content (for instance the smaller image might be a cropped version of the bigger\n image). ` \"The ` The user agent will choose the first `source` element for which the media query\n in the `media` attribute matches, and then choose an\n appropriate URL from its `srcset` attribute. The rendered size of the image varies depending on which resource is chosen. To specify\n dimensions that the user agent can use before having downloaded the image, CSS can be used. `img { width: 300px; height: 300px } @media (min-width: 32em) { img { width: 500px; height:300px } }\n@media (min-width: 45em) { img { width: 700px; height:400px } }` This example combines art direction- and device-pixel-ratio-based\n selection. A banner that takes half the [viewport](https://drafts.csswg.org/css2/#viewport) is provided in two versions,\n one for wide screens and one for narrow screens. `

    \"The

    `\n\nImage format-based selection\n\nThe `type` attribute on the `source` element\n can be used to provide multiple images in different formats. `

    From today's featured article

    \"\"

    Marie Lloyd (1870–1922)\nwas an English music hall singer, ...` In this example, the user agent will choose the first source that has a `type` attribute with a supported MIME type. If the user agent\n supports WebP images, the first `source` element will be chosen. If not, but the\n user agent does support JPEG XR images, the second `source` element will be chosen.\n If neither of those formats are supported, the `img` element will be chosen.\n\n###### 4.8.4.1.1 Adaptive images\n\n*This section is non-normative.*\n\nCSS and media queries can be used to construct graphical page layouts that adapt dynamically to\n the user's environment, in particular to different [viewport](https://drafts.csswg.org/css2/#viewport) dimensions and pixel\n densities. For content, however, CSS does not help; instead, we have the `img` element's\n `srcset` attribute and the `picture` element.\n This section walks through a sample case showing how to use these features.\n\nConsider a situation where on wide screens (wider than 600 [CSS\n pixels](https://drafts.csswg.org/css-values/#px)) a 300×150 image named `a-rectangle.png` is to be used,\n but on smaller screens (600 [CSS pixels](https://drafts.csswg.org/css-values/#px) and less), a smaller\n 100×100 image called `a-square.png` is to be used. The markup for this\n would look like this:\n\n```\n

    \"Barney
    Barney Frank, 2011
    \n```\n\nFor details on what to put in the `alt`\n attribute, see the Requirements for providing text to act as an alternative for\n images section.\n\nThe problem with this is that the user agent does not necessarily know what dimensions to use\n for the image when the image is loading. To avoid the layout having to be reflowed multiple times\n as the page is loading, CSS and CSS media queries can be used to provide the dimensions:\n\n```\n
    \"Barney
    Barney Frank, 2011
    \n```\n\nAlternatively, the `width` and `height` attributes can be used on the `source` and\n `img` elements to provide the width and height:\n\n```\n
    \"Barney
    Barney Frank, 2011
    \n```\n\n---\n\nThe `img` element is used with the `src` attribute,\n which gives the URL of the image to use for legacy user agents that do not support the\n `picture` element. This leads to a question of which image to provide in the `src` attribute.\n\nIf the author wants the biggest image in legacy user agents, the markup could be as\n follows:\n\n```\n \"The \n```\n\nHowever, if legacy mobile user agents are more important, one can list all three images in the\n `source` elements, overriding the `src` attribute\n entirely.\n\n```\n \"The \n```\n\nSince at this point the `src` attribute is actually being\n ignored entirely by `picture`-supporting user agents, the `src` attribute can default to any image, including one that is neither\n the smallest nor biggest:\n\n```\n \"The \n```\n\n---\n\nAbove the `max-width` media feature is used, giving the maximum\n ([viewport](https://drafts.csswg.org/css2/#viewport)) dimensions that an image is intended for. It is also possible to use `min-width` instead.\n\n```\n \"The \n```\n\n##### 4.8.4.2 Attributes common to `source`,\n `img`, and `link` elements\n\n###### 4.8.4.2.1 Srcset attributes\n\nA srcset attribute is an attribute with requirements defined in this section.\n\nIf present, its value must consist of one or more image\n candidate strings, each separated from the next by a U+002C COMMA character (,). If an\n image candidate string contains no descriptors and no [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)\n after the URL, the following image candidate string, if there is one, must begin with\n one or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nAn image candidate string consists of the following components, in order, with the\n further restrictions described below this list:\n\n1. Zero or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n2. A valid non-empty URL that does not start or end with a U+002C COMMA\n character (,), referencing a non-interactive, optionally animated, image resource that is neither\n paged nor scripted.\n3. Zero or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n4. Zero or one of the following:\n - A width descriptor, consisting of: [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), a\n valid non-negative integer giving a number greater than zero representing the\n width descriptor value, and a U+0077 LATIN SMALL LETTER W character.\n - A pixel density descriptor, consisting of: [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace), a\n valid floating-point number giving a number greater than zero representing the\n pixel density descriptor value, and a U+0078 LATIN SMALL LETTER X\n character.\n5. Zero or more [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace).\n\nThere must not be an image candidate string for an element that has the same\n width descriptor value as another image candidate string's width\n descriptor value for the same element.\n\nThere must not be an image candidate string for an element that has the same\n pixel density descriptor value as another image candidate string's\n pixel density descriptor value for the same element. For the purpose of this\n requirement, an image candidate string with no descriptors is equivalent to an\n image candidate string with a `1x` descriptor.\n\nIf an image candidate string for an element has the width descriptor\n specified, all other image candidate strings for that\n element must also have the width descriptor specified.\n\nThe specified width in an image candidate string's width descriptor\n must match the [natural width](https://drafts.csswg.org/css-images/#natural-width) in the resource given by the\n image candidate string's URL, if it has a [natural width](https://drafts.csswg.org/css-images/#natural-width).\n\nIf an element has a sizes attribute present, all image candidate strings for that element must have the width\n descriptor specified.\n\n###### 4.8.4.2.2 Sizes attributes\n\nA sizes attribute is an attribute with requirements defined in this section.\n\nIf present, the value must be a valid source size list.\n\nA valid source size list is a string that matches the following grammar:\n [CSSVALUES] [MQ]\n\n```\n = #? , = | auto = | auto\n```\n\nA that is a [](https://drafts.csswg.org/css-values/#lengths) must not be negative,\n and must not use CSS functions other than the [math functions](https://drafts.csswg.org/css-values/#math-function).\n\nThe keyword `auto` is a width that is\n computed in parse a sizes attribute. If present, it must be the first entry and the\n entire value must either be the string \"`auto`\" ([ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive)) or start with the string \"`auto,`\" ([ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive)).\n\nIf the `img` element that initiated the image loading (with the\n update the image data or react to environment\n changes algorithms) allows auto-sizes and is being rendered,\n then `auto` is the [concrete object size](https://drafts.csswg.org/css-images/#concrete-object-size) width.\n Otherwise, the `auto` value is ignored and the next\n source size is used instead, if any.\n\nThe `auto` keyword may be specified in the `sizes` attribute of `source` elements and `sizes` attribute of `img` elements, if the following\n conditions are met. Otherwise, `auto` must not be\n specified.\n\n- The element is a `source` element with a following sibling\n `img` element.\n- The element is an `img` element.\n- The `img` element referenced in either condition above allows\n auto-sizes.\n\nIn addition, it is strongly encouraged to specify dimensions using the `width` and `height` attributes\n or with CSS. Without specified dimensions, the image will likely render with 300x150 dimensions\n because `sizes=\"auto\"` implies `contain-intrinsic-size: 300px\n 150px` in the Rendering section.\n\nThe gives the intended layout width of the image. The\n author can specify different widths for different environments with\n [](https://drafts.csswg.org/mediaqueries/#typedef-media-condition)s.\n\nPercentages are not allowed in a ,\n to avoid confusion about what it would be relative to.\n The ['vw'](https://drafts.csswg.org/css-values/#vw) unit can be used for sizes relative to the [viewport](https://drafts.csswg.org/css2/#viewport)\n width.\n\n##### 4.8.4.3 Processing model\n\n---\n\nAn `img` element has a current request and a pending request.\n The current request is initially set to a new image request.\n The pending request is initially set to null.\n\nAn image request has a state, current URL, and image data.\n\nAn image request's state is one of the\n following:\n\nUnavailable\n\nThe user agent hasn't obtained any image data,\n or has obtained some or all of the image data but\n hasn't yet decoded enough of the image to get the image dimensions.\n\nPartially available\n\nThe user agent has obtained some of the image data and at least the image dimensions are\n available.\n\nCompletely available\n\nThe user agent has obtained all of the image data and at least the image dimensions are\n available.\n\nBroken\n\nThe user agent has obtained all of the image data that it can, but it cannot even decode the\n image enough to get the image dimensions (e.g. the image is corrupted, or the format is not\n supported, or no data could be obtained).\n\nAn image request's current URL is initially the\n empty string.\n\nAn image request's image data is the decoded\n image data.\n\nWhen an image request's state is either partially available or completely available,\n the image request is said to be available.\n\nWhen an `img` element's current request's state is completely available and the\n user agent can decode the media data without errors, then the `img` element is said to\n be fully decodable.\n\nAn image request's state is initially unavailable.\n\nWhen an `img` element's current request is available, the `img` element provides a [paint\n source](https://drafts.csswg.org/css-images-4/#paint-source) whose width is the image's density-corrected natural width (if any), whose height is the image's density-corrected natural height\n (if any), and whose appearance is the natural appearance of the image.\n\n---\n\nAn `img` element is said to use `srcset` or\n `picture` if it has a `srcset` attribute\n specified or if it has a parent that is a `picture` element.\n\n---\n\nEach `img` element has a last selected source, which must initially be\n null.\n\nEach image request has a current pixel density, which must initially be\n 1.\n\nEach image request has preferred density-corrected dimensions, which is\n either a struct consisting of a width and a height or is null. It must initially be null.\n\nTo determine the density-corrected\n natural width and height of an `img` element img:\n\n1. Let density be img's current request's current\n pixel density.\n2. Let dimensions be img's current request's\n preferred density-corrected dimensions. The preferred density-corrected dimensions are set in the\n prepare an image for presentation algorithm based on meta information in the\n image.\n3. If dimensions is not null, then set\n dimensions's width to dimensions's width divided by\n density, set dimensions's height to dimensions's height\n divided by density, and return dimensions.\n4. Let intrinsicWidth, intrinsicHeight, and\n intrinsicRatio be img's [intrinsic\n width, intrinsic height, and intrinsic aspect ratio](https://drafts.csswg.org/css-images/#natural-dimensions), if any, respectively.\n5. If intrinsicWidth is not absent, then set intrinsicWidth to\n intrinsicWidth divided by density.\n6. If intrinsicHeight is not absent, then set intrinsicHeight to\n intrinsicHeight divided by density.\n7. Return the result of applying the [default sizing algorithm](https://drafts.csswg.org/css-images/#default-sizing) with\n intrinsicWidth, intrinsicHeight, and intrinsicRatio, using a\n [default object size](https://drafts.csswg.org/css-images/#default-object-size) of 300 by 150.\n\nFor example, if the current pixel density is 3.125, that means\n that there are 300 device pixels per [CSS inch](https://drafts.csswg.org/css-values/#in), and thus if the image\n data is 300x600, it has density-corrected natural width and height of 96 [CSS pixels](https://drafts.csswg.org/css-values/#px) by 192 [CSS pixels](https://drafts.csswg.org/css-values/#px).\n\nAll `img` and `link` elements are associated with a source set.\n\nA source set is an ordered set of zero or more image sources\n and a source size.\n\nAn image source is a [URL](https://url.spec.whatwg.org/#concept-url), and optionally either a pixel density\n descriptor, or a width descriptor.\n\nA source size is a .\n When a source size has a unit relative to the [viewport](https://drafts.csswg.org/css2/#viewport),\n it must be interpreted relative to the `img` element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n [viewport](https://drafts.csswg.org/css2/#viewport). Other units must be interpreted the same as in Media Queries.\n [MQ]\n\n---\n\nA parse error for algorithms in this\n section indicates a non-fatal mismatch between input and requirements. User agents are encouraged\n to expose parse errors somehow.\n\n---\n\nWhether the image is fetched successfully or not (e.g. whether the response status was an\n [ok status](https://fetch.spec.whatwg.org/#ok-status)) must be ignored when determining the image's type and whether it is a\n valid image.\n\nThis allows servers to return images with error responses, and have them\n displayed.\n\nThe user agent should apply the [image sniffing rules](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically) to determine the type of the image, with the image's associated Content-Type headers giving the official\n type. If these rules are not applied, then the type of the image must be the type given by\n the image's associated Content-Type headers.\n\nUser agents must not support non-image resources with the `img` element (e.g. XML\n files whose [document element](https://dom.spec.whatwg.org/#document-element) is an HTML element). User agents must not run executable\n code (e.g. scripts) embedded in the image resource. User agents must only display the first page\n of a multipage resource (e.g. a PDF file). User agents must not allow the resource to act in an\n interactive fashion, but should honour any animation in the resource.\n\nThis specification does not specify which image types are to be supported.\n\n###### 4.8.4.3.1 When to obtain images\n\nBy default, images are obtained immediately. User agents may provide users with the option to\n instead obtain them on-demand. (The on-demand option might be used by bandwidth-constrained users,\n for example.)\n\nWhen obtaining images immediately, the user agent must synchronously update the image\n data of the `img` element, with the *restart animation* flag set if so\n stated, whenever that element is created or has experienced relevant mutations.\n\nWhen obtaining images on demand, the user agent must update the image data of an\n `img` element whenever it needs the image data (i.e., on demand), but only if the\n `img` element's current request's state is unavailable. When an\n `img` element has experienced relevant mutations, if the user agent only\n obtains images on demand, the `img` element's current request's state must return to unavailable.\n\n###### 4.8.4.3.2 Reacting to DOM mutations\n\nThe relevant mutations for an `img` element are as follows:\n\n- The element's `src`, `srcset`, `width`, or `sizes` attributes are set, changed, or removed.\n- The element's `src` attribute is set to the same value as the previous value.\n This must set the *restart animation* flag for the update the image data algorithm.\n- The element's `crossorigin` attribute's state is changed.\n- The element's `referrerpolicy` attribute's\n state is changed.\n- The `img` or `source` HTML element insertion steps,\n HTML element removing steps, and HTML element moving steps count the\n mutation as a relevant mutation.\n- The element's parent is a `picture` element and a `source` element\n that is a previous sibling has its `srcset`, `sizes`, `media`, `type`, `width` or `height` attributes set, changed, or removed.\n- The element's [adopting steps](https://dom.spec.whatwg.org/#concept-node-adopt-ext) are run.\n- If the element allows auto-sizes: the element starts or stops being\n rendered, or its [concrete object size](https://drafts.csswg.org/css-images/#concrete-object-size) width changes. This must set the\n *maybe omit events* flag for the update the image data algorithm.\n\n###### 4.8.4.3.3 The list of available images\n\nEach `Document` object must have a list of available images. Each image\n in this list is identified by a tuple consisting of an [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute), a CORS\n settings attribute mode, and, if the mode is not No\n CORS, an origin.\n Each image furthermore has an ignore higher-layer caching flag.\n User agents may copy entries from one `Document`\n object's list of available images to another at any time (e.g. when the\n `Document` is created, user agents can add to it all the images that are loaded in\n other `Document`s), but must not change the keys of entries copied in this way when\n doing so, and must unset the ignore higher-layer caching flag for the copied entry.\n User agents may also remove images from such lists at any time (e.g. to save\n memory).\n User agents must remove entries in the list of available images as appropriate\n given higher-layer caching semantics for the resource (e.g. the HTTP ``[Cache-Control](https://httpwg.org/specs/rfc7234.html#header.cache-control)`` response header) when the ignore\n higher-layer caching flag is unset.\n\nThe list of available images is intended to enable synchronous\n switching when changing the `src` attribute to a URL that has\n previously been loaded, and to avoid re-downloading images in the same document even when they\n don't allow caching per HTTP. It is not used to avoid re-downloading the same image while the\n previous image is still loading.\n\nThe user agent can also store the image data separately from the list of available images.\n\nFor example, if a resource has the HTTP response header\n ``Cache-Control: must-revalidate``, and its ignore higher-layer\n caching flag is unset, the user agent would remove it from the list of available\n images but could keep the image data separately, and use that if the server responds with a\n `304 Not Modified` status.\n\n###### 4.8.4.3.4 Decoding images\n\nImage data is usually encoded in order to reduce file size. This means that in order for the\n user agent to present the image to the screen, the data needs to be decoded.\n Decoding is the process which converts an image's media\n data into a bitmap form, suitable for presentation to the screen. Note that this process can be\n slow relative to other processes involved in presenting content. Thus, the user agent can choose\n when to perform decoding, in order to create the best user experience.\n\nImage decoding is said to be synchronous if it prevents presentation of other content until it\n is finished. Typically, this has an effect of atomically presenting the image and any other\n content at the same time. However, this presentation is delayed by the amount of time it takes to\n perform the decode.\n\nImage decoding is said to be asynchronous if it does not prevent presentation of other content.\n This has an effect of presenting non-image content faster. However, the image content is missing\n on screen until the decode finishes. Once the decode is finished, the screen is updated with the\n image.\n\nIn both synchronous and asynchronous decoding modes, the final content is presented to screen\n after the same amount of time has elapsed. The main difference is whether the user agent presents\n non-image content ahead of presenting the final content.\n\nIn order to aid the user agent in deciding whether to perform synchronous or asynchronous\n decode, the `decoding` attribute can be set on\n `img` elements. The possible values of the `decoding` attribute are the following image decoding\n hint keywords:\n\n| Keyword | State | Description |\n| --- | --- | --- |\n| `sync` | Sync | Indicates a preference to decode this image\n synchronously for atomic presentation with other content. |\n| `async` | Async | Indicates a preference to decode this image\n asynchronously to avoid delaying presentation of other content. |\n| `auto` | Auto | Indicates no preference in decoding mode (the default). |\n\nWhen decoding an image, the user agent should\n respect the preference indicated by the `decoding`\n attribute's state. If the state indicated is Auto, then the user agent is free to choose any\n decoding behavior.\n\nIt is also possible to control the decoding behavior using the `decode()` method. Since the `decode()` method performs decoding independently from the process responsible for\n presenting content to screen, it is unaffected by the `decoding` attribute.\n\n###### 4.8.4.3.5 Updating the image data\n\nThis algorithm cannot be called from steps running in parallel. If\n a user agent needs to call this algorithm from steps running in parallel, it needs to\n queue a task to do so.\n\nWhen the user agent is to update the image data of an `img` element\n element, optionally with the *restart animation* flag set, optionally with the\n *maybe omit events* flag set, it must run the following steps:\n\n1. If element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active:\n 1. Continue running this algorithm in parallel.\n 2. Wait until element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is fully\n active.\n 3. If another instance of this algorithm for element was started after this instance\n (even if it aborted and is no longer running), then return.\n 4. Queue a microtask to continue this algorithm.\n2. If the user agent cannot support images, or its support for images has been disabled, then\n abort the image request for the current request and the pending\n request, set the current request's state to\n unavailable, set the pending request to null, and\n return.\n3. Let previousURL be the current request's current URL.\n4. Let selected source be null and selected pixel density be undefined.\n5. If element does not use `srcset` or\n `picture` and it has a `src` attribute\n specified whose value is not the empty string, then set selected source to the value\n of element's `src` attribute and set selected\n pixel density to 1.0.\n6. Set element's last selected source to selected\n source.\n7. If selected source is not null:\n 1. Let urlString be the result of encoding-parsing-and-serializing a\n URL given selected source, relative to element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n 2. If urlString is failure, then abort this inner set of steps.\n 3. Let key be a tuple consisting of urlString, element's\n `crossorigin` attribute's mode, and, if that\n mode is not No CORS, element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document)'s [origin](https://dom.spec.whatwg.org/#concept-document-origin).\n 4. If the list of available images contains an entry for key:\n 1. Set the ignore higher-layer caching flag for that entry.\n 2. Abort the image request for the current request and the\n pending request.\n 3. Set the pending request to null.\n 4. Set the current request to a new image request whose image data is that of the entry and whose state is completely\n available.\n 5. Prepare the current request\n for presentation given element.\n 6. Set the current request's current pixel density to selected\n pixel density.\n 7. Queue an element task on the DOM manipulation task source\n given element and the following steps:\n 1. If *restart animation* is set, then restart the\n animation.\n 2. Set the current request's current URL to\n urlString.\n 3. If *maybe omit events* is not set or previousURL is not equal to\n urlString, then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named\n `load` at element.\n 8. Abort the update the image data algorithm.\n8. Queue a microtask to perform the rest of this algorithm, allowing the task that invoked this algorithm to continue.\n9. If another instance of this algorithm for element was started after\n this instance (even if it aborted and is no longer running), then return. Only the last instance takes effect, to avoid multiple requests when, for\n example, the `src`, `srcset`,\n and `crossorigin` attributes are all set in\n succession.\n10. Let selected source and selected pixel density be the URL and pixel\n density that results from selecting an image source,\n respectively.\n11. If selected source is null:\n 1. Set the current request's state to\n broken, abort the image request for the\n current request and the pending request, and set the pending\n request to null.\n 2. Queue an element task on the DOM manipulation task source given\n element and the following steps:\n 1. Change the current request's current\n URL to the empty string.\n 2. If all of the following are true: then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at element.\n - element has a `src` attribute or it\n uses `srcset` or\n `picture`; and\n - *maybe omit events* is not set or previousURL is not the empty\n string,\n 3. Return.\n12. Let urlString be the result of encoding-parsing-and-serializing a\n URL given selected source, relative to element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n13. If urlString is failure:\n 1. Abort the image request for the current request and the\n pending request.\n 2. Set the current request's state to\n broken.\n 3. Set the pending request to null.\n 4. Queue an element task on the DOM manipulation task\n source given element and the following steps:\n 1. Change the current request's current\n URL to selected source.\n 2. If *maybe omit events* is not set or previousURL is not equal to\n selected source, then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire)\n named `error` at element.\n 5. Return.\n14. If the pending request is not null and urlString is the same as\n the pending request's current URL, then\n return.\n15. If urlString is the same as the current request's current URL and the current request's state is partially available:\n 1. Abort the image request for the pending request.\n 2. If *restart animation* is set, then queue an element task on the\n DOM manipulation task source given element to restart\n the animation.\n 3. Return.\n16. Abort the image request for the pending request.\n17. Set image request to a new image request whose current URL is urlString.\n18. If the current request's state is unavailable or broken, then set the\n current request to image request. Otherwise, set the pending\n request to image request.\n19. Let request be the result of creating a potential-CORS request given urlString, \"`image`\", and the current state of element's `crossorigin` content attribute.\n20. Set request's [client](https://fetch.spec.whatwg.org/#concept-request-client) to\n element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s relevant settings object.\n21. If element uses `srcset` or\n `picture`, set request's [initiator](https://fetch.spec.whatwg.org/#concept-request-initiator) to \"`imageset`\".\n22. Set request's [referrer\n policy](https://fetch.spec.whatwg.org/#concept-request-referrer-policy) to the current state of element's `referrerpolicy` attribute.\n23. Set request's [priority](https://fetch.spec.whatwg.org/#request-priority) to the current state of element's\n `fetchpriority` attribute.\n24. Let delay load event be true if the `img`'s lazy loading\n attribute is in the Eager state, or if\n scripting is disabled for the `img`, and\n false otherwise.\n25. If the will lazy load element steps given the `img` return true:\n 1. Set the `img`'s lazy load resumption steps to the rest of this\n algorithm starting with the step labeled *fetch the image*.\n 2. Start intersection-observing a lazy loading element for\n element.\n 3. Return.\n26. *Fetch the image*: [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request. Return\n from this algorithm, and run the remaining steps as part of the fetch's *[processResponse](https://fetch.spec.whatwg.org/#process-response)* for the [response](https://fetch.spec.whatwg.org/#concept-response) response. The resource obtained in this fashion, if any, is image request's image data. It can be either CORS-same-origin or\n CORS-cross-origin; this affects the image's interaction with other APIs (e.g.,\n when used on a `canvas`). When delay load event is true, fetching the image must delay the load\n event of element's [node document](https://dom.spec.whatwg.org/#concept-node-document) until the task that is queued by the\n networking task source once the resource has been fetched (defined below) has been run. This, unfortunately, can be used to perform a rudimentary port scan of the\n user's local network (especially in conjunction with scripting, though scripting isn't actually\n necessary to carry out such an attack). User agents may implement cross-origin access control policies that are stricter than those\n described above to mitigate this attack, but unfortunately such policies are typically not\n compatible with existing web content.\n27. As soon as possible, jump to the first applicable entry from the following list: If the resource type is `multipart/x-mixed-replace` The next task that is queued by the networking task source while the image is being\n fetched must run the following steps: If image request is the pending request\n and at least one body part has been completely decoded,\n abort the image request for the current request,\n and upgrade the pending request to the current request. Otherwise, if image request is the pending request and the\n user agent is able to determine that image request's image is corrupted in some\n fatal way such that the image dimensions cannot be obtained, abort the image\n request for the current request, upgrade the pending request to the\n current request, and set the current request's state to broken.Otherwise, if image request is the current request, its state is unavailable, and the\n user agent is able to determine image request's image's width and height, set the\n current request's state to partially available.Otherwise, if image request is the current request, its state is unavailable, and the\n user agent is able to determine that image request's image is corrupted in some\n fatal way such that the image dimensions cannot be obtained, set the current\n request's state to broken.\n Each task that is queued by the networking task source while the image is being\n fetched must update the presentation of the image, but as each new body part comes in, if the\n user agent is able to determine the image's width and height, it must prepare element's current request\n for presentation given element and replace the previous image.\n Once one body part has been completely decoded, perform the following steps: Set element's current request's state to completely\n available.If *maybe omit events* is not set or previousURL is not equal to\n urlString, then queue an element task on the DOM manipulation task source\n given element to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire)\n named `load` at element. If the resource type and data corresponds to a supported image format, as described below The next task that is queued by the networking task source while the image is being\n fetched must run the following steps: If the user agent is able to determine image request's image's width and\n height, and image request is the pending request, set image\n request's state to partially\n available.Otherwise, if the user agent is able to determine image request's image's\n width and height, and image request is the current request, prepare image request for\n presentation given element and set image request's\n state to partially\n available. Otherwise, if the user agent is able to determine that image request's image\n is corrupted in some fatal way such that the image dimensions cannot be obtained, and\n image request is the pending request: Abort the image request for the current request and the\n pending request.Upgrade the pending request to the current request.Set the current request's state to\n broken.[Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at element. Otherwise, if the user agent is able to determine that image request's image\n is corrupted in some fatal way such that the image dimensions cannot be obtained, and\n image request is the current request: Abort the image request for image request.If *maybe omit events* is not set or previousURL is not equal to\n urlString, then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named\n `error` at element. That task, and each subsequent task that is queued by the\n networking task source while the image is being fetched, must, if image\n request is the current request, update the presentation of the image\n appropriately (e.g., if the image is a progressive JPEG, each packet can improve the\n resolution of the image). Furthermore, the last task that is queued by the networking task source once the resource has been\n fetched must additionally run these steps: If image request is the pending request,\n abort the image request for the current request,\n upgrade the pending request to the current request, and\n prepare image request for\n presentation given element.Set image request to the completely\n available state.Add the image to the list of available images using the key\n key, with the ignore higher-layer caching flag set.If *maybe omit events* is not set or previousURL is not equal to\n urlString, then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named\n `load` at element. OtherwiseThe image data is not in a supported file format; the user agent must set image\n request's state to broken, abort the image request for the current\n request and the pending request, upgrade the pending request to the\n current request if image request is the pending request, and\n then, if *maybe omit events* is not set or previousURL is not equal to\n urlString, queue an element task on the DOM manipulation task\n source given element to [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at element.\n\nWhile a user agent is running the above algorithm for an element x, there must be a\n strong reference from the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) to the element x, even\n if that element is not [connected](https://dom.spec.whatwg.org/#connected).\n\nTo abort the image request for an image request or null image\n request means to run the following steps:\n\n1. If image request is null, then return.\n2. Forget image request's image data, if any.\n3. Abort any instance of the [fetching](https://fetch.spec.whatwg.org/#concept-fetch) algorithm for\n image request, discarding any pending tasks generated by that algorithm.\n\nTo upgrade the pending request to the current request for an `img` element means to run the following steps:\n\n1. Set the `img` element's current request to the pending request.\n2. Set the `img` element's pending request to null.\n\n###### 4.8.4.3.6 Preparing an image for presentation\n\nTo prepare an image for presentation for an image request req given image element img:\n\n1. Let exifTagMap be the EXIF tags obtained from req's image data, as defined by the relevant codec.\n [EXIF]\n2. Let physicalWidth and physicalHeight be the width and height\n obtained from req's image data, as defined by the\n relevant codec.\n3. Let dimX be the value of exifTagMap's tag `0xA002` (`PixelXDimension`).\n4. Let dimY be the value of exifTagMap's tag `0xA003` (`PixelYDimension`).\n5. Let resX be the value of exifTagMap's tag `0x011A` (`XResolution`).\n6. Let resY be the value of exifTagMap's tag `0x011B` (`YResolution`).\n7. Let resUnit be the value of exifTagMap's tag `0x0128` (`ResolutionUnit`).\n8. If all the following are true: then:\n - dimX is a positive integer;\n - dimY is a positive integer;\n - resX is a positive floating-point number;\n - resY is a positive floating-point number;\n - physicalWidth × 72 / resX is\n dimX;\n - physicalHeight × 72 / resY is\n dimY;\n - resUnit is `2` (`Inch`),\n 1. If req's image data is\n CORS-cross-origin, then set img's [natural dimensions](https://drafts.csswg.org/css-images/#natural-dimensions) to\n dimX and dimY, and scale img's pixel data\n accordingly.\n 2. Otherwise, set req's preferred density-corrected dimensions to a\n struct with its width set to dimX and its height set to dimY.\n9. Update req's `img` element's presentation appropriately.\n\nResolution in EXIF is equivalent to [CSS points per\n inch](https://drafts.csswg.org/css-values/#pt), therefore 72 is the base for computing size from resolution.\n\nIt is not yet specified what would be the case if EXIF arrives after the image is\n already presented. See [issue\n #4929](https://github.com/w3c/csswg-drafts/issues/4929).\n\n###### 4.8.4.3.7 Selecting an image source\n\nTo select an image source given an `img` element el:\n\n1. Update the source set for el.\n2. If el's source set is empty, return null as the URL and undefined\n as the pixel density.\n3. Return the result of selecting an\n image from el's source set.\n\nTo select an image source from a source set given a source set sourceSet:\n\n1. If an entry b in sourceSet has the same associated pixel\n density descriptor as an earlier entry a in sourceSet, then remove\n entry b. Repeat this step until none of the entries in sourceSet have the\n same associated pixel density descriptor as an earlier entry.\n2. In an [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) manner, choose one image source\n from sourceSet. Let selectedSource be this choice.\n3. Return selectedSource and its associated pixel density.\n\n###### 4.8.4.3.8 Creating a source set from attributes\n\nWhen asked to create a source set given a string default source, a string\n srcset, a string sizes, and an element or null img:\n\n1. Let source set be an empty source set.\n2. If srcset is not an empty string, then set\n source set to the result of parsing srcset.\n3. Set source set's source size to the result of parsing sizes with img.\n4. If default source is not the empty string and\n source set does not contain an image source with a pixel\n density descriptor value of 1, and no image source with a width\n descriptor, append default source to source set.\n5. Normalize the source densities of source set.\n6. Return source set.\n\n###### 4.8.4.3.9 Updating the source set\n\nWhen asked to update the source set for a given `img` or\n `link` element el, user agents must do the following:\n\n1. Set el's source set to an empty source set.\n2. Let elements be « el ».\n3. If el is an `img` element whose parent node is a\n `picture` element, then [replace](https://infra.spec.whatwg.org/#list-replace) the contents of\n elements with el's parent node's child elements, retaining relative\n order.\n4. Let img be el if el is an `img` element,\n otherwise null.\n5. [For each](https://infra.spec.whatwg.org/#list-iterate) child in elements:\n 1. If child is el:\n 1. Let default source be the empty string.\n 2. Let srcset be the empty string.\n 3. Let sizes be the empty string.\n 4. If el is an `img` element that has a `srcset` attribute, then set srcset to that\n attribute's value.\n 5. Otherwise, if el is a `link` element that has an `imagesrcset` attribute, then set srcset to\n that attribute's value.\n 6. If el is an `img` element that has a `sizes` attribute, then set sizes to that attribute's\n value.\n 7. Otherwise, if el is a `link` element that has an `imagesizes` attribute, then set sizes to that\n attribute's value.\n 8. If el is an `img` element that has a `src` attribute, then set default source to that\n attribute's value.\n 9. Otherwise, if el is a `link` element that has an `href` attribute, then set default source to that\n attribute's value.\n 10. Set el's source set to the result of creating a source set given default source, srcset,\n sizes, and img.\n 11. Return. If el is a `link` element, then elements\n contains only el, so this step will be reached immediately and the rest of the\n algorithm will not run.\n 2. If child is not a `source` element, then\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 3. If child does not have a `srcset`\n attribute, [continue](https://infra.spec.whatwg.org/#iteration-continue) to the next child.\n 4. Parse child's srcset attribute and\n let source set be the returned source set.\n 5. If source set has zero image sources,\n [continue](https://infra.spec.whatwg.org/#iteration-continue) to the next child.\n 6. If child has a `media` attribute, and\n its value does not match the environment,\n [continue](https://infra.spec.whatwg.org/#iteration-continue) to the next child.\n 7. Parse child's sizes attribute\n with img, and let source set's source size be the returned\n value.\n 8. If child has a `type` attribute, and its\n value is an unknown or unsupported [MIME type](https://mimesniff.spec.whatwg.org/#mime-type), [continue](https://infra.spec.whatwg.org/#iteration-continue) to the next child.\n 9. If child has `width` or `height` attributes, set el's dimension attribute source to\n child. Otherwise, set el's dimension attribute source to\n el.\n 10. Normalize the source densities of source set.\n 11. Set el's source set to source set.\n 12. Return.\n\nEach `img` element independently considers its previous sibling\n `source` elements plus the `img` element itself for selecting an image\n source, ignoring any other (invalid) elements, including other `img` elements in\n the same `picture` element, or `source` elements that are following siblings\n of the relevant `img` element.\n\n###### 4.8.4.3.10 Parsing a srcset attribute\n\nWhen asked to parse a srcset attribute from an element, parse the value of the\n element's srcset attribute as follows:\n\n1. Let input be the value passed to this algorithm.\n2. Let position be a pointer into input,\n initially pointing at the start of the string.\n3. Let candidates be an initially empty source set.\n4. *Splitting loop*: [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) or U+002C COMMA characters from input given position. If\n any U+002C COMMA characters were collected, that is a parse error.\n5. If position is past the end of input,\n return candidates.\n6. [Collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points) that are not [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)\n from input given position, and let url be the result.\n7. Let descriptors be a new empty list.\n8. If url ends with U+002C (,): Otherwise:\n 1. Remove all trailing U+002C COMMA characters from url.\n If this removed more than one character,\n that is a parse error.\n 1. *Descriptor tokenizer*: [Skip ASCII whitespace](https://infra.spec.whatwg.org/#skip-ascii-whitespace) within input\n given position.\n 2. Let current descriptor be the empty string.\n 3. Let state be *in descriptor*.\n 4. Let c be the character at position.\n Do the following depending on the value of state.\n For the purpose of this step, \"EOF\" is a special character representing\n that position is past the end of input. *In descriptor* Do the following, depending on the value of c: [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace)If current descriptor is not empty,\n append current descriptor to descriptors\n and let current descriptor be the empty string.\n Set state to *after descriptor*.U+002C COMMA (,)Advance position to the next character in input.\n If current descriptor is not empty,\n append current descriptor to descriptors.\n Jump to the step labeled *descriptor parser*.U+0028 LEFT PARENTHESIS (()Append c to current descriptor.\n Set state to *in parens*.EOFIf current descriptor is not empty,\n append current descriptor to descriptors.\n Jump to the step labeled *descriptor parser*.Anything elseAppend c to current descriptor. *In parens* Do the following, depending on the value of c: U+0029 RIGHT PARENTHESIS ()) Append c to current descriptor.\n Set state to *in descriptor*. EOF Append current descriptor to descriptors.\n Jump to the step labeled *descriptor parser*. Anything else Append c to current descriptor. *After descriptor* Do the following, depending on the value of c: [ASCII whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) Stay in this state. EOF Jump to the step labeled *descriptor parser*. Anything else Set state to *in descriptor*.\n Set position to the *previous* character in input. Advance position to the next character in input. Repeat this\n step. In order to be compatible with future additions,\n this algorithm supports multiple descriptors and descriptors with parens.\n9. *Descriptor parser*: Let error be *no*.\n10. Let width be *absent*.\n11. Let density be *absent*.\n12. Let future-compat-h be *absent*.\n13. For each descriptor in descriptors,\n run the appropriate set of steps from the following list: If the descriptor consists of a valid non-negative integer\n followed by a U+0077 LATIN SMALL LETTER W character If the user agent does not support the `sizes` attribute,\n let error be *yes*. A conforming user agent will support the `sizes` attribute.\n However, user agents typically implement and ship features in an incremental manner in practice. If width and density\n are not both *absent*,\n then let error be *yes*.Apply the rules for parsing non-negative integers to the descriptor. If\n the result is 0, let error be *yes*. Otherwise, let width be the\n result. If the descriptor consists of a valid floating-point number\n followed by a U+0078 LATIN SMALL LETTER X character If width, density and future-compat-h\n are not all *absent*,\n then let error be *yes*. Apply the rules for parsing floating-point number values to the descriptor.\n If the result is less than 0, let error be *yes*. Otherwise, let\n density be the result. If density is 0, the [natural dimensions](https://drafts.csswg.org/css-images/#natural-dimensions) will be\n infinite. User agents are [expected\n to have limits](https://infra.spec.whatwg.org/#algorithm-limits) in how big images can be rendered. If the descriptor consists of a valid non-negative integer\n followed by a U+0068 LATIN SMALL LETTER H character This is a parse error. If future-compat-h and density\n are not both *absent*,\n then let error be *yes*.Apply the rules for parsing non-negative integers to the descriptor. If\n the result is 0, let error be *yes*. Otherwise, let\n future-compat-h be the result. Anything elseLet error be *yes*.\n14. If future-compat-h is not *absent* and width is *absent*,\n let error be *yes*.\n15. If error is still *no*,\n then append a new image source to candidates\n whose URL is url,\n associated with a width width if not *absent*\n and a pixel density density if not *absent*.\n Otherwise, there is a parse error.\n16. Return to the step labeled *splitting loop*.\n\n###### 4.8.4.3.11 Parsing a sizes attribute\n\nWhen asked to parse a sizes attribute from an element element, with an\n `img` element or null img:\n\n1. Let unparsed sizes list be the result of [parsing a comma-separated list of component values](https://drafts.csswg.org/css-syntax/#parse-a-comma-separated-list-of-component-values) from the\n value of element's sizes attribute (or the empty string, if the attribute\n is absent). [CSSSYNTAX]\n2. Let size be null.\n3. For each unparsed size in unparsed sizes list:\n 1. Remove all consecutive [](https://drafts.csswg.org/css-syntax/#typedef-whitespace-token)s\n from the end of unparsed size.\n If unparsed size is now empty,\n then that is a parse error;\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 2. If the last [component value](https://drafts.csswg.org/css-syntax/#component-value) in unparsed size\n is a valid non-negative ,\n then set size to its value\n and remove the [component value](https://drafts.csswg.org/css-syntax/#component-value) from unparsed size.\n Any CSS function other than the [math functions](https://drafts.csswg.org/css-values/#math-function) is invalid.\n Otherwise, there is a parse error;\n [continue](https://infra.spec.whatwg.org/#iteration-continue).\n 3. If size is `auto`, and img\n is not null, and img is being rendered, and img allows auto-sizes, then set size to the [concrete object\n size](https://drafts.csswg.org/css-images/#concrete-object-size) width of img, in [CSS pixels](https://drafts.csswg.org/css-values/#px). If size is still `auto`,\n then it will be ignored.\n 4. Remove all consecutive [](https://drafts.csswg.org/css-syntax/#typedef-whitespace-token)s from the end of unparsed\n size. If unparsed size is now empty:\n 1. If this was not the last item in unparsed sizes list, that is a parse error.\n 2. If size is not `auto`, then return\n size. Otherwise, continue.\n 5. Parse the remaining [component values](https://drafts.csswg.org/css-syntax/#component-value) in unparsed size\n as a [](https://drafts.csswg.org/mediaqueries/#typedef-media-condition).\n If it does not parse correctly,\n or it does parse correctly but the [](https://drafts.csswg.org/mediaqueries/#typedef-media-condition) evaluates to false,\n [continue](https://infra.spec.whatwg.org/#iteration-continue). [MQ]\n 6. If size is not `auto`, then return\n size. Otherwise, continue.\n4. Return `100vw`.\n\nIt is invalid to use a bare that is a [](https://drafts.csswg.org/css-values/#lengths)\n (without an accompanying [](https://drafts.csswg.org/mediaqueries/#typedef-media-condition))\n as an entry in the that is not the last entry.\n However, the parsing algorithm allows it at any point in the ,\n and will accept it immediately as the size\n if the preceding entries in the list weren't used.\n This is to enable future extensions,\n and protect against simple author errors such as a final trailing comma.\n A bare `auto` keyword is allowed to have other entries\n following it to provide a fallback for legacy user agents.\n\n###### 4.8.4.3.12 Normalizing the source densities\n\nAn image source can have a pixel density descriptor, a width\n descriptor, or no descriptor at all accompanying its URL. Normalizing a source\n set gives every image source a pixel density descriptor.\n\nWhen asked to normalize the source\n densities of a source set source set, the user agent must do the\n following:\n\n1. Let source size be source set's source size.\n2. For each image source in source set:\n 1. If the image source has a pixel density descriptor, [continue](https://infra.spec.whatwg.org/#iteration-continue) to the next\n image source.\n 2. Otherwise, if the image source has a width descriptor, replace the width\n descriptor with a pixel density descriptor with a value of the width descriptor value divided by source size and a unit\n of `x`. If the source size is 0, then the density would be infinity,\n which results in the [natural dimensions](https://drafts.csswg.org/css-images/#natural-dimensions) being 0 by 0.\n 3. Otherwise, give the image source a pixel density descriptor of `1x`.\n\n###### 4.8.4.3.13 Reacting to environment changes\n\nThe user agent may at any time run the following algorithm to update an `img`\n element's image in order to react to changes in the\n environment. (User agents are *not required* to ever run this algorithm; for example,\n if the user is not looking at the page any more, the user agent might want to wait until the user\n has returned to the page before determining which image to use, in case the environment changes\n again in the meantime.)\n\nUser agents are encouraged to run this algorithm in particular when the user changes\n the [viewport](https://drafts.csswg.org/css2/#viewport)'s size (e.g. by resizing the window or changing the page zoom), and when\n an `img` element is inserted into a\n document, so that the density-corrected natural width and height match the\n new [viewport](https://drafts.csswg.org/css2/#viewport), and so that the correct image is chosen when art direction\n is involved.\n\n1. Await a stable state. The synchronous section\n consists of all the remaining steps of this algorithm until the algorithm says the\n synchronous section has ended. (Steps in synchronous sections are marked with ⌛.)\n2. ⌛ If the `img` element does not use `srcset` or\n `picture`, its [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active, it has\n image data whose resource type is `multipart/x-mixed-replace`, or its pending\n request is not null, then return.\n3. ⌛ Let selected source and selected pixel\n density be the URL and pixel density that results from selecting an image source, respectively.\n4. ⌛ If selected source is null, then return.\n5. ⌛ If selected source and selected pixel\n density are the same as the element's last selected source and current\n pixel density, then return.\n6. ⌛ Let urlString be the result of encoding-parsing-and-serializing\n a URL given selected source, relative to the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n7. ⌛ If urlString is failure, then return.\n8. ⌛ Let corsAttributeState be the state of the element's `crossorigin` content attribute.\n9. ⌛ Let origin be the `img` element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document)'s [origin](https://dom.spec.whatwg.org/#concept-document-origin).\n10. ⌛ Let client be the `img` element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document)'s relevant settings object.\n11. ⌛ Let key be a tuple consisting of urlString,\n corsAttributeState, and, if corsAttributeState is not No CORS, origin.\n12. ⌛ Let image request be a new image request\n whose current URL is urlString.\n13. ⌛ Set the element's pending request to image request.\n14. End the synchronous section, continuing the remaining steps\n in parallel.\n15. Let finishUpdate be the following steps:\n 1. If the `img` element has experienced relevant mutations\n since this algorithm started, then set the pending request to null and abort these\n steps.\n 2. Set the `img` element's last selected source to selected\n source and the `img` element's current pixel density to\n selected pixel density.\n 3. Set the image request's state to completely available.\n 4. Add the image to the list of available images using the key key,\n with the ignore higher-layer caching flag set.\n 5. Upgrade the pending request to the current request.\n 6. Prepare image request for\n presentation given the `img` element.\n 7. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `load` at the `img` element.\n16. If the list of available images contains an entry for key:\n 1. Set image request's image data to that of\n the entry.\n 2. Queue an element task on the DOM manipulation task source\n given the `img` element and finishUpdate.\n17. Otherwise:\n 1. Let request be the result of creating a potential-CORS request given\n urlString, \"`image`\", and\n corsAttributeState.\n 2. Set request's [client](https://fetch.spec.whatwg.org/#concept-request-client) to\n client and set request's [initiator](https://fetch.spec.whatwg.org/#concept-request-initiator) to \"`imageset`\".\n 3. Set request's\n [referrer policy](https://fetch.spec.whatwg.org/#concept-request-referrer-policy) to the current state of\n the element's `referrerpolicy` attribute.\n 4. Set request's [priority](https://fetch.spec.whatwg.org/#request-priority) to the current state of the element's `fetchpriority` attribute.\n 5. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request, with *[processResponse](https://fetch.spec.whatwg.org/#process-response)* set to the following steps given [response](https://fetch.spec.whatwg.org/#concept-response) response:\n 1. If response's unsafe response is a [network error](https://fetch.spec.whatwg.org/#concept-network-error)\n or if the image format is unsupported (as determined by applying the [image sniffing rules](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically), again as mentioned\n earlier), or if the user agent is able to determine that image request's image is\n corrupted in some fatal way such that the image dimensions cannot be obtained, or if the\n resource type is `multipart/x-mixed-replace`, then set the pending\n request to null and return.\n 2. Otherwise, response's unsafe response is image\n request's image data. It can be either\n CORS-same-origin or CORS-cross-origin; this affects the image's\n interaction with other APIs (e.g., when used on a `canvas`).\n 3. Queue an element task on the DOM manipulation task source\n given the `img` element and finishUpdate.\n\n##### 4.8.4.4 Requirements for providing text to act as an alternative for images\n\n###### 4.8.4.4.1 General guidelines\n\nExcept where otherwise specified, the `alt` attribute must be\n specified and its value must not be empty; the value must be an appropriate replacement for the\n image. The specific requirements for the `alt` attribute depend on\n what the image is intended to represent, as described in the following sections.\n\nThe most general rule to consider when writing alternative text is the following: **the\n intent is that replacing every image with the text of its `alt`\n attribute does not change the meaning of the page**.\n\nSo, in general, alternative text can be written by considering what one would have written had\n one not been able to include the image.\n\nA corollary to this is that the `alt` attribute's value should\n never contain text that could be considered the image's *caption*, *title*, or\n *legend*. It is supposed to contain replacement text that could be used by users\n *instead* of the image; it is not meant to supplement the image. The `title` attribute can be used for supplemental information.\n\nAnother corollary is that the `alt` attribute's value should\n not repeat information that is already provided in the prose next to the image.\n\nOne way to think of alternative text is to think about how you would read the page\n containing the image to someone over the phone, without mentioning that there is an image present.\n Whatever you say instead of the image is typically a good start for writing the alternative\n text.\n\n###### 4.8.4.4.2 A link or button containing nothing but the image\n\nWhen an `a` element that creates a hyperlink, or a `button`\n element, has no textual content but contains one or more images, the `alt` attributes must contain text that together convey the purpose of\n the link or button.\n\nIn this example, a user is asked to pick their preferred color from a list of three. Each color\n is given by an image, but for users who have configured their user agent not to display images,\n the color names are used instead:\n\n```\n

    Pick your color

    • \"Green\"
    • \"Blue\"
    • \"Red\"
    \n```\n\nIn this example, each button has a set of images to indicate the kind of color output desired\n by the user. The first image is used in each case to give the alternative text.\n\n```\n \n```\n\nSince each image represents one part of the text, it could also be written like this:\n\n```\n \n```\n\nHowever, with other alternative text, this might not work, and putting all the alternative\n text into one image in each case might make more sense:\n\n```\n \n```\n\n###### 4.8.4.4.3 A phrase or paragraph with an alternative graphical representation: charts, diagrams, graphs, maps, illustrations\n\nSometimes something can be more clearly stated in graphical form, for example as a flowchart, a\n diagram, a graph, or a simple map showing directions. In such cases, an image can be given using\n the `img` element, but the lesser textual version must still be given, so that users\n who are unable to view the image (e.g. because they have a very slow connection, or because they\n are using a text-only browser, or because they are listening to the page being read out by a\n hands-free automobile voice web browser, or simply because they are blind) are still able to\n understand the message being conveyed.\n\nThe text must be given in the `alt` attribute, and must convey\n the same message as the image specified in the `src`\n attribute.\n\nIt is important to realize that the alternative text is a *replacement* for the image,\n not a description of the image.\n\nIn the following example we have [a flowchart](/images/parsing-model-overview.svg)\n in image form, with text in the `alt` attribute rephrasing the\n flowchart in prose form:\n\n```\n

    In the common case, the data handled by the tokenization stage\ncomes from the network, but it can also come from script.

    \"The

    \n```\n\nHere's another example, showing a good solution and a bad solution to the problem of including\n an image in a description.\n\nFirst, here's the good solution. This sample shows how the alternative text should just be\n what you would have put in the prose if the image had never existed.\n\n```\n

    \n You are standing in an open field west of a house.\n \"The\n There is a small mailbox here.\n

    \n```\n\nSecond, here's the bad solution. In this incorrect way of doing things, the alternative text\n is simply a description of the image, instead of a textual replacement for the image. It's bad\n because when the image isn't shown, the text doesn't flow as well as in the first example.\n\n```\n

    \n You are standing in an open field west of a house.\n \"A\n There is a small mailbox here.\n

    \n```\n\nText such as \"Photo of white house with boarded door\" would be equally bad alternative text\n (though it could be suitable for the `title` attribute or in the\n `figcaption` element of a `figure` with this image).\n\n###### 4.8.4.4.4 A short phrase or label with an alternative graphical representation: icons, logos\n\nA document can contain information in iconic form. The icon is intended to help users of visual\n browsers to recognize features at a glance.\n\nIn some cases, the icon is supplemental to a text label conveying the same meaning. In those\n cases, the `alt` attribute must be present but must be empty.\n\nHere the icons are next to text that conveys the same meaning, so they have an empty `alt` attribute:\n\n```\n\n```\n\nIn other cases, the icon has no text next to it describing what it means; the icon is supposed\n to be self-explanatory. In those cases, an equivalent textual label must be given in the `alt` attribute.\n\nHere, posts on a news site are labeled with an icon indicating their topic.\n\n```\n

    Ratatouille wins Best Movie of the Year award

    \"Movies\"

    Pixar has won yet another Best Movie of the Year award,\n making this its 8th win in the last 12 years.

    Latest TWiT episode is online

    \"Podcasts\"

    The latest TWiT episode has been posted, in which we hear\n several tech news stories as well as learning much more about the\n iPhone. This week, the panelists compare how reflective their\n iPhones' Apple logos are.

    \n```\n\nMany pages include logos, insignia, flags, or emblems, which stand for a particular entity such\n as a company, organization, project, band, software package, country, or some such.\n\nIf the logo is being used to represent the entity, e.g. as a page heading, the `alt` attribute must contain the name of the entity being represented by\n the logo. The `alt` attribute must *not* contain text like\n the word \"logo\", as it is not the fact that it is a logo that is being conveyed, it's the entity\n itself.\n\nIf the logo is being used next to the name of the entity that it represents, then the logo is\n supplemental, and its `alt` attribute must instead be empty.\n\nIf the logo is merely used as decorative material (as branding, or, for example, as a side\n image in an article that mentions the entity to which the logo belongs), then the entry below on\n purely decorative images applies. If the logo is actually being discussed, then it is being used\n as a phrase or paragraph (the description of the logo) with an alternative graphical\n representation (the logo itself), and the first entry above applies.\n\nIn the following snippets, all four of the above cases are present. First, we see a logo used\n to represent a company:\n\n```\n

    \"The

    \n```\n\nNext, we see a paragraph which uses a logo right next to the company name, and so doesn't have\n any alternative text:\n\n```\n

    News

    We have recently been looking at buying the \"\" ΑΒΓ company, a small Greek company\n specializing in our type of product.

    \n```\n\nIn this third snippet, we have a logo being used in an aside, as part of the larger article\n discussing the acquisition:\n\n```\n

    The ΑΒΓ company has had a good quarter, and our\n pie chart studies of their accounts suggest a much bigger blue slice\n than its green and orange slices, which is always a good sign.

    \n```\n\nFinally, we have an opinion piece talking about a logo, and the logo is therefore described in\n detail in the alternative text.\n\n```\n

    Consider for a moment their logo:

    \"It

    How unoriginal can you get? I mean, oooooh, a question mark, how\nrevolutionary, how utterly ground-breaking, I'm\nsure everyone will rush to adopt those specifications now! They could\nat least have tried for some sort of, I don't know, sequence of\nrounded squares with varying shades of green and bold white outlines,\nat least that would look good on the cover of a blue book.

    \n```\n\nThis example shows how the alternative text should be written such that if the image isn't *available*, and the text is used instead, the text flows seamlessly into\n the surrounding text, as if the image had never been there in the first place.\n\n###### 4.8.4.4.5 Text that has been rendered to a graphic for typographical effect\n\nSometimes, an image just consists of text, and the purpose of the image is not to highlight the\n actual typographic effects used to render the text, but just to convey the text itself.\n\nIn such cases, the `alt` attribute must be present but must\n consist of the same text as written in the image itself.\n\nConsider a graphic containing the text \"Earth Day\", but with the letters all decorated with\n flowers and plants. If the text is merely being used as a heading, to spice up the page for\n graphical users, then the correct alternative text is just the same text \"Earth Day\", and no\n mention need be made of the decorations:\n\n```\n

    \"Earth

    \n```\n\nAn illuminated manuscript might use graphics for some of its images. The alternative text in\n such a situation is just the character that the image represents.\n\n```\n

    \"O\"nce upon a time and a long long time ago, late at\nnight, when it was dark, over the hills, through the woods, across a great ocean, in a land far\naway, in a small house, on a hill, under a full moon...\n```\n\nWhen an image is used to represent a character that cannot otherwise be represented in Unicode,\n for example gaiji, itaiji, or new characters such as novel currency symbols, the alternative text\n should be a more conventional way of writing the same thing, e.g. using the phonetic hiragana or\n katakana to give the character's pronunciation.\n\nIn this example from 1997, a new-fangled currency symbol that looks like a curly E with two\n bars in the middle instead of one is represented using an image. The alternative text gives the\n character's pronunciation.\n\n```\n

    Only \"euro5.99!\n```\n\nAn image should not be used if characters would serve an identical purpose. Only when the text\n cannot be directly represented using text, e.g., because of decorations or because there is no\n appropriate character (as in the case of gaiji), would an image be appropriate.\n\nIf an author is tempted to use an image because their default system font does not\n support a given character, then web fonts are a better solution than images.\n\n###### 4.8.4.4.6 A graphical representation of some of the surrounding text\n\nIn many cases, the image is actually just supplementary, and its presence merely reinforces the\n surrounding text. In these cases, the `alt` attribute must be\n present but its value must be the empty string.\n\nIn general, an image falls into this category if removing the image doesn't make the page any\n less useful, but including the image makes it a lot easier for users of visual browsers to\n understand the concept.\n\nA flowchart that repeats the previous paragraph in graphical form:\n\n```\n

    The Network passes data to the Input Stream Preprocessor, which\npasses it to the Tokenizer, which passes it to the Tree Construction\nstage. From there, data goes to both the DOM and to Script Execution.\nScript Execution is linked to the DOM, and, using document.write(),\npasses data to the Tokenizer.

    \"\"

    \n```\n\nIn these cases, it would be wrong to include alternative text that consists of just a caption.\n If a caption is to be included, then either the `title` attribute\n can be used, or the `figure` and `figcaption` elements can be used. In the\n latter case, the image would in fact be a phrase or paragraph with an alternative graphical\n representation, and would thus require alternative text.\n\n```\n

    The Network passes data to the Input Stream Preprocessor, which\npasses it to the Tokenizer, which passes it to the Tree Construction\nstage. From there, data goes to both the DOM and to Script Execution.\nScript Execution is linked to the DOM, and, using document.write(),\npasses data to the Tokenizer.

    \"\"

    \n```\n\n```\n

    The Network passes data to the Input Stream Preprocessor, which\npasses it to the Tokenizer, which passes it to the Tree Construction\nstage. From there, data goes to both the DOM and to Script Execution.\nScript Execution is linked to the DOM, and, using document.write(),\npasses data to the Tokenizer.

    \"The
    Flowchart representation of the parsing model.
    \n```\n\n```\n

    The Network passes data to the Input Stream Preprocessor, which\npasses it to the Tokenizer, which passes it to the Tree Construction\nstage. From there, data goes to both the DOM and to Script Execution.\nScript Execution is linked to the DOM, and, using document.write(),\npasses data to the Tokenizer.

    \"Flowchart

    \n```\n\nA graph that repeats the previous paragraph in graphical form:\n\n```\n

    According to a study covering several billion pages,\nabout 62% of documents on the web in 2007 triggered the Quirks\nrendering mode of web browsers, about 30% triggered the Almost\nStandards mode, and about 9% triggered the Standards mode.

    \"\"

    \n```\n\n###### 4.8.4.4.7 Ancillary images\n\nSometimes, an image is not critical to the content, but is nonetheless neither purely\n decorative nor entirely redundant with the text. In these cases, the `alt` attribute must be present, and its value should either be the\n empty string, or a textual representation of the information that the image conveys. If the image\n has a caption giving the image's title, then the `alt`\n attribute's value must not be empty (as that would be quite confusing for non-visual readers).\n\nConsider a news article about a political figure, in which the individual's face was shown in\n an image. The image is not purely decorative, as it is relevant to the story. The image is not\n entirely redundant with the story either, as it shows what the politician looks like. Whether\n any alternative text need be provided is an authoring decision, decided by whether the image\n influences the interpretation of the prose.\n\nIn this first variant, the image is shown without context, and no alternative text is\n provided:\n\n```\n

    \"\" Ahead of today's referendum,\nthe President wrote an open letter to all registered voters. In it, she admitted that the country was\ndivided.

    \n```\n\nIf the picture is just a face, there might be no value in describing it. It's of no interest\n to the reader whether the individual has red hair or blond hair, whether the individual has white\n skin or black skin, whether the individual has one eye or two eyes.\n\nHowever, if the picture is more dynamic, for instance showing the politician as angry, or\n particularly happy, or devastated, some alternative text would be useful in setting the tone of\n the article, a tone that might otherwise be missed:\n\n```\n

    \"The\nAhead of today's referendum, the President wrote an open letter to all\nregistered voters. In it, she admitted that the country was divided.\n

    \n```\n\n```\n

    \"The\nAhead of today's referendum, the President wrote an open letter to all\nregistered voters. In it, she admitted that the country was divided.\n

    \n```\n\nWhether the individual was \"sad\" or \"happy\" makes a difference to how the rest of the\n paragraph is to be interpreted: is she likely saying that she is unhappy with the country\n being divided, or is she saying that the prospect of a divided country is good for her\n political career? The interpretation varies based on the image.\n\nIf the image has a caption, then including alternative text avoids leaving the non-visual user\n confused as to what the caption refers to.\n\n```\n

    Ahead of today's referendum, the President wrote an open letter to\nall registered voters. In it, she admitted that the country was divided.

    \"A
    The President of Ruritania. Photo © 2014 PolitiPhoto.
    \n```\n\n###### 4.8.4.4.8 A purely decorative image that doesn't add any information\n\nIf an image is decorative but isn't especially page-specific — for example an image that\n forms part of a site-wide design scheme — the image should be specified in the site's CSS,\n not in the markup of the document.\n\nHowever, a decorative image that isn't discussed by the surrounding text but still has some\n relevance can be included in a page using the `img` element. Such images are\n decorative, but still form part of the content. In these cases, the `alt` attribute must be present but its value must be the empty\n string.\n\nExamples where the image is purely decorative despite being relevant would include things like\n a photo of the Black Rock City landscape in a blog post about an event at Burning Man, or an\n image of a painting inspired by a poem, on a page reciting that poem. The following snippet shows\n an example of the latter case (only the first verse is included in this snippet):\n\n```\n

    The Lady of Shalott

    \"\"

    On either side the river lie
    \nLong fields of barley and of rye,
    \nThat clothe the wold and meet the sky;
    \nAnd through the field the road run by
    \nTo many-tower'd Camelot;
    \nAnd up and down the people go,
    \nGazing where the lilies blow
    \nRound an island there below,
    \nThe island of Shalott.

    \n```\n\n###### 4.8.4.4.9 A group of images that form a single larger picture with no links\n\nWhen a picture has been sliced into smaller image files that are then displayed together to\n form the complete picture again, one of the images must have its `alt` attribute set as per the relevant rules that would be appropriate\n for the picture as a whole, and then all the remaining images must have their `alt` attribute set to the empty string.\n\nIn the following example, a picture representing a company logo for XYZ\n Corp has been split into two pieces, the first containing the letters \"XYZ\" and the second\n with the word \"Corp\". The alternative text (\"XYZ Corp\") is all in the first image.\n\n```\n

    \"XYZ\"\"

    \n```\n\nIn the following example, a rating is shown as three filled stars and two empty stars. While\n the alternative text could have been \"★★★☆☆\", the author has\n instead decided to more helpfully give the rating in the form \"3 out of 5\". That is the\n alternative text of the first image, and the rest have blank alternative text.\n\n```\n

    Rating: \"3\"\"\"\"\"\"\"\"

    \n```\n\n###### 4.8.4.4.10 A group of images that form a single larger picture with links\n\nGenerally, image maps should be used instead of slicing an image\n for links.\n\nHowever, if an image is indeed sliced and any of the components of the sliced picture are the\n sole contents of links, then one image per link must have alternative text in its `alt` attribute representing the purpose of the link.\n\nIn the following example, a picture representing the flying spaghetti monster emblem, with\n each of the left noodly appendages and the right noodly appendages in different images, so that\n the user can pick the left side or the right side in an adventure.\n\n```\n

    The Church

    You come across a flying spaghetti monster. Which side of His\nNoodliness do you wish to reach out for?

    \"Left\"\"\"Right

    \n```\n\n###### 4.8.4.4.11 A key part of the content\n\nIn some cases, the image is a critical part of the content. This could be the case, for\n instance, on a page that is part of a photo gallery. The image is the whole *point* of the\n page containing it.\n\nHow to provide alternative text for an image that is a key part of the content depends on the\n image's provenance.\n\nThe general case\n\nWhen it is possible for detailed alternative text to be provided, for example if the image is\n part of a series of screenshots in a magazine review, or part of a comic strip, or is a\n photograph in a blog entry about that photograph, text that can serve as a substitute for the\n image must be given as the contents of the `alt` attribute. A screenshot in a gallery of screenshots for a new OS, with some alternative text: `
    **\"The**
    Screenshot of a KDE desktop.
    ` A graph in a financial report: `**\"From**` Note that \"sales graph\" would be inadequate alternative text for a sales graph. Text that\n would be a good *caption* is not generally suitable as replacement text.\n\nImages that defy a complete description\n\nIn certain cases, the nature of the image might be such that providing thorough alternative\n text is impractical. For example, the image could be indistinct, or could be a complex fractal,\n or could be a detailed topographical map. In these cases, the `alt` attribute must contain some\n suitable alternative text, but it may be somewhat brief. Sometimes there simply is no text that can do justice to an image. For example, there is\n little that can be said to usefully describe a Rorschach inkblot test. However, a description,\n even if brief, is still better than nothing: `
    **\"A**
    A black outline of the first of the ten cards\n in the Rorschach inkblot test.
    ` Note that the following would be a very bad use of alternative text: `
    \"A
    A black outline of the first of the ten cards\n in the Rorschach inkblot test.
    ` Including the caption in the alternative text like this isn't useful because it effectively\n duplicates the caption for users who don't have images, taunting them twice yet not helping\n them any more than if they had only read or heard the caption once. Another example of an image that defies full description is a fractal, which, by definition,\n is infinite in detail. The following example shows one possible way of providing alternative text for the full view\n of an image of the Mandelbrot set. `**\"The**` Similarly, a photograph of a person's face, for example in a biography, can be considered\n quite relevant and key to the content, but it can be hard to fully substitute text for: `

    A Biography of Isaac Asimov

    Born Isaak Yudovich Ozimov in 1920, Isaac was a prolific author.

    \"Isaac

    Asimov was born in Russia, and moved to the US when he was three years old.

    ...

    ` In such cases it is unnecessary (and indeed discouraged) to include a reference to the\n presence of the image itself in the alternative text, since such text would be redundant with\n the browser itself reporting the presence of the image. For example, if the alternative text\n was \"A photo of Isaac Asimov\", then a conforming user agent might read that out as \"(Image) A\n photo of Isaac Asimov\" rather than the more useful \"(Image) Isaac Asimov had dark hair, a tall\n forehead, and wore glasses...\".\n\nImages whose contents are not known\n\nIn some unfortunate cases, there might be no alternative text available at all, either\n because the image is obtained in some automated fashion without any associated alternative text\n (e.g., a webcam), or because the page is being generated by a script using user-provided images\n where the user did not provide suitable or usable alternative text (e.g. photograph sharing\n sites), or because the author does not themself know what the images represent (e.g. a blind\n photographer sharing an image on their blog). In such cases, the `alt` attribute may be omitted, but one of\n the following conditions must be met as well: The `img` element is in a\n `figure` element that contains a `figcaption` element that contains\n content other than inter-element whitespace, and, ignoring the\n `figcaption` element and its descendants, the `figure` element has no\n flow content descendants other than inter-element whitespace and the\n `img` element. The `title` attribute is present and has a non-empty\n value. Relying on the `title` attribute is currently\n discouraged as many user agents do not expose the attribute in an accessible manner as\n required by this specification (e.g. requiring a pointing device such as a mouse to cause a\n tooltip to appear, which excludes keyboard-only users and touch-only users, such as anyone\n with a modern phone or tablet). Such cases are to be kept to an absolute minimum. If there is even the slightest\n possibility of the author having the ability to provide real alternative text, then it would not\n be acceptable to omit the `alt` attribute. A photo on a photo-sharing site, if the site received the image with no metadata other than\n the caption, could be marked up as follows: `
    ****
    Bubbles traveled everywhere with us.
    ` It would be better, however, if a detailed description of the important parts of the image\n obtained from the user and included on the page. A blind user's blog in which a photo taken by the user is shown. Initially, the user might\n not have any idea what the photo they took shows: `

    I took a photo

    I went out today and took a photo!

    ****
    A photograph taken blindly from my front porch.
    ` Eventually though, the user might obtain a description of the image from their friends and\n could then include alternative text: `

    I took a photo

    I went out today and took a photo!

    **\"The**
    A photograph taken blindly from my front porch.
    ` Sometimes the entire point of the image is that a textual description is not available, and\n the user is to provide the description. For instance, the point of a CAPTCHA image is to see if\n the user can literally read the graphic. Here is one way to mark up a CAPTCHA (note the `title` attribute): `

    \n(If you cannot see the image, you can use an audio test instead.)

    ` Another example would be software that displays images and asks for alternative text\n precisely for the purpose of then writing a page with correct alternative text. Such a page\n could have a table of images, like this: `
    Image Description\n
    ****
    ****
    ` Notice that even in this example, as much useful information as possible is still included\n in the `title` attribute. Since some users cannot use images at all (e.g. because they have a very slow\n connection, or because they are using a text-only browser, or because they are listening to the\n page being read out by a hands-free automobile voice web browser, or simply because they are\n blind), the `alt` attribute is only allowed to be omitted rather\n than being provided with replacement text when no alternative text is available and none can be\n made available, as in the above examples. Lack of effort from the part of the author is not an\n acceptable reason for omitting the `alt` attribute.\n\n###### 4.8.4.4.12 An image not intended for the user\n\nGenerally authors should avoid using `img` elements for purposes other than showing\n images.\n\nIf an `img` element is being used for purposes other than showing an image, e.g. as\n part of a service to count page views, then the `alt` attribute\n must be the empty string.\n\nIn such cases, the `width` and `height` attributes should both be set to zero.\n\n###### 4.8.4.4.13 An image in an email or private document intended for a specific person who is known to be able to view images\n\n*This section does not apply to documents that are publicly accessible, or whose target\n audience is not necessarily personally known to the author, such as documents on a web site,\n emails sent to public mailing lists, or software documentation.*\n\nWhen an image is included in a private communication (such as an HTML email) aimed at a\n specific person who is known to be able to view images, the `alt`\n attribute may be omitted. However, even in such cases authors are strongly urged to include\n alternative text (as appropriate according to the kind of image involved, as described in the\n above entries), so that the email is still usable should the user use a mail client that does not\n support images, or should the document be forwarded on to other users whose abilities might not\n include easily seeing images.\n\n###### 4.8.4.4.14 Guidance for markup generators\n\nMarkup generators (such as WYSIWYG authoring tools) should, wherever possible, obtain\n alternative text from their users. However, it is recognized that in many cases, this will not be\n possible.\n\nFor images that are the sole contents of links, markup generators should examine the link\n target to determine the title of the target, or the URL of the target, and use information\n obtained in this manner as the alternative text.\n\nFor images that have captions, markup generators should use the `figure` and\n `figcaption` elements, or the `title` attribute, to\n provide the image's caption.\n\nAs a last resort, implementers should either set the `alt`\n attribute to the empty string, under the assumption that the image is a purely decorative image\n that doesn't add any information but is still specific to the surrounding content, or omit the\n `alt` attribute altogether, under the assumption that the image is\n a key part of the content.\n\nMarkup generators may specify a `generator-unable-to-provide-required-alt`\n attribute on `img` elements for which they have been unable to obtain alternative text\n and for which they have therefore omitted the `alt` attribute. The\n value of this attribute must be the empty string. Documents containing such attributes are not\n conforming, but conformance checkers will silently\n ignore this error.\n\nThis is intended to avoid markup generators from being pressured into replacing\n the error of omitting the `alt` attribute with the even more\n egregious error of providing phony alternative text, because state-of-the-art automated\n conformance checkers cannot distinguish phony alternative text from correct alternative text.\n\nMarkup generators should generally avoid using the image's own filename as the alternative\n text. Similarly, markup generators should avoid generating alternative text from any content that\n will be equally available to presentation user agents (e.g., web browsers).\n\nThis is because once a page is generated, it will typically not be updated,\n whereas the browsers that later read the page can be updated by the user, therefore the browser is\n likely to have more up-to-date and finely-tuned heuristics than the markup generator did when\n generating the page.\n\n###### 4.8.4.4.15 Guidance for conformance checkers\n\nA conformance checker must report the lack of an `alt`\n attribute as an error unless one of the conditions listed below applies:\n\n- The `img` element is in a `figure` element that satisfies the conditions described above.\n- The `img` element has a `title` attribute with a\n value that is not the empty string (also as described\n above).\n- The conformance checker has been configured to assume that the document is an email or\n document intended for a specific person who is known to be able to view images.\n- The `img` element has a (non-conforming) `generator-unable-to-provide-required-alt`\n attribute whose value is the empty string. A conformance checker that is not reporting the lack\n of an `alt` attribute as an error must also not report the\n presence of the empty `generator-unable-to-provide-required-alt`\n attribute as an error. (This case does not represent a case where the document is conforming,\n only that the generator could not determine appropriate alternative text — validators are\n not required to show an error in this case, because such an error might encourage markup\n generators to include bogus alternative text purely in an attempt to silence validators.\n Naturally, conformance checkers *may* report the lack of an `alt` attribute as an error even in the presence of the `generator-unable-to-provide-required-alt`\n attribute; for example, there could be a user option to report *all* conformance errors\n even those that might be the more or less inevitable result of using a markup\n generator.)\n\n#### 4.8.5 The\n `iframe` element\n\n[Element/iframe](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera15+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android14+\n\n[HTMLIFrameElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[HTMLIFrameElement/src](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/src)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLObjectElement/width](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLObjectElement/height](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nEmbedded content.\n\nInteractive content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere embedded content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`src` — Address of the resource\n\n`srcdoc` — A document to render in the `iframe`\n\n`name` — Name of content navigable\n\n`sandbox` — Security rules for nested content\n\n`allow` — [Permissions policy](https://w3c.github.io/webappsec-feature-policy/#permissions-policy) to be applied to the `iframe`'s contents\n\n`allowfullscreen` — Whether to allow the `iframe`'s contents to use `[requestFullscreen()](https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen)`\n\n`width` — Horizontal dimension\n\n`height` — Vertical dimension\n\n`referrerpolicy` — [Referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) for [fetches](https://fetch.spec.whatwg.org/#concept-fetch) initiated by the element\n\n`loading` — Used when determining loading deferral\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-iframe).\n\n[For implementers](https://w3c.github.io/html-aam/#el-iframe).\n\nSanitization:\n\nUnsafe.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLIFrameElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectURL] attribute USVString src;\n [CEReactions] attribute (`[TrustedHTML](https://w3c.github.io/trusted-types/dist/spec/#trustedhtml)` or DOMString) srcdoc;\n [CEReactions, Reflect] attribute DOMString name;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) sandbox;\n [CEReactions, Reflect] attribute DOMString allow;\n [CEReactions, Reflect] attribute boolean allowFullscreen;\n [CEReactions, Reflect] attribute DOMString width;\n [CEReactions, Reflect] attribute DOMString height;\n [CEReactions] attribute DOMString referrerPolicy;\n [CEReactions] attribute DOMString loading;\n readonly attribute Document? contentDocument;\n readonly attribute WindowProxy? contentWindow;\n Document? getSVGDocument();\n\n // also has obsolete members\n};`\n\nThe `iframe` element represents its content navigable.\n\nThe `src` attribute\n gives the [URL](https://url.spec.whatwg.org/#concept-url) of a page that the element's content navigable is to\n contain. The attribute, if present, must be a valid non-empty URL potentially surrounded by\n spaces. If the `itemprop` attribute is specified on an\n `iframe` element, then the `src` attribute must\n also be specified.\n\n[Element/iframe#attr-srcdoc](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-srcdoc)\n\nSupport in all current engines.\n\nFirefox25+ Safari6+ Chrome20+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android?\n\nThe `srcdoc`\n attribute gives the content of the page that the element's content navigable is to\n contain. The value of the attribute is used to an `iframe` `srcdoc` document, which is a `Document` whose\n [URL](https://dom.spec.whatwg.org/#concept-document-url) matches `about:srcdoc`.\n\nThe `srcdoc` attribute, if present, must have a value\n using the HTML syntax that consists of the following syntactic components, in the\n given order:\n\n1. Any number of comments and [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) .\n2. Optionally, a DOCTYPE .\n3. Any number of comments and [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) .\n4. The [document element](https://dom.spec.whatwg.org/#document-element) , in the form of an `html` element .\n5. Any number of comments and [ASCII\n whitespace](https://infra.spec.whatwg.org/#ascii-whitespace) .\n\nThe above requirements apply in [XML documents](https://dom.spec.whatwg.org/#xml-document) as well.\n\nHere a blog uses the `srcdoc` attribute in conjunction\n with the `sandbox` attribute described below to provide\n users of user agents that support this feature with an extra layer of protection from script\n injection in the blog post comments:\n\n```\n

    I got my own magazine!

    After much effort, I've finally found a publisher, and so now I\n have my own magazine! Isn't that awesome?! The first issue will come\n out in September, and we have articles about getting food, and about\n getting in boxes, it's going to be great!

    Written by cap, 1 hour ago.\n

    Thirteen minutes ago, ch wrote:
    Nine minutes ago, cap wrote:
    Five minutes ago, ch wrote:
    \n```\n\nNotice the way that quotes have to be escaped (otherwise the `srcdoc` attribute would end prematurely), and the way raw\n ampersands (e.g. in URLs or in prose) mentioned in the sandboxed content have to be\n *doubly* escaped — once so that the ampersand is preserved when originally parsing\n the `srcdoc` attribute, and once more to prevent the\n ampersand from being misinterpreted when parsing the sandboxed content.\n\nFurthermore, notice that since the DOCTYPE is optional in\n `iframe` `srcdoc` documents, and the `html`,\n `head`, and `body` elements have optional\n start and end tags, and the `title` element is also optional in `iframe` `srcdoc`\n documents, the markup in a `srcdoc` attribute can be\n relatively succinct despite representing an entire document, since only the contents of the\n `body` element need appear literally in the syntax. The other elements are still\n present, but only by implication.\n\nIn the HTML syntax, authors need only remember to use U+0022\n QUOTATION MARK characters (\") to wrap the attribute contents and then to escape all U+0026\n AMPERSAND (&) and U+0022 QUOTATION MARK (\") characters, and to specify the `sandbox` attribute, to ensure safe embedding of content. (And\n remember to escape ampersands before quotation marks, to ensure quotation marks become "\n and not &quot;.)\n\nIn XML the U+003C LESS-THAN SIGN character (<) needs to be escaped as well. In\n order to prevent [attribute-value\n normalization](https://www.w3.org/TR/xml/#AVNormalize), some of XML's whitespace characters — specifically U+0009 CHARACTER\n TABULATION (tab), U+000A LINE FEED (LF), and U+000D CARRIAGE RETURN (CR) — also need to be\n escaped. [XML]\n\nIf the `src` attribute and the `srcdoc` attribute are both specified together, the `srcdoc` attribute takes priority. This allows authors to provide\n a fallback [URL](https://url.spec.whatwg.org/#concept-url) for legacy user agents that do not support the `srcdoc` attribute.\n\n---\n\nThe `iframe` HTML element post-connection steps, given\n insertedNode, are:\n\n1. If insertedNode has a `sandbox`\n attribute, then parse the sandboxing\n directive given the attribute's value and insertedNode's\n `iframe` sandboxing flag set.\n2. Create a new child navigable for insertedNode.\n3. Process the `iframe` attributes for insertedNode, with\n *initialInsertion* set to true.\n\nThe `iframe` HTML element removing steps, given\n removedNode, are to destroy a child navigable given\n removedNode.\n\nThis happens without any `unload` events firing\n (the element's content document is *destroyed*, not *unloaded*).\n\nAlthough `iframe`s are processed while in a [shadow tree](https://dom.spec.whatwg.org/#concept-shadow-tree),\n per the above, several other aspects of their behavior are not well-defined with regards to\n shadow trees. See [issue #763](https://github.com/whatwg/html/issues/763) for more\n detail.\n\nWhenever an `iframe` element with a non-null content navigable has its\n `srcdoc` attribute set, changed, or removed, the user\n agent must process the `iframe` attributes.\n\nSimilarly, whenever an `iframe` element with a non-null content\n navigable but with no `srcdoc` attribute specified\n has its `src` attribute set, changed, or removed, the user\n agent must process the `iframe` attributes.\n\nTo process the `iframe` attributes for an element element,\n with an optional boolean initialInsertion (default false):\n\n1. If element's `srcdoc` attribute is\n specified:\n 1. Set element's boolean to\n false.\n 2. If the will lazy load element steps given element return true:\n 1. Set element's lazy load resumption steps to the rest of this\n algorithm starting with the step labeled *navigate to the srcdoc resource*.\n 2. Set element's boolean to\n true.\n 3. Start intersection-observing a lazy loading element for\n element.\n 4. Return.\n 3. *Navigate to the srcdoc resource*: Navigate an `iframe` or\n `frame` given element, `about:srcdoc`, the empty\n string, and the value of element's `srcdoc`\n attribute. The resulting `Document` must be considered an `iframe` `srcdoc` document.\n2. Otherwise:\n 1. Let url be the result of running the shared attribute processing steps\n for `iframe` and `frame` elements given element and\n initialInsertion.\n 2. If url is null, then return.\n 3. If url matches `about:blank` and\n initialInsertion is true:\n 1. Run the iframe load event steps given element.\n 2. Return.\n 4. Let referrerPolicy be the current state of element's `referrerpolicy` content attribute.\n 5. Set element's boolean to\n false.\n 6. If the will lazy load element steps given element return true:\n 1. Set element's lazy load resumption steps to the rest of this\n algorithm starting with the step labeled *navigate*.\n 2. Set element's boolean to\n true.\n 3. Start intersection-observing a lazy loading element for\n element.\n 4. Return.\n 7. *Navigate*: Navigate an `iframe` or `frame`\n given element, url, and referrerPolicy.\n\nThe shared attribute processing steps\n for `iframe` and `frame` elements, given an element\n element and a boolean initialInsertion, are:\n\n1. Let url be the [URL record](https://url.spec.whatwg.org/#concept-url) `about:blank`.\n2. If element has a `src` attribute specified,\n and its value is not the empty string:\n 1. Let maybeURL be the result of encoding-parsing a URL given that\n attribute's value, relative to element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n 2. If maybeURL is not failure, then set url to\n maybeURL.\n3. If the inclusive ancestor navigables of element's node\n navigable contains a navigable whose active\n document's [URL](https://dom.spec.whatwg.org/#concept-document-url) [equals](https://url.spec.whatwg.org/#concept-url-equals) url with *[exclude fragments](https://url.spec.whatwg.org/#url-equals-exclude-fragments)* set to true, then return null.\n4. If url matches `about:blank` and\n initialInsertion is true, then perform the URL and history update steps\n given element's content navigable's active\n document and url. This is necessary in case url is something like `about:blank?foo`. If url is just plain `about:blank`, this will do nothing.\n5. Return url.\n\nTo navigate an `iframe` or `frame` given an element\n element, a [URL](https://url.spec.whatwg.org/#concept-url) url, a [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy) referrerPolicy, an optional string-or-null srcdocString (default\n null), and an optional boolean initialInsertion (default false):\n\n1. Let historyHandling be \"`auto`\".\n2. If element's content navigable's active document is not completely loaded, then set\n historyHandling to \"`replace`\".\n3. If element is an `iframe`:\n 1. Set element's pending resource-timing start time to\n the [current high resolution time](https://w3c.github.io/hr-time/#dfn-current-high-resolution-time) given element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document)'s relevant global object.\n 2. Set element's pending resource-timing URL to\n url.\n4. Navigate element's content\n navigable to url using element's [node document](https://dom.spec.whatwg.org/#concept-node-document), with\n *historyHandling* set to historyHandling, *referrerPolicy* set to referrerPolicy, *documentResource* set to srcdocString, and *initialInsertion* set to initialInsertion.\n\nEach `Document` has an iframe load in progress flag and a mute\n iframe load flag. When a `Document` is created, these flags must be unset for\n that `Document`.\n\nTo run the iframe load event steps, given an `iframe` element\n element:\n\n1. [Assert](https://infra.spec.whatwg.org/#assert): element's content navigable is not\n null.\n2. Let childDocument be element's content navigable's\n active document.\n3. If childDocument has its mute iframe load flag set, then\n return.\n4. If element's pending resource-timing start time is\n not null:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): element's pending resource-timing URL is not\n null.\n 2. Let global be element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n relevant global object.\n 3. Let fallbackTimingInfo be a new [fetch timing info](https://fetch.spec.whatwg.org/#fetch-timing-info) whose [start time](https://fetch.spec.whatwg.org/#fetch-timing-info-start-time) is element's pending resource-timing start time\n and whose [response end time](https://fetch.spec.whatwg.org/#fetch-timing-info-end-time) is the\n [current high resolution time](https://w3c.github.io/hr-time/#dfn-current-high-resolution-time) given global.\n 4. [Mark resource timing](https://w3c.github.io/resource-timing/#dfn-mark-resource-timing) given fallbackTimingInfo,\n the result of parsing element's pending resource-timing URL,\n \"`iframe`\", global, the empty string, a new\n [response body info](https://fetch.spec.whatwg.org/#response-body-info), and 0.\n 5. Set element's pending resource-timing start time\n to null.\n 6. Set element's pending resource-timing URL\n to null.\n5. Set childDocument's iframe load in progress flag.\n6. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `load` at element.\n7. Unset childDocument's iframe load in progress flag.\n\nThis, in conjunction with scripting, can be used to probe the URL space of the\n local network's HTTP servers. User agents may implement cross-origin\n access control policies that are stricter than those described above to mitigate this attack, but\n unfortunately such policies are typically not compatible with existing web content.\n\nIf an element type potentially delays the load event, then for each element\n element of that type, the user agent must delay the load event of\n element's [node document](https://dom.spec.whatwg.org/#concept-node-document) if element's content\n navigable is non-null and any of the following are true:\n\n- element's content navigable's active\n document is not ready for post-load tasks;\n- element's content navigable's is delaying `load` events is true; or\n- anything is delaying the load event of\n element's content navigable's active\n document.\n\nIf, during the handling of the `load` event,\n element's content navigable is again navigated, that will further delay the load event.\n\nEach `iframe` element has an associated boolean, initially false. It is set and unset in the process the\n `iframe` attributes algorithm.\n\nAn `iframe` element whose boolean is\n false potentially delays the load event.\n\nEach `iframe` element has an associated null or\n [`DOMHighResTimeStamp`](https://w3c.github.io/hr-time/#dom-domhighrestimestamp) pending resource-timing start time,\n initially set to null.\n\nEach `iframe` element has an associated null or\n [URL](https://url.spec.whatwg.org/#concept-url) pending resource-timing URL, initially set to\n null.\n\nIf, when the element is created, the `srcdoc` attribute is not set, and the `src` attribute is either also not set or set but its value cannot\n be parsed, the element's content\n navigable will remain at the initial\n `about:blank` `Document`.\n\nIf the user navigates away from this page, the\n `iframe`'s content navigable's active\n `WindowProxy` object will proxy new `Window` objects for new\n `Document` objects, but the `src` attribute will\n not change.\n\n---\n\nThe `name`\n attribute, if present, must be a valid navigable target name. The given value is\n used to name the element's content navigable if present when that is created.\n\n---\n\n[Element/iframe#attr-sandbox](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox)\n\nSupport in all current engines.\n\nFirefox17+ Safari5+ Chrome4+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `sandbox`\n attribute, when specified, enables a set of extra restrictions on any content hosted by the\n `iframe`. Its value must be an unordered set of unique space-separated\n tokens that are [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive). The allowed values are:\n\n- `allow-downloads`\n- `allow-forms`\n- `allow-modals`\n- `allow-orientation-lock`\n- `allow-pointer-lock`\n- `allow-popups`\n- `allow-popups-to-escape-sandbox`\n- `allow-presentation`\n- `allow-same-origin`\n- `allow-scripts`\n\nWhen the attribute is set, the content is treated as being from a unique opaque origin, forms, scripts, and various potentially\n annoying APIs are disabled, and links are prevented from targeting other navigables. The `allow-same-origin` keyword causes the\n content to be treated as being from its real origin instead of forcing it into an opaque origin; the keyword allows the\n content to navigate its traversable navigable;\n the \n keyword behaves similarly but allows such navigation only when the\n browsing context's active window has transient\n activation; the \n reenables navigations toward non [fetch scheme](https://fetch.spec.whatwg.org/#fetch-scheme) to be handed off to external software; and the `allow-forms`, `allow-modals`, `allow-orientation-lock`, `allow-pointer-lock`, `allow-popups`, `allow-presentation`, `allow-scripts`, and `allow-popups-to-escape-sandbox`\n keywords re-enable forms, modal dialogs, screen orientation lock, the pointer lock API, popups,\n the presentation API, scripts, and the creation of unsandboxed auxiliary browsing contexts respectively. The `allow-downloads` keyword allows content to\n perform downloads. [POINTERLOCK] [SCREENORIENTATION] [PRESENTATION]\n\nThe and \n keywords must not both be specified, as doing so is redundant; only will have an effect\n in such non-conformant markup.\n\nSimilarly, the \n keyword must not be specified if either or `allow-popups` are specified, as doing so is\n redundant.\n\nSetting both the `allow-scripts` and `allow-same-origin` keywords together when the\n embedded page has the same origin as the page containing the `iframe`\n allows the embedded page to simply remove the `sandbox`\n attribute and then reload itself, effectively breaking out of the sandbox altogether.\n\nThese flags only take effect when the content navigable of the\n `iframe` element is navigated. Removing them, or\n removing the entire `sandbox` attribute, has no effect on\n an already-loaded page.\n\nPotentially hostile files should not be served from the same server as the file\n containing the `iframe` element. Sandboxing hostile content is of minimal help if an\n attacker can convince the user to just visit the hostile content directly, rather than in the\n `iframe`. To limit the damage that can be caused by hostile HTML content, it should be\n served from a separate dedicated domain. Using a different domain ensures that scripts in the\n files are unable to attack the site, even if the user is tricked into visiting those pages\n directly, without the protection of the `sandbox`\n attribute.\n\nWhen an `iframe` element's `sandbox`\n attribute is set or changed while it has a non-null content navigable, the user\n agent must parse the sandboxing directive\n given the attribute's value and the `iframe` element's `iframe`\n sandboxing flag set.\n\nWhen an `iframe` element's `sandbox`\n attribute is removed while it has a non-null content navigable, the user agent must\n empty the `iframe` element's `iframe` sandboxing flag set.\n\nIn this example, some completely-unknown, potentially hostile, user-provided HTML content is\n embedded in a page. Because it is served from a separate domain, it is affected by all the normal\n cross-site restrictions. In addition, the embedded page has scripting disabled, plugins disabled,\n forms disabled, and it cannot navigate any frames or windows other than itself (or any frames or\n windows it itself embeds).\n\n```\n

    We're not scared of you! Here is your content, unedited:

    \n```\n\nIt is important to use a separate domain so that if the attacker convinces the\n user to visit that page directly, the page doesn't run in the context of the site's origin, which\n would make the user vulnerable to any attack found in the page.\n\nIn this example, a gadget from another site is embedded. The gadget has scripting and forms\n enabled, and the origin sandbox restrictions are lifted, allowing the gadget to communicate with\n its originating server. The sandbox is still useful, however, as it disables plugins and popups,\n thus reducing the risk of the user being exposed to malware and other annoyances.\n\n```\n\n```\n\nSuppose a file A contained the following fragment:\n\n```\n\n```\n\nSuppose that file B contained an iframe also:\n\n```\n\n```\n\nFurther, suppose that file C contained a link:\n\n```\nLink\n```\n\nFor this example, suppose all the files were served as `text/html`.\n\nPage C in this scenario has all the sandboxing flags set. Scripts are disabled, because the\n `iframe` in A has scripts disabled, and this overrides the `allow-scripts` keyword set on the\n `iframe` in B. Forms are also disabled, because the inner `iframe` (in B)\n does not have the `allow-forms` keyword\n set.\n\nSuppose now that a script in A removes all the `sandbox` attributes in A and B.\n This would change nothing immediately. If the user clicked the link in C, loading page D into\n the `iframe` in B, page D would now act as if the `iframe` in B had the\n `allow-same-origin` and `allow-forms` keywords set, because that was the\n state of the content navigable in the `iframe` in A when page B was\n loaded.\n\nGenerally speaking, dynamically removing or changing the `sandbox` attribute is ill-advised, because it can make it quite\n hard to reason about what will be allowed and what will not.\n\n---\n\nThe `allow`\n attribute, when specified, determines the [container\n policy](https://w3c.github.io/webappsec-feature-policy/#container-policy) that will be used when the permissions policy for a\n `Document` in the `iframe`'s content navigable is initialized.\n Its value must be a [serialized permissions\n policy](https://w3c.github.io/webappsec-feature-policy/#serialized-permissions-policy). [PERMISSIONSPOLICY]\n\nIn this example, an `iframe` is used to embed a map from an online navigation\n service. The `allow` attribute is used to enable the\n Geolocation API within the nested context.\n\n```\n\n```\n\nThe `allowfullscreen` attribute is a boolean\n attribute. When specified, it indicates that `Document` objects in the\n `iframe` element's content navigable will be initialized with a permissions policy which allows the \"`fullscreen`\" feature to be used from any origin. This is enforced by\n the [process permissions policy\n attributes](https://w3c.github.io/webappsec-feature-policy/#process-policy-attributes) algorithm. [PERMISSIONSPOLICY]\n\nHere, an `iframe` is used to embed a player from a video site. The `allowfullscreen` attribute is needed to enable the\n player to show its video fullscreen.\n\n```\n\n```\n\nNeither `allow` nor `allowfullscreen` can grant access to a feature in an\n `iframe` element's content navigable if the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document) is not already allowed to use that feature.\n\nTo determine whether a `Document` object document\n is allowed to use the policy-controlled-feature feature, run these\n steps:\n\n1. If document's browsing context is\n null, then return false.\n2. If document is not fully active, then return false.\n3. If the result of running [is feature enabled in document\n for origin](https://w3c.github.io/webappsec-feature-policy/#is-feature-enabled) on feature, document, and document's [origin](https://dom.spec.whatwg.org/#concept-document-origin) is \"`Enabled`\", then return\n true.\n4. Return false.\n\nBecause they only influence the permissions policy of the content\n navigable's active document, the `allow` and `allowfullscreen` attributes only take effect when the\n content navigable of the `iframe` is navigated. Adding or removing them has no effect on an already-loaded\n document.\n\n---\n\nThe `iframe` element supports dimension attributes for cases where the\n embedded content has specific dimensions (e.g. ad units have well-defined dimensions).\n\nAn `iframe` element never has fallback content, as it will always\n create a new child navigable, regardless of whether the specified initial\n contents are successfully used.\n\n---\n\nThe `referrerpolicy` attribute is a\n referrer policy attribute. Its purpose is to set the [referrer policy](https://w3c.github.io/webappsec-referrer-policy/#referrer-policy)\n used when processing the `iframe`\n attributes as well as allowing masking of some [origins](https://dom.spec.whatwg.org/#concept-document-origin) in the internal ancestor origin objects list\n creation steps. [REFERRERPOLICY]\n\nThe `loading` attribute is a lazy\n loading attribute. Its purpose is to indicate the policy for loading `iframe`\n elements that are outside the viewport.\n\nWhen the `loading` attribute's state is changed to the\n Eager state, the user agent must run these\n steps:\n\n1. Let resumptionSteps be the `iframe` element's lazy load\n resumption steps.\n2. If resumptionSteps is null, then return.\n3. Set the `iframe`'s lazy load resumption steps to null.\n4. Invoke resumptionSteps.\n\n---\n\nDescendants of `iframe` elements represent nothing. (In legacy user agents that do\n not support `iframe` elements, the contents would be parsed as markup that could act as\n fallback content.)\n\nThe HTML parser treats markup inside `iframe` elements as\n text.\n\n---\n\n[HTMLIFrameElement/srcdoc](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/srcdoc)\n\nSupport in all current engines.\n\nFirefox25+ Safari6+ Chrome20+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `srcdoc` getter steps are:\n\n1. Let attribute be the result of [getting an attribute by namespace and local\n name](https://dom.spec.whatwg.org/#concept-element-attributes-get-by-namespace) given null, `srcdoc`'s [local name](https://dom.spec.whatwg.org/#concept-attribute-local-name), and [this](https://webidl.spec.whatwg.org/#this).\n2. If attribute is null, then return the empty string.\n3. Return attribute's [value](https://dom.spec.whatwg.org/#concept-attribute-value).\n\nThe `srcdoc` setter steps\n are:\n\n1. Let compliantString be the result of invoking the [get trusted type compliant string](https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-string) algorithm with `[TrustedHTML](https://w3c.github.io/trusted-types/dist/spec/#trustedhtml)`, [this](https://webidl.spec.whatwg.org/#this)'s relevant global\n object, the given value, \"`HTMLIFrameElement srcdoc`\", and \"`script`\".\n2. [Set an attribute value](https://dom.spec.whatwg.org/#concept-element-attributes-set-value) given\n [this](https://webidl.spec.whatwg.org/#this), `srcdoc`'s [local name](https://dom.spec.whatwg.org/#concept-attribute-local-name), and\n compliantString.\n\nThe [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) for `sandbox`'s `[DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist)` are the allowed\n values defined in the `sandbox` attribute and supported by\n the user agent.\n\n[HTMLIFrameElement/referrerPolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy)\n\nSupport in all current engines.\n\nFirefox50+ Safari14+ Chrome52+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `referrerPolicy` IDL attribute must\n reflect the `referrerpolicy` content\n attribute, limited to only known values.\n\nThe `loading` IDL attribute must reflect the `loading` content attribute, limited to only known\n values.\n\n[HTMLIFrameElement/contentDocument](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentDocument)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer8+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `contentDocument` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s content document.\n\n[HTMLIFrameElement/contentWindow](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/contentWindow)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera8+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\nThe `contentWindow` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s content window.\n\nHere is an example of a page using an `iframe` to include advertising from an\n advertising broker:\n\n```\n\n```\n\n#### 4.8.6 The `embed` element\n\n[Element/embed](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLEmbedElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nEmbedded content.\n\nInteractive content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere embedded content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`src` — Address of the resource\n\n`type` — Type of embedded resource\n\n`width` — Horizontal dimension\n\n`height` — Vertical dimension\n\nAny other attribute that has no namespace (see prose).\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-embed).\n\n[For implementers](https://w3c.github.io/html-aam/#el-embed).\n\nSanitization:\n\nUnsafe.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLEmbedElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectURL] attribute USVString src;\n [CEReactions, Reflect] attribute DOMString type;\n [CEReactions, Reflect] attribute DOMString width;\n [CEReactions, Reflect] attribute DOMString height;\n Document? getSVGDocument();\n\n // also has obsolete members\n};`\n\nThe `embed` element provides an integration point for an external application or\n interactive content.\n\nThe `src` attribute\n gives the [URL](https://url.spec.whatwg.org/#concept-url) of the resource being embedded. The attribute, if present, must contain\n a valid non-empty URL potentially surrounded by spaces.\n\nIf the `itemprop` attribute is specified on an\n `embed` element, then the `src` attribute must also\n be specified.\n\nThe `type` attribute,\n if present, gives the [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) by which the plugin to instantiate is selected. The\n value must be a [valid MIME type string](https://mimesniff.spec.whatwg.org/#valid-mime-type). If both the `type` attribute and the `src`\n attribute are present, then the `type` attribute must specify\n the same type as the explicit Content-Type metadata of the\n resource given by the `src` attribute.\n\nWhile any of the following conditions are occurring, any plugin instantiated for\n the element must be removed, and the `embed` element represents\n nothing:\n\n- The element has neither a `src` attribute nor a `type` attribute.\n- The element has a media element ancestor.\n- The element has an ancestor `object` element that is *not* showing its\n fallback content.\n\nAn `embed` element is said to be potentially\n active when the following conditions are all met simultaneously:\n\n- The element is [in a document](https://dom.spec.whatwg.org/#in-a-document) or was [in a document](https://dom.spec.whatwg.org/#in-a-document) the last time\n the event loop reached step 1.\n- The element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is fully active.\n- The element has either a `src` attribute set or a\n `type` attribute set (or both).\n- The element's `src` attribute is either absent or its\n value is not the empty string.\n- The element is not a descendant of a media element.\n- The element is not a descendant of an `object` element that is not showing its\n fallback content.\n- The element is being rendered, or was being rendered the last\n time the event loop reached step 1.\n\nWhenever an `embed` element that was not potentially active becomes potentially active, and whenever a potentially active `embed` element that is\n remaining potentially active has its `src` attribute set, changed, or removed or its `type` attribute set, changed, or removed, the user agent must\n queue an element task on the embed task source given the element\n to run the `embed` element setup steps for that element.\n\nThe `embed` element setup steps for a given `embed` element\n element are as follows:\n\n1. If another task has since been queued to run the\n `embed` element setup steps for element, then return.\n2. If element has a `src` attribute set:\n 1. Let url be the result of encoding-parsing a URL given\n element's `src` attribute's value, relative to\n element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n 2. If url is failure, then return.\n 3. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose\n [URL](https://fetch.spec.whatwg.org/#concept-request-url) is url, [client](https://fetch.spec.whatwg.org/#concept-request-client) is element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document)'s relevant settings object, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is \"`embed`\",\n [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is \"`include`\", [mode](https://fetch.spec.whatwg.org/#concept-request-mode) is \"`navigate`\", [initiator\n type](https://fetch.spec.whatwg.org/#request-initiator-type) is \"`embed`\", and whose [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag)\n is set.\n 4. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request, with *[processResponse](https://fetch.spec.whatwg.org/#process-response)* set to the following steps given [response](https://fetch.spec.whatwg.org/#concept-response) response: Fetching the resource must delay the load event of element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document).\n 1. If another task has since been queued to run\n the `embed` element setup steps for element, then\n return.\n 2. If response is a [network error](https://fetch.spec.whatwg.org/#concept-network-error), then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `load` at element, and return.\n 3. Let type be the result of determining the type of content given element and\n response.\n 4. Switch on type: null Display no plugin for element. Otherwise If element's content navigable is null, then\n create a new child navigable for element. Navigate element's content\n navigable to response's [URL](https://fetch.spec.whatwg.org/#concept-response-url) using element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document), with *response* set to\n response, and *historyHandling* set to \"`replace`\". element's `src` attribute\n does not get updated if the content navigable gets further navigated to\n other locations. element now represents its content\n navigable.\n3. Otherwise, display no plugin for element.\n\nTo determine the type of the content given an\n `embed` element element and a [response](https://fetch.spec.whatwg.org/#concept-response) response, run the following steps:\n\n1. If element has a `type` attribute, and that\n attribute's value is a type that a plugin supports, then return the value of the\n `type` attribute.\n2. If the [path](https://url.spec.whatwg.org/#concept-url-path) component of response's\n [URL](https://fetch.spec.whatwg.org/#concept-response-url) matches a pattern that a plugin\n supports, then return the type that that plugin can handle. For example, a plugin might say that it can handle URLs with [path](https://url.spec.whatwg.org/#concept-url-path) components that end with the four character string\n \"`.swf`\".\n3. If response has explicit Content-Type\n metadata, and that value is a type that a plugin supports, then return that\n value.\n4. Return null.\n\nIt is intentional that the above algorithm allows response to have a\n non-[ok status](https://fetch.spec.whatwg.org/#ok-status). This allows servers to return data for plugins even with error\n responses (e.g., HTTP 500 Internal Server Error codes can still contain plugin data).\n\nTo display no plugin for an `embed` element element:\n\n1. Destroy a child navigable given element.\n2. Display an indication that no plugin could be found for element,\n as the contents of element.\n3. element now represents nothing.\n\nThe `embed` element has no fallback content; its\n descendants are ignored.\n\nWhenever an `embed` element that was potentially\n active stops being potentially active, any\n plugin that had been instantiated for that element must be unloaded.\n\nThe `embed` element potentially delays the load event.\n\nThe `embed` element supports dimension attributes.\n\n#### 4.8.7 The `object` element\n\n[Element/object](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLObjectElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLObjectElement/data](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLObjectElement/type](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLObjectElement/name](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nEmbedded content.\n\nListed form-associated element.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere embedded content is expected.\n\nContent model:\n\nTransparent.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`data` — Address of the resource\n\n`type` — Type of embedded resource\n\n`name` — Name of content navigable\n\n`form` — Associates the element with a `form` element\n\n`width` — Horizontal dimension\n\n`height` — Vertical dimension\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-object).\n\n[For implementers](https://w3c.github.io/html-aam/#el-object).\n\nSanitization:\n\nUnsafe.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLObjectElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectURL] attribute USVString data;\n [CEReactions, Reflect] attribute DOMString type;\n [CEReactions, Reflect] attribute DOMString name;\n readonly attribute HTMLFormElement? form;\n [CEReactions, Reflect] attribute DOMString width;\n [CEReactions, Reflect] attribute DOMString height;\n readonly attribute Document? contentDocument;\n readonly attribute WindowProxy? contentWindow;\n Document? getSVGDocument();\n\n readonly attribute boolean willValidate;\n readonly attribute ValidityState validity;\n readonly attribute DOMString validationMessage;\n boolean checkValidity();\n boolean reportValidity();\n undefined setCustomValidity(DOMString error);\n\n // also has obsolete members\n};` Depending on the type of content instantiated by the\n `object` element, the node also supports other\n interfaces.\n\nThe `object` element can represent an external resource, which, depending on the\n type of the resource, will either be treated as an image or as a child\n navigable.\n\nThe `data` attribute\n specifies the [URL](https://url.spec.whatwg.org/#concept-url) of the resource. It must be present, and must contain a\n valid non-empty URL potentially surrounded by spaces.\n\nThe `type` attribute,\n if present, specifies the type of the resource. If present, the attribute must be a [valid\n MIME type string](https://mimesniff.spec.whatwg.org/#valid-mime-type).\n\nThe `name`\n attribute, if present, must be a valid navigable target name. The given value is\n used to name the element's content navigable, if applicable, and if present when the\n element's content navigable is created.\n\nWhenever one of the following conditions occur:\n\n- the element is created,\n- the element is popped off the stack of open elements of an HTML\n parser or XML parser ,\n- the element is not on the stack of open elements of an HTML parser or XML parser , and it is either inserted into a document or removed from a document ,\n- the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) changes whether it is fully active ,\n- one of the element's ancestor `object` elements changes to or from showing its fallback content ,\n- the element's `classid` attribute is set, changed, or\n removed,\n- the element's `classid` attribute is not present, and\n its `data` attribute is set, changed, or removed,\n- neither the element's `classid` attribute nor its `data` attribute are present, and its `type` attribute is set, changed, or removed,\n- the element changes from being rendered to not being rendered, or vice versa,\n\n...the user agent must queue an element task on the DOM manipulation task\n source given the `object` element to run the following steps to (re)determine\n what the `object` element represents. This task\n being queued or actively running must delay the load\n event of the element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n\n1. If the user has indicated a preference that this `object` element's fallback\n content be shown instead of the element's usual behavior, then jump to the step below\n labeled *fallback*. For example, a user could ask for the element's fallback content to\n be shown because that content uses a format that the user finds more accessible.\n2. If the element has an ancestor media element, or has an ancestor\n `object` element that is *not* showing its fallback content, or if\n the element is not [in a document](https://dom.spec.whatwg.org/#in-a-document) whose browsing\n context is non-null, or if the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully\n active, or if the element is still in the stack of open elements of an\n HTML parser or XML parser, or if the element is not being\n rendered, then jump to the step below labeled *fallback*.\n3. If the `data` attribute is present and its value is\n not the empty string:\n 1. If the `type` attribute is present and its value is\n not a type that the user agent supports, then the user agent may jump to the step below labeled\n *fallback* without fetching the content to examine its real type.\n 2. Let url be the result of encoding-parsing a URL given the `data` attribute's value, relative to the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n 3. If url is failure, then [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` at the element and jump to the step\n below labeled *fallback*.\n 4. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose\n [URL](https://fetch.spec.whatwg.org/#concept-request-url) is url, [client](https://fetch.spec.whatwg.org/#concept-request-client) is the element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n relevant settings object, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is \"`object`\",\n [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is \"`include`\", [mode](https://fetch.spec.whatwg.org/#concept-request-mode) is \"`navigate`\", [initiator\n type](https://fetch.spec.whatwg.org/#request-initiator-type) is \"`object`\", and whose [use-URL-credentials\n flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set.\n 5. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request. Fetching the resource must delay the load event of the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document) until the task that is queued by the networking task source once the resource has been\n fetched (defined next) has been run.\n 6. If the resource is not yet available (e.g. because the resource was not available in the\n cache, so that loading the resource required making a request over the network), then jump to\n the step below labeled *fallback*. The task that is\n queued by the networking task source once the\n resource is available must restart this algorithm from this step. Resources can load\n incrementally; user agents may opt to consider a resource \"available\" whenever enough data has\n been obtained to begin processing the resource.\n 7. If the load failed (e.g. there was an HTTP 404 error, there was a DNS error), [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `error`\n at the element, then jump to the step below labeled *fallback*.\n 8. Determine the resource type, as follows: It is possible for this step to finish, or for one of the substeps above to\n jump straight to the next step, with resource type still being unknown. In\n both cases, the next step will trigger fallback.\n 1. Let the resource type be unknown.\n 2. If the user agent is configured to strictly obey Content-Type headers for this resource,\n and the resource has associated Content-Type metadata,\n then let the resource type be the type specified in the resource's Content-Type metadata, and jump to the step below\n labeled *handler*. This can introduce a vulnerability, wherein a site is trying to embed a\n resource that uses a particular type, but the remote site overrides that and instead\n furnishes the user agent with a resource that triggers a different type of content with different\n security characteristics.\n 3. Run the appropriate set of steps from the following\n list: If the resource has associated Content-Type\n metadata Let binary be false. If the type specified in the resource's Content-Type\n metadata is \"`[text/plain](https://www.rfc-editor.org/rfc/rfc2046#section-4.1.3)`\", and the result of applying the [rules for distinguishing if a resource is\n text or binary](https://mimesniff.spec.whatwg.org/#rules-for-text-or-binary) to the resource is that the resource is not\n `[text/plain](https://www.rfc-editor.org/rfc/rfc2046#section-4.1.3)`, then set binary to true. If the type specified in the resource's Content-Type\n metadata is \"`[application/octet-stream](https://www.rfc-editor.org/rfc/rfc2046#section-4.5.1)`\", then set binary to true. If binary is false, then let the resource type be the type\n specified in the resource's Content-Type metadata,\n and jump to the step below labeled *handler*. If there is a `type` attribute present on the\n `object` element, and its value is not `[application/octet-stream](https://www.rfc-editor.org/rfc/rfc2046#section-4.5.1)`,\n then run the following steps: If the attribute's value is a type that starts with \"`image/`\" that is\n not also an [XML MIME type](https://mimesniff.spec.whatwg.org/#xml-mime-type), then let the resource type be the\n type specified in that `type` attribute. Jump to the step below labeled *handler*. Otherwise, if the resource does not have associated Content-Type metadata If there is a `type` attribute present on the\n `object` element, then let the tentative type be the type\n specified in that `type` attribute. Otherwise, let tentative type be the [computed type of the resource](https://mimesniff.spec.whatwg.org/#computed-mime-type). If tentative type is *not* `[application/octet-stream](https://www.rfc-editor.org/rfc/rfc2046#section-4.5.1)`, then let resource type be\n tentative type and jump to the step below labeled\n *handler*.\n 4. If applying the [URL parser](https://url.spec.whatwg.org/#concept-url-parser) algorithm to the [URL](https://url.spec.whatwg.org/#concept-url) of the\n specified resource (after any redirects) results in a [URL record](https://url.spec.whatwg.org/#concept-url) whose [path](https://url.spec.whatwg.org/#concept-url-path) component matches a pattern that a plugin\n supports, then let resource type be the type that that plugin can\n handle. For example, a plugin might say that it can handle resources with [path](https://url.spec.whatwg.org/#concept-url-path) components that end with the four character string\n \"`.swf`\".\n 9. *Handler*: Handle the content as given by the first of the following cases that\n matches: If the resource type is an [XML MIME type](https://mimesniff.spec.whatwg.org/#xml-mime-type), or if the resource type\n does not start with \"`image/`\" If the `object` element's content navigable is null, then\n create a new child navigable for the element. Let response be the [response](https://fetch.spec.whatwg.org/#concept-response) from\n [fetch](https://fetch.spec.whatwg.org/#concept-fetch). If response's [URL](https://fetch.spec.whatwg.org/#concept-response-url) does not match `about:blank`, then\n navigate the element's content navigable to\n response's [URL](https://fetch.spec.whatwg.org/#concept-response-url) using the element's\n [node document](https://dom.spec.whatwg.org/#concept-node-document), with *historyHandling* set to\n \"`replace`\". The `data` attribute of the\n `object` element doesn't get updated if the content navigable gets\n further navigated to other locations. The `object` element represents its content\n navigable. If the resource type starts with \"`image/`\", and support\n for images has not been disabled Destroy a child navigable given the `object` element. Apply the [image sniffing](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically) rules to\n determine the type of the image. The `object` element represents the specified image. If the image cannot be rendered, e.g. because it is malformed or in an unsupported\n format, jump to the step below labeled *fallback*. Otherwise The given resource type is not supported. Jump to the step below\n labeled *fallback*. If the previous step ended with the resource type being\n unknown, this is the case that is triggered.\n 10. The element's contents are not part of what the `object` element\n represents.\n 11. If the `object` element does not represent its content navigable,\n then once the resource is completely loaded, queue an element task on the\n DOM manipulation task source given the `object` element to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `load`\n at the element. If the element *does* represent its content navigable,\n then an analogous task will be queued when the created `Document` is completely finished loading.\n 12. Return.\n4. *Fallback*: The `object` element represents the element's\n children. This is the element's fallback content. Destroy a child\n navigable given the element.\n\nDue to the algorithm above, the contents of `object` elements act as fallback\n content, used only when referenced resources can't be shown (e.g. because it returned a 404\n error). This allows multiple `object` elements to be nested inside each other,\n targeting multiple user agents with different capabilities, with the user agent picking the first\n one it supports.\n\nThe `object` element potentially delays the load event.\n\nThe `form` attribute is used to explicitly associate the\n `object` element with its form owner.\n\nThe `object` element supports dimension attributes.\n\n[HTMLObjectElement/contentDocument](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentDocument)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer8+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `contentDocument` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s content document.\n\n[HTMLObjectElement/contentWindow](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow)\n\nSupport in all current engines.\n\nFirefox22+ Safari13+ Chrome53+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `contentWindow` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s content window.\n\nThe `willValidate`, `validity`, and `validationMessage` attributes, and the `checkValidity()`, `reportValidity()`, and `setCustomValidity()` methods, are part of the\n constraint validation API. The `form` IDL attribute\n is part of the element's forms API.\n\nIn this example, an HTML page is embedded in another using the `object`\n element.\n\n```\n
    My HTML Clock
    \n```\n\n#### 4.8.8 The `video` element\n\n[Element/video](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video)\n\nSupport in all current engines.\n\nFirefox3.5+ Safari3.1+ Chrome3+\n\n---\n\nOpera10.5+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS3+ Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLVideoElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement)\n\nSupport in all current engines.\n\nFirefox3.5+ Safari3.1+ Chrome3+\n\n---\n\nOpera10.5+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer9+\n\n---\n\nFirefox Android? Safari iOS3+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android11+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nEmbedded content.\n\nIf the element has a `controls` attribute: Interactive content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere embedded content is expected.\n\nContent model:\n\nIf the element has a `src` attribute:\n zero or more `track` elements, then\n transparent, but with no media element descendants.\n\nIf the element does not have a `src` attribute: zero or more `source` elements, then\n zero or more `track` elements, then\n transparent, but with no media element descendants.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`src` — Address of the resource\n\n`crossorigin` — How the element handles crossorigin requests\n\n`poster` — Poster frame to show prior to video playback\n\n`preload` — Hints how much buffering the media resource will likely need\n\n`autoplay` — Hint that the media resource can be started automatically when the page is loaded\n\n`playsinline` — Encourage the user agent to display video content within the element's playback area\n\n`loop` — Whether to loop the media resource\n\n`muted` — Whether to mute the media resource by default\n\n`controls` — Show user agent controls\n\n`loading` — Used when determining loading deferral\n\n`width` — Horizontal dimension\n\n`height` — Vertical dimension\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-video).\n\n[For implementers](https://w3c.github.io/html-aam/#el-video).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLVideoElement : HTMLMediaElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute unsigned long width;\n [CEReactions, Reflect] attribute unsigned long height;\n readonly attribute unsigned long videoWidth;\n readonly attribute unsigned long videoHeight;\n [CEReactions, ReflectURL] attribute USVString poster;\n [CEReactions, Reflect] attribute boolean playsInline;\n\n};`\n\nA `video` element is used for playing videos or movies, and audio files with\n captions.\n\nContent may be provided inside the `video` element. User agents\n should not show this content to the user; it is intended for older web browsers which do\n not support `video`, so that text can be shown to the users of these older browsers\n informing them of how to access the video contents.\n\nIn particular, this content is not intended to address accessibility concerns. To\n make video content accessible to the partially sighted, the blind, the hard-of-hearing, the deaf,\n and those with other physical or cognitive disabilities, a variety of features are available.\n Captions can be provided, either embedded in the video stream or as external files using the\n `track` element. Sign-language tracks can be embedded in the video stream. Audio\n descriptions can be embedded in the video stream or in text form using a [WebVTT file](https://w3c.github.io/webvtt/#webvtt-file)\n referenced using the `track` element and synthesized into speech by the user agent.\n WebVTT can also be used to provide chapter titles. For users who would rather not use a media\n element at all, transcripts or other textual alternatives can be provided by simply linking to\n them in the prose near the `video` element. [WEBVTT]\n\nThe `video` element is a media element whose media data is\n ostensibly video data, possibly with associated audio data.\n\nThe `video` element has an internal [shadow tree](https://dom.spec.whatwg.org/#concept-shadow-tree)\n with no `slot` elements.\n\nThe `src`, `crossorigin`,\n `preload`, `autoplay`,\n `loop`, `muted`, and `controls` attributes are the attributes common to all media elements.\n\nThe `poster`\n attribute gives the [URL](https://url.spec.whatwg.org/#concept-url) of an image file that the user agent can show while no video\n data is available. The attribute, if present, must contain a valid non-empty URL\n potentially surrounded by spaces.\n\nIf the specified resource is to be used, then, when the element is created or when the `poster` attribute is set, changed, or removed, the user agent must\n run the following steps to determine the element's poster frame (regardless of the\n value of the element's show poster flag):\n\n1. If there is an existing instance of this algorithm running for this `video`\n element, abort that instance of this algorithm without changing the poster\n frame.\n2. If the `poster` attribute's value is the empty string\n or if the attribute is absent:\n 1. Set the `video` element's poster lazy load resumption steps to\n null.\n 2. There is no poster frame; return.\n3. Let url be the result of encoding-parsing a URL given the `poster` attribute's value, relative to the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n4. If url is failure, then return. There is no poster\n frame.\n5. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose [URL](https://fetch.spec.whatwg.org/#concept-request-url) is url, [client](https://fetch.spec.whatwg.org/#concept-request-client) is the element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n relevant settings object, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is \"`image`\", [initiator type](https://fetch.spec.whatwg.org/#request-initiator-type) is \"`video`\",\n [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is \"`include`\", and whose [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set.\n6. If the will lazy load element steps given the `video` return\n true:\n 1. Let posterResumptionSteps be the rest of this algorithm starting with the step\n labeled *Fetch*.\n 2. Set the `video` element's poster lazy load resumption steps to\n posterResumptionSteps.\n 3. Return.\n7. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request. This must\n delay the load event of the element's [node document](https://dom.spec.whatwg.org/#concept-node-document).\n8. If an image is thus obtained, the poster frame is that image. Otherwise,\n there is no poster frame.\n\nThe image given by the `poster` attribute,\n the *poster frame*, is intended to be a representative frame of the\n video (typically one of the first non-blank frames) that gives the user an idea of what the video\n is like.\n\nThe `playsinline` attribute is a boolean\n attribute. If present, it serves as a hint to the user agent that the video ought to be\n displayed \"inline\" in the document by default, constrained to the element's playback area, instead\n of being displayed fullscreen or in an independent resizable window.\n\nThe absence of the `playsinline`\n attribute does not imply that the video will display fullscreen by default. Indeed, most user\n agents have chosen to play all videos inline by default, and in such user agents the `playsinline` attribute has no effect.\n\nIf the `poster` attribute is present and the `loading` attribute is in the Lazy state, the user agent must defer loading the poster\n image source data until the element's lazy load resumption steps are invoked.\n\n```\n

    Table 1.\n

    This table shows the total score obtained from rolling two\nsix-sided dice. The first row represents the value of the first die,\nthe first column the value of the second die. The total is given in\nthe cell that corresponds to the values of the two dice.\n

    School auction sign-up sheet
    Your name here\n What are you selling?\n Link to a picture\n Your reserve price\n
    Ms Danus\n Doughnuts\n $45\n
    \n```\n\n#### 4.9.7 The `tfoot` element\n\n[Element/tfoot](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `table` element, after any\n `caption`, `colgroup`, `thead`,\n `tbody`, and `tr` elements, but only if there\n are no other `tfoot` elements that are children of the\n `table` element.\n\nContent model:\n\nZero or more `tr` and script-supporting elements.\n\nTag omission in text/html:\n\nA `tfoot` element's end tag can be omitted if\n there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-tfoot).\n\n[For implementers](https://w3c.github.io/html-aam/#el-tfoot).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\nUses `HTMLTableSectionElement`, as defined for `tbody` elements.\n\nThe `tfoot` element represents the block of rows that consist of\n the column summaries (footers) for the parent `table` element, if the\n `tfoot` element has a parent and it is a `table`.\n\nThe `tfoot` element takes part in the table\n model.\n\n#### 4.9.8 The `tr` element\n\n[Element/tr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLTableRowElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `thead` element.\n\nAs a child of a `tbody` element.\n\nAs a child of a `tfoot` element.\n\nAs a child of a `table` element, after any\n `caption`, `colgroup`, and `thead`\n elements, but only if there are no `tbody` elements that\n are children of the `table` element.\n\nContent model:\n\nZero or more `td`, `th`, and script-supporting elements.\n\nTag omission in text/html:\n\nA `tr` element's end tag can be omitted if the\n `tr` element is immediately followed by another `tr` element, or if there is\n no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-tr).\n\n[For implementers](https://w3c.github.io/html-aam/#el-tr).\n\nSanitization:\n\nDefault.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLTableRowElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n readonly attribute long rowIndex;\n readonly attribute long sectionRowIndex;\n [SameObject] readonly attribute [HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection) cells;\n HTMLTableCellElement insertCell(optional long index = -1);\n [CEReactions] undefined deleteCell(long index);\n\n // also has obsolete members\n};`\n\nThe `tr` element represents a row of\n cells in a table.\n\nThe `tr` element takes part in the table model.\n\n`tr.rowIndex`[HTMLTableRowElement/rowIndex](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/rowIndex)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns the position of the row in the table's `rows`\n list. Returns −1 if the element isn't in a table.\n\n`tr.sectionRowIndex`\n\nReturns the position of the row in the table section's `rows` list. Returns −1 if the element isn't in a table section.\n\n`tr.cells`\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the `td` and `th` elements of\n the row.\n\n`cell = tr.insertCell([ index ])`[HTMLTableRowElement/insertCell](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nCreates a `td` element, inserts it into the table row at the position given by the\n argument, and returns the `td`. The position is relative to the cells in the row. The index −1, which is the default\n if the argument is omitted, is equivalent to inserting at the end of the row. If the given position is less than −1 or greater than the number of cells, throws an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n\n`tr.deleteCell(index)`\n\nRemoves the `td` or `th` element with the given position in the\n row. The position is relative to the cells in the row. The index −1 is equivalent to\n deleting the last cell of the row. If the given position is less than −1 or greater than the index of the last cell, or\n if there are no cells, throws an [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n\nThe `rowIndex` attribute must, if this element has a parent\n `table` element, or a parent `tbody`, `thead`, or\n `tfoot` element and a *grandparent* `table` element, return the index\n of this `tr` element in that `table` element's `rows` collection. If there is no such `table` element,\n then the attribute must return −1.\n\nThe `sectionRowIndex` attribute must, if this element has a\n parent `table`, `tbody`, `thead`, or `tfoot` element,\n return the index of the `tr` element in the parent element's `rows` collection (for tables, that's `HTMLTableElement`'s `rows` collection; for table sections, that's\n `HTMLTableSectionElement`'s `rows`\n collection). If there is no such parent element, then the attribute must return −1.\n\nThe `cells`\n attribute must return an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at this `tr` element, whose\n filter matches only `td` and `th` elements that are children of the\n `tr` element.\n\nThe `insertCell(index)` method must act as\n follows:\n\n1. If index is less than −1 or greater than the number of elements in\n the `cells` collection, then throw an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. Let table cell be the result of [creating an\n element](https://dom.spec.whatwg.org/#concept-create-element) given this `tr` element's [node document](https://dom.spec.whatwg.org/#concept-node-document), \"`td`\", and the [HTML namespace](https://infra.spec.whatwg.org/#html-namespace).\n3. If index is equal to −1 or equal to the number of items in `cells` collection, then [append](https://dom.spec.whatwg.org/#concept-node-append) table cell to this `tr`\n element.\n4. Otherwise, [insert](https://dom.spec.whatwg.org/#concept-node-insert) table cell as a\n child of this `tr` element, immediately before the indexth `td`\n or `th` element in the `cells` collection.\n5. Return table cell.\n\nThe `deleteCell(index)` method must act as\n follows:\n\n1. If index is less than −1 or greater than or equal to the number of\n elements in the `cells` collection, then throw an\n [\"`IndexSizeError`\"](https://webidl.spec.whatwg.org/#indexsizeerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. If index is −1, then [remove](https://dom.spec.whatwg.org/#concept-node-remove)\n the last element in the `cells` collection from its\n parent, or do nothing if the `cells` collection is\n empty.\n3. Otherwise, [remove](https://dom.spec.whatwg.org/#concept-node-remove) the indexth element\n in the `cells` collection from its parent.\n\n#### 4.9.9 The `td` element\n\n[Element/td](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLTableCellElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `tr` element.\n\nContent model:\n\nFlow content.\n\nTag omission in text/html:\n\nA `td` element's end tag can be omitted if the\n `td` element is immediately followed by a `td` or `th` element,\n or if there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\n`colspan` — Number of columns that the cell is to span\n\n`rowspan` — Number of rows that the cell is to span\n\n`headers` — The header cells for this cell\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-td).\n\n[For implementers](https://w3c.github.io/html-aam/#el-td).\n\nSanitization:\n\nDefault with attributes `colspan`, `headers`, `rowspan`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLTableCellElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect, ReflectDefault=1, ReflectRange=(1, 1000)] attribute unsigned long colSpan;\n [CEReactions, Reflect, ReflectDefault=1, ReflectRange=(0, 65534)] attribute unsigned long rowSpan;\n [CEReactions, Reflect] attribute DOMString headers;\n readonly attribute long cellIndex;\n\n [CEReactions] attribute DOMString scope; // only conforming for th elements\n [CEReactions, Reflect] attribute DOMString abbr; // only conforming for th elements\n\n // also has obsolete members\n};` The\n `HTMLTableCellElement` interface is also used for `th` elements.\n\nThe `td` element represents a data cell in a table.\n\nThe `td` element and its `colspan`, `rowspan`, and `headers`\n attributes take part in the table model.\n\nUser agents, especially in non-visual environments or where displaying the table as a 2D grid\n is impractical, may give the user context for the cell when rendering the contents of a cell; for\n instance, giving its position in the table model, or listing the cell's header cells\n (as determined by the ). When a cell's header\n cells are being listed, user agents may use the value of `abbr`\n attributes on those header cells, if any, instead of the contents of the header cells\n themselves.\n\nIn this example, we see a snippet of a web application consisting of a grid of editable cells\n (essentially a simple spreadsheet). One of the cells has been configured to show the sum of the\n cells above it. Three have been marked as headings, which use `th` elements instead of\n `td` elements. A script would attach event handlers to these elements to maintain the\n total.\n\n```\n
    \n```\n\n#### 4.9.10 The `th` element\n\n[Element/th](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nNone.\n\nContexts in which this element can be used:\n\nAs a child of a `tr` element.\n\nContent model:\n\nFlow content, but with no , ,\n sectioning content, or heading content descendants.\n\nTag omission in text/html:\n\nA `th` element's end tag can be omitted if the\n `th` element is immediately followed by a `td` or `th` element,\n or if there is no more content in the parent element.\n\nContent attributes:\n\nGlobal attributes\n\n`colspan` — Number of columns that the cell is to span\n\n`rowspan` — Number of rows that the cell is to span\n\n`headers` — The header cells for this cell\n\n`scope` — Specifies which cells the header cell applies to\n\n`abbr` — Alternative label to use for the header cell when referencing the cell in other contexts\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-th).\n\n[For implementers](https://w3c.github.io/html-aam/#el-th).\n\nSanitization:\n\nDefault with attributes `abbr`, `colspan`, `headers`, `rowspan`, `scope`.\n\nDOM interface:\n\nUses `HTMLTableCellElement`, as defined for `td` elements.\n\nThe `th` element represents a header cell in a table.\n\nThe `th` element may have a `scope` content attribute specified.\n\nThe `scope` attribute is an enumerated attribute\n with the following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `row` | Row | The header cell applies to some of the subsequent cells in the same row(s). |\n| `col` | Column | The header cell applies to some of the subsequent cells in the same column(s). |\n| `rowgroup` | Row Group | The header cell applies to all the remaining cells in the row group. |\n| `colgroup` | Column Group | The header cell applies to all the remaining cells in the column group. |\n\nThe attribute's *missing value default* and *invalid value default* are both the Auto state. (In this state the header cell applies to a\n set of cells selected based on context.)\n\nA `th` element's `scope` attribute must not be in\n the Row Group state if the element is not anchored in\n a row group, nor in the Column Group state if the element is not anchored in a\n column group.\n\nThe `th` element may have an `abbr` content attribute specified. Its value must be an\n alternative label for the header cell, to be used when referencing the cell in other contexts\n (e.g. when describing the header cells that apply to a data cell). It is typically an abbreviated\n form of the full header cell, but can also be an expansion, or merely a different phrasing.\n\nThe `th` element and its `colspan`, `rowspan`, `headers`, and\n `scope` attributes take part in the table model.\n\nThe following example shows how the `scope` attribute's `rowgroup` value affects which data cells a header cell\n applies to.\n\nHere is a markup fragment showing a table:\n\n```\n
    ID Measurement Average Maximum\n
    Cats
    93 Legs 3.5 4\n
    10 Tails 1 1\n
    English speakers
    32 Legs 2.67 4\n
    35 Tails 0.33 1\n
    \n```\n\nThis would result in the following table:\n\n| ID | Measurement | Average | Maximum |\n| --- | --- | --- | --- |\n| | Cats | | |\n| 93 | Legs | 3.5 | 4 |\n| 10 | Tails | 1 | 1 |\n| | English speakers | | |\n| 32 | Legs | 2.67 | 4 |\n| 35 | Tails | 0.33 | 1 |\n\nThe headers in the first row all apply directly down to the rows in their column.\n\nThe headers with a `scope` attribute in the Row Group state apply to all the cells in their row\n group other than the cells in the first column.\n\nThe remaining headers apply just to the cells to the right of them.\n\n#### 4.9.11 Attributes common to `td` and `th` elements\n\nThe `td` and `th` elements may have a `colspan` content attribute specified, whose value must be a\n valid non-negative integer greater than zero and less than or equal to 1000.\n\nThe `td` and `th` elements may also have a `rowspan` content attribute specified,\n whose value must be a valid non-negative integer less than or equal to 65534. For\n this attribute, the value zero means that the cell is to span all the remaining rows in the row\n group.\n\nThese attributes give the number of columns and rows respectively that the cell is to span.\n These attributes must not be used to overlap cells, as described in the\n description of the table model.\n\n---\n\nThe `td` and `th` element may have a `headers` content attribute specified. The `headers` attribute, if specified, must contain a string\n consisting of an unordered set of unique space-separated tokens, none of which are\n [identical to](https://infra.spec.whatwg.org/#string-is) another token and each of which must have the value of an [ID](https://dom.spec.whatwg.org/#concept-id) of a `th` element taking part in the same table as the `td` or `th` element (as defined by the table model).\n\nA `th` element with [ID](https://dom.spec.whatwg.org/#concept-id) id is\n said to be *directly targeted* by all `td` and `th` elements in the\n same table that have `headers` attributes whose values include as one of their tokens\n the [ID](https://dom.spec.whatwg.org/#concept-id) id. A `th` element A is said to be *targeted* by a `th` or `td` element\n B if either A is *directly targeted* by B or if there exists an element C that is itself\n *targeted* by the element B and A is *directly\n targeted* by C.\n\nA `th` element must not be *targeted* by itself.\n\nThe `colspan`, `rowspan`, and `headers`\n attributes take part in the table model.\n\n---\n\n`cell.cellIndex`\n\nReturns the position of the cell in the row's `cells` list.\n This does not necessarily correspond to the x-position of the cell in the table,\n since earlier cells might cover multiple rows or columns. Returns −1 if the element isn't in a row.\n\nThe `cellIndex` IDL attribute must, if the element has a parent\n `tr` element, return the index of the cell's element in the parent element's `cells` collection. If there is no such parent element, then the\n attribute must return −1.\n\nThe `scope`\n IDL attribute must reflect the content attribute of the same name, limited to\n only known values.\n\n#### 4.9.12 Processing model\n\nThe various table elements and their content attributes together define the table\n model.\n\nA table consists of cells aligned on a two-dimensional grid of\n slots with coordinates (x, y). The grid is finite, and is either empty or has one or more slots. If the grid\n has one or more slots, then the x coordinates are always in the range 0 ≤ x < xwidth, and the y coordinates are always in the\n range 0 ≤ y < yheight. If one or both of xwidth and yheight are zero, then the\n table is empty (has no slots). Tables correspond to `table` elements.\n\nA cell is a set of slots anchored at a slot (cellx, celly), and with\n a particular width and height such that the cell covers\n all the slots with coordinates (x, y) where cellx ≤ x < cellx+width and celly ≤ y < celly+height. Cells can either be *data cells*\n or *header cells*. Data cells correspond to `td` elements, and header cells\n correspond to `th` elements. Cells of both types can have zero or more associated\n header cells.\n\nIt is possible, in certain error cases, for two cells to occupy the same slot.\n\nA row is a complete set of slots from x=0 to x=xwidth-1, for a particular value of y. Rows usually\n correspond to `tr` elements, though a row group\n can have some implied rows at the end in some cases involving\n cells spanning multiple rows.\n\nA column is a complete set of slots from y=0 to y=yheight-1, for a particular value of x. Columns can\n correspond to `col` elements. In the absence of `col` elements, columns are\n implied.\n\nA row group is a set of rows anchored at a slot (0, groupy) with a particular height such that the row group\n covers all the slots with coordinates (x, y) where 0 ≤ x < xwidth and groupy ≤ y < groupy+height. Row groups correspond to\n `tbody`, `thead`, and `tfoot` elements. Not every row is\n necessarily in a row group.\n\nA column group is a set of columns anchored at a slot (groupx, 0) with a particular width such that the column group\n covers all the slots with coordinates (x, y) where groupx ≤ x < groupx+width and 0 ≤ y < yheight. Column\n groups correspond to `colgroup` elements. Not every column is necessarily in a column\n group.\n\nRow groups cannot overlap each other. Similarly, column groups cannot overlap each other.\n\nA cell cannot cover slots that are from two or more row groups. It is, however, possible for a cell to be in multiple\n column groups. All the slots that form part of one cell\n are part of zero or one row groups and zero or more column groups.\n\nIn addition to cells, columns, rows, row groups, and column\n groups, tables can have a `caption` element\n associated with them. This gives the table a heading, or legend.\n\nA table model error is an error with the data represented by `table`\n elements and their descendants. Documents must not have table model errors.\n\n##### 4.9.12.1 Forming a table\n\nTo determine which elements correspond to which slots in a table associated with a `table` element, to determine the\n dimensions of the table (xwidth and yheight), and to determine if there are any table model errors, user agents must use the following algorithm:\n\n1. Let xwidth be 0.\n2. Let yheight be 0.\n3. Let pending `tfoot` elements be a list of `tfoot`\n elements, initially empty.\n4. Let the table be the table represented\n by the `table` element. The xwidth and yheight variables give the table's\n dimensions. The table is initially empty.\n5. If the `table` element has no children elements, then return the\n table (which will be empty).\n6. Associate the first `caption` element child of the `table` element with\n the table. If there are no such children, then it has no associated\n `caption` element.\n7. Let the current element be the first element child of the\n `table` element. If a step in this algorithm ever requires the current element to be advanced to the next child of the `table` when\n there is no such next child, then the user agent must jump to the step labeled *end*, near\n the end of this algorithm.\n8. While the current element is not one of the following elements, advance the current element to the next\n child of the `table`:\n - `colgroup`\n - `thead`\n - `tbody`\n - `tfoot`\n - `tr`\n9. If the current element is a `colgroup`, follow these\n substeps:\n 1. *Column groups*: Process the current element according to the\n appropriate case below: If the current element has any `col` element children Follow these steps: Let xstart have the value of xwidth. Let the current column be the first `col` element child\n of the `colgroup` element. *Columns*: If the current column `col` element has\n a `span` attribute, then parse its value using the\n rules for parsing non-negative integers. If the result of parsing the value is not an error or zero, then let span be that value. Otherwise, if the `col` element has no `span` attribute, or if trying to parse the attribute's value\n resulted in an error or zero, then let span be 1. If span is greater than 1000, let it be 1000 instead. Increase xwidth by span. Let the last span columns in\n the table correspond to the current column `col` element. If current column is not the last `col` element child of\n the `colgroup` element, then let the current column be the\n next `col` element child of the `colgroup` element, and return to\n the step labeled *columns*. Let all the last columns in the\n table from x=xstart to\n x=xwidth-1 form a new column group, anchored at the slot (xstart, 0), with width xwidth-xstart, corresponding to the `colgroup` element. If the current element has no `col` element children If the `colgroup` element has a `span`\n attribute, then parse its value using the rules for parsing non-negative\n integers. If the result of parsing the value is not an error or zero, then let span be that value. Otherwise, if the `colgroup` element has no `span` attribute, or if trying to parse the attribute's\n value resulted in an error or zero, then let span be 1. If span is greater than 1000, let it be 1000 instead. Increase xwidth by span. Let the last span columns in\n the table form a new column\n group, anchored at the slot (xwidth-span, 0), with width span, corresponding to the `colgroup` element.\n 2. Advance the current element\n to the next child of the `table`.\n 3. While the current element is not one of the following elements, advance the current element to the\n next child of the `table`:\n - `colgroup`\n - `thead`\n - `tbody`\n - `tfoot`\n - `tr`\n 4. If the current element is a `colgroup` element, jump to the\n step labeled *column groups* above.\n10. Let ycurrent be 0.\n11. Let the list of downward-growing cells be an empty list.\n12. *Rows*: While the current element is not one of the following\n elements, advance the current\n element to the next child of the `table`:\n - `thead`\n - `tbody`\n - `tfoot`\n - `tr`\n13. If the current element is a `tr`, then run the algorithm\n for processing rows, advance the current element to the next child of the `table`, and return to the\n step labeled *rows*.\n14. Run the algorithm for ending a row group.\n15. If the current element is a `tfoot`, then add that element to\n the list of pending `tfoot` elements, advance the current element to the next\n child of the `table`, and return to the step labeled *rows*.\n16. The current element is either a `thead` or a\n `tbody`. Run the algorithm for processing row groups.\n17. Advance the current element to\n the next child of the `table`.\n18. Return to the step labeled *rows*.\n19. *End*: For each `tfoot` element in the list of pending\n `tfoot` elements, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), run the algorithm for processing row\n groups.\n20. If there exists a row or column in the table containing only slots that do not have a cell\n anchored to them, then this is a table model error.\n21. Return the table.\n\nThe algorithm for processing row groups, which is invoked by the set of steps above\n for processing `thead`, `tbody`, and `tfoot` elements, is:\n\n1. Let ystart have the value of yheight.\n2. For each `tr` element that is a child of the element being processed, in tree\n order, run the algorithm for processing rows.\n3. If yheight > ystart, then let all the last rows in the table from y=ystart to y=yheight-1 form a new row\n group, anchored at the slot with coordinate (0, ystart), with height yheight-ystart, corresponding\n to the element being processed.\n4. Run the algorithm for ending a row group.\n\nThe algorithm for ending a row group, which is invoked by the set of steps above\n when starting and ending a block of rows, is:\n\n1. While ycurrent is less than yheight, follow these steps:\n 1. Run the algorithm for growing downward-growing cells.\n 2. Increase ycurrent by 1.\n2. Empty the list of downward-growing cells.\n\nThe algorithm for processing rows, which is invoked by the set of steps above for\n processing `tr` elements, is:\n\n1. If yheight is equal to ycurrent, then increase yheight by\n 1. (ycurrent is never *greater* than yheight.)\n2. Let xcurrent be 0.\n3. Run the algorithm for growing downward-growing cells.\n4. If the `tr` element being processed has no `td` or `th`\n element children, then increase ycurrent by 1, abort\n this set of steps, and return to the algorithm above.\n5. Let current cell be the first `td` or `th` element child\n in the `tr` element being processed.\n6. *Cells*: While xcurrent is less than xwidth and the slot with coordinate (xcurrent, ycurrent) already has a\n cell assigned to it, increase xcurrent by 1.\n7. If xcurrent is equal to xwidth, increase xwidth by 1. (xcurrent is never *greater* than xwidth.)\n8. If the current cell has a `colspan`\n attribute, then parse that attribute's\n value, and let colspan be the result. If parsing that value failed, or returned zero, or if the attribute is absent, then let colspan be 1, instead. If colspan is greater than 1000, let it be 1000 instead.\n9. If the current cell has a `rowspan`\n attribute, then parse that attribute's\n value, and let rowspan be the result. If parsing that value failed or if the attribute is absent, then let rowspan be 1, instead. If rowspan is greater than 65534, let it be 65534 instead.\n10. Let cell grows downward be false.\n11. If rowspan is zero, then set cell grows downward to true and set\n rowspan to 1.\n12. If xwidth < xcurrent+colspan, then let xwidth be xcurrent+colspan.\n13. If yheight < ycurrent+rowspan, then let yheight be ycurrent+rowspan.\n14. Let the slots with coordinates (x, y) such that xcurrent ≤ x < xcurrent+colspan and ycurrent ≤ y < ycurrent+rowspan be covered by a\n new cell c, anchored at (xcurrent, ycurrent),\n which has width colspan and height rowspan,\n corresponding to the current cell element. If the current cell element is a `th` element, let this new\n cell c be a header cell; otherwise, let it be a data cell. To establish which header cells apply to the current cell element, use\n the described in the next section. If any of the slots involved already had a cell covering\n them, then this is a table model error. Those slots now have two cells\n overlapping.\n15. If cell grows downward is true, then add the tuple {c, xcurrent, colspan}\n to the list of downward-growing cells.\n16. Increase xcurrent by colspan.\n17. If current cell is the last `td` or `th` element child in\n the `tr` element being processed, then increase ycurrent by 1, abort this set of steps, and return to the algorithm\n above.\n18. Let current cell be the next `td` or `th` element child\n in the `tr` element being processed.\n19. Return to the step labeled *cells*.\n\nWhen the algorithms above require the user agent to run the algorithm for growing\n downward-growing cells, the user agent must, for each {cell, cellx, width} tuple in the list of downward-growing cells, if any, extend the cell cell so that it also covers the slots with\n coordinates (x, ycurrent), where cellx ≤ x < cellx+width.\n\nEach cell can be assigned zero or more header cells. The to a cell principal cell is as follows.\n\n1. Let header list be an empty list of cells.\n2. Let (principalx, principaly) be the coordinate of the slot to which the principal\n cell is anchored.\n3. If the principal cell has a attribute specified Take the value of the principal cell's attribute and , letting id list be the\n list of tokens obtained. For each token in the id list, if the\n first element in the with an equal to\n the token is a cell in the same , and that cell is not the\n principal cell, then add that cell to header list. If principal cell does not have a attribute specified Let principalwidth be the width of the principal cell. Let principalheight be the height of the principal cell. For each value of y from principaly to principaly+principalheight-1, run\n the , with the principal cell, the header list, the initial coordinate\n (principalx, y), and the\n increments Δx=−1 and Δy=0. For each value of x from principalx to principalx+principalwidth-1, run\n the , with the principal cell, the header list, the initial coordinate\n (x, principaly), and the\n increments Δx=0 and Δy=−1. If the principal cell is anchored in a , then add all header cells that are and are anchored in the same row group\n with an x-coordinate less than or equal to principalx+principalwidth-1 and a y-coordinate less than or\n equal to principaly+principalheight-1 to header\n list. If the principal cell is anchored in a , then add all header cells that are and are anchored in the same column\n group with an x-coordinate less than or equal to principalx+principalwidth-1 and a y-coordinate less than or\n equal to principaly+principalheight-1 to header\n list.\n4. Remove all the from the header\n list.\n5. Remove any duplicates from the header list.\n6. Remove principal cell from the header list if it is\n there.\n7. Assign the headers in the header list to the principal\n cell.\n\nThe , given a principal cell, a header list, an initial coordinate (initialx, initialy),\n and Δx and Δy increments, is as follows:\n\n1. Let x equal initialx.\n2. Let y equal initialy.\n3. Let opaque headers be an empty list of cells.\n4. If principal cell is a header cellLet in header block be true, and let headers from\n current header block be a list of cells containing just the principal\n cell.OtherwiseLet in header block be false and let headers from\n current header block be an empty list of cells.\n5. *Loop*: Increment x by Δx; increment y by Δy. For each invocation of this algorithm, one of Δx and\n Δy will be −1, and the other will be 0.\n6. If either x or y are less than 0, then abort this\n internal algorithm.\n7. If there is no cell covering slot (x, y), or if there\n is more than one cell covering slot (x, y), return to\n the substep labeled *loop*.\n8. Let current cell be the cell covering slot (x, y).\n9. If current cell is a header cell Set in header block to true.Add current cell to headers from current header\n block.Let blocked be false. If Δx is 0 If there are any cells in the opaque headers list anchored with the\n same x-coordinate as the current cell, and with\n the same width as current cell, then let blocked\n be true. If the current cell is not a , then let\n blocked be true. If Δy is 0 If there are any cells in the opaque headers list anchored with the\n same y-coordinate as the current cell, and with\n the same height as current cell, then let blocked\n be true. If the current cell is not a , then let blocked be true. If blocked is false, then add the current cell\n to the header list. If current cell is a data cell and in header block is trueSet in header block to false. Add all the cells in headers from current header block to the opaque headers\n list, and empty the headers from current header block list.\n10. Return to the step labeled *loop*.\n\nA header cell anchored at the slot with coordinate (x, y) with width\n width and height height is said to be a if any of\n the following are true:\n\n- the cell's attribute is in the state; or\n- the cell's attribute is in the state, and there are no data cells in any of the\n cells covering slots with y-coordinates y .. y+height-1.\n\nA header cell anchored at the slot with coordinate (x, y) with width\n width and height height is said to be a if any of the\n following are true:\n\n- the cell's attribute is in the state; or\n- the cell's attribute is in the state, the cell is not a , and there are no data cells in any of the cells covering slots with\n x-coordinates x .. x+width-1.\n\nA header cell is said to be a if its attribute is in the state.\n\nA header cell is said to be a if its attribute is in the state.\n\nA cell is said to be an empty cell if it contains no elements and its [child\n text content](https://dom.spec.whatwg.org/#concept-child-text-content), if any, consists only of .\n\n#### 4.9.13 Examples\n\n*This section is non-normative.*\n\nThe following shows how one might mark up the bottom part of table 45 of the Smithsonian\n physical tables, Volume 71:\n\n```\n
    Specification values: Steel, Castings,\n Ann. A.S.T.M. A27-16, Class B;* P max. 0.06; S max. 0.05.
    Grade. Yield Point. Ultimate tensile strength Per cent elong. 50.8 mm or 2 in. Per cent reduct. area.
    kg/mm2 lb/in2
    Hard 0.45 ultimate 56.2 80,000 15 20
    Medium 0.45 ultimate 49.2 70,000 18 25
    Soft 0.45 ultimate 42.2 60,000 22 30
    \n```\n\nThis table could look like this:\n\n| Grade. | Yield Point. | Ultimate tensile strength | Per cent elong. 50.8 mm or 2 in. | Per cent reduct. area. | |\n| --- | --- | --- | --- | --- | --- |\n| kg/mm2 | lb/in2 | | | | |\n| Hard | 0.45 ultimate | 56.2 | 80,000 | 15 | 20 |\n| Medium | 0.45 ultimate | 49.2 | 70,000 | 18 | 25 |\n| Soft | 0.45 ultimate | 42.2 | 60,000 | 22 | 30 |\n\n---\n\nThe following shows how one might mark up the gross margin table on page 46 of Apple, Inc's\n 10-K filing for fiscal year 2008:\n\n```\n
    2008\n 2007\n 2006\n
    Net sales\n $ 32,479\n $ 24,006\n $ 19,315\n
    Cost of sales\n 21,334\n 15,852\n 13,717\n
    Gross margin\n $ 11,145\n $ 8,154\n $ 5,598\n
    Gross margin percentage\n 34.3%\n 34.0%\n 29.0%\n
    \n```\n\nThis table could look like this:\n\n| | 2008 | 2007 | 2006 |\n| --- | --- | --- | --- |\n| Net sales | $ 32,479 | $ 24,006 | $ 19,315 |\n| Cost of sales | 21,334 | 15,852 | 13,717 |\n| Gross margin | $ 11,145 | $ 8,154 | $ 5,598 |\n| Gross margin percentage | 34.3% | 34.0% | 29.0% |\n\n---\n\nThe following shows how one might mark up the operating expenses table from lower on the same\n page of that document:\n\n```\n
    2008 2007 2006\n
    Research and development\n $ 1,109 $ 782 $ 712\n
    Percentage of net sales\n 3.4% 3.3% 3.7%\n
    Selling, general, and administrative\n $ 3,761 $ 2,963 $ 2,433\n
    Percentage of net sales\n 11.6% 12.3% 12.6%\n
    \n```\n\nThis table could look like this:\n\n| | 2008 | 2007 | 2006 |\n| --- | --- | --- | --- |\n| Research and development | $ 1,109 | $ 782 | $ 712 |\n| Percentage of net sales | 3.4% | 3.3% | 3.7% |\n| Selling, general, and administrative | $ 3,761 | $ 2,963 | $ 2,433 |\n| Percentage of net sales | 11.6% | 12.3% | 12.6% |\n\n### 4.10 Forms\n\n[Element#Forms](https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Forms)\n\nSupport in all current engines.\n\nFirefox4+ Safari4+ Chrome61+\n\n---\n\nOpera52+ Edge79+\n\n---\n\nEdge (Legacy)16+ Internet Explorer10+\n\n---\n\nFirefox Android5+ Safari iOS3.2+ Chrome Android61+ WebView Android61+ Samsung Internet8.0+ Opera Android47+\n\n#### 4.10.1 Introduction\n\n*This section is non-normative.*\n\nA form is a component of a web page that has form controls, such as text, buttons, checkboxes,\n range, or color picker controls. A user can interact with such a form, providing data that can\n then be sent to the server for further processing (e.g. returning the results of a search or\n calculation). No client-side scripting is needed in many cases, though an API is available so that\n scripts can augment the user experience or use forms for purposes other than submitting data to a\n server.\n\nWriting a form consists of several steps, which can be performed in any order: writing the user\n interface, implementing the server-side processing, and configuring the user interface to\n communicate with the server.\n\n##### 4.10.1.1 Writing a form's user interface\n\n*This section is non-normative.*\n\nFor the purposes of this brief introduction, we will create a pizza ordering form.\n\nAny form starts with a `form` element, inside which are placed the controls. Most\n controls are represented by the `input` element, which by default provides a text\n control. To label a control, the `label` element is used; the label text and the\n control itself go inside the `label` element. Each part of a form is considered a\n paragraph, and is typically separated from other parts using `p` elements.\n Putting this together, here is how one might ask for the customer's name:\n\n```\n

    \n```\n\nTo let the user select the size of the pizza, we can use a set of radio buttons. Radio buttons\n also use the `input` element, this time with a `type` attribute with the value `radio`. To make the radio buttons work as a group, they are\n given a common name using the `name` attribute. To group a batch\n of controls together, such as, in this case, the radio buttons, one can use the\n `fieldset` element. The title of such a group of controls is given by the first element\n in the `fieldset`, which has to be a `legend` element.\n\n```\n

    Pizza Size

    \n```\n\nChanges from the previous step are highlighted.\n\nTo pick toppings, we can use checkboxes. These use the `input` element with a `type` attribute with the value `checkbox`:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nThe pizzeria for which this form is being written is always making mistakes, so it needs a way\n to contact the customer. For this purpose, we can use form controls specifically for telephone\n numbers (`input` elements with their `type`\n attribute set to `tel`) and email addresses\n (`input` elements with their `type` attribute set\n to `email`):\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nWe can use an `input` element with its `type`\n attribute set to `time` to ask for a delivery time. Many\n of these form controls have attributes to control exactly what values can be specified; in this\n case, three attributes of particular interest are `min`, `max`, and `step`. These set the\n minimum time, the maximum time, and the interval between allowed values (in seconds). This\n pizzeria only delivers between 11am and 9pm, and doesn't promise anything better than 15 minute\n increments, which we can mark up as follows:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nThe `textarea` element can be used to provide a multiline text control. In this\n instance, we are going to use it to provide a space for the customer to give delivery\n instructions:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nFinally, to make the form submittable we use the `button` element:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\n##### 4.10.1.2 Implementing the server-side processing for a form\n\n*This section is non-normative.*\n\nThe exact details for writing a server-side processor are out of scope for this specification.\n For the purposes of this introduction, we will assume that the script at `https://pizza.example.com/order.cgi` is configured to accept submissions using the\n `application/x-www-form-urlencoded` format,\n expecting the following parameters sent in an HTTP POST body:\n\n`custname`\n\nCustomer's name\n\n`custtel`\n\nCustomer's telephone number\n\n`custemail`\n\nCustomer's email address\n\n`size`\n\nThe pizza size, either `small`, `medium`, or `large`\n\n`topping`\n\nA topping, specified once for each selected topping, with the allowed values being `bacon`, `cheese`, `onion`, and `mushroom`\n\n`delivery`\n\nThe requested delivery time\n\n`comments`\n\nThe delivery instructions\n\n##### 4.10.1.3 Configuring a form to communicate with a server\n\n*This section is non-normative.*\n\nForm submissions are exposed to servers in a variety of ways, most commonly as HTTP GET or POST\n requests. To specify the exact method used, the `method`\n attribute is specified on the `form` element. This doesn't specify how the form data is\n encoded, though; to specify that, you use the `enctype`\n attribute. You also have to specify the [URL](https://url.spec.whatwg.org/#concept-url) of the service that will handle the\n submitted data, using the `action` attribute.\n\nFor each form control you want submitted, you then have to give a name that will be used to\n refer to the data in the submission. We already specified the name for the group of radio buttons;\n the same attribute (`name`) also specifies the submission name.\n Radio buttons can be distinguished from each other in the submission by giving them different\n values, using the `value` attribute.\n\nMultiple controls can have the same name; for example, here we give all the checkboxes the same\n name, and the server distinguishes which checkbox was checked by seeing which values are submitted\n with that name — like the radio buttons, they are also given unique values with the `value` attribute.\n\nGiven the settings in the previous section, this all becomes:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nThere is no particular significance to the way some of the attributes have their\n values quoted and others don't. The HTML syntax allows a variety of equally valid ways to specify\n attributes, as discussed in the syntax section.\n\nFor example, if the customer entered \"Denise Lawrence\" as their name, \"555-321-8642\" as their\n telephone number, did not specify an email address, asked for a medium-sized pizza, selected the\n Extra Cheese and Mushroom toppings, entered a delivery time of 7pm, and left the delivery\n instructions text control blank, the user agent would submit the following to the online web\n service:\n\n```\ncustname=Denise+Lawrence&custtel=555-321-8642&custemail=&size=medium&topping=cheese&topping=mushroom&delivery=19%3A00&comments=\n```\n\n##### 4.10.1.4 Client-side form validation\n\n[Form_validation](https://developer.mozilla.org/en-US/docs/Web/Forms/Form_validation)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome4+\n\n---\n\nOpera≤12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android≤37+ Samsung Internet? Opera Android≤12.1+\n\n*This section is non-normative.*\n\nForms can be annotated in such a way that the user agent will check the user's input before the\n form is submitted. The server still has to verify the input is valid (since hostile users can\n easily bypass the form validation), but it allows the user to avoid the wait incurred by having\n the server be the sole checker of the user's input.\n\nThe simplest annotation is the `required` attribute,\n which can be specified on `input` elements to indicate that the form is not to be\n submitted until a value is given. By adding this attribute to the customer name, pizza size, and\n delivery time fields, we allow the user agent to notify the user when the user submits the form\n without filling in those fields:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nIt is also possible to limit the length of the input, using the `maxlength` attribute. By adding this to the `textarea`\n element, we can limit users to 1000 characters, preventing them from writing huge essays to the\n busy delivery drivers instead of staying focused and to the point:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\nWhen a form is submitted, `invalid` events are\n fired at each form control that is invalid. This can be useful for displaying a summary of the\n problems with the form, since typically the browser itself will only report one problem at a\n time.\n\n##### 4.10.1.5 Enabling client-side automatic filling of form controls\n\n*This section is non-normative.*\n\nSome browsers attempt to aid the user by automatically filling form controls rather than having\n the user reenter their information each time. For example, a field asking for the user's telephone\n number can be automatically filled with the user's phone number.\n\nTo help the user agent with this, the `autocomplete`\n attribute can be used to describe the field's purpose. In the case of this form, we have three\n fields that can be usefully annotated in this way: the information about who the pizza is to be\n delivered to. Adding this information looks like this:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\n##### 4.10.1.6 Improving the user experience on mobile devices\n\n*This section is non-normative.*\n\nSome devices, in particular those with virtual keyboards can provide the user with multiple\n input modalities. For example, when typing in a credit card number the user may wish to only see\n keys for digits 0-9, while when typing in their name they may wish to see a form field that by\n default capitalizes each word.\n\nUsing the `inputmode` attribute we can select appropriate\n input modalities:\n\n```\n

    Pizza Size

    Pizza Toppings

    \n```\n\n##### 4.10.1.7 The difference between the field type, the autofill field name, and the input modality\n\n*This section is non-normative.*\n\nThe `type`, `autocomplete`, and `inputmode` attributes can seem confusingly similar. For instance,\n in all three cases, the string \"`email`\" is a valid value. This section\n attempts to illustrate the difference between the three attributes and provides advice suggesting\n how to use them.\n\nThe `type` attribute on `input` elements decides\n what kind of control the user agent will use to expose the field. Choosing between different\n values of this attribute is the same choice as choosing whether to use an `input`\n element, a `textarea` element, a `select` element, etc.\n\nThe `autocomplete` attribute, in contrast, describes\n what the value that the user will enter actually represents. Choosing between different values of\n this attribute is the same choice as choosing what the label for the element will be.\n\nFirst, consider telephone numbers. If a page is asking for a telephone number from the user,\n the right form control to use is ``.\n However, which `autocomplete` value to use depends on\n which phone number the page is asking for, whether they expect a telephone number in the\n international format or just the local format, and so forth.\n\nFor example, a page that forms part of a checkout process on an e-commerce site for a customer\n buying a gift to be shipped to a friend might need both the buyer's telephone number (in case of\n payment issues) and the friend's telephone number (in case of delivery issues). If the site\n expects international phone numbers (with the country code prefix), this could thus look like\n this:\n\n```\n

    Please enter complete phone numbers including the country code prefix, as in \"+1 555 123 4567\".\n```\n\nBut if the site only supports British customers and recipients, it might instead look like this\n (notice the use of `tel-national` rather than\n `tel`):\n\n```\n

    Please enter complete UK phone numbers, as in \"(01632) 960 123\".\n```\n\nNow, consider a person's preferred languages. The right `autocomplete` value is `language`. However, there could be a number of\n different form controls used for the purpose: a text control (``), a drop-down list (``. If the page is asking for the\n user's full name, then the relevant `autocomplete` value\n is `name`.\n\n```\n

    \n```\n\nIn this example, the \"`section-*`\" keywords in\n the `autocomplete` attributes' values tell the user agent\n that the two fields expect *different* names. Without them, the user agent could\n automatically fill the second field with the value given in the first field when the user gave a\n value to the first field.\n\nThe \"`-jp`\" and \"`-en`\" parts of the\n keywords are opaque to the user agent; the user agent cannot guess, from those, that the two names\n are expected to be in Japanese and English respectively.\n\nSeparate from the choices regarding `type` and `autocomplete`, the `inputmode` attribute decides what kind of input modality (e.g.,\n virtual keyboard) to use, when the control is a text control.\n\nConsider credit card numbers. The appropriate input type is *not* ``, as explained below; it is instead ``. To encourage the user agent to use a\n numeric input modality anyway (e.g., a virtual keyboard displaying only digits), the page would\n use\n\n```\n

    \n```\n\n##### 4.10.1.8 Date, time, and number formats\n\n*This section is non-normative.*\n\nIn this pizza delivery example, the times are specified in the format \"HH:MM\": two digits for\n the hour, in 24-hour format, and two digits for the time. (Seconds could also be specified, though\n they are not necessary in this example.)\n\nIn some locales, however, times are often expressed differently when presented to users. For\n example, in the United States, it is still common to use the 12-hour clock with an am/pm\n indicator, as in \"2pm\". In France, it is common to separate the hours from the minutes using an\n \"h\" character, as in \"14h00\".\n\nSimilar issues exist with dates, with the added complication that even the order of the\n components is not always consistent — for example, in Cyprus the first of February 2003\n would typically be written \"1/2/03\", while that same date in Japan would typically be written as\n \"2003年02月01日\" — and even with numbers, where locales differ, for\n example, in what punctuation is used as the decimal separator and the thousands separator.\n\nIt is therefore important to distinguish the time, date, and number formats used in HTML and in\n form submissions, which are always the formats defined in this specification (and based on the\n well-established ISO 8601 standard for computer-readable date and time formats), from the time,\n date, and number formats presented to the user by the browser and accepted as input from the user\n by the browser.\n\nThe format used \"on the wire\", i.e., in HTML markup and in form submissions, is intended to be\n computer-readable and consistent irrespective of the user's locale. Dates, for instance, are\n always written in the format \"YYYY-MM-DD\", as in \"2003-02-01\". While some users might see this\n format, others might see it as \"01.02.2003\" or \"February 1, 2003\".\n\nThe time, date, or number given by the page in the wire format is then translated to the user's\n preferred presentation (based on user preferences or on the locale of the page itself), before\n being displayed to the user. Similarly, after the user inputs a time, date, or number using their\n preferred format, the user agent converts it back to the wire format before putting it in the DOM\n or submitting it.\n\nThis allows scripts in pages and on servers to process times, dates, and numbers in a\n consistent manner without needing to support dozens of different formats, while still supporting\n the users' needs.\n\nSee also the implementation notes regarding\n localization of form controls.\n\n#### 4.10.2 Categories\n\nMostly for historical reasons, elements in this section fall into several overlapping (but\n subtly different) categories in addition to the usual ones like flow content,\n phrasing content, and interactive content.\n\nA number of the elements are form-associated\n elements, which means they can have a form owner.\n\n- `button`\n- `fieldset`\n- `input`\n- `object`\n- `output`\n- `select`\n- `textarea`\n- `img`\n- form-associated custom elements\n\nThe form-associated elements fall into several\n subcategories:\n\nListed elements\n\nDenotes elements that are listed in the `form.elements` and `fieldset.elements` APIs. These elements also\n have a `form` content attribute, and a matching `form` IDL attribute, that allow authors to specify an explicit\n form owner. `button``fieldset``input``object``output``select``textarea`form-associated custom elements\n\nSubmittable elements\n\nDenotes elements that can be used for constructing the entry list when a\n `form` element is submitted. `button``input``select``textarea`form-associated custom elements Some submittable elements can be, depending on their\n attributes, buttons. The prose below defines when an element\n is a button. Some buttons are specifically submit buttons.\n\nResettable elements\n\nDenotes elements that can be affected when a `form` element is reset. `input``output``select``textarea`form-associated custom elements\n\nAutocapitalize-and-autocorrect-inheriting\n elements\n\nDenotes elements that inherit the `autocapitalize`\n and `autocorrect` attributes from their form\n owner. `button``fieldset``input``output``select``textarea`\n\nSome elements, not all of them form-associated,\n are categorized as labelable elements. These are elements that\n can be associated with a `label` element.\n\n- `button`\n- `input` (if the `type` attribute is *not* in the Hidden state)\n- `meter`\n- `output`\n- `progress`\n- `select`\n- `textarea`\n- form-associated custom elements\n\n#### 4.10.3 The `form` element\n\n[Element/form](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLFormElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera8+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\n[HTMLFormElement/acceptCharset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLFormElement/name](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLFormElement/target](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere flow content is expected.\n\nContent model:\n\nFlow content, but with no `form` element descendants.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`accept-charset` — Character encodings to use for form submission\n\n`action` — [URL](https://url.spec.whatwg.org/#concept-url) to use for form submission\n\n`autocomplete` — Default setting for autofill feature for controls in the form\n\n`enctype` — Entry list encoding type to use for form submission\n\n`method` — Variant to use for form submission\n\n`name` — Name of form to use in the `document.forms` API\n\n`novalidate` — Bypass form control validation for form submission\n\n`target` — Navigable for form submission\n\n`rel`\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-form).\n\n[For implementers](https://w3c.github.io/html-aam/#el-form).\n\nSanitization:\n\nUncategorized with navigating URL\n attributes `action`.\n\nDOM interface:\n\n`[Exposed=Window,\n [LegacyOverrideBuiltIns](https://webidl.spec.whatwg.org/#LegacyOverrideBuiltIns),\n [LegacyUnenumerableNamedProperties](https://webidl.spec.whatwg.org/#LegacyUnenumerableNamedProperties)]\ninterface HTMLFormElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect=\"accept-charset\"] attribute DOMString acceptCharset;\n [CEReactions, ReflectSetter] attribute USVString action;\n [CEReactions] attribute DOMString autocomplete;\n [CEReactions] attribute DOMString enctype;\n [CEReactions] attribute DOMString encoding;\n [CEReactions] attribute DOMString method;\n [CEReactions, Reflect] attribute DOMString name;\n [CEReactions, Reflect] attribute boolean noValidate;\n [CEReactions, Reflect] attribute DOMString target;\n [CEReactions, Reflect] attribute DOMString rel;\n [SameObject, PutForwards=[value](https://dom.spec.whatwg.org/#dom-domtokenlist-value), Reflect=\"rel\"] readonly attribute [DOMTokenList](https://dom.spec.whatwg.org/#interface-domtokenlist) relList;\n\n [SameObject] readonly attribute HTMLFormControlsCollection elements;\n readonly attribute unsigned long length;\n getter [Element](https://dom.spec.whatwg.org/#interface-element) (unsigned long index);\n getter (RadioNodeList or [Element](https://dom.spec.whatwg.org/#interface-element)) (DOMString name);\n\n undefined submit();\n undefined requestSubmit(optional HTMLElement? submitter = null);\n [CEReactions] undefined reset();\n boolean checkValidity();\n boolean reportValidity();\n};`\n\nThe `form` element represents a hyperlink that can be\n manipulated through a collection of form-associated\n elements, some of which can represent editable values that can be submitted to a server for\n processing.\n\nThe `accept-charset` attribute gives the character\n encodings that are to be used for the submission. If specified, the value must be an [ASCII\n case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for \"`UTF-8`\". [ENCODING]\n\nThe `name` attribute\n represents the `form`'s name within the `forms`\n collection. The value must not be the empty string, and the value must be unique amongst the\n `form` elements in the `forms` collection that\n it is in, if any.\n\nThe `autocomplete` attribute is an enumerated\n attribute with the following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `on` | On | Form controls will have their autofill field name set to \"`on`\" by default. |\n| `off` | Off | Form controls will have their autofill field name set to \"`off`\" by default. |\n\nThe attribute's *missing value default* and *invalid value default* are both the On state.\n\nThe `action`, `enctype`,\n `method`, `novalidate`,\n and `target` attributes are attributes for form\n submission.\n\nThe `rel` attribute on\n `form` elements controls what kinds of links the elements create. The attribute's value\n must be a unordered set of unique space-separated tokens. The allowed keywords and their meanings are defined in an earlier section.\n\n`rel`'s [supported\n tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) are the keywords defined in HTML link types which are\n allowed on `form` elements, impact the processing model, and are supported by the user\n agent. The possible [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) are `noreferrer`, `noopener`, and `opener`. `rel`'s [supported tokens](https://dom.spec.whatwg.org/#concept-supported-tokens) must only include the tokens from this\n list that the user agent implements the processing model for.\n\n`form.elements`[HTMLFormElement/elements](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements)Support in all current engines.Firefox1+Safari3+Chrome1+Opera8+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns an `HTMLFormControlsCollection` of the form controls in the form\n (excluding image buttons for historical reasons).\n\n`form.length`[HTMLFormElement/length](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/length)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns the number of form controls in the form (excluding image buttons for historical\n reasons).\n\n`form[index]`\n\nReturns the indexth element in the form (excluding image buttons for historical\n reasons).\n\n`form[name]`\n\nReturns the form control (or, if there are several, a `RadioNodeList` of the form\n controls) in the form with the given [ID](https://dom.spec.whatwg.org/#concept-id) or `name` (excluding image buttons for historical reasons); or, if there\n are none, returns the `img` element with the given ID. Once an element has been referenced using a particular name, that name will continue being\n available as a way to reference that element in this method, even if the element's actual [ID](https://dom.spec.whatwg.org/#concept-id) or `name` changes, for as long as\n the element remains in the [tree](https://dom.spec.whatwg.org/#concept-tree). If there are multiple matching items, then a `RadioNodeList` object containing all\n those elements is returned.\n\n`form.submit()`[HTMLFormElement/submit](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nSubmits the form, bypassing interactive\n constraint validation and without firing a `submit`\n event.\n\n`form.requestSubmit([ submitter ])`[HTMLFormElement/requestSubmit](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/requestSubmit)Support in all current engines.Firefox75+Safari16+Chrome76+Opera?Edge79+Edge (Legacy)?Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android?\n\nRequests to submit the form. Unlike `submit()`, this\n method includes interactive constraint\n validation and firing a `submit` event, either of which\n can cancel submission. The submitter argument can be used to point to a specific submit button, whose `formaction`, `formenctype`, `formmethod`, `formnovalidate`, and `formtarget` attributes can impact submission. Additionally,\n the submitter will be included when constructing the entry list for submission;\n normally, buttons are excluded.\n\n`form.reset()`[HTMLFormElement/reset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset)Support in all current engines.Firefox1+Safari3+Chrome1+Opera8+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nResets the form.\n\n`form.checkValidity()`\n\nReturns true if the form's controls are all valid; otherwise, returns false.\n\n`form.reportValidity()`\n\nReturns true if the form's controls are all valid; otherwise, returns false and informs the\n user.\n\nThe `autocomplete` IDL attribute must reflect\n the content attribute of the same name, limited to only known values.\n\n---\n\nThe `elements`\n IDL attribute must return an `HTMLFormControlsCollection` rooted at the\n `form` element's [root](https://dom.spec.whatwg.org/#concept-tree-root), whose filter matches listed elements whose form owner is the\n `form` element, with the exception of `input` elements whose `type` attribute is in the Image Button state, which must, for historical reasons, be\n excluded from this particular collection.\n\nThe `length` IDL\n attribute must return the number of nodes [represented](https://dom.spec.whatwg.org/#represented-by-the-collection) by the `elements`\n collection.\n\nThe [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) at any instant are the indices supported by the\n object returned by the `elements` attribute at that\n instant.\n\nTo [determine the value of an indexed property](https://webidl.spec.whatwg.org/#dfn-determine-the-value-of-an-indexed-property) for a\n `form` element, the user agent must return the value returned by the `[item](https://dom.spec.whatwg.org/#dom-htmlcollection-item)` method on the `elements` collection, when invoked with the given index as its\n argument.\n\n---\n\nEach `form` element has a mapping of names to elements called the past names\n map. It is used to persist names of controls even when they change names.\n\nThe [supported property names](https://webidl.spec.whatwg.org/#dfn-supported-property-names) consist of the names obtained from the following\n algorithm, in the order obtained from this algorithm:\n\n1. Let sourced names be an initially empty ordered list of tuples\n consisting of a string, an element, a source, where the source is either *id*, *name*,\n or *past*, and, if the source is *past*, an age.\n2. For each listed element candidate\n whose form owner is the `form` element, with the exception of any\n `input` elements whose `type` attribute is in the\n Image Button state:\n 1. If candidate has an `id` attribute, add\n an entry to sourced names with that `id`\n attribute's value as the string, candidate as the element, and *id* as\n the source.\n 2. If candidate has a `name` attribute,\n add an entry to sourced names with that `name` attribute's value as the string, candidate\n as the element, and *name* as the source.\n3. For each `img` element candidate whose form owner is the\n `form` element:\n 1. If candidate has an `id` attribute, add\n an entry to sourced names with that `id`\n attribute's value as the string, candidate as the element, and *id* as\n the source.\n 2. If candidate has a `name` attribute,\n add an entry to sourced names with that `name` attribute's value as the string, candidate\n as the element, and *name* as the source.\n4. For each entry past entry in the past names map, add an entry\n to sourced names with the past entry's name as the\n string, past entry's element as the element, *past* as the source, and\n the length of time past entry has been in the past names map as\n the age.\n5. Sort sourced names by [tree order](https://dom.spec.whatwg.org/#concept-tree-order) of the element entry of\n each tuple, sorting entries with the same element by putting entries whose source is *id*\n first, then entries whose source is *name*, and finally entries whose source is *past*,\n and sorting entries with the same element and source by their age, oldest first.\n6. Remove any entries in sourced names that have the empty string as\n their name.\n7. Remove any entries in sourced names that have the same name as an\n earlier entry in the map.\n8. Return the list of names from sourced names, maintaining their\n relative order.\n\nTo [determine the value of a named property](https://webidl.spec.whatwg.org/#dfn-determine-the-value-of-a-named-property) name\n for a `form` element, the user agent must run the following steps:\n\n1. Let candidates be a live `RadioNodeList` object\n containing all the listed elements, whose form\n owner is the `form` element, that have either an `id` attribute or a `name` attribute equal\n to name, with the exception of `input` elements whose `type` attribute is in the Image Button state, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n2. If candidates is empty, let candidates be a live `RadioNodeList` object containing all the `img` elements, whose form\n owner is the `form` element, that have either an `id` attribute or a `name` attribute\n equal to name, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order).\n3. If candidates is empty, name is the name of one of\n the entries in the `form` element's past names map: return the object\n associated with name in that map.\n4. If candidates contains more than one node, return candidates.\n5. Otherwise, candidates contains exactly one node. Add a mapping from\n name to the node in candidates in the `form`\n element's past names map, replacing the previous entry with the same name, if\n any.\n6. Return the node in candidates.\n\nIf an element listed in a `form` element's past names map changes\n form owner, then its entries must be removed from that map.\n\n---\n\nThe `submit()`\n method steps are to submit [this](https://webidl.spec.whatwg.org/#this) from\n [this](https://webidl.spec.whatwg.org/#this), with *submitted from `submit()` method* set to true.\n\nThe `requestSubmit(submitter)` method, when\n invoked, must run the following steps:\n\n1. If submitter is not null:\n 1. If submitter is not a submit\n button, then throw a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)`.\n 2. If submitter's form owner is not this `form` element,\n then throw a [\"`NotFoundError`\"](https://webidl.spec.whatwg.org/#notfounderror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. Otherwise, set submitter to this `form` element.\n3. Submit this `form` element, from\n submitter.\n\nThe `reset()`\n method, when invoked, must run the following steps:\n\n1. If the `form` element is marked as *locked for reset*, then return.\n2. Mark the `form` element as locked for reset.\n3. Reset the `form` element.\n4. Unmark the `form` element as *locked for reset*.\n\nIf the `checkValidity()` method is invoked, the user agent\n must statically validate the constraints of the `form` element, and return\n true if the constraint validation returned a *positive* result, and false if it returned a\n *negative* result.\n\nIf the `reportValidity()` method is invoked, the user agent\n must interactively validate the constraints of the `form` element, and\n return true if the constraint validation returned a *positive* result, and false if it returned\n a *negative* result.\n\nThis example shows two search forms:\n\n```\n
    \n```\n\n#### 4.10.4 The `label` element\n\n[Element/label](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[HTMLLabelElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[HTMLLabelElement/htmlFor](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nInteractive content.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nPhrasing content, but with no descendant labelable elements unless it is the element's labeled control, and no descendant `label` elements.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`for` — Associate the label with form control\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-label).\n\n[For implementers](https://w3c.github.io/html-aam/#el-label).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLLabelElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n readonly attribute HTMLFormElement? form;\n [CEReactions, Reflect=\"for\"] attribute DOMString htmlFor;\n readonly attribute HTMLElement? control;\n};`\n\nThe `label` element represents a caption in a user interface. The\n caption can be associated with a specific form control, known as the\n `label` element's labeled control, either using the `for` attribute, or by putting the form control inside the\n `label` element itself.\n\nExcept where otherwise specified by the following rules, a `label` element has no\n labeled control.\n\n[Attributes/for](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/for)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `for` attribute may\n be specified to indicate a form control with which the caption is to be associated. If the\n attribute is specified, the attribute's value must be the [ID](https://dom.spec.whatwg.org/#concept-id) of a\n labelable element in the same [tree](https://dom.spec.whatwg.org/#concept-tree) as the\n `label` element. If the attribute is specified and there is an element in\n the [tree](https://dom.spec.whatwg.org/#concept-tree) whose [ID](https://dom.spec.whatwg.org/#concept-id) is equal to the value of the `for` attribute, and the first such element in [tree\n order](https://dom.spec.whatwg.org/#concept-tree-order) is a labelable element, then that element is the\n `label` element's labeled control.\n\nIf the `for` attribute is not specified, but the\n `label` element has a labelable element descendant,\n then the first such descendant in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) is the `label` element's\n labeled control.\n\nThe `label` element's exact default presentation and behavior, in particular what\n its [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) might be, if anything, should match the platform's label\n behavior. The [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) of a `label` element for events targeted\n at interactive content descendants of a `label` element, and any\n descendants of those interactive content descendants, must be to do nothing.\n\nForm-associated custom\n elements are labelable elements, so for user agents\n where the `label` element's [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) impacts the labeled\n control, both built-in and custom elements will be impacted.\n\nFor example, on platforms where clicking a label activates the form control, clicking the\n `label` in the following snippet could trigger the user agent to fire a `click` event at the `input` element, as if the\n element itself had been triggered by the user:\n\n```\n\n```\n\nSimilarly, assuming `my-checkbox` was declared as a\n form-associated custom element (like in this\n example), then the code\n\n```\n\n```\n\nwould have the same behavior, firing a `click` event at the `my-checkbox`\n element.\n\nOn other platforms, the behavior in both cases might be just to focus the control, or to do\n nothing.\n\nThe following example shows three form controls each with a label, two of which have small\n text showing the right format for users to use.\n\n```\n

    \n```\n\n`label.control`[HTMLLabelElement/control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control)Support in all current engines.Firefox4+Safari5.1+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android12.1+\n\nReturns the form control that is associated with this element.\n\n`label.form`[HTMLLabelElement/form](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/form)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer6+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns the form owner of the form control that is associated with this\n element. Returns null if there isn't one.\n\nThe `control`\n IDL attribute must return the `label` element's labeled control, if any,\n or null if there isn't one.\n\nThe `form` IDL\n attribute must run the following steps:\n\n1. If the `label` element has no labeled control, then return\n null.\n2. If the `label` element's labeled control is not a\n form-associated element, then return null.\n3. Return the `label` element's labeled control's form\n owner (which can still be null).\n\nThe `form` IDL attribute on the\n `label` element is different from the `form` IDL\n attribute on listed form-associated elements, and the `label` element does not have a `form` content attribute.\n\n---\n\n`control.labels`[HTMLButtonElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/labels)Support in all current engines.Firefox56+Safari5.1+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android12.1+[HTMLInputElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)Support in all current engines.Firefox56+Safari5+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android12.1+[HTMLMeterElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels)Support in all current engines.Firefox56+Safari6+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+[HTMLOutputElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/labels)Support in all current engines.Firefox56+Safari5.1+Chrome9+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android12.1+[HTMLProgressElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/labels)Support in all current engines.Firefox56+Safari6+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+[HTMLSelectElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/labels)Support in all current engines.Firefox56+Safari5.1+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android12.1+[HTMLTextAreaElement/labels](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels)Support in all current engines.Firefox56+Safari5.1+Chrome6+Opera12.1+Edge79+Edge (Legacy)18Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android3+Samsung Internet?Opera Android12.1+\n\nReturns a `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` of all the `label` elements that the form control\n is associated with.\n\nLabelable elements and all `input` elements\n have a live `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` object associated with them that represents the\n list of `label` elements, in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), whose labeled\n control is the element in question. The `labels` IDL attribute of labelable elements that are not form-associated custom elements, and the `labels` IDL attribute of `input` elements, on getting,\n must return that `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` object, and that same value must always be returned, unless\n this element is an `input` element whose `type`\n attribute is in the Hidden state, in which case it\n must instead return null.\n\n[ElementInternals/labels](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels)\n\nSupport in all current engines.\n\nFirefox98+ Safari16.4+ Chrome77+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nForm-associated custom elements don't have\n a `labels` IDL attribute. Instead, their\n `ElementInternals` object has a `labels` IDL attribute. On getting, it must throw\n a [\"`NotSupportedError`\"](https://webidl.spec.whatwg.org/#notsupportederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if the target element is not a form-associated custom\n element. Otherwise, it must return that `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` object, and that same value\n must always be returned.\n\nThis (non-conforming) example shows what happens to the `[NodeList](https://dom.spec.whatwg.org/#interface-nodelist)` and what `labels` returns when an `input` element has its `type` attribute changed.\n\n```\n

    \n```\n\n#### 4.10.5 The `input` element\n\n[Element/input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android1+ Samsung Internet? Opera Android12.1+\n\n[Element/input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input)\n\n[HTMLInputElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera8+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android10.1+\n\n[HTMLButtonElement/disabled](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/disabled)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[HTMLSelectElement/disabled](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/disabled)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera9+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\n[HTMLInputElement/multiple](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)\n\nSupport in all current engines.\n\nFirefox3.6+ Safari4+ Chrome2+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nIf the `type` attribute is *not* in the Hidden state: Interactive content.\n\nIf the `type` attribute is *not* in the Hidden state: Listed, labelable, submittable, resettable, and autocapitalize-and-autocorrect inheriting form-associated element.\n\nIf the `type` attribute is in the Hidden state: Listed, submittable, resettable, and autocapitalize-and-autocorrect inheriting form-associated element.\n\nIf the `type` attribute is *not* in the Hidden state: Palpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nNothing.\n\nTag omission in text/html:\n\nNo end tag.\n\nContent attributes:\n\nGlobal attributes\n\n`accept` — Hint for expected file type in file upload controls\n\n`alpha` — Allow the color's alpha component to be set\n\n`alt` — Replacement text for use when images are not available\n\n`autocomplete` — Hint for form autofill feature\n\n`checked` — Whether the control is checked\n\n`colorspace` — The color space of the serialized color\n\n`dirname` — Name of form control to use for sending the element's directionality in form submission\n\n`disabled` — Whether the form control is disabled\n\n`form` — Associates the element with a `form` element\n\n`formaction` — [URL](https://url.spec.whatwg.org/#concept-url) to use for form submission\n\n`formenctype` — Entry list encoding type to use for form submission\n\n`formmethod` — Variant to use for form submission\n\n`formnovalidate` — Bypass form control validation for form submission\n\n`formtarget` — Navigable for form submission\n\n`height` — Vertical dimension\n\n`list` — List of autocomplete options\n\n`max` — Maximum value\n\n`maxlength` — Maximum [length](https://infra.spec.whatwg.org/#string-length) of value\n\n`min` — Minimum value\n\n`minlength` — Minimum [length](https://infra.spec.whatwg.org/#string-length) of value\n\n`multiple` — Whether to allow multiple values\n\n`name` — Name of the element to use for form submission and in the `form.elements` API\n\n`pattern` — Pattern to be matched by the form control's value\n\n`placeholder` — User-visible label to be placed within the form control\n\n`popovertarget` — Targets a popover element to toggle, show, or hide\n\n`popovertargetaction` — Indicates whether a targeted popover element is to be toggled, shown, or hidden\n\n`readonly` — Whether to allow the value to be edited by the user\n\n`required` — Whether the control is required for form submission\n\n`size` — Size of the control\n\n`src` — Address of the resource\n\n`step` — Granularity to be matched by the form control's value\n\n`type` — Type of form control\n\n`value` — Value of the form control\n\n`width` — Horizontal dimension\n\nAlso, the `title` attribute has special semantics on this element: Description of pattern (when used with `pattern` attribute)\n\nAccessibility considerations:\n\n`type` attribute in the Hidden state: [for authors](https://w3c.github.io/html-aria/#el-input-hidden); [for implementers](https://w3c.github.io/html-aam/#el-input-hidden).\n\n`type` attribute in the Text state: [for authors](https://w3c.github.io/html-aria/#el-input-text); [for implementers](https://w3c.github.io/html-aam/#el-input-text).\n\n`type` attribute in the Search state: [for authors](https://w3c.github.io/html-aria/#el-input-search); [for implementers](https://w3c.github.io/html-aam/#el-input-search).\n\n`type` attribute in the Telephone state: [for authors](https://w3c.github.io/html-aria/#el-input-tel); [for implementers](https://w3c.github.io/html-aam/#el-input-tel).\n\n`type` attribute in the URL state: [for authors](https://w3c.github.io/html-aria/#el-input-url); [for implementers](https://w3c.github.io/html-aam/#el-input-url).\n\n`type` attribute in the Email state: [for authors](https://w3c.github.io/html-aria/#el-input-email); [for implementers](https://w3c.github.io/html-aam/#el-input-email).\n\n`type` attribute in the Password state: [for authors](https://w3c.github.io/html-aria/#el-input-password); [for implementers](https://w3c.github.io/html-aam/#el-input-password).\n\n`type` attribute in the Date state: [for authors](https://w3c.github.io/html-aria/#el-input-date); [for implementers](https://w3c.github.io/html-aam/#el-input-date).\n\n`type` attribute in the Month state: [for authors](https://w3c.github.io/html-aria/#el-input-month); [for implementers](https://w3c.github.io/html-aam/#el-input-month).\n\n`type` attribute in the Week state: [for authors](https://w3c.github.io/html-aria/#el-input-week); [for implementers](https://w3c.github.io/html-aam/#el-input-week).\n\n`type` attribute in the Time state: [for authors](https://w3c.github.io/html-aria/#el-input-time); [for implementers](https://w3c.github.io/html-aam/#el-input-time).\n\n`type` attribute in the Local Date and Time state: [for authors](https://w3c.github.io/html-aria/#el-input-datetime-local); [for implementers](https://w3c.github.io/html-aam/#el-input-datetime-local).\n\n`type` attribute in the Number state: [for authors](https://w3c.github.io/html-aria/#el-input-number); [for implementers](https://w3c.github.io/html-aam/#el-input-number).\n\n`type` attribute in the Range state: [for authors](https://w3c.github.io/html-aria/#el-input-range); [for implementers](https://w3c.github.io/html-aam/#el-input-range).\n\n`type` attribute in the Color state: [for authors](https://w3c.github.io/html-aria/#el-input-color); [for implementers](https://w3c.github.io/html-aam/#el-input-color).\n\n`type` attribute in the Checkbox state: [for authors](https://w3c.github.io/html-aria/#el-input-checkbox); [for implementers](https://w3c.github.io/html-aam/#el-input-checkbox).\n\n`type` attribute in the Radio Button state: [for authors](https://w3c.github.io/html-aria/#el-input-radio); [for implementers](https://w3c.github.io/html-aam/#el-input-radio).\n\n`type` attribute in the File Upload state: [for authors](https://w3c.github.io/html-aria/#el-input-file); [for implementers](https://w3c.github.io/html-aam/#el-input-file).\n\n`type` attribute in the Submit Button state: [for authors](https://w3c.github.io/html-aria/#el-input-submit); [for implementers](https://w3c.github.io/html-aam/#el-input-submit).\n\n`type` attribute in the Image Button state: [for authors](https://w3c.github.io/html-aria/#el-input-image); [for implementers](https://w3c.github.io/html-aam/#el-input-image).\n\n`type` attribute in the Reset Button state: [for authors](https://w3c.github.io/html-aria/#el-input-reset); [for implementers](https://w3c.github.io/html-aam/#el-input-reset).\n\n`type` attribute in the Button state: [for authors](https://w3c.github.io/html-aria/#el-input-button); [for implementers](https://w3c.github.io/html-aam/#el-input-button).\n\nSanitization:\n\nUncategorized with navigating URL\n attributes `formaction`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLInputElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, Reflect] attribute DOMString accept;\n [CEReactions, Reflect] attribute boolean alpha;\n [CEReactions, Reflect] attribute DOMString alt;\n [CEReactions, ReflectSetter] attribute DOMString autocomplete;\n [CEReactions, Reflect=\"checked\"] attribute boolean defaultChecked;\n attribute boolean checked;\n [CEReactions] attribute DOMString colorSpace;\n [CEReactions, Reflect] attribute DOMString dirName;\n [CEReactions, Reflect] attribute boolean disabled;\n readonly attribute HTMLFormElement? form;\n attribute [FileList](https://w3c.github.io/FileAPI/#filelist-section)? files;\n [CEReactions, ReflectSetter] attribute USVString formAction;\n [CEReactions] attribute DOMString formEnctype;\n [CEReactions] attribute DOMString formMethod;\n [CEReactions, Reflect] attribute boolean formNoValidate;\n [CEReactions, Reflect] attribute DOMString formTarget;\n [CEReactions, ReflectSetter] attribute unsigned long height;\n attribute boolean indeterminate;\n readonly attribute HTMLDataListElement? list;\n [CEReactions, Reflect] attribute DOMString max;\n [CEReactions, ReflectNonNegative] attribute long maxLength;\n [CEReactions, Reflect] attribute DOMString min;\n [CEReactions, ReflectNonNegative] attribute long minLength;\n [CEReactions, Reflect] attribute boolean multiple;\n [CEReactions, Reflect] attribute DOMString name;\n [CEReactions, Reflect] attribute DOMString pattern;\n [CEReactions, Reflect] attribute DOMString placeholder;\n [CEReactions, Reflect] attribute boolean readOnly;\n [CEReactions, Reflect] attribute boolean required;\n [CEReactions, Reflect] attribute unsigned long size;\n [CEReactions, ReflectURL] attribute USVString src;\n [CEReactions, Reflect] attribute DOMString step;\n [CEReactions] attribute DOMString type;\n [CEReactions, Reflect=\"value\"] attribute DOMString defaultValue;\n [CEReactions] attribute [[LegacyNullToEmptyString](https://webidl.spec.whatwg.org/#LegacyNullToEmptyString)] DOMString value;\n attribute [object](https://webidl.spec.whatwg.org/#idl-object)? valueAsDate;\n attribute unrestricted double valueAsNumber;\n [CEReactions, ReflectSetter] attribute unsigned long width;\n\n undefined stepUp(optional long n = 1);\n undefined stepDown(optional long n = 1);\n\n readonly attribute boolean willValidate;\n readonly attribute ValidityState validity;\n readonly attribute DOMString validationMessage;\n boolean checkValidity();\n boolean reportValidity();\n undefined setCustomValidity(DOMString error);\n\n readonly attribute [NodeList](https://dom.spec.whatwg.org/#interface-nodelist)? labels;\n\n undefined select();\n attribute unsigned long? selectionStart;\n attribute unsigned long? selectionEnd;\n attribute DOMString? selectionDirection;\n undefined setRangeText(DOMString replacement);\n undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = \"preserve\");\n undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);\n\n undefined showPicker();\n\n // also has obsolete members\n};\nHTMLInputElement includes PopoverTargetAttributes;`\n\nThe `input` element represents a typed data field, usually with a form\n control to allow the user to edit the data.\n\nThe `type` attribute\n controls the data type (and associated control) of the element. It is an enumerated\n attribute with the following keywords and states:\n\n| Keyword | State | Data type | Control type |\n| --- | --- | --- | --- |\n| `hidden` | Hidden | An arbitrary string | n/a |\n| `text` | Text | Text with no line breaks | A text control |\n| `search` | Search | Text with no line breaks | Search control |\n| `tel` | Telephone | Text with no line breaks | A text control |\n| `url` | URL | An absolute URL | A text control |\n| `email` | Email | An email address or list of email addresses | A text control |\n| `password` | Password | Text with no line breaks (sensitive information) | A text control that obscures data entry |\n| `date` | Date | A date (year, month, day) with no time zone | A date control |\n| `month` | Month | A date consisting of a year and a month with no time zone | A month control |\n| `week` | Week | A date consisting of a week-year number and a week number with no time zone | A week control |\n| `time` | Time | A time (hour, minute, seconds, fractional seconds) with no time zone | A time control |\n| `datetime-local` | Local Date and Time | A date and time (year, month, day, hour, minute, second, fraction of a second) with no time zone | A date and time control |\n| `number` | Number | A numerical value | A text control or spinner control |\n| `range` | Range | A numerical value, with the extra semantic that the exact value is not important | A slider control or similar |\n| `color` | Color | An sRGB color with 8-bit red, green, and blue components | A color picker |\n| `checkbox` | Checkbox | A set of zero or more values from a predefined list | A checkbox |\n| `radio` | Radio Button | An enumerated value | A radio button |\n| `file` | File Upload | Zero or more files each with a [MIME type](https://mimesniff.spec.whatwg.org/#mime-type) and optionally a filename | A label and a button |\n| `submit` | Submit Button | An enumerated value, with the extra semantic that it must be the last value selected and initiates form submission | A button |\n| `image` | Image Button | A coordinate, relative to a particular image's size, with the extra semantic that it must\n be the last value selected and initiates form submission | Either a clickable image, or a button |\n| `reset` | Reset Button | n/a | A button |\n| `button` | Button | n/a | A button |\n\nThe attribute's *missing value default* and *invalid value default* are both the Text state.\n\nWhich of the\n `accept`,\n `alpha`,\n `alt`,\n `autocomplete`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`,\n `size`,\n `src`,\n `step`, and\n `width` content attributes, the\n `checked`,\n `files`,\n `valueAsDate`,\n `valueAsNumber`, and\n `list` IDL attributes, the\n `select()` method, the\n `selectionStart`,\n `selectionEnd`, and\n `selectionDirection`, IDL attributes, the\n `setRangeText()` and\n `setSelectionRange()` methods, the\n `stepUp()` and\n `stepDown()` methods, and the\n `[input](https://w3c.github.io/uievents/#event-type-input)` and\n `change` events apply to an\n `input` element depends on the state of its\n `type` attribute.\n The subsections that define each type also clearly define in normative \"bookkeeping\" sections\n which of these feature apply, and which do not apply, to each type. The behavior of\n these features depends on whether they apply or not, as defined in their various sections (q.v.\n for content attributes, for APIs, for events).\n\nThe following table is non-normative and summarizes which of those\n content attributes, IDL attributes, methods, and events apply to each state:\n\n| | Hidden | Text, Search | Telephone, URL | Email | Password | Date, Month, Week, Time | Local Date and Time | Number | Range | Color | Checkbox, Radio Button | File Upload | Submit Button | Image Button | Reset Button, Button |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| Content attributes | | | | | | | | | | | | | | | |\n| `accept` | · | · | · | · | · | · | · | · | · | · | · | Yes | · | · | · |\n| `alpha` | · | · | · | · | · | · | · | · | · | Yes | · | · | · | · | · |\n| `alt` | · | · | · | · | · | · | · | · | · | · | · | · | · | Yes | · |\n| `autocomplete` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | · | · | · | · | · |\n| `checked` | · | · | · | · | · | · | · | · | · | · | Yes | · | · | · | · |\n| `colorspace` | · | · | · | · | · | · | · | · | · | Yes | · | · | · | · | · |\n| `dirname` | Yes | Yes | Yes | Yes | Yes | · | · | · | · | · | · | · | Yes | · | · |\n| `formaction` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | · |\n| `formenctype` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | · |\n| `formmethod` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | · |\n| `formnovalidate` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | · |\n| `formtarget` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | · |\n| `height` | · | · | · | · | · | · | · | · | · | · | · | · | · | Yes | · |\n| `list` | · | Yes | Yes | Yes | · | Yes | Yes | Yes | Yes | Yes | · | · | · | · | · |\n| `max` | · | · | · | · | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · |\n| `maxlength` | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · | · | · | · | · |\n| `min` | · | · | · | · | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · |\n| `minlength` | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · | · | · | · | · |\n| `multiple` | · | · | · | Yes | · | · | · | · | · | · | · | Yes | · | · | · |\n| `pattern` | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · | · | · | · | · |\n| `placeholder` | · | Yes | Yes | Yes | Yes | · | · | Yes | · | · | · | · | · | · | · |\n| `popovertarget` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | Yes |\n| `popovertargetaction` | · | · | · | · | · | · | · | · | · | · | · | · | Yes | Yes | Yes |\n| `readonly` | · | Yes | Yes | Yes | Yes | Yes | Yes | Yes | · | · | · | · | · | · | · |\n| `required` | · | Yes | Yes | Yes | Yes | Yes | Yes | Yes | · | · | Yes | Yes | · | · | · |\n| `size` | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · | · | · | · | · |\n| `src` | · | · | · | · | · | · | · | · | · | · | · | · | · | Yes | · |\n| `step` | · | · | · | · | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · |\n| `width` | · | · | · | · | · | · | · | · | · | · | · | · | · | Yes | · |\n| IDL attributes and methods | | | | | | | | | | | | | | | |\n| `checked` | · | · | · | · | · | · | · | · | · | · | Yes | · | · | · | · |\n| `files` | · | · | · | · | · | · | · | · | · | · | · | Yes | · | · | · |\n| `value` | default | value | value | value | value | value | value | value | value | value | default/on | filename | default | default | default |\n| `valueAsDate` | · | · | · | · | · | Yes | · | · | · | · | · | · | · | · | · |\n| `valueAsNumber` | · | · | · | · | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · |\n| `list` | · | Yes | Yes | Yes | · | Yes | Yes | Yes | Yes | Yes | · | · | · | · | · |\n| `select()` | · | Yes | Yes | Yes† | Yes | Yes† | Yes† | Yes† | · | Yes† | · | Yes† | · | · | · |\n| `selectionStart` | · | Yes | Yes | · | Yes | · | · | · | · | · | · | · | · | · | · |\n| `selectionEnd` | · | Yes | Yes | · | Yes | · | · | · | · | · | · | · | · | · | · |\n| `selectionDirection` | · | Yes | Yes | · | Yes | · | · | · | · | · | · | · | · | · | · |\n| `setRangeText()` | · | Yes | Yes | · | Yes | · | · | · | · | · | · | · | · | · | · |\n| `setSelectionRange()` | · | Yes | Yes | · | Yes | · | · | · | · | · | · | · | · | · | · |\n| `stepDown()` | · | · | · | · | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · |\n| `stepUp()` | · | · | · | · | · | Yes | Yes | Yes | Yes | · | · | · | · | · | · |\n| Events | | | | | | | | | | | | | | | |\n| `[input](https://w3c.github.io/uievents/#event-type-input)` event | · | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | · | · | · |\n| `change` event | · | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | · | · | · |\n\n† If the control has no selectable text, the `select()` method results in a no-op, with no\n [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n\nSome states of the `type` attribute define a value\n sanitization algorithm.\n\nEach `input` element has a value, which is\n exposed by the `value` IDL attribute. Some states define an\n algorithm to convert a string to a number,\n an algorithm to convert a number to a\n string, an algorithm to convert a string to a\n `Date` object, and an algorithm to\n convert a `Date` object to a string, which are used by `max`, `min`, `step`, `valueAsDate`,\n `valueAsNumber`, and `stepUp()`.\n\nAn `input` element's dirty value flag must be\n set to true whenever the user interacts with the control in a way that changes the value. (It is also set to true when the value is programmatically\n changed, as described in the definition of the `value` IDL\n attribute.)\n\nThe `value` content\n attribute gives the default value of the `input`\n element. When the `value` content attribute is\n added, set, or removed, if the control's dirty value flag\n is false, the user agent must set the value of the element\n to the value of the `value` content attribute, if there is\n one, or the empty string otherwise, and then run the current value sanitization\n algorithm, if one is defined.\n\nEach `input` element has a checkedness,\n which is exposed by the `checked` IDL attribute.\n\nEach `input` element has a boolean dirty checkedness flag. When it is true, the\n element is said to have a *dirty checkedness*.\n The dirty checkedness flag must be initially\n set to false when the element is created, and must be set to true whenever the user interacts with\n the control in a way that changes the checkedness.\n\n[Element/input#checked](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#checked)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `checked`\n content attribute is a boolean attribute that gives the default checkedness of the `input` element. When the `checked` content attribute is added, if\n the control does not have *dirty checkedness*, the user\n agent must set the checkedness of the element to true;\n when the `checked` content attribute is removed, if the\n control does not have *dirty checkedness*, the user\n agent must set the checkedness of the element to\n false.\n\nThe reset algorithm for `input`\n elements is to set its user validity,\n dirty value flag, and\n dirty checkedness flag\n back to false, set the value of the element to the value\n of the `value` content attribute, if there is one, or the\n empty string otherwise, set the checkedness of the\n element to true if the element has a `checked` content\n attribute and false if it does not, empty the list of selected files, and then invoke the value\n sanitization algorithm, if the `type` attribute's\n current state defines one.\n\nEach `input` element can be mutable. Except where\n otherwise specified, an `input` element is always mutable. Similarly, except where otherwise specified, the user\n agent should not allow the user to modify the element's value or checkedness.\n\nWhen an `input` element is disabled, it is not mutable.\n\nThe `readonly` attribute can also in some\n cases (e.g. for the Date state, but not the Checkbox state) stop an `input` element from\n being mutable.\n\nThe `input` element can support a picker. A\n picker is a user interface element that allows the end user to choose a value. Whether an\n `input` element supports a picker depends on the `type` attribute state and [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined)\n behavior. An `input` element must support a picker when its `type` attribute is in the File\n Upload state.\n\nAs of the time of this writing, typical browser implementations show such picker UI for:\n\n- `input` elements whose `type`\n attributes are in the Date, Month, Week,\n Time, Local Date and Time, and Color states;\n- `input` elements in various states that have a suggestions source element;\n- `input` elements whose `type` attribute\n is in the File Upload state; and\n- `select` elements.\n\nThe [cloning steps](https://dom.spec.whatwg.org/#concept-node-clone-ext) for `input` elements\n given node, copy, and subtree are to propagate the value, dirty value flag,\n checkedness, dirty checkedness flag, and indeterminateness from node to\n copy.\n\nThe [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) for `input` elements element, given\n event, are these steps:\n\n1. If element is not mutable, and\n element's `type` attribute is neither in the Checkbox nor in the Radio state, then return.\n2. Run element's input activation behavior, if any, and do nothing\n otherwise.\n3. If element has a form owner and element's `type` attribute is not in the Button state, then return.\n4. Run the popover target attribute activation behavior given element\n and event's [target](https://dom.spec.whatwg.org/#event-target).\n\nRecall that an element's [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) runs for both\n user-initiated activations and for synthetic activations (e.g., via `el.click()`). User agents might also have behaviors for a given control — not\n specified here — that are triggered only by true user-initiated activations. A common choice is to\n show the picker, if applicable, for the control. In contrast, the input\n activation behavior only shows pickers for the special historical cases of the File Upload and Color states.\n\nThe [legacy-pre-activation behavior](https://dom.spec.whatwg.org/#eventtarget-legacy-pre-activation-behavior) for `input` elements are these\n steps:\n\n1. If this element's `type` attribute is in the Checkbox state, then set this element's checkedness to its opposite value (i.e. true if it is false,\n false if it is true) and set this element's indeterminateness to false.\n2. If this element's `type` attribute is in the Radio Button state, then get a reference to the element in\n this element's radio button group that has its checkedness set to true, if any, and then set this element's\n checkedness to true.\n\nThe [legacy-canceled-activation behavior](https://dom.spec.whatwg.org/#eventtarget-legacy-canceled-activation-behavior) for `input` elements are these\n steps:\n\n1. If the element's `type` attribute is in the Checkbox state, then set the element's checkedness and the element's indeterminateness back to the values they had\n before the [legacy-pre-activation behavior](https://dom.spec.whatwg.org/#eventtarget-legacy-pre-activation-behavior) was run.\n2. If this element's `type` attribute is in the Radio Button state, then if the element to which a\n reference was obtained in the [legacy-pre-activation behavior](https://dom.spec.whatwg.org/#eventtarget-legacy-pre-activation-behavior), if any, is still in\n what is now this element's radio button group, if it still has one, and if so,\n set that element's checkedness to true; or else, if\n there was no such element, or that element is no longer in this element's radio button\n group, or if this element no longer has a radio button group, set this\n element's checkedness to false.\n\n---\n\nWhen an `input` element is first created, the element's rendering and behavior must\n be set to the rendering and behavior defined for the `type`\n attribute's state, and the value sanitization algorithm, if one is defined for the\n `type` attribute's state, must be invoked.\n\nWhen an `input` element's `type` attribute\n changes state, the user agent must run the following steps:\n\n1. If the previous state of the element's `type` attribute\n put the `value` IDL attribute in the *value* mode, and the element's value is not the empty string, and the new state of the element's\n `type` attribute puts the `value` IDL attribute in either the *default* mode or the *default/on* mode, then set the element's `value` content attribute to the element's value.\n2. Otherwise, if the previous state of the element's `type` attribute put the `value`\n IDL attribute in any mode other than the *value* mode, and the\n new state of the element's `type` attribute puts the `value` IDL attribute in the *value* mode, then set the value of the element to the value of the `value` content attribute, if there is one, or the empty string\n otherwise, and then set the control's dirty value flag to\n false.\n3. Otherwise, if the previous state of the element's `type` attribute put the `value` IDL attribute in any mode other than the *filename* mode, and the new state of the element's `type` attribute puts the `value` IDL attribute in the *filename* mode, then set the value of the element to the empty string.\n4. Update the element's rendering and behavior to the new state's.\n5. Signal a type change for the element. (The Radio Button state uses this, in particular.)\n6. Invoke the value sanitization algorithm, if one is defined for the `type` attribute's new state.\n7. Let previouslySelectable be true if `setRangeText()` previously applied to the element, and false otherwise.\n8. Let nowSelectable be true if `setRangeText()` now applies to the element, and false otherwise.\n9. If previouslySelectable is false and nowSelectable is true, set the\n element's text entry cursor position to the\n beginning of the text control, and set its selection\n direction to \"`none`\".\n\n---\n\nThe `name` attribute represents the element's name.\n The `dirname` attribute controls how the element's directionality is submitted.\n The `disabled` attribute is used to make the control non-interactive and to prevent its value from being submitted.\n The `form` attribute is used to explicitly associate the `input` element with its form owner.\n The `autocomplete` attribute controls how the user agent provides autofill behavior.\n\nEach `input` element has an indeterminateness, a boolean which is initially false.\n It only has an effect on checkbox controls,\n including their rendering and accessibility semantics. An `input` element's\n indeterminateness is independent of its checkedness.\n\n[HTMLInputElement#indeterminate](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement#indeterminate)\n\nSupport in all current engines.\n\nFirefox3.6+ Safari3+ Chrome1+\n\n---\n\nOpera≤12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android≤12.1+\n\n---\n\n[caniuse.com table](https://caniuse.com/#feat=indeterminate-checkbox)\n\nThe `indeterminate` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s indeterminateness.\n\nThe `indeterminate` setter steps are to set\n [this](https://webidl.spec.whatwg.org/#this)'s indeterminateness to the\n given value.\n\nThe `colorSpace` IDL attribute must reflect the\n `colorspace` content attribute, limited to only\n known values. The `type` IDL attribute must reflect the respective\n content attribute of the same name, limited to only known values.\n\nThe `width` and\n `height` getter\n steps are to return the respective component of the result of determining the dimensions of [this](https://webidl.spec.whatwg.org/#this).\n\nTo determine the dimensions of an `input`\n element input:\n\n1. If input's `type` attribute is not in the\n Image Button state, then return a width of 0 and a\n height of 0. (In that case no image is *available*.)\n2. Let naturalDimensions be null.\n3. If an image is *available*, then set\n naturalDimensions to the result of applying the [default sizing algorithm](https://drafts.csswg.org/css-images/#default-sizing)\n with that image's [natural width, natural height, and natural\n aspect ratio](https://drafts.csswg.org/css-images/#natural-dimensions), if any, using a [default object size](https://drafts.csswg.org/css-images/#default-object-size) of 300 by 150.\n4. Return the result of determining the\n dimensions of input given naturalDimensions.\n\nThe `willValidate`, `validity`, and `validationMessage` IDL attributes, and the `checkValidity()`, `reportValidity()`, and `setCustomValidity()` methods, are part of the\n constraint validation API. The `labels` IDL\n attribute provides a list of the element's `label`s. The `select()`, `selectionStart`, `selectionEnd`, `selectionDirection`, `setRangeText()`, and `setSelectionRange()` methods and IDL attributes\n expose the element's text selection. The `disabled`,\n `form`, and `name` IDL attributes\n are part of the element's forms API.\n\n##### 4.10.5.1 States of the `type` attribute\n\n###### 4.10.5.1.1 Hidden state (`type=hidden`)\n\n[Element/input/hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera2+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Hidden state, the rules in this section apply.\n\nThe `input` element represents a value that is not intended to be\n examined or manipulated by the user.\n\n**Constraint validation**: If an `input` element's `type` attribute is in the Hidden state, it is barred from constraint\n validation.\n\nIf the `name` attribute is present and has a value that is an\n [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for \"`_charset_`\", then the element's `value` attribute must be omitted.\n\nThe\n `autocomplete` and\n `dirname`\n content attributes apply to this element.\n\nThe\n `value`\n IDL attribute applies to this element and is\n in mode default.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `readonly`,\n `required`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events do not apply.\n\n###### 4.10.5.1.2 Text (`type=text`) state and Search state (`type=search`)\n\n[Element/input/search](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome5+\n\n---\n\nOpera10.6+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/input/text](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Text state or the Search state, the rules in this section apply.\n\nThe `input` element represents a one line plain text edit control for\n the element's value.\n\nThe difference between the Text state\n and the Search state is primarily stylistic: on\n platforms where search controls are distinguished from regular text controls, the Search state might result in an appearance consistent with\n the platform's search controls rather than appearing like a regular text control.\n\nIf the element is mutable, its value should be editable by the user. User agents must not allow\n users to insert U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the element's\n value.\n\nIf the element is mutable, the user agent should allow the\n user to change the writing direction of the element, setting it either to a left-to-right writing\n direction or a right-to-left writing direction. If the user does so, the user agent must then run\n the following steps:\n\n1. Set the element's `dir` attribute to \"`ltr`\" if the user selected a left-to-right writing direction, and\n \"`rtl`\" if the user selected a right-to-left writing\n direction.\n2. Queue an element task on the user interaction task source given\n the element to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)`\n attributes initialized to true.\n\nThe `value` attribute, if specified, must have a value that\n contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters.\n\n**The value sanitization algorithm is as follows**: [Strip\n newlines](https://infra.spec.whatwg.org/#strip-newlines) from the value.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `dirname`,\n `list`,\n `maxlength`,\n `minlength`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`, and\n `size` content attributes;\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `value` IDL attributes;\n `select()`,\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `max`,\n `min`,\n `multiple`,\n `popovertarget`,\n `popovertargetaction`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `stepDown()` and\n `stepUp()` methods.\n\n###### 4.10.5.1.3 Telephone state (`type=tel`)\n\n[Element/input/tel](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel)\n\nSupport in all current engines.\n\nFirefoxYes Safari4+ Chrome3+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS3+ Chrome Android18+ WebView Android37+ Samsung Internet? Opera Android11+\n\nWhen an `input` element's `type` attribute is in\n the Telephone state, the rules in this section apply.\n\nThe `input` element represents a control for editing a telephone number\n given in the element's value.\n\nIf the element is mutable, its value should be editable by the user. User agents may change the\n spacing and, with care, the punctuation of values that the\n user enters. User agents must not allow users to insert U+000A LINE FEED (LF) or U+000D CARRIAGE\n RETURN (CR) characters into the element's value.\n\nThe `value` attribute, if specified, must have a value that\n contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters.\n\n**The value sanitization algorithm is as follows**: [Strip\n newlines](https://infra.spec.whatwg.org/#strip-newlines) from the value.\n\nUnlike the URL and Email types, the Telephone type does not enforce a particular syntax. This is\n intentional; in practice, telephone number fields tend to be free-form fields, because there are a\n wide variety of valid phone numbers. Systems that need to enforce a particular format are\n encouraged to use the `pattern` attribute or the `setCustomValidity()` method to hook into the client-side\n validation mechanism.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `dirname`,\n `list`,\n `maxlength`,\n `minlength`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`, and\n `size` content attributes;\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `value` IDL attributes;\n `select()`,\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `max`,\n `min`,\n `multiple`,\n `popovertarget`,\n `popovertargetaction`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `stepDown()` and\n `stepUp()` methods.\n\n###### 4.10.5.1.4 URL state (`type=url`)\n\n[Element/input/url](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the URL state, the rules in this section apply.\n\nThe `input` element represents a control for editing a single\n [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute) given in the element's value.\n\nIf the element is mutable, the user agent should allow the\n user to change the URL represented by its value. User agents\n may allow the user to set the value to a string that is not\n a [valid](https://url.spec.whatwg.org/#valid-url-string) [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute), but may also or instead\n automatically escape characters entered by the user so that the value is always a [valid](https://url.spec.whatwg.org/#valid-url-string) [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute) (even if that isn't the actual value seen and edited by the user in the\n interface). User agents should allow the user to set the value to the empty string. User agents must not allow users to\n insert U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the value.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid URL potentially surrounded by spaces that is also an\n [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute).\n\n**The value sanitization algorithm is as follows**: [Strip\n newlines](https://infra.spec.whatwg.org/#strip-newlines) from the value, then [strip leading\n and trailing ASCII whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from the value.\n\n**Constraint validation**: While the value\n of the element is neither the empty string nor a [valid](https://url.spec.whatwg.org/#valid-url-string) [absolute URL](https://url.spec.whatwg.org/#syntax-url-absolute), the element is suffering from a type mismatch.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `dirname`,\n `list`,\n `maxlength`,\n `minlength`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`, and\n `size` content attributes;\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `value` IDL attributes;\n `select()`,\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `max`,\n `min`,\n `multiple`,\n `popovertarget`,\n `popovertargetaction`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `stepDown()` and\n `stepUp()` methods.\n\nIf a document contained the following markup:\n\n```\n \n```\n\n...and the user had typed \"spec.w\", and the user agent had also found that the user\n had visited `https://url.spec.whatwg.org/#url-parsing` and `https://streams.spec.whatwg.org/` in the recent past, then the rendering might look\n like this:\n\nThe first four URLs in this sample consist of the four URLs in the author-specified list that\n match the text the user has entered, sorted in some [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) manner\n (maybe by how frequently the user refers to those URLs). Note how the UA is using the knowledge\n that the values are URLs to allow the user to omit the scheme part and perform intelligent\n matching on the domain name.\n\nThe last two URLs (and probably many more, given the scrollbar's indications of more values\n being available) are the matches from the user agent's session history data. This data is not\n made available to the page DOM. In this particular case, the UA has no titles to provide for\n those values.\n\n###### 4.10.5.1.5 Email state (`type=email`)\n\n[Element/input/email](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email)\n\nSupport in all current engines.\n\nFirefox1+ Safari5+ Chrome5+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS3+ Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nWhen an `input` element's `type` attribute is in\n the Email state, the rules in this section apply.\n\nHow the Email state operates depends on whether the\n `multiple` attribute is specified or not.\n\nWhen the `multiple` attribute is not specified on the\n element\n\nThe `input` element represents a control for editing an email\n address given in the element's value. If the element is mutable, the user agent should allow the\n user to change the email address represented by its value. User agents may allow the user to set the value to a string that is not a valid email\n address. The user agent should act in a manner consistent with expecting the user to\n provide a single email address. User agents should allow the user to set the value to the empty string. User agents must not allow users to\n insert U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the value. User agents may transform the value for display and editing; in particular, user agents should\n convert punycode in the domain labels of the value to IDN in the display and\n vice versa. **Constraint validation**: While the user interface is representing input that\n the user agent cannot convert to punycode, the control is suffering from bad\n input. The `value` attribute, if specified and not empty, must\n have a value that is a single valid email address. **The value sanitization algorithm is as follows**: [Strip\n newlines](https://infra.spec.whatwg.org/#strip-newlines) from the value, then [strip leading\n and trailing ASCII whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from the value. **Constraint validation**: While the value\n of the element is neither the empty string nor a single valid email address, the\n element is suffering from a type mismatch.\n\nWhen the `multiple` attribute *is* specified on\n the element\n\nThe `input` element represents a control for adding, removing, and\n editing the email addresses given in the element's value*s*. If the element is mutable, the user agent should allow the\n user to add, remove, and edit the email addresses represented by its values. User agents may allow the user to set any\n individual value in the list of value*s* to a\n string that is not a valid email address, but must not allow users to set any\n individual value to a string containing U+002C COMMA (,), U+000A LINE FEED (LF), or U+000D\n CARRIAGE RETURN (CR) characters. User agents should allow the user to remove all the addresses\n in the element's values. User agents may\n transform the values for display and editing; in\n particular, user agents should convert punycode in the domain labels of the value to IDN in the display and vice versa. **Constraint validation**: While the user interface describes a situation where\n an individual value contains a U+002C COMMA (,) or is representing input that the user agent\n cannot convert to punycode, the control is suffering from bad input. Whenever the user changes the element's value*s*, the user agent must run the following\n steps: Let latest values be a copy of the element's value*s*.[Strip leading and trailing ASCII whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from each value in latest\n values.Set the element's value to the result of\n concatenating all the values in latest values, separating each value from\n the next by a single U+002C COMMA character (,), maintaining the list's order. The `value` attribute, if specified, must have a value\n that is a valid email address list. **The value sanitization algorithm is as follows**: [Split on commas](https://infra.spec.whatwg.org/#split-on-commas) the element's value, [strip leading and trailing ASCII\n whitespace](https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace) from each resulting token, if any, and let the element's values be the (possibly empty) resulting list of\n (possibly empty) tokens, maintaining the original order.Set the element's value to the result of\n concatenating the element's values, separating\n each value from the next by a single U+002C COMMA character (,), maintaining the list's\n order. **Constraint validation**: While the value\n of the element is not a valid email address list, the element is suffering\n from a type mismatch.\n\nWhen the `multiple` attribute is set or removed, the\n user agent must run the value sanitization algorithm.\n\nA valid email address is a string that matches the `email` production of the following ABNF, the character set for which is Unicode.\n This ABNF implements the extensions described in RFC 1123. [ABNF] [RFC5322] [RFC1034] [RFC1123]\n\n```\nemail = 1*( atext / \".\" ) \"@\" label *( \".\" label ) label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 63 characters by RFC 1034 section 3.5 atext = < as defined in RFC 5322 section 3.2.3 >\nlet-dig = < as defined in RFC 1034 section 3.5 >\nldh-str = < as defined in RFC 1034 section 3.5 >\n```\n\nThis requirement is a [willful violation](https://infra.spec.whatwg.org/#willful-violation) of RFC 5322, which defines a\n syntax for email addresses that is simultaneously too strict (before the \"@\" character), too\n vague (after the \"@\" character), and too lax (allowing comments, whitespace characters, and quoted\n strings in manners unfamiliar to most users) to be of practical use here.\n\nThe following JavaScript- and Perl-compatible regular expression is an implementation of the\n above definition.\n\n```\n/^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/\n```\n\nA valid email address list is a set of\n comma-separated tokens, where each token is itself a valid email address.\n To obtain the list of tokens from a valid email address list, an\n implementation must [split the string on\n commas](https://infra.spec.whatwg.org/#split-on-commas).\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `dirname`,\n `list`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`, and\n `size` content attributes;\n `list` and\n `value` IDL attributes;\n `select()` method.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `max`,\n `min`,\n `popovertarget`,\n `popovertargetaction`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()` and\n `stepUp()` methods.\n\n###### 4.10.5.1.6 Password state (`type=password`)\n\n[Element/input/password](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera2+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer2+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Password state, the rules in this section\n apply.\n\nThe `input` element represents a one line plain text edit control for\n the element's value. The user agent should obscure the value\n so that people other than the user cannot see it.\n\nIf the element is mutable, its value should be editable by the user. User agents must not allow\n users to insert U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the value.\n\nThe `value` attribute, if specified, must have a value that\n contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters.\n\n**The value sanitization algorithm is as follows**: [Strip\n newlines](https://infra.spec.whatwg.org/#strip-newlines) from the value.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `dirname`,\n `maxlength`,\n `minlength`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`, and\n `size` content attributes;\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `value` IDL attributes;\n `select()`,\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `min`,\n `multiple`,\n `popovertarget`,\n `popovertargetaction`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `list`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `stepDown()` and\n `stepUp()` methods.\n\n###### 4.10.5.1.7 Date state (`type=date`)\n\n[Element/input/date](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date)\n\nSupport in all current engines.\n\nFirefox57+ Safari14.1+ Chrome20+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS5+ Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nWhen an `input` element's `type` attribute is in\n the Date state, the rules in this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a specific date.\n\nIf the element is mutable, the user agent should allow the\n user to change the date represented by its value, as obtained by parsing a\n date from it. User agents must not allow the user to set the value to a non-empty string that is not a valid date\n string. If the user agent provides a user interface for selecting a date, then the value must be set\n to a valid date string representing the user's selection. User agents should allow\n the user to set the value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the user\n agent cannot convert to a valid date string, the control is suffering from bad\n input.\n\nSee the introduction section for a discussion of\n the difference between the input format and submission format for date, time, and number form\n controls, and the implementation notes\n regarding localization of form controls.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid date string.\n\n**The value sanitization algorithm is as follows**: If the value of the element is not a valid date string, then\n set it to the empty string instead.\n\nThe `min` attribute, if specified, must have a value that is\n a valid date string. The `max` attribute, if\n specified, must have a value that is a valid date string.\n\nThe `step` attribute is expressed in days. The step scale factor is 86,400,000\n (which converts the days to milliseconds, as used in the other algorithms). The default step is 1 day.\n\nWhen the element is suffering from a step mismatch, the user agent may round the\n element's value to the nearest date for which the element would not suffer from a step mismatch.\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If parsing a date from input results in an\n error, then return an error; otherwise, return the number of milliseconds elapsed from midnight\n UTC on the morning of 1970-01-01 (the time represented by the value \"`1970-01-01T00:00:00.0Z`\") to midnight UTC on the morning of the parsed date, ignoring leap seconds.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return a\n valid date string that represents the date that, in\n UTC, is current input milliseconds after midnight UTC on the morning of\n 1970-01-01 (the time represented by the value \"`1970-01-01T00:00:00.0Z`\").\n\n**The algorithm to convert a string to a\n `Date` object, given a string input, is as follows**:\n If parsing a date from input results\n in an error, then return an error; otherwise, return a new\n `Date` object representing midnight UTC on the morning of the parsed date.\n\n**The algorithm to convert a\n `Date` object to a string, given a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object input, is\n as follows**: Return a valid date string that represents the date current at the time represented by input in the UTC\n time zone.\n\nThe Date state (and other date- and time-related\n states described in subsequent sections) is not intended for the entry of values for which a\n precise date and time relative to the contemporary calendar cannot be established. For example,\n it would be inappropriate for the entry of times like \"one millisecond after the big bang\", \"the\n early part of the Jurassic period\", or \"a winter around 250 BCE\".\n\nFor the input of dates before the introduction of the Gregorian calendar, authors are\n encouraged to not use the Date state (and the other\n date- and time-related states described in subsequent sections), as user agents are not required\n to support converting dates and times from earlier periods to the Gregorian calendar, and asking\n users to do so manually puts an undue burden on users. (This is complicated by the manner in\n which the Gregorian calendar was phased in, which occurred at different times in different\n countries, ranging from partway through the 16th century all the way to early in the 20th.)\n Instead, authors are encouraged to provide fine-grained input controls using the\n `select` element and `input` elements with the Number state.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`,\n `readonly`,\n `required`, and\n `step` content attributes;\n `list`,\n `value`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `selectionStart`,\n `selectionEnd`, and\n `selectionDirection` IDL attributes;\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\n###### 4.10.5.1.8 Month state (`type=month`)\n\n[Element/input/month](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/month)\n\nSupport in all current engines.\n\nFirefoxNo SafariNo Chrome20+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android18+ Safari iOSYes Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Month state, the rules in this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a specific month.\n\nIf the element is mutable, the user agent should allow the\n user to change the month represented by its value, as obtained by parsing a\n month from it. User agents must not allow the user to set the value to a non-empty string that is not a valid month\n string. If the user agent provides a user interface for selecting a month, then the value must be\n set to a valid month string representing the user's selection. User agents should\n allow the user to set the value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the user\n agent cannot convert to a valid month string, the control is suffering from bad\n input.\n\nSee the introduction section for a discussion of\n the difference between the input format and submission format for date, time, and number form\n controls, and the implementation notes\n regarding localization of form controls.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid month string.\n\n**The value sanitization algorithm is as follows**: If the value of the element is not a valid month string,\n then set it to the empty string instead.\n\nThe `min` attribute, if specified, must have a value that is\n a valid month string. The `max` attribute, if\n specified, must have a value that is a valid month string.\n\nThe `step` attribute is expressed in months. The step scale factor is 1 (there is no\n conversion needed as the algorithms use months). The default step is 1 month.\n\nWhen the element is suffering from a step mismatch, the user agent may round the\n element's value to the nearest month for which the element would not suffer from a step mismatch.\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If parsing a month from input results in an\n error, then return an error; otherwise, return the number of months between January 1970 and the\n parsed month.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return a\n valid month string that represents the month that\n has input months between it and January 1970.\n\n**The algorithm to convert a string to a\n `Date` object, given a string input, is as follows**:\n If parsing a month from input\n results in an error, then return an error; otherwise, return a\n new `Date` object representing midnight UTC on the morning of the first day of\n the parsed month.\n\n**The algorithm to convert a\n `Date` object to a string, given a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object input, is\n as follows**: Return a valid month string that represents the month current at the time represented by input in the UTC\n time zone.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`,\n `readonly`,\n `required`, and\n `step` content attributes;\n `list`,\n `value`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`, and\n `selectionDirection` IDL attributes;\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\n###### 4.10.5.1.9 Week state (`type=week`)\n\n[Element/input/week](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/week)\n\nFirefoxNo SafariNo Chrome20+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android18+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Week state, the rules in this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a specific week.\n\nIf the element is mutable, the user agent should allow the\n user to change the week represented by its value, as obtained by parsing a\n week from it. User agents must not allow the user to set the value to a non-empty string that is not a valid week\n string. If the user agent provides a user interface for selecting a week, then the value must be set\n to a valid week string representing the user's selection. User agents should allow\n the user to set the value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the user\n agent cannot convert to a valid week string, the control is suffering from bad\n input.\n\nSee the introduction section for a discussion of\n the difference between the input format and submission format for date, time, and number form\n controls, and the implementation notes\n regarding localization of form controls.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid week string.\n\n**The value sanitization algorithm is as follows**: If the value of the element is not a valid week string, then\n set it to the empty string instead.\n\nThe `min` attribute, if specified, must have a value that is\n a valid week string. The `max` attribute, if\n specified, must have a value that is a valid week string.\n\nThe `step` attribute is expressed in weeks. The step scale factor is 604,800,000\n (which converts the weeks to milliseconds, as used in the other algorithms). The default step is 1 week. The default step base is −259,200,000 (the start\n of week 1970-W01).\n\nWhen the element is suffering from a step mismatch, the user agent may round the\n element's value to the nearest week for which the element would not suffer from a step mismatch.\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If parsing a week string from input results in\n an error, then return an error; otherwise, return the number of milliseconds elapsed from midnight\n UTC on the morning of 1970-01-01 (the time represented by the value \"`1970-01-01T00:00:00.0Z`\") to midnight UTC on the morning of the Monday of the\n parsed week, ignoring leap seconds.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return a\n valid week string that represents the week that, in\n UTC, is current input milliseconds after midnight UTC on the morning of\n 1970-01-01 (the time represented by the value \"`1970-01-01T00:00:00.0Z`\").\n\n**The algorithm to convert a string to a\n `Date` object, given a string input, is as follows**: If parsing a week from input results in an error, then\n return an error; otherwise, return a new `Date`\n object representing midnight UTC on the morning of the Monday of the parsed week.\n\n**The algorithm to convert a\n `Date` object to a string, given a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object input, is\n as follows**: Return a valid week string that represents the week current at the time represented by input in the UTC\n time zone.\n\nThe following common `input` element content attributes, IDL attributes, and\n methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`,\n `readonly`,\n `required`, and\n `step` content attributes;\n `list`,\n `value`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `value` IDL attribute is in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`, and\n `selectionDirection` IDL attributes;\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\n###### 4.10.5.1.10 Time state (`type=time`)\n\n[Element/input/time](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time)\n\nSupport in all current engines.\n\nFirefox57+ Safari14.1+ Chrome20+\n\n---\n\nOpera10+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS5+ Chrome Android? WebView Android? Samsung Internet? Opera Android10.1+\n\nWhen an `input` element's `type` attribute is in\n the Time state, the rules in this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a specific time.\n\nIf the element is mutable, the user agent should allow the\n user to change the time represented by its value, as obtained by parsing a\n time from it. User agents must not allow the user to set the value to a non-empty string that is not a valid time\n string. If the user agent provides a user interface for selecting a time, then the value must be set\n to a valid time string representing the user's selection. User agents should allow\n the user to set the value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the user\n agent cannot convert to a valid time string, the control is suffering from bad\n input.\n\nSee the introduction section for a discussion of\n the difference between the input format and submission format for date, time, and number form\n controls, and the implementation notes\n regarding localization of form controls.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid time string.\n\n**The value sanitization algorithm is as follows**: If the value of the element is not a valid time string, then\n set it to the empty string instead.\n\nThe form control has a periodic domain.\n\nThe `min` attribute, if specified, must have a value that is\n a valid time string. The `max` attribute, if\n specified, must have a value that is a valid time string.\n\nThe `step` attribute is expressed in seconds. The step scale factor is 1000 (which\n converts the seconds to milliseconds, as used in the other algorithms). The default step is 60 seconds.\n\nWhen the element is suffering from a step mismatch, the user agent may round the\n element's value to the nearest time for which the element would not suffer from a step mismatch.\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If parsing a time from input results in an\n error, then return an error; otherwise, return the number of milliseconds elapsed from midnight to\n the parsed time on a day with no time changes.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return a\n valid time string that represents the time that is\n input milliseconds after midnight on a day with no time changes.\n\n**The algorithm to convert a string to a\n `Date` object, given a string input, is as\n follows**: If parsing a time from\n input results\n in an error, then return an error; otherwise, return a new\n `Date` object representing the parsed time in\n UTC on 1970-01-01.\n\n**The algorithm to convert a\n `Date` object to a string, given a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object input, is\n as follows**: Return a valid time string that represents the UTC time component that is represented by input.\n\nThe following common `input` element content attributes, IDL attributes, and\n methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`,\n `readonly`,\n `required`, and\n `step` content attributes;\n `list`,\n `value`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `value` IDL attribute is in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`, and\n `selectionDirection` IDL attributes;\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\n###### 4.10.5.1.11 Local Date and Time state (`type=datetime-local`)\n\n[Element/input/datetime-local](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local)\n\nSupport in all current engines.\n\nFirefox93+ Safari14.1+ Chrome20+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS5+ Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nWhen an `input` element's `type` attribute is in\n the Local Date and Time state, the rules in\n this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a local date and time, with no time-zone offset\n information.\n\nIf the element is mutable, the user agent should allow the\n user to change the date and time represented by its\n value, as obtained by parsing a date and time from it. User agents must not allow the user to set\n the value to a non-empty string that is not a valid\n normalized local date and time string. If the user agent provides a user interface for\n selecting a local date and time, then the value must be set to a valid normalized local date and time\n string representing the user's selection. User agents should allow the user to set the\n value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the user\n agent cannot convert to a valid normalized local date and time string, the control is\n suffering from bad input.\n\nSee the introduction section for a discussion of\n the difference between the input format and submission format for date, time, and number form\n controls, and the implementation notes\n regarding localization of form controls.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid local date and time string.\n\n**The value sanitization algorithm is as follows**: If the value of the element is a valid local date and time\n string, then set it to a valid normalized local date and time string\n representing the same date and time; otherwise, set it to the empty string instead.\n\nThe `min` attribute, if specified, must have a value that is\n a valid local date and time string. The `max`\n attribute, if specified, must have a value that is a valid local date and time\n string.\n\nThe `step` attribute is expressed in seconds. The step scale factor is 1000 (which\n converts the seconds to milliseconds, as used in the other algorithms). The default step is 60 seconds.\n\nWhen the element is suffering from a step mismatch, the user agent may round the\n element's value to the nearest local date and time for which the element would not suffer from a step mismatch.\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If parsing a date and time from input results in an error, then return an error; otherwise, return the number of\n milliseconds elapsed from midnight on the morning of 1970-01-01 (the time represented by the value\n \"`1970-01-01T00:00:00.0`\") to the parsed local date and time, ignoring leap seconds.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return a\n valid normalized local date and time string that represents the date and time that is\n input milliseconds after midnight on the morning of 1970-01-01 (the time\n represented by the value \"`1970-01-01T00:00:00.0`\").\n\nSee the note on historical dates in the\n Date state section.\n\nThe following common `input` element content\n attributes, IDL attributes, and methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`,\n `readonly`,\n `required`, and\n `step` content attributes;\n `list`,\n `value`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `value` IDL attribute is\n in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not\n apply to the element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the\n element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `valueAsDate` IDL attributes;\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\nThe following example shows part of a flight booking application. The application uses an\n `input` element with its `type` attribute set to\n `datetime-local`, and it then interprets the\n given date and time in the time zone of the selected airport.\n\n```\n
    Destination

    \n```\n\n###### 4.10.5.1.12 Number state (`type=number`)\n\n[Element/input/number](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number)\n\nSupport in all current engines.\n\nFirefox29+ Safari5.1+ Chrome7+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Number state, the rules in this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a number.\n\nIf the element is mutable, the user agent should allow the\n user to change the number represented by its value, as\n obtained from applying the rules for parsing floating-point number values to it. User\n agents must not allow the user to set the value to a\n non-empty string that is not a valid floating-point number. If the user agent\n provides a user interface for selecting a number, then the value must be set to the best representation of the number representing the user's\n selection as a floating-point number. User agents should allow the user to set the value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the user\n agent cannot convert to a valid floating-point number, the control is suffering\n from bad input.\n\nThis specification does not define what user interface user agents are to use;\n user agent vendors are encouraged to consider what would best serve their users' needs. For\n example, a user agent in Persian or Arabic markets might support Persian and Arabic numeric input\n (converting it to the format required for submission as described above). Similarly, a user agent\n designed for Romans might display the value in Roman numerals rather than in decimal; or (more\n realistically) a user agent designed for the French market might display the value with\n apostrophes between thousands and commas before the decimals, and allow the user to enter a value\n in that manner, internally converting it to the submission format described above.\n\nThe `value` attribute, if specified and not empty, must\n have a value that is a valid floating-point number.\n\n**The value sanitization algorithm is as follows**: If the value of the element is not a valid floating-point\n number, then set it to the empty string instead.\n\nThe `min` attribute, if specified, must have a value that is\n a valid floating-point number. The `max` attribute,\n if specified, must have a value that is a valid floating-point number.\n\nThe step scale factor is\n 1. The default step is 1 (allowing only\n integers to be selected by the user, unless the step\n base has a non-integer value).\n\nWhen the element is suffering from a step mismatch, the user agent may round the\n element's value to the nearest number for which the element\n would not suffer from a step mismatch. If\n there are two such numbers, user agents are encouraged to pick the one nearest positive\n infinity.\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If applying the\n rules for parsing floating-point number values to input results\n in an error, then return an error; otherwise, return the resulting number.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return a\n valid floating-point number that represents input.\n\nThe following common `input` element content attributes, IDL attributes, and\n methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`,\n `placeholder`,\n `readonly`,\n `required`, and\n `step` content attributes;\n `list`,\n `value`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `value` IDL attribute is in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `popovertarget`,\n `popovertargetaction`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `valueAsDate` IDL attributes;\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\nHere is an example of using a numeric input control:\n\n```\n\n```\n\nAs described above, a user agent might support numeric input in the user's local format,\n converting it to the format required for submission as described above. This might include\n handling grouping separators (as in \"872,000,000,000\") and various decimal separators (such as\n \"3,99\" vs \"3.99\") or using local digits (such as those in Arabic, Devanagari, Persian, and\n Thai).\n\nThe `type=number` state\n is not appropriate for input that happens to only consist of numbers but isn't strictly speaking a\n number. For example, it would be inappropriate for credit card numbers or US postal codes. A\n simple way of determining whether to use `type=number` is to consider whether\n it would make sense for the input control to have a spinbox interface (e.g. with \"up\" and \"down\"\n arrows). Getting a credit card number wrong by 1 in the last digit isn't a minor mistake, it's as\n wrong as getting every digit incorrect. So it would not make sense for the user to select a credit\n card number using \"up\" and \"down\" buttons. When a spinbox interface is not appropriate, `type=text` is probably the right choice (possibly with an `inputmode` or `pattern`\n attribute).\n\n###### 4.10.5.1.13 Range state (`type=range`)\n\n[Element/input/range](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range)\n\nSupport in all current engines.\n\nFirefox23+ Safari3.1+ Chrome4+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android52+ Safari iOS5+ Chrome Android57+ WebView Android4.4+ Samsung Internet? Opera Android11+\n\nWhen an `input` element's `type` attribute is in\n the Range state, the rules in this section apply.\n\nThe `input` element represents a control for setting the element's\n value to a string representing a number, but with the\n caveat that the exact value is not important, letting UAs provide a simpler interface than they\n do for the Number state.\n\nIf the element is mutable, the user agent should allow the\n user to change the number represented by its value, as\n obtained from applying the rules for parsing floating-point number values to it.\n User agents must not allow the user to set the value to a\n string that is not a valid floating-point number. If the user agent provides a user\n interface for selecting a number, then the value must be\n set to a best\n representation of the number representing the user's selection as a floating-point\n number. User agents must not allow the user to set the value to the empty string.\n\n**Constraint validation**: While the user interface describes input that the\n user agent cannot convert to a valid floating-point number, the control is\n suffering from bad input.\n\nThe `value` attribute, if specified, must have a value\n that is a valid floating-point number.\n\n**The value sanitization algorithm is as follows**: If the value of the element is not a valid floating-point\n number, then set it to the best representation, as a floating-point number, of the default value.\n\nThe default value is the minimum plus half the difference between the minimum and the maximum, unless the maximum is less than the minimum, in which case the default value is the minimum.\n\nWhen the element is suffering from an underflow, the user agent must set the\n element's value to the best representation, as a floating-point\n number, of the minimum.\n\nWhen the element is suffering from an overflow, if the maximum is not less than the minimum, the user agent must set the element's value to a valid floating-point number that\n represents the maximum.\n\nWhen the element is suffering from a step mismatch, the user agent must round\n the element's value to the nearest number for which the\n element would not suffer from a step\n mismatch, and which is greater than or equal to the minimum, and, if the maximum is not less than the minimum, which is less than or equal to the maximum, if there is a number that matches these constraints.\n If two numbers match these constraints, then user agents must use the one nearest to positive\n infinity.\n\nFor example, the markup\n ``\n results in a range control whose initial value is 60.\n\nHere is an example of a range control using an autocomplete list with the `list` attribute. This could be useful if there are values along\n the full range of the control that are especially important, such as preconfigured light levels\n or typical speed limits in a range control used as a speed control. The following markup\n fragment:\n\n```\n \n```\n\n...with the following style sheet applied:\n\n```\ninput { writing-mode: vertical-lr; height: 75px; width: 49px; background: #D5CCBB; color: black; }\n```\n\n...might render as:\n\nNote how the UA determined the orientation of the control from the ratio of the\n style-sheet-specified height and width properties. The colors were similarly derived from the\n style sheet. The tick marks, however, were derived from the markup. In particular, the `step` attribute has not affected the placement of tick marks,\n the UA deciding to only use the author-specified completion values and then adding longer tick\n marks at the extremes.\n\nNote also how the invalid value `++50` was ignored.\n\nFor another example, consider the following markup fragment:\n\n```\n\n```\n\nA user agent could display in a variety of ways, for instance:\n\nOr, alternatively, for instance:\n\nThe user agent could pick which one to display based on the dimensions given in the style\n sheet. This would allow it to maintain the same resolution for the tick marks, despite the\n differences in width.\n\nFinally, here is an example of a range control with two labeled values:\n\n```\n \n```\n\nWith styles that make the control draw vertically, it might look as follows:\n\nIn this state, the range and step constraints are enforced even during user input,\n and there is no way to set the value to the empty string.\n\nThe `min` attribute, if specified, must have a value that is\n a valid floating-point number. The default\n minimum is 0. The `max` attribute, if specified, must\n have a value that is a valid floating-point number. The default maximum is 100.\n\nThe step scale factor is\n 1. The default step is 1 (allowing only\n integers, unless the `min` attribute has a non-integer\n value).\n\n**The algorithm to convert a string to a\n number, given a string input, is as follows**: If applying the\n rules for parsing floating-point number values to input results\n in an error, then return an error; otherwise, return the resulting number.\n\n**The algorithm to convert a number to a\n string, given a number input, is as follows**: Return the best representation, as a\n floating-point number, of input.\n\nThe following common `input` element content attributes, IDL attributes, and\n methods apply to the element:\n `autocomplete`,\n `list`,\n `max`,\n `min`, and\n `step` content attributes;\n `list`,\n `value`, and\n `valueAsNumber` IDL attributes;\n `stepDown()` and\n `stepUp()` methods.\n\nThe `value` IDL attribute is in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `maxlength`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `readonly`,\n `required`,\n `size`,\n `src`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`, and\n `valueAsDate` IDL attributes;\n `select()`,\n `setRangeText()`, and\n `setSelectionRange()` methods.\n\n###### 4.10.5.1.14 Color state (`type=color`)\n\n[Element/input/color](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color)\n\nSupport in all current engines.\n\nFirefox29+ Safari12.1+ Chrome20+\n\n---\n\nOpera12+ Edge79+\n\n---\n\nEdge (Legacy)14+ Internet ExplorerNo\n\n---\n\nFirefox Android🔰 27+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12+\n\nWhen an `input` element's `type` attribute is in\n the Color state, the rules in this section apply.\n\nThe `input` element represents a color well control, for setting the\n element's value to a string representing the serialization\n of a CSS color.\n\nIn this state, there is always a CSS color picked, and there is no way for the end\n user to set the value to the empty string.\n\nThe `alpha` attribute\n is a boolean attribute. If present, it indicates the CSS color's alpha component can\n be manipulated by the end user and does not have to be fully opaque.\n\nThe `colorspace`\n attribute indicates the color space of the serialized CSS color. It also hints at the desired user\n interface for selecting a CSS color. It is an enumerated attribute with the following\n keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `limited-srgb` | Limited sRGB | The CSS color is converted to the ['srgb'](https://drafts.csswg.org/css-color/#valdef-color-srgb) color space and limited to 8-bits per\n component, e.g., \"`#123456`\" or \"`color(srgb 0 1 0 / 0.5)`\". |\n| `display-p3` | Display P3 | The CSS color is converted to the ['display-p3'](https://drafts.csswg.org/css-color/#valdef-color-display-p3) color space, e.g., \"`color(display-p3 1.84 -0.19 0.72 / 0.6)`\". |\n\nThe attribute's *missing value default* and *invalid value default* are both the Limited sRGB state.\n\nWhenever the element's `alpha` or `colorspace` attributes are changed, the user agent must run\n update a color well control color given the element.\n\nIf the element is mutable, the user agent should allow the\n user to change the color represented by its value, as\n obtained from [parsing](https://drafts.csswg.org/css-color/#parse-a-css-color-value) it. User agents must not\n allow the user to set the value to a string that running\n update a color well control color for the element would not set it to. If the user\n agent provides a user interface for selecting a CSS color, then the value must be set to the result of serializing a color well control color given the element and the\n end user's selection.\n\nThe input activation behavior for such an element element is to\n show the picker, if applicable, for element.\n\n**Constraint validation**: While the element's value is not the empty string and [parsing](https://drafts.csswg.org/css-color/#parse-a-css-color-value) it returns failure, the control is suffering from bad\n input.\n\nThe `value` attribute, if specified and not the empty\n string, must have a value that is a CSS color.\n\n**The value sanitization algorithm is as follows**: Run update\n a color well control color for the element.\n\nTo update a color well control color, given an element element:\n\n1. [Assert](https://infra.spec.whatwg.org/#assert): element is an `input` element whose `type` attribute is in the Color state.\n2. Let value be the result of running these steps:\n 1. If element's dirty value flag is\n false, then return the result of [getting an attribute by namespace and\n local name](https://dom.spec.whatwg.org/#concept-element-attributes-get-by-namespace) given null, \"`value`\", and element.\n 2. Return element's value.\n3. Let color be the result of\n [parsing](https://drafts.csswg.org/css-color/#parse-a-css-color-value) value.\n4. If color is failure, then set color to [opaque\n black](https://drafts.csswg.org/css-color/#opaque-black).\n5. Set element's value to the result of serializing a color well control color given\n element and color.\n\nTo serialize a color well control color, given an element element and a\n CSS color color:\n\n1. [Assert](https://infra.spec.whatwg.org/#assert): element is an `input` element whose `type` attribute is in the Color state.\n2. Let htmlCompatible be false.\n3. If element's `alpha` attribute is not\n specified, then set color's alpha component to be fully opaque.\n4. If element's `colorspace` attribute is\n in the Limited sRGB state:\n 1. Set color to color [converted](https://drafts.csswg.org/css-color/#color-conversion) to the ['srgb'](https://drafts.csswg.org/css-color/#valdef-color-srgb) color space.\n 2. Round each of color's components so they are in the range 0 to 255,\n inclusive. Components are to be [rounded towards +∞](https://drafts.csswg.org/css-values-4/#combine-integers).\n 3. If element's `alpha` attribute is not\n specified, then set htmlCompatible to true. This intentionally uses a different serialization path for compatibility with\n an earlier version of the color well control.\n 4. Otherwise, set color to color converted using the\n ['color()'](https://drafts.csswg.org/css-color/#color-function) function.\n5. Otherwise:\n 1. [Assert](https://infra.spec.whatwg.org/#assert): element's `colorspace` attribute is in the Display P3 state.\n 2. Set color to color [converted](https://drafts.csswg.org/css-color/#color-conversion) to the ['display-p3'](https://drafts.csswg.org/css-color/#valdef-color-display-p3) color space.\n6. Return the result of [serializing](https://drafts.csswg.org/css-color/#serializing-color-values) color. If htmlCompatible is true, then do so with [HTML-compatible serialization\n requested](https://drafts.csswg.org/css-color/#color-serialization-html-compatible-serialization-is-requested).\n\nThe following common `input` element content attributes and IDL attributes apply to the element:\n `alpha`,\n `autocomplete`,\n `colorspace`, and\n `list` content attributes;\n `list` and\n `value` IDL attributes;\n `select()` method.\n\nThe `value` IDL attribute is in mode value.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alt`,\n `checked`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `readonly`,\n `required`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate` and,\n `valueAsNumber` IDL attributes;\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\n###### 4.10.5.1.15 Checkbox state (`type=checkbox`)\n\n[Element/input/checkbox](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Checkbox state, the rules in this section\n apply.\n\nThe `input` element represents a two-state control that represents the\n element's checkedness state. If the element's checkedness state is true, the control represents a positive\n selection, and if it is false, a negative selection. If the element's indeterminateness is true, then the\n control's selection should be obscured.\n\nThe input activation behavior is to run the following steps:\n\n1. If the element is not [connected](https://dom.spec.whatwg.org/#connected), then return.\n2. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the element with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)`\n attributes initialized to true.\n3. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change` at the element with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` attribute initialized to true.\n\n**Constraint validation**: If the element is *required* and its checkedness is false, then the element is suffering from\n being missing.\n\n`input.indeterminate [ = value ]`\n\nWhen set, overrides the rendering of checkbox\n controls so that the current value is not visible.\n\nThe following common `input` element content attributes and IDL attributes apply to the element:\n `checked`, and\n `required` content attributes;\n `checked` and\n `value` IDL attributes.\n\nThe `value` IDL attribute is in mode default/on.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `autocomplete`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `readonly`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\n###### 4.10.5.1.16 Radio Button state (`type=radio`)\n\n[Element/input/radio](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Radio Button state, the rules in this section\n apply.\n\nThe `input` element represents a control that, when used in conjunction\n with other `input` elements, forms a *radio button group* in which only one\n control can have its checkedness state set to true. If\n the element's checkedness state is true, the control\n represents the selected control in the group, and if it is false, it indicates a control in the\n group that is not selected.\n\nThe *radio button group* that contains an `input` element\n a also contains all the other `input` elements b that fulfill all\n of the following conditions:\n\n- The `input` element b 's `type` attribute is in the Radio\n Button state.\n- Either a and b have the same form owner ,\n or they both have no form owner .\n- Both a and b are in the same [tree](https://dom.spec.whatwg.org/#concept-tree) .\n- They both have a `name` attribute, their `name` attributes are not empty, and the value of a 's `name` attribute equals the value of b 's `name` attribute.\n\nA [tree](https://dom.spec.whatwg.org/#concept-tree) must not contain an `input` element whose *radio button group* contains only that element.\n\nWhen any of the following phenomena occur, if the element's checkedness state is true after the occurrence, the checkedness state of all the other elements in the same *radio\n button group* must be set to false:\n\n- The element's checkedness state is set to true (for\n whatever reason).\n- The element's `name` attribute is set, changed, or\n removed.\n- The element's form owner changes.\n- A type change is signalled for the element.\n- The element becomes connected .\n\nThe input activation behavior is to run the following steps:\n\n1. If the element is not [connected](https://dom.spec.whatwg.org/#connected), then return.\n2. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the element with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)`\n attributes initialized to true.\n3. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change` at the element with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` attribute initialized to true.\n\n**Constraint validation**: If an element in the *radio button group* is *required*, and all of the\n `input` elements in the *radio button group* have a\n checkedness that is false, then the element is\n suffering from being missing.\n\nThe following example, for some reason, has specified that puppers are both required and disabled:\n\n```\n

    \n```\n\nIf the user tries to submit this form without first selecting \"Doggo\", then *both* `input` elements will be suffering from being missing, since an element\n in the radio button group is required\n (viz. the first element), and both of the elements in the radio button group have a false checkedness.\n\nOn the other hand, if the user selects \"Doggo\" and then submits the form, then neither\n `input` element will be suffering from being missing, since while one of\n them is required, not all of them have a false checkedness.\n\nIf none of the radio buttons in a radio button group are checked,\n then they will all be initially unchecked in the interface, until such time as one of them is\n checked (either by the user or by script).\n\nThe following common `input` element content attributes and IDL attributes apply to the element:\n `checked` and\n `required` content attributes;\n `checked` and\n `value` IDL attributes.\n\nThe `value` IDL attribute is in mode default/on.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `autocomplete`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `popovertarget`,\n `popovertargetaction`,\n `readonly`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\n###### 4.10.5.1.17 File Upload state (`type=file`)\n\n[Element/input/file](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera11+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android11+\n\nWhen an `input` element's `type` attribute is in\n the File Upload state, the rules in this section\n apply.\n\nThe `input` element represents a list of selected files, each file consisting of a\n filename, a file type, and a file body (the contents of the file).\n\nFilenames must not contain path components, even\n in the case that a user has selected an entire directory hierarchy or multiple files with the same\n name from different directories. Path components, for\n the purposes of the File Upload state, are those parts\n of filenames that are separated by U+005C REVERSE SOLIDUS character (\\) characters.\n\nUnless the `multiple` attribute is set, there must be\n no more than one file in the list of selected\n files.\n\nThe input activation behavior for such an element element is to\n show the picker, if applicable, for element.\n\nIf the element is mutable, the user agent should allow the\n user to change the files on the list in other ways also, e.g., adding or removing files by\n drag-and-drop. When the user does so, the user agent must update the file selection\n for the element.\n\nIf the element is not mutable, the user agent must not allow\n the user to change the element's selection.\n\nTo update the file selection for an element element:\n\n1. Queue an element task on the user interaction task source given\n element and the following steps:\n 1. Update element's selected\n files so that it represents the user's selection.\n 2. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the `input` element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)`\n attributes initialized to true.\n 3. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change` at the `input` element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` attribute initialized to true.\n\n**Constraint validation**: If the element is *required* and the list of selected files is empty, then the element is\n suffering from being missing.\n\n---\n\n[Attributes/accept](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[Element/input#attr-accept](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept)\n\nSupport in all current engines.\n\nFirefox37+ Safari11.1+ Chrome26+\n\n---\n\nOpera15+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android37+ Safari iOS11.3+ Chrome Android26+ WebView Android4.4+ Samsung Internet1.5+ Opera Android15+\n\nThe `accept`\n attribute may be specified to provide user agents with a hint of what file types will be\n accepted.\n\nIf specified, the attribute must consist of a set of comma-separated tokens, each\n of which must be an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for one of the following:\n\nThe string \"`audio/*`\"\n\nIndicates that sound files are accepted.\n\nThe string \"`video/*`\"\n\nIndicates that video files are accepted.\n\nThe string \"`image/*`\"\n\nIndicates that image files are accepted.\n\nA [valid MIME type string with no parameters](https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters)\n\nIndicates that files of the specified type are accepted.\n\nA string whose first character is a U+002E FULL STOP character (.)\n\nIndicates that files with the specified file extension are accepted.\n\nThe tokens must not be [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) matches for any of the other tokens\n (i.e. duplicates are not allowed). To obtain the list of tokens from the\n attribute, the user agent must [split the attribute value on\n commas](https://infra.spec.whatwg.org/#split-on-commas).\n\nUser agents may use the value of this attribute to display a more appropriate user interface\n than a generic file picker. For instance, given the value `image/*`, a user\n agent could offer the user the option of using a local camera or selecting a photograph from their\n photo collection; given the value `audio/*`, a user agent could offer the user\n the option of recording a clip using a headset microphone.\n\nUser agents should prevent the user from selecting files that are not accepted by one (or more)\n of these tokens.\n\nAuthors are encouraged to specify both any MIME types and any corresponding\n extensions when looking for data in a specific format.\n\nFor example, consider an application that converts Microsoft Word documents to Open Document\n Format files. Since Microsoft Word documents are described with a wide variety of MIME types and\n extensions, the site can list several, as follows:\n\n```\n\n```\n\nOn platforms that only use file extensions to describe file types, the extensions listed here\n can be used to filter the allowed documents, while the MIME types can be used with the system's\n type registration table (mapping MIME types to extensions used by the system), if any, to\n determine any other extensions to allow. Similarly, on a system that does not have filenames or\n extensions but labels documents with MIME types internally, the MIME types can be used to pick\n the allowed files, while the extensions can be used if the system has an extension registration\n table that maps known extensions to MIME types used by the system.\n\nExtensions tend to be ambiguous (e.g. there are an untold number of formats\n that use the \"`.dat`\" extension, and users can typically quite easily rename\n their files to have a \"`.doc`\" extension even if they are not Microsoft Word\n documents), and MIME types tend to be unreliable (e.g. many formats have no formally registered\n types, and many formats are in practice labeled using a number of different MIME types). Authors\n are reminded that, as usual, data received from a client should be treated with caution, as it may\n not be in an expected format even if the user is not hostile and the user agent fully obeyed the\n `accept` attribute's requirements.\n\n[Element/input/file](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file)\n\nFor historical reasons, the `value` IDL attribute prefixes\n the filename with the string \"`C:\\fakepath\\`\". Some legacy user agents\n actually included the full path (which was a security vulnerability). As a result of this,\n obtaining the filename from the `value` IDL attribute in a\n backwards-compatible way is non-trivial. The following function extracts the filename in a\n suitably compatible manner:\n\n```\nfunction extractFilename(path) { if (path.substr(0, 12) == \"C:\\\\fakepath\\\\\") return path.substr(12); // modern browser var x;\n x = path.lastIndexOf('/'); if (x >= 0) // Unix-based path return path.substr(x+1);\n x = path.lastIndexOf('\\\\'); if (x >= 0) // Windows-based path return path.substr(x+1); return path; // just the filename }\n```\n\nThis can be used as follows:\n\n```\n

    The name of the file you picked is: (none)

    \n```\n\n---\n\nThe following common `input` element content attributes and IDL attributes apply to the element:\n `accept`,\n `multiple`, and\n `required` content attributes;\n `files` and\n `value` IDL attributes;\n `select()` method.\n\nThe `value` IDL attribute is in mode filename.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `alpha`,\n `alt`,\n `autocomplete`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `pattern`,\n `popovertarget`,\n `popovertargetaction`,\n `placeholder`,\n `readonly`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe element's `value` attribute must be omitted.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\n###### 4.10.5.1.18 Submit Button state (`type=submit`)\n\n[Element/input/submit](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Submit Button state, the rules in this section\n apply.\n\nThe `input` element represents a button that, when activated, submits the\n form. If the element has a `value` attribute,\n the button's label must be the value of that attribute; otherwise, it must be an\n [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) string that means \"Submit\" or some such. The element is\n a button, specifically a submit button.\n\nSince the default label is [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined), and the width of\n the button typically depends on the button's label, the button's width can leak a few bits of\n fingerprintable information. These bits are likely to be strongly correlated to the identity of\n the user agent and the user's locale.\n\nThe element's optional value is the value of\n the element's `value` attribute, if there is one; otherwise\n null.\n\nThe element's input activation behavior given event is as follows:\n\n1. If the element does not have a form owner, then return.\n2. If the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active, then\n return.\n3. Submit the element's form owner\n from the element with *userInvolvement* set to\n event's user navigation involvement.\n\nThe `formaction`, `formenctype`, `formmethod`, `formnovalidate`, and `formtarget` attributes are attributes for form\n submission.\n\nThe `formnovalidate` attribute can be\n used to make submit buttons that do not trigger the constraint validation.\n\nThe following common `input` element content attributes and IDL attributes apply to the element:\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `popovertarget`, and\n `popovertargetaction` content\n attributes; `value` IDL attribute.\n\nThe `value` IDL attribute is in mode default.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `autocomplete`,\n `checked`,\n `colorspace`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events do not apply.\n\n###### 4.10.5.1.19 Image Button state (`type=image`)\n\n[Element/input/image](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Image Button state, the rules in this section\n apply.\n\nThe `input` element represents either an image from which a user can\n select a coordinate and submit the form, or alternatively a button from which the user can submit\n the form. The element is a button, specifically a submit button.\n\nThe coordinate is sent to the server during form submission by sending two entries for the element, derived from the name\n of the control but with \"`.x`\" and \"`.y`\" appended to\n the name with the x and y components of the coordinate respectively.\n\n---\n\n[Element/input#src](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#src)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe image is given by the `src` attribute. The `src`\n attribute must be present, and must contain a valid non-empty URL potentially surrounded by\n spaces referencing a non-interactive, optionally animated, image resource that is neither\n paged nor scripted.\n\nWhen any of these events occur:\n\n- the `input` element's `type` attribute is\n first set to the Image Button state (possibly when\n the element is first created), and the `src` attribute is\n present\n- the `input` element's `type` attribute is\n changed back to the Image Button state, and the `src` attribute is present, and its value has changed since the last\n time the `type` attribute was in the Image Button state\n- the `input` element's `type` attribute is in\n the Image Button state, and the `src` attribute is set or changed\n\nthen unless the user agent cannot support images, or its support for images has been disabled,\n or the user agent only fetches images on demand, or the `src`\n attribute's value is the empty string, run these steps:\n\n1. Let url be the result of encoding-parsing a URL given the `src` attribute's value, relative to the element's [node\n document](https://dom.spec.whatwg.org/#concept-node-document).\n2. If url is failure, then return.\n3. Let request be a new [request](https://fetch.spec.whatwg.org/#concept-request) whose [URL](https://fetch.spec.whatwg.org/#concept-request-url) is url, [client](https://fetch.spec.whatwg.org/#concept-request-client) is the element's [node document](https://dom.spec.whatwg.org/#concept-node-document)'s\n relevant settings object, [destination](https://fetch.spec.whatwg.org/#concept-request-destination) is \"`image`\", [initiator type](https://fetch.spec.whatwg.org/#request-initiator-type) is \"`input`\",\n [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is \"`include`\", and whose [use-URL-credentials flag](https://fetch.spec.whatwg.org/#concept-request-use-url-credentials-flag) is set.\n4. [Fetch](https://fetch.spec.whatwg.org/#concept-fetch) request, with\n *[processResponseEndOfBody](https://fetch.spec.whatwg.org/#fetch-processresponseendofbody)* set to the following steps\n given [response](https://fetch.spec.whatwg.org/#concept-response) response:\n 1. If the download was successful and the image is *available*, queue an element task on the\n user interaction task source given the `input` element to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `load`\n at the `input` element.\n 2. Otherwise, if the fetching process fails without a response from the remote server, or\n completes but the image is not a valid or supported image, then queue an element\n task on the user interaction task source given the `input`\n element to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `error` on the `input` element.\n\nFetching the image must delay the load event of the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) until the\n task that is queued by the\n networking task source once the resource has been fetched (defined below) has been\n run.\n\nIf the image was successfully obtained, with no network errors, and the image's type is a\n supported image type, and the image is a valid image of that type, then the image is said to be\n *available*. If this is true before the image is\n completely downloaded, each task that is queued by the networking task source while the image is being fetched\n must update the presentation of the image appropriately.\n\nThe user agent should apply the [image sniffing\n rules](https://mimesniff.spec.whatwg.org/#rules-for-sniffing-images-specifically) to determine the type of the image, with the image's associated Content-Type headers giving the official\n type. If these rules are not applied, then the type of the image must be the type given by\n the image's associated Content-Type headers.\n\nUser agents must not support non-image resources with the `input` element. User\n agents must not run executable code embedded in the image resource. User agents must only display\n the first page of a multipage resource. User agents must not allow the resource to act in an\n interactive fashion, but should honor any animation in the resource.\n\n---\n\n[Element/input#alt](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#alt)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `alt` attribute\n provides the textual label for the button for users and user agents who cannot use the image. The\n `alt` attribute must be present, and must contain a non-empty\n string giving the label that would be appropriate for an equivalent button if the image was\n unavailable.\n\nThe `input` element supports dimension attributes.\n\n---\n\nIf the `src` attribute is set, and the image is *available* and the user agent is configured to display that image,\n then the element represents a control for selecting a coordinate from the image specified by the\n `src` attribute. In that case, if the element is mutable, the user agent should allow the user to select this coordinate.\n\nOtherwise, the element represents a submit button whose label is given by the\n value of the `alt` attribute.\n\nThe element's input activation behavior given event is as follows:\n\n1. If the element does not have a form owner, then return.\n2. If the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active, then\n return.\n3. If the user activated the control while explicitly selecting a coordinate, then set the\n element's selected coordinate to that\n coordinate. This is only possible under the conditions outlined above, when the element\n represents a control for selecting such a coordinate. Even then, the user\n might activate the control without explicitly selecting a coordinate.\n4. Submit the element's form owner\n from the element with *userInvolvement* set to\n event's user navigation involvement.\n\nThe element's selected coordinate\n consists of an x-component and a y-component. It is initially (0, 0). The\n coordinates represent the position relative to the edge of the element's image, with the\n coordinate space having the positive x direction to the right, and the positive\n y direction downwards.\n\nThe x-component must be a valid integer representing a number\n x in the range −(borderleft+paddingleft) ≤ x ≤ width+borderright+paddingright, where width is the rendered width of the image, borderleft is the width of the border on the left of the image, paddingleft is the width of the padding on the left of the\n image, borderright is the width of the border on the right\n of the image, and paddingright is the width of the padding\n on the right of the image, with all dimensions given in [CSS pixels](https://drafts.csswg.org/css-values/#px).\n\nThe y-component must be a valid integer representing a number\n y in the range −(bordertop+paddingtop) ≤ y ≤ height+borderbottom+paddingbottom, where\n height is the rendered height of the image, bordertop is the width of the border above the image, paddingtop is the width of the padding above the image, borderbottom is the width of the border below the image, and paddingbottom is the width of the padding below the image, with\n all dimensions given in [CSS pixels](https://drafts.csswg.org/css-values/#px).\n\nWhere a border or padding is missing, its width is zero [CSS\n pixels](https://drafts.csswg.org/css-values/#px).\n\n---\n\nThe `formaction`, `formenctype`, `formmethod`, `formnovalidate`, and `formtarget` attributes are attributes for form\n submission.\n\n`image.width [ = value ]`\n\n`image.height [ = value ]`\n\nThese attributes return the rendered dimensions of the image. When the image is not being\n rendered, they return the `width` and `height` content attributes' values, defaulting to the image's\n [natural dimensions](https://drafts.csswg.org/css-images/#natural-dimensions), if any; otherwise 0. They can be set, to change the corresponding content attributes.\n\nThe following common `input` element content attributes and IDL attributes apply to the element:\n `alt`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `popovertarget`,\n `popovertargetaction`,\n `src`, and\n `width` content attributes;\n `value` IDL attribute.\n\nThe `value` IDL attribute is in mode default.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `autocomplete`,\n `checked`,\n `colorspace`,\n `dirname`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`,\n `size`, and\n `step`.\n\nThe element's `value` attribute must be omitted.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events do not apply.\n\nMany aspects of this state's behavior are similar to the behavior of the\n `img` element. Readers are encouraged to read that section, where many of the same\n requirements are described in more detail.\n\nTake the following form:\n\n```\n
    \n```\n\nIf the user clicked on the image at coordinate (127,40) then the URL used to submit the form\n would be \"`process.cgi?where.x=127&where.y=40`\".\n\n(In this example, it's assumed that for users who don't see the map, and who instead just see\n a button labeled \"Show location list\", clicking the button will cause the server to show a list\n of locations to pick from instead of the map.)\n\n###### 4.10.5.1.20 Reset Button state (`type=reset`)\n\n[Element/input/reset](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/reset)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Reset Button state, the rules in this section\n apply.\n\nThe `input` element represents a button that, when activated, resets the\n form. If the element has a `value` attribute,\n the button's label must be the value of that attribute; otherwise, it must be an\n [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) string that means \"Reset\" or some such. The element is\n a button.\n\nSince the default label is [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined), and the width of\n the button typically depends on the button's label, the button's width can leak a few bits of\n fingerprintable information. These bits are likely to be strongly correlated to the identity of\n the user agent and the user's locale.\n\nThe element's input activation behavior is as follows:\n\n1. If the element does not have a form owner, then return.\n2. If the element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active, then\n return.\n3. Reset the form owner from the\n element.\n\n**Constraint validation**: The element is barred from constraint\n validation.\n\nThe `value` IDL attribute applies to this element and is in mode default.\n\nThe following common `input` element content attributes apply to the element:\n `popovertarget` and\n `popovertargetaction`.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `autocomplete`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events do not apply.\n\n###### 4.10.5.1.21 Button state (`type=button`)\n\n[Element/input/button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nWhen an `input` element's `type` attribute is in\n the Button state, the rules in this section apply.\n\nThe `input` element represents a button with no default behavior. A\n label for the button must be provided in the `value`\n attribute, though it may be the empty string. If the element has a `value` attribute, the button's label must be the value of that\n attribute; otherwise, it must be the empty string. The element is a button.\n\nThe element has no input activation behavior.\n\n**Constraint validation**: The element is barred from constraint\n validation.\n\nThe `value` IDL attribute applies to this element and is in mode default.\n\nThe following common `input` element content attributes apply to the element:\n `popovertarget` and\n `popovertargetaction`.\n\nThe following content attributes must not be specified and do not apply to the\n element:\n `accept`,\n `alpha`,\n `alt`,\n `autocomplete`,\n `checked`,\n `colorspace`,\n `dirname`,\n `formaction`,\n `formenctype`,\n `formmethod`,\n `formnovalidate`,\n `formtarget`,\n `height`,\n `list`,\n `max`,\n `maxlength`,\n `min`,\n `minlength`,\n `multiple`,\n `pattern`,\n `placeholder`,\n `readonly`,\n `required`,\n `size`,\n `src`,\n `step`, and\n `width`.\n\nThe following IDL attributes and methods do not apply to the element:\n `checked`,\n `files`,\n `list`,\n `selectionStart`,\n `selectionEnd`,\n `selectionDirection`,\n `valueAsDate`, and\n `valueAsNumber` IDL attributes;\n `select()`,\n `setRangeText()`,\n `setSelectionRange()`,\n `stepDown()`, and\n `stepUp()` methods.\n\nThe `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events do not apply.\n\n##### 4.10.5.2 Implementation notes regarding localization of form controls\n\n*This section is non-normative.*\n\nThe formats shown to the user in date, time, and number controls is independent of the format\n used for form submission.\n\nBrowsers are encouraged to use user interfaces that present dates, times, and numbers according\n to the conventions of either the locale implied by the `input` element's\n language or the user's preferred locale. Using the page's locale will ensure\n consistency with page-provided data.\n\nFor example, it would be confusing to users if an American English page claimed\n that a Cirque De Soleil show was going to be showing on 02/03, but their\n browser, configured to use the British English locale, only showed the date 03/02 in the ticket purchase date picker. Using the page's locale would at least ensure that the\n date was presented in the same format everywhere. (There's still a risk that the user would end up\n arriving a month late, of course, but there's only so much that can be done about such cultural\n differences...)\n\n##### 4.10.5.3 Common `input` element attributes\n\nThese attributes only apply to an `input`\n element if its `type` attribute is in a state whose definition\n declares that the attribute applies. When an attribute\n doesn't apply to an `input` element, user agents must\n ignore the attribute, regardless of the requirements and definitions below.\n\n###### 4.10.5.3.1 The `maxlength` and `minlength` attributes\n\n[Attributes/maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[Attributes/minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength)\n\nSupport in all current engines.\n\nFirefox51+ Safari10.1+ Chrome40+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Attributes/maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome4+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS5+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[Attributes/minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength)\n\nSupport in all current engines.\n\nFirefox51+ Safari10.1+ Chrome40+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\n[Element/input#attr-maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-maxlength)\n\nSupport in all current engines.\n\nFirefox4+ Safari5.1+ Chrome4+\n\n---\n\nOpera15+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android5+ Safari iOS9+ Chrome Android18+ WebView Android4.4+ Samsung Internet1.5+ Opera Android15+\n\n---\n\n[caniuse.com table](https://caniuse.com/#feat=maxlength)\n\nThe `maxlength`\n attribute, when it applies, is a\n form control `maxlength`\n attribute.\n\n[Element/input#attr-minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-minlength)\n\nSupport in all current engines.\n\nFirefox51+ Safari10.1+ Chrome40+\n\n---\n\nOpera27+ Edge79+\n\n---\n\nEdge (Legacy)17+ Internet ExplorerNo\n\n---\n\nFirefox Android51+ Safari iOS10.3+ Chrome Android40+ WebView Android40+ Samsung Internet4.0+ Opera Android27+\n\n---\n\n[caniuse.com table](https://caniuse.com/#feat=input-minlength)\n\nThe `minlength`\n attribute, when it applies, is a\n form control `minlength`\n attribute.\n\nIf the `input` element has a maximum allowed value length, then the\n [length](https://infra.spec.whatwg.org/#string-length) of the value of the element's `value`\n attribute must be less than or equal to the element's maximum allowed value\n length.\n\nThe following extract shows how a messaging client's text entry could be arbitrarily\n restricted to a fixed number of characters, thus forcing any conversation through this medium to\n be terse and discouraging intelligent discourse.\n\n```\n\n```\n\nHere, a password is given a minimum length:\n\n```\n

    \n```\n\n###### 4.10.5.3.2 The `size` attribute\n\nThe `size` attribute\n gives the number of characters that, in a visual rendering, the user agent is to allow the user to\n see while editing the element's value.\n\nThe `size` attribute, if specified, must have a value that\n is a valid non-negative integer greater than zero.\n\nIf the attribute is present, then its value must be parsed using the rules for parsing\n non-negative integers, and if the result is a number greater than zero, then the user agent\n should ensure that at least that many characters are visible.\n\nThe `size` IDL attribute is limited to only positive\n numbers and has a default value of 20.\n\n###### 4.10.5.3.3 The `readonly` attribute\n\n[Attributes/readonly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[Attributes/readonly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer6+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\n[Attributes/readonly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n\nSupport in all current engines.\n\nFirefox1+ Safari≤4+ Chrome1+\n\n---\n\nOpera≤12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer≤6+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android≤12.1+\n\nThe `readonly`\n attribute is a boolean attribute that controls whether or not the user can edit the\n form control. When specified, the element is not mutable.\n\n**Constraint validation**: If the `readonly` attribute is specified on an `input`\n element, the element is barred from constraint validation.\n\nThe difference between `disabled` and `readonly` is that read-only controls can still function,\n whereas disabled controls generally do not function as controls until they are enabled. This is\n spelled out in more detail elsewhere in this specification with normative requirements that refer\n to the disabled concept (for example, the element's\n [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior), whether or not it is a focusable area, or when\n constructing the entry list). Any other behavior related to user interaction with\n disabled controls, such as whether text can be selected or copied, is not defined in this\n standard.\n\nOnly text controls can be made read-only, since for other controls (such as checkboxes and\n buttons) there is no useful distinction between being read-only and being disabled, so the\n `readonly` attribute does not\n apply.\n\nIn the following example, the existing product identifiers cannot be modified, but they are\n still displayed as part of the form, for consistency with the row representing a new product\n (where the identifier is not yet filled in).\n\n```\n

    Product ID Product name Price Action\n
    $
    $
    $

    \n```\n\n###### 4.10.5.3.4 The `required` attribute\n\nThe `required`\n attribute is a boolean attribute. When specified, the element is *required*.\n\n**Constraint validation**: If the element is *required*, and its `value`\n IDL attribute applies and is in the mode value, and the element is mutable, and the element's value is the empty string, then the element is suffering\n from being missing.\n\nThe following form has two required fields, one for an email address and one for a password.\n It also has a third field that is only considered valid if the user types the same password in\n the password field and this third field.\n\n```\n

    Create new account

    \n```\n\nFor radio buttons, the `required` attribute is\n satisfied if any of the radio buttons in the group is\n selected. Thus, in the following example, any of the radio buttons can be checked, not just the\n one marked as required:\n\n```\n
    Did the movie pass the Bechdel test?

    \n```\n\nTo avoid confusion as to whether a radio button group is required or not, authors\n are encouraged to specify the attribute on all the radio buttons in a group. Indeed, in general,\n authors are encouraged to avoid having radio button groups that do not have any initially checked\n controls in the first place, as this is a state that the user cannot return to, and is therefore\n generally considered a poor user interface.\n\n###### 4.10.5.3.5 The `multiple` attribute\n\n[Attributes/multiple](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)\n\nSupport in all current engines.\n\nFirefox3.6+ Safari4+ Chrome2+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[Element/input#attr-multiple](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-multiple)\n\nSupport in all current engines.\n\nFirefox3.6+ Safari4+ Chrome2+\n\n---\n\nOpera≤12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android≤37+ Samsung Internet? Opera Android≤12.1+\n\nThe `multiple`\n attribute is a boolean attribute that indicates whether the user is to be allowed to\n specify more than one value.\n\nThe following extract shows how an email client's \"To\" field could accept multiple email\n addresses.\n\n```\n\n```\n\nIf the user had, amongst many friends in their user contacts database, two friends\n \"Spider-Man\" (with address \"spider@parker.example.net\") and \"Scarlet Witch\" (with address\n \"scarlet@avengers.example.net\"), then, after the user has typed \"s\", the user agent\n might suggest these two email addresses to the user.\n\nThe page could also link in the user's contacts database from the site:\n\n```\n\n...\n \n```\n\nSuppose the user had entered \"bob@example.net\" into this text control, and then\n started typing a second email address starting with \"s\". The user agent might show\n both the two friends mentioned earlier, as well as the \"astrophy\" and \"astronomy\" values given in\n the `datalist` element.\n\nThe following extract shows how an email client's \"Attachments\" field could accept multiple\n files for upload.\n\n```\n\n```\n\n###### 4.10.5.3.6 The `pattern` attribute\n\n[Attributes/pattern](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome4+\n\n---\n\nOpera≤12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android≤37+ Samsung Internet? Opera Android≤12.1+\n\n[Attributes/pattern](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)\n\nSupport in all current engines.\n\nFirefox4+ Safari5+ Chrome4+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nThe `pattern`\n attribute specifies a regular expression against which the control's value, or, when the `multiple` attribute applies and is set, the control's values, are to be checked.\n\nIf specified, the attribute's value must match the JavaScript *[Pattern](https://tc39.es/ecma262/#prod-Pattern)*`[+UnicodeSetsMode, +N]` production.\n\nThe compiled pattern regular expression of an `input` element, if it\n exists, is a JavaScript `[RegExp](https://tc39.es/ecma262/#sec-regexp-regular-expression-objects)` object. It is determined as follows:\n\n1. If the element does not have a `pattern` attribute\n specified, then return nothing. The element has no compiled pattern regular\n expression.\n2. Let pattern be the value of the `pattern` attribute of the element.\n3. Let regexpCompletion be [RegExpCreate](https://tc39.es/ecma262/#sec-regexpcreate)(pattern,\n \"`v`\").\n4. If regexpCompletion is an [abrupt\n completion](https://tc39.es/ecma262/#sec-completion-record-specification-type), then return nothing. The element has no compiled pattern regular\n expression. User agents are encouraged to log this error in a developer console, to aid\n debugging.\n5. Let anchoredPattern be the string \"`^(?:`\", followed by\n pattern, followed by \"`)$`\".\n6. Return ! [RegExpCreate](https://tc39.es/ecma262/#sec-regexpcreate)(anchoredPattern, \"`v`\").\n\nThe reasoning behind these steps, instead of just using the value of the `pattern` attribute directly, is twofold. First, we want to\n ensure that when matched against a string, the regular expression's start is anchored to the start\n of the string and its end to the end of the string. Second, we want to ensure that the regular\n expression is valid in standalone form, instead of only becoming valid after being surrounded by\n the \"`^(?:`\" and \"`)$`\" anchors.\n\nA `[RegExp](https://tc39.es/ecma262/#sec-regexp-regular-expression-objects)` object regexp matches a string input, if !\n [RegExpBuiltinExec](https://tc39.es/ecma262/#sec-regexpbuiltinexec)(regexp, input) is not null.\n\n**Constraint validation**: If the element's value is not the empty string, and either the element's `multiple` attribute is not specified or it does not apply to the `input` element given its `type` attribute's current state, and the element has a\n compiled pattern regular expression but that regular expression does not match the element's value, then the element is suffering from a pattern\n mismatch.\n\n**Constraint validation**: If the element's value is not the empty string, and the element's `multiple` attribute is specified and applies to the `input` element, and the element has\n a compiled pattern regular expression but that regular expression does not match each of the element's values, then the element is suffering from a pattern\n mismatch.\n\nWhen an `input` element has a `pattern`\n attribute specified, authors should include a `title` attribute to give a description of the pattern. User\n agents may use the contents of this attribute, if it is present, when informing the user that the\n pattern is not matched, or at any other suitable time, such as in a tooltip or read out by\n assistive technology when the control gains focus.\n\nFor example, the following snippet:\n\n```\n\n```\n\n...could cause the UA to display an alert such as:\n\n```\nA part number is a digit followed by three uppercase letters.\nYou cannot submit this form when the field is incorrect.\n```\n\nWhen a control has a `pattern` attribute, the `title` attribute, if used, must describe the pattern. Additional\n information could also be included, so long as it assists the user in filling in the control.\n Otherwise, assistive technology would be impaired.\n\nFor instance, if the title attribute contained the caption of the control,\n assistive technology could end up saying something like The text you have entered does not\n match the required pattern. Birthday, which is not useful.\n\nUAs may still show the `title` in non-error situations (for\n example, as a tooltip when hovering over the control), so authors should be careful not to word\n `title`s as if an error has necessarily occurred.\n\n###### 4.10.5.3.7 The `min` and `max` attributes\n\n[Attributes/max](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max)\n\nSupport in all current engines.\n\nFirefox16+ Safari5+ Chrome4+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[Attributes/min](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min)\n\nSupport in all current engines.\n\nFirefox16+ Safari5+ Chrome4+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nSome form controls can have explicit constraints applied limiting the allowed range of values\n that the user can provide. Normally, such a range would be linear and continuous. A form control\n can have a periodic domain, however, in which case the\n form control's broadest possible range is finite, and authors can specify explicit ranges within\n it that span the boundaries.\n\nSpecifically, the broadest range of a `type=time` control is midnight to midnight (24 hours), and\n authors can set both continuous linear ranges (such as 9pm to 11pm) and discontinuous ranges\n spanning midnight (such as 11pm to 1am).\n\nThe `min` and `max` attributes indicate the\n allowed range of values for the element.\n\nTheir syntax is defined by the section that defines the `type` attribute's current state.\n\nIf the element has a `min` attribute, and the result of\n applying the algorithm to convert a string to a\n number to the value of the `min` attribute is a number,\n then that number is the element's minimum; otherwise, if the\n `type` attribute's current state defines a default minimum, then that is the minimum; otherwise, the element has no minimum.\n\nThe `min` attribute also defines the step base.\n\nIf the element has a `max` attribute, and the result of\n applying the algorithm to convert a string to a\n number to the value of the `max` attribute is a number,\n then that number is the element's maximum; otherwise, if the\n `type` attribute's current state defines a default maximum, then that is the maximum; otherwise, the element has no maximum.\n\nIf the element does not have a periodic domain, the\n `max` attribute's value (the maximum) must not be less than the `min` attribute's value (its minimum).\n\nIf an element that does not have a periodic\n domain has a maximum that is less than its minimum, then so long as the element has a value, it will either be suffering from an underflow\n or suffering from an overflow.\n\nAn element has a reversed range if it has a periodic domain and its\n maximum is less than its minimum.\n\nAn element has range limitations if it has a defined\n minimum or a defined maximum.\n\n**Constraint validation**: When the element has a minimum and does not have a\n reversed range, and the result of applying the algorithm to convert a string to a number to\n the string given by the element's value is a number, and\n the number obtained from that algorithm is less than the minimum, the element is suffering from an\n underflow.\n\n**Constraint validation**: When the element has a maximum and does not have a\n reversed range, and the result of applying the algorithm to convert a string to a number to\n the string given by the element's value is a number, and\n the number obtained from that algorithm is more than the maximum, the element is suffering from an\n overflow.\n\n**Constraint validation**: When an element has a reversed range,\n and the result of applying the algorithm to\n convert a string to a number to the string given by the element's value is a number, and the number obtained from that algorithm\n is more than the maximum *and* less than the minimum, the element is simultaneously suffering from an\n underflow and suffering from an overflow.\n\nThe following date control limits input to dates that are before the 1980s:\n\n```\n\n```\n\nThe following number control limits input to whole numbers greater than zero:\n\n```\n\n```\n\nThe following time control limits input to those minutes that occur between 9pm and 6am,\n defaulting to midnight:\n\n```\n\n```\n\n###### 4.10.5.3.8 The `step` attribute\n\n[Attributes/step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)\n\nSupport in all current engines.\n\nFirefox16+ Safari5+ Chrome5+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS4+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nThe `step` attribute\n indicates the granularity that is expected (and required) of the value or values, by\n limiting the allowed values. The section that defines the `type` attribute's current state also defines the default step, the step scale factor, and in some cases the default step base, which are used in processing the\n attribute as described below.\n\nThe `step` attribute, if specified, must either have a\n value that is a valid floating-point number that parses to a number that is greater than zero, or must have a\n value that is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string \"`any`\".\n\nThe attribute provides the allowed value step for the\n element, as follows:\n\n1. If the attribute does not apply, then there is\n no allowed value step.\n2. Otherwise, if the attribute is absent, then the allowed\n value step is the default step multiplied\n by the step scale factor.\n3. Otherwise, if the attribute's value is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the\n string \"`any`\", then there is no allowed\n value step.\n4. Otherwise, if the rules for parsing floating-point number values, when they are\n applied to the attribute's value, return an error, zero, or a number less than zero, then the\n allowed value step is the default step multiplied by the step scale factor.\n5. Otherwise, the allowed value step is the number\n returned by the rules for parsing floating-point number values when they are applied\n to the attribute's value, multiplied by the step scale\n factor.\n\nThe step base is the value returned by the following\n algorithm:\n\n1. If the element has a `min` content attribute, and the\n result of applying the algorithm to convert a\n string to a number to the value of the `min` content\n attribute is not an error, then return that result.\n2. If the element has a `value` content attribute, and\n the result of applying the algorithm to convert\n a string to a number to the value of the `value`\n content attribute is not an error, then return that result.\n3. If a default step base is defined for\n this element given its `type` attribute's state, then return\n it.\n4. Return zero.\n\n**Constraint validation**: When the element has an allowed value step, and the result of applying the algorithm to convert a string to a number to\n the string given by the element's value is a number, and\n that number subtracted from the step base is not an\n integral multiple of the allowed value step, the\n element is suffering from a step mismatch.\n\nThe following range control only accepts values in the range 0..1, and allows 256 steps in\n that range:\n\n```\n\n```\n\nThe following control allows any time in the day to be selected, with any accuracy (e.g.\n thousandth-of-a-second accuracy or more):\n\n```\n\n```\n\nNormally, time controls are limited to an accuracy of one minute.\n\n###### 4.10.5.3.9 The `list` attribute\n\n[Element/input#list](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#list)\n\nSupport in all current engines.\n\nFirefox4+ Safari12.1+ Chrome20+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android4.4.3+ Samsung Internet? Opera Android12.1+\n\nThe `list` attribute is\n used to identify an element that lists predefined options suggested to the user.\n\nIf present, its value must be the [ID](https://dom.spec.whatwg.org/#concept-id) of a `datalist`\n element in the same [tree](https://dom.spec.whatwg.org/#concept-tree).\n\nThe suggestions source element is the first element in\n the [tree](https://dom.spec.whatwg.org/#concept-tree) in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) to have an [ID](https://dom.spec.whatwg.org/#concept-id)\n equal to the value of the `list` attribute, if that element\n is a `datalist` element. If there is no `list`\n attribute, or if there is no element with that [ID](https://dom.spec.whatwg.org/#concept-id), or if the\n first element with that [ID](https://dom.spec.whatwg.org/#concept-id) is not a `datalist`\n element, then there is no suggestions source\n element.\n\nIf there is a suggestions source element, then, when\n the user agent is allowing the user to edit the `input` element's value, the user agent should offer the suggestions represented by\n the suggestions source element to the user in a manner\n suitable for the type of control used. If appropriate, the user agent should use the suggestion's\n label and value to identify the suggestion to the user.\n\nUser agents are encouraged to filter the suggestions represented by the suggestions source element when the number of suggestions is\n large, including only the most relevant ones (e.g. based on the user's input so far). No precise\n threshold is defined, but capping the list at four to seven values is reasonable. If filtering\n based on the user's input, user agents should search within both the label and value\n of the suggestions for matches. User agents should consider how input variations affect the\n matching process. Unicode normalization should be applied so that different underlying Unicode\n code point sequences, caused by different keyboard- or input-specific mechanisms, do not\n interfere with the matching process. Case variations should be ignored, which may require\n language-specific case mapping. For examples of these, see Character Model for the World\n Wide Web: String Matching. User agents may also provide other matching features: for\n illustration, a few examples include matching different forms of kana to each other (or to kanji),\n ignoring accents, or applying spelling correction. [CHARMODNORM]\n\nThis text field allows you to choose a type of JavaScript function.\n\n```\n \n```\n\nFor user agents that follow the above suggestions, both the label and value\n would be shown:\n\nThen, typing \"arrow\" or \"=>\" would filter the list to the entries with\n labels \"arrow function\" and \"async arrow function\". Typing \"generator\" or\n \"*\" would filter the list to the entries with labels \"generator function\" and \"async\n generator function\".\n\nAs always, user agents are free to make user interface decisions which are\n appropriate for their particular requirements and for the user's particular circumstances. However,\n this has historically been an area of confusion for implementers, web developers, and users alike,\n so we've given some \"should\" suggestions above.\n\nHow user selections of suggestions are handled depends on whether the element is a control\n accepting a single value only, or whether it accepts multiple values:\n\nIf the element does not have a `multiple` attribute\n specified or if the `multiple` attribute does not apply\n\nWhen the user selects a suggestion, the `input` element's value must be set to the selected suggestion's value, as if the user had written that value themself.\n\nIf the element's `type` attribute is in the Email state and the element has a `multiple` attribute specified\n\nWhen the user selects a suggestion, the user agent must either add a new entry to the\n `input` element's values, whose value\n is the selected suggestion's value, or change an\n existing entry in the `input` element's values to have the value given by the selected\n suggestion's value, as if the user had themself added\n an entry with that value, or edited an existing entry to be that value. Which behavior is to be\n applied depends on the user interface in an [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) manner.\n\n---\n\nIf the `list` attribute does not\n apply, there is no suggestions source element.\n\nThis URL field offers some suggestions.\n\n```\n \n```\n\nOther URLs from the user's history might show also; this is up to the user agent.\n\nThis example demonstrates how to design a form that uses the autocompletion list feature while\n still degrading usefully in legacy user agents.\n\nIf the autocompletion list is merely an aid, and is not important to the content, then simply\n using a `datalist` element with children `option` elements is enough. To\n prevent the values from being rendered in legacy user agents, they need to be placed inside the\n `value` attribute instead of inline.\n\n```\n

    \n```\n\nHowever, if the values need to be shown in legacy UAs, then fallback content can be placed\n inside the `datalist` element, as follows:\n\n```\n

    \n```\n\nThe fallback content will only be shown in UAs that don't support `datalist`. The\n options, on the other hand, will be detected by all UAs, even though they are not children of the\n `datalist` element.\n\nNote that if an `option` element used in a `datalist` is `selected`, it will be selected by default by legacy UAs\n (because it affects the `select` element), but it will not have any effect on the\n `input` element in UAs that support `datalist`.\n\n###### 4.10.5.3.10 The `placeholder` attribute\n\n[Element/input#placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)\n\nSupport in all current engines.\n\nFirefox4+ Safari4+ Chrome3+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\n[Element/input#attr-placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-placeholder)\n\nSupport in all current engines.\n\nFirefox4+ Safari4+ Chrome3+\n\n---\n\nOpera≤12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android≤37+ Samsung Internet? Opera Android≤12.1+\n\nThe `placeholder` attribute represents a *short*\n hint (a word or short phrase) intended to aid the user with data entry when the control has no\n value. A hint could be a sample value or a brief description of the expected format. The\n attribute, if specified, must have a value that contains no U+000A LINE FEED (LF) or U+000D\n CARRIAGE RETURN (CR) characters.\n\nThe `placeholder` attribute should not be used as an\n alternative to a `label`. For a longer hint or other advisory text, the `title` attribute is more appropriate.\n\nThese mechanisms are very similar but subtly different: the hint given by the\n control's `label` is shown at all times; the short hint given in the `placeholder` attribute is shown before the user enters a\n value; and the hint in the `title` attribute is shown when the user\n requests further help.\n\nUser agents should present this hint to the user, after having [stripped newlines](https://infra.spec.whatwg.org/#strip-newlines) from it, when the element's value is the empty string, especially if the control is not\n focused.\n\nIf a user agent normally doesn't show this hint to the user when the control is\n focused, then the user agent should nonetheless show the hint for the control if it\n was focused as a result of the `autofocus` attribute, since\n in that case the user will not have had an opportunity to examine the control before focusing\n it.\n\nHere is an example of a mail configuration user interface that uses the `placeholder` attribute:\n\n```\n
    Mail Account

    \n```\n\nIn situations where the control's content has one directionality but the placeholder needs to\n have a different directionality, Unicode's bidirectional-algorithm formatting characters can be\n used in the attribute value:\n\n```\n \n```\n\nFor slightly more clarity, here's the same example using numeric character references instead of inline Arabic:\n\n```\n \n```\n\n##### 4.10.5.4 Common `input` element APIs\n\n`input.value [ = value ]`\n\nReturns the current value of the form control. Can be set, to change the value. Throws an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if it is\n set to any value other than the empty string when the control is a file upload control.\n\n`input.checked [ = value ]`\n\nReturns the current checkedness of the form\n control. Can be set, to change the checkedness.\n\n`input.files [ = files ]`[FileList](https://developer.mozilla.org/en-US/docs/Web/API/FileList)Support in all current engines.Firefox3+Safari4+Chrome2+Opera11.1+Edge79+Edge (Legacy)12+Internet Explorer10+Firefox Android?Safari iOS?Chrome Android?WebView Android37+Samsung Internet?Opera Android11.1+[HTMLInputElement/files](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)Support in all current engines.Firefox3+Safari4+Chrome2+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer🔰 10+Firefox Android?Safari iOS3+Chrome Android?WebView Android37+Samsung Internet?Opera Android12.1+\n\nReturns a `[FileList](https://w3c.github.io/FileAPI/#filelist-section)` object listing the selected files of the form control. Returns null if the control isn't a file control. Can be set to a `[FileList](https://w3c.github.io/FileAPI/#filelist-section)` object to change the selected files of the form control. For\n instance, as the result of a drag-and-drop operation.\n\n`input.valueAsDate [ = value ]`\n\nReturns a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if the\n control isn't date- or time-based.\n\n`input.valueAsNumber [ = value ]`\n\nReturns a number representing the form control's value, if applicable; otherwise, returns NaN. Can be set, to change the value. Setting this to NaN will set the underlying value to the\n empty string. Throws an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if the\n control is neither date- or time-based nor numeric.\n\n`input.stepUp([ n ])`[HTMLInputElement/stepUp](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp)Firefox🔰 16+Safari5+Chrome5+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer10+Firefox Android?Safari iOS4+Chrome Android?WebView Android37+Samsung Internet?Opera Android12.1+\n\n`input.stepDown([ n ])`[HTMLInputElement/stepDown](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown)Firefox🔰 16+Safari5+Chrome5+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer10+Firefox Android?Safari iOS4+Chrome Android?WebView Android37+Samsung Internet?Opera Android12.1+\n\nChanges the form control's value by the value given in\n the `step` attribute, multiplied by n. The\n default value for n is 1. Throws [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if the control\n is neither date- or time-based nor numeric, or if the `step`\n attribute's value is \"`any`\".\n\n`input.list`\n\nReturns the `datalist` element indicated by the `list` attribute.\n\n`input.showPicker()`\n\nShows any applicable picker UI for input, so that the user can select a value. If input does not support a picker,\n this method does nothing. Throws an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if\n input is not mutable. Throws a [\"`NotAllowedError`\"](https://webidl.spec.whatwg.org/#notallowederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if called\n without transient user activation. Throws a [\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if\n input is inside a cross-origin `iframe`, unless input is in the\n File Upload or Color states.\n\nThe `value` IDL\n attribute allows scripts to manipulate the value of an\n `input` element. The attribute is in one of the following modes, which define its\n behavior:\n\nvalue\n\nOn getting, return the current value of the\n element. On setting: Let oldValue be the element's value.Set the element's value to the new\n value.Set the element's dirty value flag to\n true.Invoke the value sanitization algorithm, if the element's `type` attribute's current state defines one.If the element's value (after applying the\n value sanitization algorithm) is different from oldValue, and the\n element has a text entry cursor position,\n move the text entry cursor position to the\n end of the text control, unselecting any selected text and resetting the selection direction to \"`none`\".\n\ndefault\n\nOn getting, if the element has a `value` content\n attribute, return that attribute's value; otherwise, return the empty string. On setting, set the value of the element's `value`\n content attribute to the new value.\n\ndefault/on\n\nOn getting, if the element has a `value` content\n attribute, return that attribute's value; otherwise, return the string \"`on`\". On setting, set the value of the element's `value`\n content attribute to the new value.\n\nfilename\n\nOn getting, return the string \"`C:\\fakepath\\`\" followed by the name of\n the first file in the list of selected\n files, if any, or the empty string if the list is empty. On setting, if the new value is the empty string, empty the list of selected files; otherwise, throw an\n [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. This \"fakepath\" requirement is a sad accident of history. See the example in the File Upload state section for more\n information. Since path components are not\n permitted in filenames in the list of selected\n files, the \"\\fakepath\\\" cannot be mistaken for a path component.\n\n---\n\nThe `checked`\n IDL attribute allows scripts to manipulate the checkedness of an `input` element. On getting, it\n must return the current checkedness of the element; and\n on setting, it must set the element's checkedness to the\n new value and set the element's dirty checkedness\n flag to true.\n\n---\n\nThe `files` IDL\n attribute allows scripts to access the element's selected files.\n\nOn getting, if the IDL attribute applies, it must\n return a `[FileList](https://w3c.github.io/FileAPI/#filelist-section)` object that represents the current selected files. The same object must be returned\n until the list of selected files changes.\n If the IDL attribute does not apply, then it must instead\n return null. [FILEAPI]\n\nOn setting, it must run these steps:\n\n1. If the IDL attribute does not apply or the given value\n is null, then return.\n2. Replace the element's selected\n files with the given value.\n\n---\n\nThe `valueAsDate` IDL attribute represents the value of the element, interpreted as a date.\n\nOn getting, if the `valueAsDate` attribute does not apply, as defined for the `input` element's `type` attribute's current state, then return null. Otherwise, run\n the algorithm to convert a string to a\n `Date` object defined for that state to the element's value; if the algorithm returned a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object, then\n return it, otherwise, return null.\n\nOn setting, if the `valueAsDate` attribute does not apply, as defined for the `input` element's `type` attribute's current state, then throw an\n [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`; otherwise, if the new\n value is not null and not a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object throw a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)` exception;\n otherwise, if the new value is null or a `[Date](https://tc39.es/ecma262/#sec-date-objects)` object representing the NaN time value,\n then set the value of the element to the empty string;\n otherwise, run the algorithm to convert a\n `Date` object to a string, as defined for that state, on the new value, and set\n the value of the element to the resulting string.\n\n---\n\nThe `valueAsNumber` IDL attribute represents the value of the element, interpreted as a number.\n\nOn getting, if the `valueAsNumber` attribute does not apply, as defined for the `input` element's `type` attribute's current state, then return a Not-a-Number (NaN)\n value. Otherwise, run the algorithm to convert a\n string to a number defined for that state to the element's value; if the algorithm returned a number, then return it,\n otherwise, return a Not-a-Number (NaN) value.\n\nOn setting, if the new value is infinite, then throw a `[TypeError](https://tc39.es/ecma262/#sec-native-error-types-used-in-this-standard-typeerror)` exception.\n Otherwise, if the `valueAsNumber` attribute does not apply, as defined for the `input` element's `type` attribute's current state, then throw an\n [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. Otherwise, if the new\n value is a Not-a-Number (NaN) value, then set the value of\n the element to the empty string. Otherwise, run the algorithm to convert a number to a string, as\n defined for that state, on the new value, and set the value\n of the element to the resulting string.\n\n---\n\nThe `stepDown(n)` and `stepUp(n)` methods,\n when invoked, must run the following algorithm:\n\n1. If the `stepDown()` and `stepUp()` methods do not apply, as defined for the\n `input` element's `type` attribute's current state,\n then throw an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. If the element has no allowed value step, then\n throw an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n3. If the element has a minimum and a maximum and the minimum\n is greater than the maximum, then return.\n4. If the element has a minimum and a maximum and there is no value greater than or equal to the\n element's minimum and less than or equal to the element's\n maximum that, when subtracted from the step base, is an integral multiple of the allowed value step, then return.\n5. If applying the algorithm to convert a\n string to a number to the string given by the element's value does not result in an error, then let value be the result of that algorithm. Otherwise, let value\n be zero.\n6. Let valueBeforeStepping be value.\n7. If value subtracted from the step\n base is not an integral multiple of the allowed value\n step, then set value to the nearest value that, when subtracted from\n the step base, is an integral multiple of the allowed value step, and that is less than value if\n the method invoked was the `stepDown()` method, and more\n than value otherwise. Otherwise (value subtracted from the step base is an integral multiple of the allowed value step):\n 1. Let n be the argument.\n 2. Let delta be the allowed value\n step multiplied by n.\n 3. If the method invoked was the `stepDown()` method,\n negate delta.\n 4. Let value be the result of adding delta to value.\n8. If the element has a minimum, and value\n is less than that minimum, then set\n value to the smallest value that, when subtracted from the step base, is an integral multiple of the allowed value step, and that is more than or equal to\n that minimum.\n9. If the element has a maximum, and value\n is greater than that maximum, then\n set value to the largest value that, when subtracted from the step base, is an integral multiple of the allowed value step, and that is less than or equal to\n that maximum.\n10. If either the method invoked was the `stepDown()`\n method and value is greater than valueBeforeStepping, or the method\n invoked was the `stepUp()` method and value is\n less than valueBeforeStepping, then return. This ensures that invoking the `stepUp()` method on the\n `input` element in the following example does not change the value of that element: ``\n11. Let value as string be the result of running the algorithm to convert a number to a string, as\n defined for the `input` element's `type`\n attribute's current state, on value.\n12. Set the value of the element to value\n as string.\n\n---\n\nThe `list` IDL\n attribute must return the current suggestions source\n element, if any, or null otherwise.\n\n---\n\n[HTMLInputElement/showPicker](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker)\n\nSupport in all current engines.\n\nFirefox101+ Safari16+ Chrome99+\n\n---\n\nOpera? Edge99+\n\n---\n\nEdge (Legacy)? Internet ExplorerNo\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `HTMLInputElement` `showPicker()` and `HTMLSelectElement` `showPicker()`\n method steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this) is not mutable, then throw\n an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n2. If [this](https://webidl.spec.whatwg.org/#this)'s relevant settings object's origin is not same origin with\n [this](https://webidl.spec.whatwg.org/#this)'s relevant settings object's top-level origin, and\n [this](https://webidl.spec.whatwg.org/#this) is a `select` element, or\n [this](https://webidl.spec.whatwg.org/#this)'s `type` attribute is not in the File Upload state or Color state, then throw a\n [\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`. File and Color inputs are exempted from this check for historical\n reason: their input activation behavior also shows their pickers, and has never\n been guarded by an origin check.\n3. If [this](https://webidl.spec.whatwg.org/#this)'s relevant global object does not have transient\n activation, then throw a [\"`NotAllowedError`\"](https://webidl.spec.whatwg.org/#notallowederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n4. If [this](https://webidl.spec.whatwg.org/#this) is a `select` element, and [this](https://webidl.spec.whatwg.org/#this) is not\n being rendered, then throw a [\"`NotSupportedError`\"](https://webidl.spec.whatwg.org/#notsupportederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)`.\n5. Show the picker, if applicable, for [this](https://webidl.spec.whatwg.org/#this).\n\nTo show the picker, if applicable for an `input` or `select`\n element element:\n\n1. If element's relevant global object does not have transient\n activation, then return.\n2. If element is not mutable, then\n return.\n3. Consume user activation given element's relevant global\n object.\n4. If element does not support a\n picker, then return.\n5. If element is an `input` element and element's `type` attribute is in the File Upload state, then run these steps in\n parallel: As with all user interface specifications, user agents have a good deal of\n freedom in how they interpret these requirements. The above text implies that a user either\n dismisses the prompt or changes their selection; exactly one of these will be true. But the\n mapping of these possibilities to specific user interface elements is not mandated by the\n standard. For example, a user agent might interpret clicking the \"Cancel\" button when files were\n previously selected as a change of selection to select zero files, thus firing `[input](https://w3c.github.io/uievents/#event-type-input)` and `change`. Or it might\n interpret such a click as a dismissal that leaves the selection unchanged, thus firing `cancel`. Similarly, it's up to the user agent whether re-selecting\n the same files as were previously selected counts as a dismissal, or as a change of\n selection.\n 1. Optionally, wait until any prior execution of this algorithm has terminated.\n 2. Let dismissed be the result of [WebDriver BiDi file dialog opened](https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened)\n with element.\n 3. If dismissed is false:\n 1. Display a prompt to the user requesting that the user specify some files. If the `multiple` attribute is not set on element, there\n must be no more than one file selected; otherwise, any number may be selected. Files can be\n from the filesystem or created on the fly, e.g., a picture taken from a camera connected to the\n user's device.\n 2. Wait for the user to have made their selection.\n 4. If dismissed is true or if the user dismissed the prompt without changing\n their selection, then queue an element task on the user interaction task\n source given element to [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `cancel` at element, with the\n `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` attribute initialized to true.\n 5. Otherwise, update the file selection for element.\n6. Otherwise, the user agent should show the relevant user interface for selecting a value for\n element, in the way it normally would when the user interacts with the control. When showing such a user interface, it must respect the requirements stated in the relevant\n parts of the specification for how element behaves given its `type` attribute state. (For example, various sections describe\n restrictions on the resulting value string.) This step can have side effects, such as closing other pickers that were previously shown by\n this algorithm. (If this closes a file selection picker, then per the above that will lead to\n firing either `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events, or a `cancel`\n event.)\n\n##### 4.10.5.5 Common event behaviors\n\nWhen the `[input](https://w3c.github.io/uievents/#event-type-input)` and `change` events apply\n (which is the case for all `input` controls other than buttons and those with the `type` attribute in the Hidden state), the events are fired to indicate that the\n user has interacted with the control. The `[input](https://w3c.github.io/uievents/#event-type-input)` event fires\n whenever the user has modified the data of the control. The `change` event fires when the value is committed, if that makes sense\n for the control, or else when the control loses focus.\n In all cases, the `[input](https://w3c.github.io/uievents/#event-type-input)` event comes before the corresponding\n `change` event (if any).\n\nWhen an `input` element has a defined input activation behavior, the\n rules for dispatching these events, if they apply, are\n given in the section above that defines the `type` attribute's\n state. (This is the case for all `input` controls with the `type` attribute in the Checkbox state, the Radio Button state, or the File Upload state.)\n\nFor `input` elements without a defined input activation behavior, but\n to which these events apply, and for which the user\n interface involves both interactive manipulation and an explicit commit action, then when the\n user changes the element's value, the user agent must\n queue an element task on the user interaction task source given the\n `input` element to [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the `input` element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)`\n attributes initialized to true, and any time the user commits the change, the user agent must\n queue an element task on the user interaction task source given the\n `input` element to set its user validity to true and [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change`\n at the `input` element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)`\n attribute initialized to true.\n\nAn example of a user interface involving both interactive manipulation and a\n commit action would be a Range controls that use a\n slider, when manipulated using a pointing device. While the user is dragging the control's knob,\n `[input](https://w3c.github.io/uievents/#event-type-input)` events would fire whenever the position changed,\n whereas the `change` event would only fire when the user\n let go of the knob, committing to a specific value.\n\nFor `input` elements without a defined input activation behavior, but\n to which these events apply, and for which the user\n interface involves an explicit commit action but no intermediate manipulation, then any time the\n user commits a change to the element's value, the user\n agent must queue an element task on the user interaction task source\n given the `input` element to first [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the `input` element, with\n the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)` attributes initialized to true, and then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change`\n at the `input` element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)`\n attribute initialized to true.\n\nAn example of a user interface with a commit action would be a Color control that consists of a single button that brings\n up a color wheel: if the value only changes when the dialog\n is closed, then that would be the explicit commit action. On the other hand, if manipulating the\n control changes the color interactively, then there might be no commit action.\n\nAnother example of a user interface with a commit action would be a Date control that allows both text-based user input and user\n selection from a drop-down calendar: while text input might not have an explicit commit step,\n selecting a date from the drop down calendar and then dismissing the drop down would be a commit\n action.\n\nFor `input` elements without a defined input activation behavior, but\n to which these events apply, any time the user causes\n the element's value to change without an explicit commit\n action, the user agent must queue an element task on the user interaction task\n source given the `input` element to [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the `input` element, with\n the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)` attributes initialized to true. The corresponding\n `change` event, if any, will be fired when the control loses focus.\n\nExamples of a user changing the element's value would include the user typing into a text control, pasting\n a new value into the control, or undoing an edit in that control. Some user interactions do not\n cause changes to the value, e.g., hitting the \"delete\" key in an empty text control, or replacing\n some text in the control with text from the clipboard that happens to be exactly the same\n text.\n\nA Range control in the form of a\n slider that the user has focused and is interacting with using a keyboard would be\n another example of the user changing the element's value\n without a commit step.\n\nIn the case of tasks that just fire an `[input](https://w3c.github.io/uievents/#event-type-input)` event, user agents may wait for a suitable break in the user's\n interaction before queuing the tasks; for example, a\n user agent could wait for the user to have not hit a key for 100ms, so as to only fire the event\n when the user pauses, instead of continuously for each keystroke.\n\nWhen the user agent is to change an `input` element's value on behalf of the user (e.g. as part of a form prefilling\n feature), the user agent must queue an element task on the user interaction\n task source given the `input` element to first update the value accordingly, then [fire an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at the `input` element, with\n the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)` attributes initialized to true, then [fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change`\n at the `input` element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)`\n attribute initialized to true.\n\nThese events are not fired in response to changes made to the values of form\n controls by scripts. (This is to make it easier to update the values of form controls in response\n to the user manipulating the controls, without having to then filter out the script's own changes\n to avoid an infinite loop.)\n\nThese events are also not fired when the browser changes the values of form\n controls as part of state restoration during\n navigation.\n\n#### 4.10.6 The `button` element\n\n[Element/button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button)\n\nSupport in all current engines.\n\nFirefox1+ Safari4+ Chrome1+\n\n---\n\nOpera15+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android14+\n\n[HTMLButtonElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android37+ Samsung Internet? Opera Android12.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nInteractive content.\n\nListed, labelable, submittable, and autocapitalize-and-autocorrect inheriting form-associated element.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nAs the first child of a `select` element.\n\nContent model:\n\nPhrasing content, but there must be no interactive content\n descendant and no descendant with the `tabindex` attribute\n specified. If the element is the first child of a `select` element, then it may also\n have one descendant `selectedcontent` element.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`command` — Indicates to the targeted element which action to take.\n\n`commandfor` — Targets another element to be invoked.\n\n`disabled` — Whether the form control is disabled\n\n`form` — Associates the element with a `form` element\n\n`formaction` — [URL](https://url.spec.whatwg.org/#concept-url) to use for form submission\n\n`formenctype` — Entry list encoding type to use for form submission\n\n`formmethod` — Variant to use for form submission\n\n`formnovalidate` — Bypass form control validation for form submission\n\n`formtarget` — Navigable for form submission\n\n`name` — Name of the element to use for form submission and in the `form.elements` API\n\n`popovertarget` — Targets a popover element to toggle, show, or hide\n\n`popovertargetaction` — Indicates whether a targeted popover element is to be toggled, shown, or hidden\n\n`type` — Type of button\n\n`value` — Value to be used for form submission\n\nAccessibility considerations:\n\n[For authors](https://w3c.github.io/html-aria/#el-button).\n\n[For implementers](https://w3c.github.io/html-aam/#el-button).\n\nSanitization:\n\nUncategorized with navigating URL\n attributes `formaction`.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLButtonElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectSetter] attribute DOMString command;\n [CEReactions, Reflect=\"commandfor\"] attribute Element? commandForElement;\n [CEReactions, Reflect] attribute boolean disabled;\n readonly attribute HTMLFormElement? form;\n [CEReactions, ReflectSetter] attribute USVString formAction;\n [CEReactions] attribute DOMString formEnctype;\n [CEReactions] attribute DOMString formMethod;\n [CEReactions, Reflect] attribute boolean formNoValidate;\n [CEReactions, Reflect] attribute DOMString formTarget;\n [CEReactions, Reflect] attribute DOMString name;\n [CEReactions, ReflectSetter] attribute DOMString type;\n [CEReactions, Reflect] attribute DOMString value;\n\n readonly attribute boolean willValidate;\n readonly attribute ValidityState validity;\n readonly attribute DOMString validationMessage;\n boolean checkValidity();\n boolean reportValidity();\n undefined setCustomValidity(DOMString error);\n\n readonly attribute [NodeList](https://dom.spec.whatwg.org/#interface-nodelist) labels;\n};\nHTMLButtonElement includes PopoverTargetAttributes;`\n\nThe `button` element represents a button labeled by its contents.\n\nThe element is a button.\n\nThe `type` attribute\n controls the behavior of the button when it is activated. It is an enumerated\n attribute with the following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `submit` | Submit Button | Submits the form. |\n| `reset` | Reset Button | Resets the form. |\n| `button` | Button | Does nothing. |\n\nThe attribute's *missing value default* and *invalid value default* are both the Auto state.\n\nA `button` element is said to be a submit button if any of the following are true:\n\n- the `type` attribute is in the Auto state, both the `command` and `commandfor` content attributes are not present, and the\n [parent](https://dom.spec.whatwg.org/#concept-tree-parent) node is not a `select` element;\n or\n- the `type` attribute is in the Submit Button state.\n\n**Constraint validation**: If the element is not a submit button, the element is barred from constraint\n validation.\n\nIf a `button` element is the first [child](https://dom.spec.whatwg.org/#concept-tree-child)\n which is an [element](https://dom.spec.whatwg.org/#interface-element) of a `select` element, then it is\n inert.\n\nIf specified, the `commandfor` attribute value must be the [ID](https://dom.spec.whatwg.org/#concept-id) of an element in the same [tree](https://dom.spec.whatwg.org/#concept-tree) as the button with the `commandfor` attribute.\n\nThe `command`\n attribute is an enumerated attribute with the following keywords and states:\n\n| Keyword | State | Brief description |\n| --- | --- | --- |\n| `toggle-popover` | Toggle Popover | Shows or hides the targeted `popover` element. |\n| `show-popover` | Show Popover | Shows the targeted `popover` element. |\n| `hide-popover` | Hide Popover | Hides the targeted `popover` element. |\n| `close` | Close | Closes the targeted `dialog` element. |\n| `request-close` | Request Close | Requests to close the targeted `dialog` element. |\n| | | Opens the targeted `dialog` element as modal. |\n| A custom command keyword | Custom | Only dispatches the `command` event on the targeted\n element. |\n\nThe attribute's *missing value default* and *invalid value default* are both the Unknown state.\n\nA custom command keyword is a string that\n [starts with](https://infra.spec.whatwg.org/#string-starts-with) \"`--`\".\n\nTo determine if a command is valid for a\n target given a `command` attribute\n command and an element target:\n\n1. If command is in the Unknown state, then return false.\n2. If command is in the Custom state, then return true.\n3. If target is not an HTML element, then\n return false.\n4. If command is in any of the following states: then return true.\n - Toggle Popover\n - Show Popover\n - Hide Popover\n5. If this standard does not define is valid command steps for\n target's [local name](https://dom.spec.whatwg.org/#concept-element-local-name), then return\n false.\n6. Otherwise, return the result of running target's corresponding is valid\n command steps given command.\n\nThe intent is to avoid dispatching a command event on an element type that does not support\n that command.\n\nHowever, element state is not considered. If an element can support a particular command, the\n event is dispatched, even if that element is in a state where it cannot execute that command.\n\nThis means, for example, that command events are dispatched for popover commands on all HTML elements, even if they do not have a `popover` attribute.\n\nA `button` element element's [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) given\n event is:\n\n1. If element is disabled, then\n return.\n2. If element's [node document](https://dom.spec.whatwg.org/#concept-node-document) is not fully active, then\n return.\n3. If element has a form owner:\n 1. If element is a submit button,\n then submit element's\n form owner from element with *userInvolvement* set to event's user navigation involvement, and return.\n 2. If element's `type` attribute is in the\n Reset Button state, then reset element's form owner, and\n return.\n 3. If element's `type` attribute is in the\n Auto state, then return.\n4. Let target be the result of running element's get the `commandfor`-associated\n element.\n5. If target is not null:\n 1. Let command be element's `command` attribute.\n 2. If the result of determining if a command\n is valid for a target given command and target is false, then\n return.\n 3. Let continue be the result of [firing an\n event](https://dom.spec.whatwg.org/#concept-event-fire) named `command` at target, using\n `CommandEvent`, with its `command`\n attribute initialized to command, its `source` attribute initialized to element,\n and its `[cancelable](https://dom.spec.whatwg.org/#dom-event-cancelable)` attribute initialized to\n true. [DOM standard issue\n #1328](https://github.com/whatwg/dom/issues/1328) tracks how to better standardize associated event data in a way which makes sense on\n Events. Currently an event attribute initialized to a value cannot also have a getter, and so\n an internal slot (or map of additional fields) is required to properly specify this.\n 4. If continue is false, then return.\n 5. If target is not [connected](https://dom.spec.whatwg.org/#connected), then return.\n 6. If command is in the Custom state, then return.\n 7. If command is in the Hide Popover state:\n 1. Let validity be the result of running check popover validity\n given target, true, and null. If this throws an exception, catch it, and let\n validity be false.\n 2. If validity is true, then run the hide popover algorithm given\n target, true, true, false, and element.\n 8. Otherwise, if command is in the Toggle Popover state:\n 1. Let validity be the result of running check popover validity\n given target, false, and null. If this throws an exception, catch it, and let\n validity be false.\n 2. If validity is true, then run the show popover\n algorithm given target, false, and element.\n 3. Otherwise:\n 1. Let validity be the result of running check popover validity\n given target, true, and null. If this throws an exception, catch it, and let\n validity be false.\n 2. If validity is true, then run the hide popover algorithm\n given target, true, true, false, and element.\n 9. Otherwise, if command is in the Show Popover state:\n 1. Let validity be the result of running check popover validity\n given target, false, and null. If this throws an exception, catch it, and let\n validity be false.\n 2. If validity is true, then run the show popover\n algorithm given target, false, and element.\n 10. Otherwise, if this standard defines command steps for\n target's [local name](https://dom.spec.whatwg.org/#concept-element-local-name), then run the\n corresponding command steps given target, element,\n and command.\n6. Otherwise, run the popover target attribute activation behavior given\n element and event's [target](https://dom.spec.whatwg.org/#event-target).\n\nAn HTML element can have specific\n is valid command steps and command steps defined for the\n element's [local name](https://dom.spec.whatwg.org/#concept-element-local-name).\n\nThe `form` attribute is used to explicitly associate the\n `button` element with its form owner. The `name` attribute represents the element's name. The `disabled` attribute is used to make the control non-interactive and\n to prevent its value from being submitted. The `formaction`,\n `formenctype`, `formmethod`, `formnovalidate`, and `formtarget` attributes are attributes for form\n submission.\n\nThe `formnovalidate` attribute can be\n used to make submit buttons that do not trigger the constraint validation.\n\nThe `formaction`, `formenctype`, `formmethod`, `formnovalidate`, and `formtarget` must not be specified if the element is not\n a submit button.\n\nThe `command` getter steps are:\n\n1. Let command be [this](https://webidl.spec.whatwg.org/#this)'s `command` attribute.\n2. If command is in the Custom state, then return command's\n value.\n3. If command is in the Unknown state, then return the empty\n string.\n4. Return the keyword corresponding to the value of command.\n\nThe `value`\n attribute gives the element's value for the purposes of form submission. The element's value is the value of the element's `value` attribute, if there is one; otherwise the empty string.\n The element's optional value is the value of the\n element's `value` attribute, if there is one; otherwise\n null.\n\nA button (and its value) is only included in the form submission if the button\n itself was used to initiate the form submission.\n\n---\n\nThe `type`\n getter steps are:\n\n1. If [this](https://webidl.spec.whatwg.org/#this) is a submit button, then\n return \"`submit`\".\n2. Let state be [this](https://webidl.spec.whatwg.org/#this)'s `type`\n attribute.\n3. [Assert](https://infra.spec.whatwg.org/#assert): state is not in the Submit Button state.\n4. If state is in the Auto\n state, then return \"`button`\".\n5. Return the keyword value corresponding to state.\n\nThe `willValidate`, `validity`, and `validationMessage` IDL attributes, and the `checkValidity()`, `reportValidity()`, and `setCustomValidity()` methods, are part of the\n constraint validation API. The `labels` IDL\n attribute provides a list of the element's `label`s. The `disabled`, `form`, and `name` IDL attributes are part of the element's forms API.\n\nThe following button is labeled \"Show hint\" and pops up a dialog box when activated:\n\n```\n\n```\n\nThe following shows how buttons can use `commandfor` to show and hide an element with\n the `popover` attribute when activated:\n\n```\n
    \n```\n\nThe following shows how buttons can use `commandfor` with a custom command keyword on an element, demonstrating\n how one could use custom commands for unspecified behavior:\n\n```\n \n```\n\n#### 4.10.7 The `select` element\n\n[Element/select](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera2+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android10.1+\n\n[HTMLSelectElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement)\n\nSupport in all current engines.\n\nFirefox1+ Safari1+ Chrome1+\n\n---\n\nOpera2+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer1+\n\n---\n\nFirefox Android4+ Safari iOS? Chrome Android? WebView Android37+ Samsung Internet? Opera Android10.1+\n\nCategories:\n\nFlow content.\n\nPhrasing content.\n\nInteractive content.\n\nListed, labelable, submittable, resettable, and autocapitalize-and-autocorrect inheriting form-associated element.\n\nPalpable content.\n\nContexts in which this element can be used:\n\nWhere phrasing content is expected.\n\nContent model:\n\nZero or one `button` elements if the `select` is a drop-down\n box, followed by zero or more `option` elements, `optgroup`\n elements, `hr` elements, script-supporting elements,\n `noscript` elements, or `div` elements.\n\nTag omission in text/html:\n\nNeither tag is omissible.\n\nContent attributes:\n\nGlobal attributes\n\n`autocomplete` — Hint for form autofill feature\n\n`disabled` — Whether the form control is disabled\n\n`form` — Associates the element with a `form` element\n\n`multiple` — Whether to allow multiple values\n\n`name` — Name of the element to use for form submission and in the `form.elements` API\n\n`required` — Whether the control is required for form submission\n\n`size` — Size of the control\n\nAccessibility considerations:\n\nIf the element has a `multiple` attribute or a `size` attribute with a value > 1: [for authors](https://w3c.github.io/html-aria/#el-select-multiple-or-size-greater-1); [for implementers](https://w3c.github.io/html-aam/#el-select-listbox).\n\nOtherwise: [for authors](https://w3c.github.io/html-aria/#el-select); [for implementers](https://w3c.github.io/html-aam/#el-select-combobox).\n\nSanitization:\n\nUncategorized.\n\nDOM interface:\n\n`[Exposed=Window]\ninterface HTMLSelectElement : HTMLElement {\n [HTMLConstructor] constructor();\n\n [CEReactions, ReflectSetter] attribute DOMString autocomplete;\n [CEReactions, Reflect] attribute boolean disabled;\n readonly attribute HTMLFormElement? form;\n [CEReactions, Reflect] attribute boolean multiple;\n [CEReactions, Reflect] attribute DOMString name;\n [CEReactions, Reflect] attribute boolean required;\n [CEReactions, Reflect, ReflectDefault=0] attribute unsigned long size;\n \n\n readonly attribute DOMString type;\n\n [SameObject] readonly attribute HTMLOptionsCollection options;\n [CEReactions] attribute unsigned long length;\n getter HTMLOptionElement? item(unsigned long index);\n HTMLOptionElement? namedItem(DOMString name);\n [CEReactions] undefined add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);\n [CEReactions] undefined remove(); // ChildNode overload\n [CEReactions] undefined remove(long index);\n [CEReactions] setter undefined (unsigned long index, HTMLOptionElement? option);\n\n [SameObject] readonly attribute [HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection) selectedOptions;\n attribute long selectedIndex;\n attribute DOMString value;\n\n readonly attribute boolean willValidate;\n readonly attribute ValidityState validity;\n readonly attribute DOMString validationMessage;\n boolean checkValidity();\n boolean reportValidity();\n undefined setCustomValidity(DOMString error);\n\n undefined showPicker();\n\n readonly attribute [NodeList](https://dom.spec.whatwg.org/#interface-nodelist) labels;\n};`\n\nThe `select` element represents a control for selecting amongst a set of\n options.\n\n[Attributes/multiple](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `multiple`\n attribute is a boolean attribute. If the attribute is present, then the\n `select` element represents a control for selecting zero or more options\n from the list of options. If the attribute is\n absent, then the `select` element represents a control for selecting a\n single option from the list of options.\n\n[Attributes/size](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet ExplorerYes\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `size` attribute\n gives the number of options to show to the user. The `size`\n attribute, if specified, must have a value that is a valid non-negative integer\n greater than zero.\n\n[Attributes/required](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required)\n\nSupport in all current engines.\n\nFirefox4+ Safari5.1+ Chrome10+\n\n---\n\nOpera? Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer10+\n\n---\n\nFirefox Android? Safari iOS? Chrome Android? WebView Android? Samsung Internet? Opera Android?\n\nThe `required`\n attribute is a boolean attribute. When specified, the user will be required to select\n a value before submitting the form.\n\nThe `form` attribute is used to explicitly associate the\n `select` element with its form owner. The `name` attribute represents the element's name. The `disabled` attribute is used to make the control non-interactive\n and to prevent its value from being submitted. The `autocomplete` attribute controls how the user agent provides\n autofill behavior.\n\nIf a `select` element has a `required`\n attribute specified, and has a display size of 1; and if\n the value of the first `option` element in\n the `select` element's list of options\n (if any) is the empty string, and that `option` element's parent node is the\n `select` element (and not an `optgroup` element), then that\n `option` is the `select` element's placeholder label option.\n\nIf a `select` element has a `required`\n attribute specified, does not have a `multiple` attribute\n specified, and has a display size of 1, then the\n `select` element must have a placeholder label option.\n\nIn practice, the requirement stated in the paragraph above can only apply when a\n `select` element does not have a `size` attribute\n with a value greater than 1.\n\n---\n\n**Constraint validation**: If the element has its `required` attribute specified, and either none of the\n `option` elements in the `select` element's list of options have their selectedness set to true, or the only\n `option` element in the `select` element's list of options with its selectedness set to true is the placeholder label\n option, then the element is suffering from being missing.\n\nThe reset algorithm for a `select`\n element selectElement is:\n\n1. Set selectElement's user validity to false.\n2. [For each](https://infra.spec.whatwg.org/#list-iterate) optionElement of\n selectElement's list of\n options:\n 1. If optionElement has a `selected`\n attribute, then set optionElement's selectedness to true; otherwise set it to\n false.\n 2. Set optionElement's dirtiness\n to false.\n3. Run the selectedness setting algorithm given\n selectElement.\n\nA `select` element that is not disabled is\n mutable.\n\n---\n\nThe user agent should allow the user to pick an `option` element from a\n `select` element in its list of\n options (either through a click, or through unfocusing the element after changing its\n value, or through a menu command, or through any other\n mechanism) by running the pick an option algorithm given\n the `select` element, the `option` element, and if the\n `select`'s\n contents are being rendered with base appearance, a\n corresponding `[keydown](https://w3c.github.io/uievents/#event-type-keydown)` or `[mouseup](https://w3c.github.io/pointerevents/#mouseup)` event, otherwise null.\n\nTo pick an option given a `select` element\n select, an `option` element option, and an `[Event](https://dom.spec.whatwg.org/#interface-event)` or\n null event:\n\n1. If select has the `multiple` attribute\n or select is disabled, then return.\n2. If event is not null and event's [canceled flag](https://dom.spec.whatwg.org/#canceled-flag) is set,\n then return.\n3. If event is a `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` and event's `[button](https://w3c.github.io/pointerevents/#dom-mouseevent-button)` attribute is not 0, then return.\n4. Set option's selectedness to\n true.\n5. Set option's dirtiness to\n true.\n6. Send `select` update notifications given\n select.\n7. If select is being rendered as a drop-down box with [base\n appearance](https://drafts.csswg.org/css-ui/#base-appearance), then run the hide popover algorithm given select's\n select popover.\n\nIf the `multiple` attribute is absent, whenever an\n `option` element in the `select` element's list of options has its selectedness set to true, and whenever an\n `option` element with its selectedness set to true is added to the\n `select` element's list of options,\n the user agent must set the selectedness of all\n the other `option` elements in its list of\n options to false.\n\nIf the `multiple` attribute is absent and the\n element's display size is greater than 1, then the user\n agent should also allow the user to request that the `option` whose selectedness is true, if any, be unselected. Upon this\n request being conveyed to the user agent, and before the relevant user interaction event is queued (e.g. before the `[click](https://w3c.github.io/pointerevents/#click)` event), the user agent must set the selectedness of that `option` element to\n false, set its dirtiness to true, and then\n send `select` update notifications.\n\nIf the `select` is being rendered as a drop-down box with [base\n appearance](https://drafts.csswg.org/css-ui/#base-appearance), then the user agent should allow the user to open the picker given a corresponding `select`\n element select and a corresponding `[mousedown](https://w3c.github.io/pointerevents/#mousedown)` or\n `[keydown](https://w3c.github.io/uievents/#event-type-keydown)` event event:\n\n1. If event's [canceled flag](https://dom.spec.whatwg.org/#canceled-flag) is set, then return.\n2. If event is a `[MouseEvent](https://w3c.github.io/pointerevents/#dom-mouseevent)` and event's `[button](https://w3c.github.io/pointerevents/#dom-mouseevent-button)` attribute is not 0, then return.\n3. Run the show popover algorithm given select's select\n popover, false, and select.\n\nIf the `select` is being rendered with [base appearance](https://drafts.csswg.org/css-ui/#base-appearance), then the user\n agent should allow the user to focus another option given the new `option`\n element to focus option and a `[keydown](https://w3c.github.io/uievents/#event-type-keydown)` event\n event:\n\n1. If event's [canceled flag](https://dom.spec.whatwg.org/#canceled-flag) is set, then return.\n2. Run the focusing steps on option.\n\nImplementations commonly allow the user to focus the next or previous option via\n the arrow-up and arrow-down keys, focus the first or last option via the Home or End keys, or\n focus the first or last option in the viewport of the picker via the PageUp or PageDown keys.\n\nWhich particular keys of the keyboard cause these actions might differ across\n implementations and platforms. The ARIA Authoring Practices Guide has good [recommendations](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/)\n for this behavior.\n\nIf the `multiple` attribute is present, and the\n element is not disabled, then the user agent should\n allow the user to toggle the selectedness of the `option` elements in\n its list of options that are themselves not disabled. Upon such an element being toggled (either through a click, or through a menu command, or any other mechanism), and before the relevant user\n interaction event is queued (e.g. before a related `[click](https://w3c.github.io/pointerevents/#click)` event), the selectedness of the `option` element must\n be changed (from true to false or false to true), the dirtiness of the element must be set to true, and the\n user agent must send `select` update notifications.\n\n---\n\nThe display size of a `select` element is the\n result of applying the rules for parsing non-negative integers to the value of the\n element's `size` attribute, if it has one and parsing it is\n successful. If applying those rules to the attribute's value is not successful, or if the `size` attribute is absent, then the element's display size is 4 if the element's `multiple` content attribute is present, and 1 otherwise.\n\nTo get the list of options given a\n `select` element select:\n\n1. Let options be « ».\n2. Let node be the [first child](https://dom.spec.whatwg.org/#concept-tree-first-child) of select in [tree\n order](https://dom.spec.whatwg.org/#concept-tree-order).\n3. [While](https://infra.spec.whatwg.org/#iteration-while) node is not null:\n 1. If node is an `option` element, then [append](https://infra.spec.whatwg.org/#list-append) node to options.\n 2. If any of the following conditions are true: then set node to the next [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of select in\n [tree order](https://dom.spec.whatwg.org/#concept-tree-order), excluding node's [descendants](https://dom.spec.whatwg.org/#concept-tree-descendant), if any such node exists; otherwise null. Otherwise, set node to the next [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of select in\n [tree order](https://dom.spec.whatwg.org/#concept-tree-order), if any such node exists; otherwise null.\n - node is a `select` element;\n - node is an `hr` element;\n - node is an `option` element;\n - node is a `datalist` element;\n - node is an `optgroup` element and node has an\n [ancestor](https://dom.spec.whatwg.org/#concept-tree-ancestor) `optgroup` in between itself and select,\n4. Return options.\n\nIf an `option` element in the list of\n options asks for a reset, then run that\n `select` element's selectedness setting algorithm.\n\nThe selectedness setting algorithm, given a `select` element\n element, is to run the following steps:\n\n1. If element's `multiple` attribute is\n absent, and element's display size is 1,\n and no `option` elements in the element's list of options have their selectedness set to true, then set the selectedness of the first `option`\n element in the list of options in\n [tree order](https://dom.spec.whatwg.org/#concept-tree-order) that is not disabled,\n if any, to true, and return.\n2. If element's `multiple` attribute is\n absent, and two or more `option` elements in element's list of options have their selectedness set to true, then set the selectedness of all but the last `option`\n element with its selectedness set to true in\n the list of options in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)\n to false.\n\nTo send `select` update notifications for a `select` element\n element, queue an element task on the user interaction task\n source given element to run these steps:\n\n1. Set element 's user validity to true.\n2. Run update a `select`'s `selectedcontent` given\n element.\n3. Run clone selected `option` into `select` button given\n element.\n4. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `[input](https://w3c.github.io/uievents/#event-type-input)` at element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` and `[composed](https://dom.spec.whatwg.org/#dom-event-composed)`\n attributes initialized to true.\n5. [Fire an event](https://dom.spec.whatwg.org/#concept-event-fire) named `change` at element, with the `[bubbles](https://dom.spec.whatwg.org/#dom-event-bubbles)` attribute initialized to true.\n\n---\n\n`select.type`[HTMLSelectElement/type](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/type)Support in all current engines.Firefox1+Safari3+Chrome1+Opera2+Edge79+Edge (Legacy)12+Internet Explorer1+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns \"`select-multiple`\" if the element has a `multiple` attribute, and \"`select-one`\"\n otherwise.\n\n`select.options`[HTMLSelectElement/options](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/options)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns an `HTMLOptionsCollection` of the list of options.\n\n`select.length [ = value ]`\n\nReturns the number of elements in the list of\n options. When set to a smaller number, truncates the number of `option` elements in the\n `select`. When set to a greater number, adds new blank `option` elements to the\n `select`.\n\n`element = select.item(index)`[HTMLSelectElement/item](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/item)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\n`select[index]`\n\nReturns the item with index index from the list of options. The items are sorted in [tree\n order](https://dom.spec.whatwg.org/#concept-tree-order).\n\n`element = select.namedItem(name)`[HTMLSelectElement/namedItem](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/namedItem)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer6+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns the first item with [ID](https://dom.spec.whatwg.org/#concept-id) or `name` name from the list of options. Returns null if no element with that [ID](https://dom.spec.whatwg.org/#concept-id) could be found.\n\n`select.add(element [, before ])`[HTMLSelectElement/add](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/add)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nInserts element before the node given by before. The before argument can be a number, in which case element is inserted\n before the item with that number, or an element from the list of options, in which case element is\n inserted before that element. If before is omitted, null, or a number out of range, then element will\n be added at the end of the list. This method will throw a [\"`HierarchyRequestError`\"](https://webidl.spec.whatwg.org/#hierarchyrequesterror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if element is an ancestor of the element into which it is\n to be inserted.\n\n`select.selectedOptions`[HTMLSelectElement/selectedOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedOptions)Support in all current engines.Firefox26+Safari6+Chrome19+Opera9+Edge79+Edge (Legacy)12+Internet ExplorerNoFirefox Android?Safari iOS?Chrome Android?WebView Android?Samsung Internet?Opera Android10.1+\n\nReturns an `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` of the list\n of options that are selected.\n\n`select.selectedIndex [ = value ]`[HTMLSelectElement/selectedIndex](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex)Support in all current engines.Firefox1+Safari3+Chrome1+Opera12.1+Edge79+Edge (Legacy)12+Internet Explorer5.5+Firefox Android?Safari iOS1+Chrome Android?WebView Android?Samsung Internet?Opera Android12.1+\n\nReturns the index of the first selected item, if any, or −1 if there is no selected\n item. Can be set, to change the selection.\n\n`select.value [ = value ]`\n\nReturns the value of the first selected item, if\n any, or the empty string if there is no selected item. Can be set, to change the selection.\n\n`select.showPicker()`\n\nShows any applicable picker UI for select, so that the user can select a value.\n\n Throws an [\"`InvalidStateError`\"](https://webidl.spec.whatwg.org/#invalidstateerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if\n select is not mutable. Throws a [\"`NotAllowedError`\"](https://webidl.spec.whatwg.org/#notallowederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if called\n without transient user activation. Throws a [\"`SecurityError`\"](https://webidl.spec.whatwg.org/#securityerror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if\n select is inside a cross-origin `iframe`. Throws a [\"`NotSupportedError`\"](https://webidl.spec.whatwg.org/#notsupportederror) `[DOMException](https://webidl.spec.whatwg.org/#dfn-DOMException)` if\n select is not being rendered.\n\nThe `type` IDL\n attribute, on getting, must return the string \"`select-one`\" if the `multiple` attribute is absent, and the string \"`select-multiple`\" if the `multiple`\n attribute is present.\n\nThe `options` IDL attribute must return an\n `HTMLOptionsCollection` rooted at the `select` node, whose filter matches\n the elements in the list of options.\n\nThe `options` collection is also mirrored on the\n `HTMLSelectElement` object. The [supported property indices](https://webidl.spec.whatwg.org/#dfn-supported-property-indices) at any instant\n are the indices supported by the object returned by the `options` attribute at that instant.\n\nThe `length`\n IDL attribute must return the number of nodes [represented](https://dom.spec.whatwg.org/#represented-by-the-collection) by the `options` collection.\n On setting, it must act like the attribute of the same name on the `options` collection.\n\nThe `item(index)` method must return the value returned\n by [the method of the same name](https://dom.spec.whatwg.org/#dom-htmlcollection-item) on the `options` collection, when invoked with the same argument.\n\nThe `namedItem(name)` method must return the value\n returned by [the method of the same name](https://dom.spec.whatwg.org/#dom-htmlcollection-nameditem) on the\n `options` collection, when invoked with the same\n argument.\n\nWhen the user agent is to [set the value of a new indexed\n property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-a-new-indexed-property) or [set the value of an existing indexed property](https://webidl.spec.whatwg.org/#dfn-set-the-value-of-an-existing-indexed-property) for a\n `select` element, it must instead run the\n corresponding algorithm on the `select` element's `options` collection.\n\nSimilarly, the `add(element, before)` method must act\n like its namesake method on that same `options`\n collection.\n\n[HTMLSelectElement/remove](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/remove)\n\nSupport in all current engines.\n\nFirefox1+ Safari3+ Chrome1+\n\n---\n\nOpera12.1+ Edge79+\n\n---\n\nEdge (Legacy)12+ Internet Explorer5.5+\n\n---\n\nFirefox Android? Safari iOS1+ Chrome Android? WebView Android? Samsung Internet? Opera Android12.1+\n\nThe `remove()`\n method must act like its namesake method on that same `options` collection when it has arguments, and like its namesake\n method on the `[ChildNode](https://dom.spec.whatwg.org/#interface-childnode)` interface implemented by the `HTMLSelectElement`\n ancestor interface `[Element](https://dom.spec.whatwg.org/#interface-element)` when it has no arguments.\n\nThe `selectedOptions` IDL attribute must return an\n `[HTMLCollection](https://dom.spec.whatwg.org/#interface-htmlcollection)` rooted at the `select` node, whose filter matches the\n elements in the list of options that have their\n selectedness set to true.\n\nA `select` element's selected index is\n the index of the first `option` element in\n its list of options in [tree order](https://dom.spec.whatwg.org/#concept-tree-order)\n that has its selectedness set to true. If there\n isn't one, then it is −1.\n\nTo set the selected index of a `select` element\n select to a value value:\n\n1. Let firstMatchingOption be null.\n2. For each option of select's list of options:\n 1. Set option's selectedness\n to false.\n 2. If firstMatchingOption is null and option's index is equal to value, then set\n firstMatchingOption to option.\n3. If firstMatchingOption is not null, then set firstMatchingOption's\n selectedness to true and set\n firstMatchingOption's dirtiness to\n true.\n4. Run update a `select`'s `selectedcontent` given\n select.\n\nThis can result in no element having a selectedness set to true even in the case of the\n `select` element having no `multiple`\n attribute and a display size of 1.\n\nThe `selectedIndex` getter steps are to return\n [this](https://webidl.spec.whatwg.org/#this)'s selected index.\n\nThe `selectedIndex` setter steps are to set\n the selected index of [this](https://webidl.spec.whatwg.org/#this) to the given value.\n\nThe `value`\n getter steps are to return the value of the\n first `option` element in [this](https://webidl.spec.whatwg.org/#this)'s list of options in [tree order](https://dom.spec.whatwg.org/#concept-tree-order) that has its\n selectedness set to true, if any. If there isn't\n one, then return the empty string.\n\nThe `value` setter steps are:\n\n1. Let firstMatchingOption be null.\n2. For each option of [this](https://webidl.spec.whatwg.org/#this)'s list of options:\n 1. Set option's selectedness\n to false.\n 2. If firstMatchingOption is null and option's value is equal to the given value, then set\n firstMatchingOption to option.\n3. If firstMatchingOption is not null, then set firstMatchingOption's\n selectedness to true and set\n firstMatchingOption's dirtiness to\n true.\n4. Run update a `select`'s `selectedcontent` given\n [this](https://webidl.spec.whatwg.org/#this).\n\nThis can result in no element having a selectedness set to true even in the case of the\n `select` element having no `multiple`\n attribute and a display size of 1.\n\nFor historical reasons, the default value of the `size` IDL attribute does not return the actual size used, which, in\n the absence of the `size` content attribute, is either 1 or 4\n depending on the presence of the `multiple`\n attribute.\n\nThe `willValidate`, `validity`, and `validationMessage` IDL attributes, and the `checkValidity()`, `reportValidity()`, and `setCustomValidity()` methods, are part of the\n constraint validation API. The `labels` IDL\n attribute provides a list of the element's `label`s. The `disabled`, `form`, and `name` IDL attributes are part of the element's forms API.\n\n---\n\nThe following example shows how a `select` element can be used to offer the user\n with a set of options from which the user can select a single option. The default option is\n preselected.\n\n```\n

    \n```\n\nWhen there is no default option, a placeholder can be used instead:\n\n```\n\n```\n\nHere, the user is offered a set of options from which they can select any number. By default,\n all five options are selected.\n\n```\n

    \n```\n\nSometimes, a user has to select one or more items. This example shows such an interface.\n\n```\n\n```\n\nOccasionally it can be useful to have a separator:\n\n```\n