Difference between revisions of "Test:Invisible text"

From Wikispooks
Jump to navigation Jump to search
m (Robin moved page Test:Invisibe text to Test:Invisible text without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<p><span style="visibility:hidden">hi</span><span>de</span></p>
+
 
 +
==This is one way to hide unwanted text==
 +
c.f. https://www.w3schools.com/CSSref/pr_class_visibility.asp
 +
 
 +
<nowiki><p><span>hi</span><span style="visibility:hidden">de</span></p></nowiki>
 +
 
 +
displays as:
 +
 
 +
<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