News

Non‑Indexable Titles Demo 5

Spread the love

1.CSS-5

<h2 id="css5"></h2>
<style>#css5::before{content:"1.CSS-5";}</style>

2.ATTR-5

<h2 data-title="2.ATTR-5" id="attr5"></h2>
<style>#attr5::before{content:attr(data-title);}</style>

3.IMG-5

<h2><img src="path/to/title5.png" alt=""></h2>

4.B64-5

// PHP GD ⇒ base64 image (see code sample)

5.SVGEM-5

<object data="title5.svg" type="image/svg+xml"></object>

6.CAN-5

<canvas id="can5" width="400" height="60"></canvas>
<script>
 const c=document.getElementById('can5').getContext('2d');
 c.font='32px Arial';c.fillText('6.CAN-5',10,40);
</script>

7.WEBGL-5

// WebGL canvas – omitted for brevity

8.JS-5

<h2 id="js5"></h2>
<script>document.getElementById('js5').innerText='8.JS-5';</script>

9.EVT-5

<h2 id="evt5">(click)</h2>
<script>document.getElementById('evt5').onclick=()=>{event.target.innerText='9.EVT-5'};</script>

10.COM-5

<h2><!--10.COM-5--></h2>
<script>...extract comment...</script>

11.ENC-5

// atob(<base64>) then inject

12.IFR-5

<iframe src="title5.html"></iframe>

13.PDF-5

<embed src="title5.pdf" type="application/pdf">

14.FNT-5

// custom icon font glyphs

15.FRM-5

<input value="15.FRM-5" disabled>

16.OBJ-5

<object data="title5-content.html"></object>

17.EMB-5

<embed src="title5-content.html">

18.SHD-5

<h2 is="shadow-title-5"></h2>
<script>
 class ShadowTitle5 extends HTMLHeadingElement{
   constructor(){super();const s=this.attachShadow({mode:'closed'});
   const span=document.createElement('span');span.textContent='18.SHD-5';s.appendChild(span);}
 }
 customElements.define('shadow-title-5',ShadowTitle5,{extends:'h2'});
</script>

19.B64SVG-5

// <img src="data:image/svg+xml;base64,...">

20.XHR-5

<h2 id="xhr5"></h2>
<script>fetch('title5.txt').then(r=>r.text()).then(t=>xhr5.innerText=t);</script>