Log in Help page Discussion History Go to the site toolbox

Difference between revisions of "Help:HTML in wikitext"

From BluWiki

m (Reverted edits by 192.72.124.10 (Talk); changed back to last version by Sam Odio)
Line 1: Line 1:
{{Incomplete}}
+
[http://miki-hana.isuisse.com/description/gioiello-on/ gioiello on line] [http://pahopewe.angelfire.com/resources/minner.htm minner] [http://miki-hana.isuisse.com/description/dolce-e/ dolce e gabbana occhiali da sole] [http://billy-brown.isuisse.com/blog/vaso-rossi.htm vaso rossi] [http://epbristo.angelfire.com/nude-in/ nude in discoteca] [http://scsheppe.angelfire.com/articles/socket-.htm socket 478 i] [http://arb-digits.iespana.es/web/athlon-.htm athlon 3400 64 plus] [http://da-kosta.iespana.es/directory/uomo-in.htm uomo in machina] [http://salpukka.isuisse.com/lib/codici-gta/ codici gta sant andreas] [http://marebeck.angelfire.com/new/trasporti-funebri/ trasporti funebri] [http://hibiscus-blue.ibelgique.com/view/washington-dc.htm washington dc cose fare] [http://scsheppe.angelfire.com/articles/fax-canon.htm fax canon laser] [http://pahopewe.angelfire.com/resources/nia-com.htm nia com] [http://the-ile.iespana.es/cuando-ella/ cuando ella me amaba] [http://cakresen.angelfire.com/articles/tuttosesso-gay.htm tuttosesso gay] [http://brkim.angelfire.com/resources/lady-mermelade.htm lady mermelade] [http://abr-abrante.iespana.es/content/xxxmanga-video/ xxxmanga video] [http://mentalquicksand.ibelgique.com/library/ebay-italia.htm ebay italia] [http://farshad-uk.isuisse.com/styles/adventures-the.htm adventures the james bombs] [http://ana-princes.iespana.es/new/mini-one/ mini one roma] [http://glchinsy.angelfire.com/topic/grand-hotel/ grand hotel de la ville] [http://bodendrucker.ibelgique.com/resources/pittura-del/ pittura del 900] [http://bodendrucker.ibelgique.com/resources/video-di/ video di usher] [http://add-clab.isuisse.com/styles/foto-viewer.htm foto viewer] [http://quarantined-x.iespana.es/view/irgun-zvai/ irgun zvai leumi] [http://masteriii.isuisse.com/dj-book.htm dj book] [http://marebeck.angelfire.com/new/wolfenstein-enemy/ wolfenstein enemy territory] [http://sharkymel.isuisse.com/web/playstation-/ playstation 2 slim] [http://muamive.isuisse.com/library/cavalier-king/ cavalier king charles spaniel] [http://re-nrevival.isuisse.com/view/anticipi-posticipi.htm anticipi posticipi serie 2003 2004] [http://glmillig.angelfire.com/library/christina-plat.htm christina plat] [http://iaa.ibelgique.com/blog/sexy-patatina.htm sexy patatina] [http://eupnea.ibelgique.com/eleonora-di/ eleonora di miele foto] [http://marebeck.angelfire.com/new/torneo-di/ torneo di tennis  tennis game] [http://bodendrucker.ibelgique.com/resources/la-isla/ la isla bonita madonna] [http://billy-brown.isuisse.com/blog/leslie-sobri.htm leslie sobri mp3] [http://zigz-kom.isuisse.com/audi-nuoro/ audi nuoro] [http://sarahxion.ibelgique.com/blog/monitor-lcd.htm monitor lcd prezzo] [http://ruoj-ruoj.isuisse.com/description/modena-city/ modena city ramblers] [http://anryg.iespana.es/lib/sisi-srl.htm sisi srl] [http://song-love.iespana.es/content/hp-n/ hp 2550n] [http://abr-abrante.iespana.es/content/barry-white/ barry white tema de amor] [http://mongo42.ibelgique.com/asrock-nforce/ asrock nforce3] [http://todomy.ibelgique.com/directory/spremuta/ spremuta] [http://epbristo.angelfire.com/porta-tv/ porta tv etnico] [http://dafredri.angelfire.com/articles/libri-gabriele/ libri gabriele mino] [http://cakresen.angelfire.com/articles/foods.htm foods] [http://farshad-uk.isuisse.com/styles/scrittori-italiani.htm scrittori italiani] [http://jkc42.ibelgique.com/il-signore.htm il signore del castello] [http://vanisky-love.iespana.es/resources/nokia-/ nokia 9300 communicator] [http://killbox.ibelgique.com/html/just-cavalli.htm just cavalli jeans] [http://miki-hana.isuisse.com/description/il-sindacalista/ il sindacalista] [http://glchinsy.angelfire.com/topic/mimetica-tedesca/ mimetica tedesca] [http://borg77.iespana.es/styles/modelli-excel/ modelli excel 2000] [http://dafredri.angelfire.com/articles/remix-gabry/ remix gabry ponte] [http://songsoutofkey.isuisse.com/view/in-the.htm in the sanctuary] [http://girlwithacurl.ibelgique.com/small/camarillo-brillo.htm camarillo brillo] [http://hexa1598.ibelgique.com/kakuto-chojin/ kakuto chojin] [http://therealocelot.ibelgique.com/articles/pc-mb/ pc 512mb] [http://salpukka.isuisse.com/lib/notte-ubriaca/ notte ubriaca grande fratello] [http://hexa1598.ibelgique.com/en-bola/ en bola] [http://therealocelot.ibelgique.com/articles/cordless-sl/ cordless sl440] [http://zelankom.iespana.es/canon-eos/ canon eos 20d 18 55 55] [http://re-nrevival.isuisse.com/view/hong-nhung.htm hong nhung nude] [http://add-clab.isuisse.com/styles/mrk-produzione.htm mrk produzione] [http://ofdays.isuisse.com/library/non-parli/ non parli mai] [http://songsoutofkey.isuisse.com/view/amo-il.htm amo il cazzo] [http://cutterjon.isuisse.com/content/tiempo-y.htm tiempo y silencio] [http://da-kosta.iespana.es/directory/i-siti.htm i siti di oggi] [http://miki-hana.isuisse.com/description/pronto-il/ pronto il client di the universal] [http://ms-dirtnap.ibelgique.com/description/home-theatre/ home theatre divx sony] [http://magenta4eva.iespana.es/kocaeli.htm kocaeli] [http://scsheppe.angelfire.com/articles/beautiful-soul.htm beautiful soul di jesse mc cartney] [http://therealocelot.ibelgique.com/articles/six-execise/ six execise] [http://miki-hana.isuisse.com/description/societa-sami/ societa sami (mi] [http://sharkymel.isuisse.com/web/intrusivo/ intrusivo] [http://sharkymel.isuisse.com/web/donne-indiavolate/ donne indiavolate] [http://dafredri.angelfire.com/articles/valentina-stella/ valentina stella] [http://anryg.iespana.es/lib/frigorifero-ariston.htm frigorifero ariston mta] [http://you-edicks.iespana.es/web/fifa-.htm fifa 2000 gbc] [http://ofdays.isuisse.com/library/david-hasselhoff/ david hasselhoff] [http://ruoj-ruoj.isuisse.com/description/nuova-honda/ nuova honda transalp 2005] [http://brkim.angelfire.com/resources/gli-impressionisti.htm gli impressionisti] [http://magenta4eva.iespana.es/nuove-immagini.htm nuove immagini da blitzkrieg 2] [http://cutterjon.isuisse.com/content/girls-nude.htm girls nude] [http://eupnea.ibelgique.com/kaeon/ kaeon] [http://add-clab.isuisse.com/styles/urla.htm urla] [http://bet-deratos.iespana.es/topic/domini-ue/ domini ue] [http://mongo42.ibelgique.com/rocket-/ rocket  robot on wheels] [http://akyla-pera.isuisse.com/text/elefantino-blu.htm elefantino blu] [http://akyla-pera.isuisse.com/text/ver-fotografias.htm ver fotografias de lenny kravitz] [http://scsheppe.angelfire.com/articles/samsung-condizionatori.htm samsung condizionatori fissi] [http://ofdays.isuisse.com/library/il-giardino/ il giardino dell amore] [http://blaleyne.angelfire.com/new/in-tour.htm in tour] [http://farshad-uk.isuisse.com/styles/spaccio-aziendale.htm spaccio aziendale it] [http://marebeck.angelfire.com/new/claydermann/ claydermann] [http://abr-abrante.iespana.es/content/canon-g/ canon g3] [http://bodendrucker.ibelgique.com/resources/software-paghe/ software paghe] [http://night-sacrifice.isuisse.com/resources/delisle-guillaume.htm delisle guillaume] [http://jkc42.ibelgique.com/normativa-orario.htm normativa orario di lavoro] {{Incomplete}}
 
From Wikipedia  [http://en.wikipedia.org/wiki/Help:HTML_in_wikitext] GNU Free Documentation License (GFDL)
 
From Wikipedia  [http://en.wikipedia.org/wiki/Help:HTML_in_wikitext] GNU Free Documentation License (GFDL)
  
Line 7: Line 7:
 
{| border="0" cellpadding="5"
 
{| border="0" cellpadding="5"
 
| valign="top"|
 
| valign="top"|
* [[w:HTML_element#Presentational_markup|<b>]]
+
* [[w:HTML_element#Presentational_markup|
* [[w:HTML_element#Presentational_markup|<big>]]
+
* [[w:HTML_element#Block-level|<blockquote>]]
+
* [[w:HTML_element#Others|<br>]]
+
* [[w:HTML_element#Tables|<caption>]]
+
* <center>
+
* <cite>
+
* [[w:HTML_element#Inline|<code>]]
+
* [[w:HTML_element#Lists|<dd>]]
+
* [[w:HTML_element#Other_containers|<div>]]
+
* [[w:HTML_element#Lists|<dl>]]
+
* [[w:HTML_element#Lists|<dt>]]
+
* [[w:HTML_element#Inline|<em>]]
+
* [[w:HTML_element#Presentational_markup|<font>]]
+
* [[w:HTML_element#Headings|<h1>]]
+
| valign="top"|
+
* [[w:HTML_element#Headings|<h2>]]
+
* [[w:HTML_element#Headings|<h3>]]
+
* [[w:HTML_element#Headings|<h4>]]
+
* [[w:HTML_element#Headings|<h5>]]
+
* [[w:HTML_element#Headings|<h6>]]
+
* [[w:HTML_element#Block-level|<hr>]]
+
* [[w:HTML_element#Presentational_markup|<i>]]
+
* [[w:HTML_element#Lists|<li>]]
+
* [[w:HTML_element#Lists|<ol>]]
+
* [[w:HTML_element#Block-level|<p>]]
+
* [[w:HTML_element#Block-level|<pre>]]
+
* [http://www.w3.org/TR/1999/WD-ruby-19990322/ <rb>]
+
* [http://www.w3.org/TR/1999/WD-ruby-19990322/ <rp>]
+
* [http://www.w3.org/TR/1999/WD-ruby-19990322/ <rt>]
+
* [http://www.w3.org/TR/1999/WD-ruby-19990322/ <ruby>]
+
| valign="top"|
+
* [[w:HTML_element#Presentational_markup|<s>]]
+
* [[w:HTML_element#Presentational_markup|<small>]]
+
* [[w:HTML_element#Presentational_markup|<strike>]]
+
* [[w:HTML_element#Inline|<strong>]]
+
* [[w:HTML_element#Inline|<sub>]]
+
* [[w:HTML_element#Inline|<sup>]]
+
* [[w:HTML_element#Tables|<table>]]
+
* [[w:HTML_element#Tables|<td>]]
+
* [[w:HTML_element#Tables|<th>]]
+
* [[w:HTML_element#Tables|<tr>]]
+
* [[w:HTML_element#Presentational_markup|<tt>]]
+
* [[w:HTML_element#Presentational_markup|<u>]]
+
* [[w:HTML_element#Lists|<ul>]]
+
* [[w:HTML_element#Inline|<var>]]
+
* [[w:HTML_element#Others|<!-- ... -->]]
+
|}
+
 
+
The following excerpt from [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phpwiki/newcodebase/OutputPage.php OutputPage.php] additionally shows which attributes are allowed.
+
 
+
:'''Update:''' In 1.4rc1, the removeHTMLtags function is located in Parser.php.
+
 
+
:'''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>
+
        /* private */ function removeHTMLtags( $text )
+
        {
+
                wfProfileIn( "OutputPage::removeHTMLtags" );
+
                $htmlpairs = array( # Tags that must be closed
+
                        "b", "i", "u", "font", "big", "small", "sub", "sup", "h1",
+
                        "h2", "h3", "h4", "h5", "h6", "cite", "code", "em", "s",
+
                        "strike", "strong", "tt", "var", "div", "center",
+
                        "blockquote", "ol", "ul", "dl", "table", "caption", "pre",
+
                        "ruby", "rt" , "rb" , "rp"
+
                );
+
                $htmlsingle = array(
+
                        "br", "p", "hr", "li", "dt", "dd"
+
                );
+
                $htmlnest = array( # Tags that can be nested--??
+
                        "table", "tr", "td", "th", "div", "blockquote", "ol", "ul",
+
                        "dl", "font", "big", "small", "sub", "sup"
+
                );
+
                $tabletags = array( # Can only appear inside table
+
                        "td", "th", "tr"
+
                );
+
 
+
                $htmlsingle = array_merge( $tabletags, $htmlsingle );
+
                $htmlelements = array_merge( $htmlsingle, $htmlpairs );
+
 
+
                $htmlattrs = array( # Allowed attributes--no scripting, etc.
+
                        "title", "align", "lang", "dir", "width", "height",
+
                        "bgcolor", "clear", /* BR */ "noshade", /* HR */
+
                        "cite", /* BLOCKQUOTE, Q */ "size", "face", "color",
+
                        /* FONT */ "type", "start", "value", "compact",
+
                        /* For various lists, mostly deprecated but safe */
+
                        "summary", "width", "border", "frame", "rules",
+
                        "cellspacing", "cellpadding", "valign", "char",
+
                        "charoff", "colgroup", "col", "span", "abbr", "axis",
+
                        "headers", "scope", "rowspan", "colspan", /* Tables */
+
                        "id", "class", "name", "style" /* For CSS */
+
                );
+
</pre>
+
 
+
E.g., element "a" is not allowed, and the wikitext
+
 
+
<a href="<nowiki>http://meta.wikimedia.org/wiki/Main_Page</nowiki>">Main Page</a>
+
 
+
produces the HTML code
+
 
+
&amp;lt;a href="<nowiki>http://meta.wikimedia.org/wiki/Main_Page</nowiki>"&amp;gt;Main Page&amp;lt;/a&amp;gt;
+
 
+
which renders as the wikitext, not working as a link.
+
 
+
==Span==
+
 
+
<code><nowiki><span></nowiki></code>, a generic inline text container, is now allowed on default MediaWiki installations (as of version 1.5). Span can be ID'd, classed, or styled:
+
 
+
<nowiki>This is <span style="color:red">red</span> text.</nowiki>
+
+
<nowiki>This is <span id="randomfooid">identified</span> text.</nowiki>
+
+
<nowiki>This is <span class="importantmessage">classed</span> text.</nowiki>
+
produces:
+
 
+
<blockquote>
+
 
+
This is <span style="color:red">red</span> text.
+
 
+
This is <span id="randomfooid">identified</span> text.
+
 
+
This is <span class="importantmessage">classed</span> text.
+
 
+
</blockquote>
+
 
+
IDs and classes are used in conjunction with stylesheets to give a piece of text a descriptive class (or unique identifier) and to refer to that in a stylesheet.
+
 
+
Note that in most cases, one can use a more descriptive tag, for instance, <strong><nowiki><strong></nowiki></strong> (which can be classed, identified, and styled, as well) to indicate an important piece of text, or <em><nowiki><em></nowiki></em> (subject to the same things as strong) to indicate an emphasized piece of text. For instance, the above might be better reformulated as
+
 
+
<nowiki>This is <em style="color:red;font-style:normal">red</em> text.</nowiki>
+
 
+
<blockquote>This is <em style="color:red;font-style:normal">red</em> text.</blockquote>
+
 
+
This not only draws the user's attention to the text, but can also alert those who are using nonvisual browsers or have sight impairments, etc. to the fact that that is <em>emphasized text</em>.
+
 
+
Using {{timc|H:title}}, <nowiki>"a height of {{h:title|6.1 km|20000 ft}} above sea level"</nowiki> gives "a height of {{h:title|6.1 km|20000 ft}} above sea level" (note the hover box over "20000 ft").
+
 
+
==Font==
+
 
+
''Note: This element is [[w:Deprecation|deprecate]]d (should not be used) in favor of [[#Span|<nowiki><span></nowiki>]].''
+
 
+
For some attributes, like color, one can also use
+
 
+
<pre>
+
a <font style="color: red">red</font> word
+
</pre>
+
 
+
or
+
 
+
<pre>
+
a <font color=red>red</font> word.
+
</pre>
+
 
+
giving
+
 
+
a <font style="color: red">red</font> word
+
 
+
a <font color=red>red</font> word
+
 
+
==Div==
+
 
+
E.g. to assign the class "red" to a text one can put
+
 
+
&lt;div class="red">example text&lt;/div>
+
 
+
which gives <div class="red">example text</div> which is in red if the css line
+
 
+
.red {color:red}
+
 
+
is applicable.
+
 
+
This is suitable if the color is specifically intended to be red; if it is just for emphasis a more general term for the class would be more appropriate, because css allows the user to choose another method of emphasis (another color, bold, enlarged, etc.).
+
 
+
Note that many readers will not have their own css with such lines as ".red {color:red}", so one cannot refer to "the red text above", etc.
+
 
+
==External links==
+
 
+
* [http://www.w3.org/TR/html401/index/elements.html elements] | [http://www.w3.org/TR/html401/index/attributes.html attributes]
+
 
+
{{H:f|langs=|enname=HTML in wikitext}}
+
 
+
[[Category:Help]]
+

Revision as of 09:45, 9 September 2007

gioiello on line minner dolce e gabbana occhiali da sole vaso rossi nude in discoteca socket 478 i athlon 3400 64 plus uomo in machina codici gta sant andreas trasporti funebri washington dc cose fare fax canon laser nia com cuando ella me amaba tuttosesso gay lady mermelade xxxmanga video ebay italia adventures the james bombs mini one roma grand hotel de la ville pittura del 900 video di usher foto viewer irgun zvai leumi dj book wolfenstein enemy territory playstation 2 slim cavalier king charles spaniel anticipi posticipi serie 2003 2004 christina plat sexy patatina eleonora di miele foto torneo di tennis tennis game la isla bonita madonna leslie sobri mp3 audi nuoro monitor lcd prezzo modena city ramblers sisi srl hp 2550n barry white tema de amor asrock nforce3 spremuta porta tv etnico libri gabriele mino foods scrittori italiani il signore del castello nokia 9300 communicator just cavalli jeans il sindacalista mimetica tedesca modelli excel 2000 remix gabry ponte in the sanctuary camarillo brillo kakuto chojin pc 512mb notte ubriaca grande fratello en bola cordless sl440 canon eos 20d 18 55 55 hong nhung nude mrk produzione non parli mai amo il cazzo tiempo y silencio i siti di oggi pronto il client di the universal home theatre divx sony kocaeli beautiful soul di jesse mc cartney six execise societa sami (mi intrusivo donne indiavolate valentina stella frigorifero ariston mta fifa 2000 gbc david hasselhoff nuova honda transalp 2005 gli impressionisti nuove immagini da blitzkrieg 2 girls nude kaeon urla domini ue rocket robot on wheels elefantino blu ver fotografias de lenny kravitz samsung condizionatori fissi il giardino dell amore in tour spaccio aziendale it claydermann canon g3 software paghe delisle guillaume normativa orario di lavoro

Accessories-text-editor.png Incomplete page: please contribute. - BluWiki is unique in that original page authors normally decide who can edit their page. By putting this banner up, the author(s) of this page believe it is incomplete, and is asking for the assistance of others. Please help them by adding useful information to it. You might find more information about what is needed in discussion of this page.

From Wikipedia [1] GNU Free Documentation License (GFDL)

Permitted HTML

The following HTML elements are currently permitted:

  • [[w:HTML_element#Presentational_markup|

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2

Disclaimers - About BluWiki