dockids.html (998B)
1 <!doctype html> 2 <html> 3 <head> 4 <link rel="next" href="http://www.mozilla.org"> 5 <style> 6 head, link, a { display: block; } 7 link:after { content: "Link to " attr(href); } 8 </style> 9 <script> 10 window.onload = function() { 11 document.documentElement.appendChild(document.createElement("input")); 12 13 var l = document.createElement("link"); 14 // eslint-disable-next-line @microsoft/sdl/no-insecure-url 15 l.href = "http://www.mozilla.org"; 16 l.textContent = "Another "; 17 document.documentElement.appendChild(l); 18 19 l = document.createElement("a"); 20 // eslint-disable-next-line @microsoft/sdl/no-insecure-url 21 l.href = "http://www.mozilla.org"; 22 l.textContent = "Yet another link to mozilla"; 23 document.documentElement.appendChild(l); 24 }; 25 </script> 26 </head> 27 <body> 28 Hey, I'm a <body> with three links that are not inside me and an input 29 that's not inside me. 30 </body> 31 </body> 32 </html>