Forum:Replacing things deprecated by HTML 5.0: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
Line 4: Line 4:
Following up on [[Forum:Some HTML will no longer work. Or, why aren't things centered anymore?|the earlier notification of the demise of some pre-HTML5 tags]], I've begun the process of creating template workarounds for some of the now-extinct HTML commands, where such workarounds are possible.   
Following up on [[Forum:Some HTML will no longer work. Or, why aren't things centered anymore?|the earlier notification of the demise of some pre-HTML5 tags]], I've begun the process of creating template workarounds for some of the now-extinct HTML commands, where such workarounds are possible.   


First up on the list are {{tlx|s}} for {{s|strikethroughs}} and {{tlx|u}} for {{u|underlining}}. These templates replace <nowiki><s> and <u></nowiki>, respectively.  These are both super easy to use, and both work in the same way.  {{tlx|s|watch what happens now}}, for instance, produces {{s|watch what happens now}}.  {{user:CzechOut/Sig}}&nbsp;<span style="{{User:CzechOut/TimeFormat}}">15:38: Tue&nbsp;17 Jul 2012&nbsp;</span>
First up on the list are {{tlx|s}} for {{s|strikethroughs}}, {{tlx|u}} for {{u|underlining}} and {{tlx|tt}} for {{tt|typewriter text}}. These templates replace <nowiki><s> and <u></nowiki>, respectively.  These are both super easy to use, and both work in the same way.  {{tlx|s|watch what happens now}}, for instance, produces {{s|watch what happens now}}.  {{user:CzechOut/Sig}}&nbsp;<span style="{{User:CzechOut/TimeFormat}}">15:38: Tue&nbsp;17 Jul 2012&nbsp;</span>
</div>
</div>

Revision as of 16:11, 17 July 2012

IndexTech notes → Replacing things deprecated by HTML 5.0
Spoilers are strongly policed here.
If this thread's title doesn't specify it's spoilery, don't bring any up.

Following up on the earlier notification of the demise of some pre-HTML5 tags, I've begun the process of creating template workarounds for some of the now-extinct HTML commands, where such workarounds are possible.

First up on the list are {{s}} for strikethroughs, {{u}} for underlining and {{tt}} for typewriter text. These templates replace <s> and <u>, respectively. These are both super easy to use, and both work in the same way. {{s|watch what happens now}}, for instance, produces watch what happens now.
czechout<staff />    <span style="">15:38: Tue 17 Jul 2012