Difference between revisions of "Test:Invisible text"

From Wikispooks
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
 
==This is one way to hide unwanted text==
 
==This is one way to hide unwanted text==
 
c.f. https://www.w3schools.com/CSSref/pr_class_visibility.asp
 
c.f. https://www.w3schools.com/CSSref/pr_class_visibility.asp
Line 7: Line 8:
  
 
<p><span>hi</span><span style="visibility:hidden">de</span></p>
 
<p><span>hi</span><span style="visibility:hidden">de</span></p>
 +
 +
{{FA}[[template:invisible]]}}
 +
<nowiki><p>x {{invisible|lorem ipsum}} yz</p></nowiki>
 +
 +
displays as:
 +
 +
<p>x {{invisible|lorem ipsum}} yz</p>

Latest revision as of 15:24, 27 July 2019

This is one way to hide unwanted text

c.f. https://www.w3schools.com/CSSref/pr_class_visibility.asp

<p><span>hi</span><span style="visibility:hidden">de</span></p>

displays as:

hide

{{FA}template:invisible}} <p>x {{invisible|lorem ipsum}} yz</p>

displays as:

x lorem ipsum yz