Help:HTML in wikitext: Difference between revisions

Content deleted Content added
TRANSWIKI: Copied from Meta:Help:HTML in wikitext.
 
TRANSWIKI: Copied from Meta:Help:HTML in wikitext.
Line 62:
:'''Update:''' In 1.5, the removeHTMLtags function is now located in Sanitizer.php.
 
For many HTML elements, more convenient wikitext code is available, see [[Help:Editing]]. On the other hand, HTML tags allow an id that can be referenced in one's [[Help:User style|user style]] css, and allows the tag to be used as link target.
 
<pre>
Line 146:
==Font==
 
''Note: This element is deprecated[[w:Deprecation|deprecate]]d (should not be used) in favour of [[#Span|<nowiki><span></nowiki>]].''
 
For some attributes, like color, one can also use
Line 168:
The font element can even be used to replace span, e.g.
 
<nowiki>a height of 20000 <font title="30.48 cm" class="title">20000 ft</font> above sea level</nowiki>
 
giving
 
a height of 20000 <font title="30.48 cm" class="title">20000 ft</font> above sea level
 
(note the hover box over "20000 ft").
 
Use a css line like