Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Title One</title>
<title>Title Two</title>
<link rel="author" title="Deepith N" href="mailto:deepithdeekshith@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
test(function() {
assert_equals(document.title, "Title One", "The document's title should be the content of the first <title> element.");
}, "Browsers must ignore <title> elements after the first one.");
</script>
</body>
</html>