HTML-Inspect
view release on metacpan or search on metacpan
t/data/links.html view on Meta::CPAN
<!DOCTYPE html>
<html class=split lang=en-US-x-hixie>
<!--
This document was taken from https://html.spec.whatwg.org/multipage/dom.html and
addapted for our tests.
https://whatwg.org/
Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed
under a Creative Commons Attribution 4.0 International License.
Note the missing <head>, attribute quotes, etc!
view-source:https://html.spec.whatwg.org/multipage/dom.html
-->
<!-- Duplicate links will be deduplicated.
First occurence takes precedence. -->
<bAse hRef="https://html.spec.whatwg.org/multipage/">
<base hRef="https://html.spec.whatwg.org/multipage/">
<script src=/link-fixup.js defer=""></script>
<META CHARSET=UTF-8>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name=viewport>
<title>HTML Standard</title>
<meta content=#3c790a name=theme-color>
<link rel=stylesheet href=https://resources.whatwg.org/spec.css crossorigin="anonymous">
<link rel=stylesheet href=https://resources.whatwg.org/standard.css crossorigin="">
<link rel=stylesheet href=https://resources.whatwg.org/standard-shared-with-dev.css>
<link rEl=stylesheet href=https://resources.whatwg.org/standard-shared-with-dev.css>
<link REL=icon href=https://resources.whatwg.org/logo.svg crossorigin="use-credentials">
<link rel=icon href=https://resources.whatwg.org/logo.svg>
<link rel=stylesheet href=/styles.css crossorigin="">
<script>
function toggleStatus(div) {
div.parentNode.classList.toggle('wrapped');
}
function setLinkFragment(link) {
link.hash = location.hash;
}
</script>
<body>
<script async="" crossorigin="" src=/html-dfn.js></script>
<script async="" crossorigin="" src=/html-dfn.js></script>
<script data-file-issue-url=https://github.com/whatwg/html/issues/new async="" crossorigin="" src=https://resources.whatwg.org/file-issue.js></script>
<header id=head class="head with-buttons">
<a href=https://whatwg.org/ class=logo><img width=100 alt=WHATWG crossorigin="" src=https://resources.whatwg.org/logo.svg height=100></a>
<hgroup>
<h1 class=allcaps>HTML</h1>
<h2 id=living-standard class="no-num no-toc">Living Standard â Last Updated <span class=pubdate>13 July 2021</span></h2>
</hgroup>
</header>
<!-- some links from the original document, which do not add diversity, are stripped -->
<nav>
<a href=structured-data.html>â 2.7 Safe passing of structured data</a> â <a href=./>Table of Contents</a> â <a href=semantics.html>4 The elements of HTML â</a>
</nav>
<ol class=toc>
<li id=toc-dom><a href=dom.html#dom><span class=secno>3</span> Semantics, structure, and APIs of HTML documents</a>
<ol>
<li><a href=dom.html#documents><span class=secno>3.1</span> Documents</a>
</ol>
<ol>
<li><a href=dom.html#elements><span class=secno>3.2</span> Elements</a>
<ol>
<li><a href=dom.html#semantics-2><span class=secno>3.2.1</span> Semantics</a>
<li><a href=dom.html#elements-in-the-dom><span class=secno>3.2.2</span> Elements in the DOM</a>
<li><a href=dom.html#html-element-constructors><span class=secno>3.2.3</span> HTML element constructors</a>
<li><a href=dom.html#element-definitions><span class=secno>3.2.4</span> Element definitions</a>
</ol>
<h3 id=documents><span class=secno>3.1</span> Documents<a href=#documents class=self-link></a></h3>
<p>Every XML and HTML document in an HTML UA is represented by a <code id=documents:document><a href=#document>Document</a></code> object. <a href=references.html#refsDOM>[DOM]</a></p>
<p class=warning>Interactive user agents typically expose the <code id=documents:document-5><a href=#document>Document</a></code> object's
<a href=https://dom.spec.whatwg.org/#concept-document-url id="documents:the-document's-address" data-x-internal="the-document's-address">URL</a> in their user interface. This is the primary
mechanism by which a user can tell if a site is attempting to impersonate another.</p>
....
<!-- taken from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area -->
<map name="infographic">
<area shape="rect" coords="184,6,253,27"
href="https://mozilla.org"
target="_blank" alt="Mozilla" />
<area shape="circle" coords="130,136,60"
href="https://developer.mozilla.org/"
( run in 0.503 second using v1.01-cache-2.11-cpan-6fb7bf0f510 )