Element HTML: Razlika med redakcijama

Izbrisana vsebina Dodana vsebina
m sl.
m sl.
Vrstica 168:
 
==== Seznami ====
Urejeni, oštevilčeni ali neoštevilčeni podatki se lahko zložijo v sezname.
 
{{Anchor|dl|dl_tag}}{{XMLElement|dl|Definition List|...}}
Vrstica 328 ⟶ 329:
 
{{Anchor|small|small_tag}}{{XMLElement|small|Small|...}}
:V HTML 4, decreasedpomanjšana fontvelikost sizepisave (<small>smallerpomanjšano</small> textbesedilo). Zapis s CSS: <code>{font-size: smaller}</code>
:V HTML 5, element <code>small</code> označuje "sidestranske commentskomentarje suchkot asje smallmali printtisk."<ref name="html5-small-element">{{citation|url=http://developers.whatwg.org/text-level-semantics.html#the-small-element |title=4.6 Text-level semantics — The small element |publisher=Developers.whatwg.org |date= |accessdate=2012-03-26}}</ref>
:'''Standardizirano''' v [[#HTML32|HTML 3.2]].
 
{{Anchor|s|s_tag}}{{XMLElement|s|Strikethrough|...}}
:V HTML 4 se uporablja za <s>prečrtanje</s> (angl. ''strikethrough'') označenega besedila in je enak <code>strike</code>.
:V HTML 5, element <code>s</code> označuje informacijo, ki "ni več točna ali ni več ustrezna" in njanaj se ne zamenjuje z <code>del</code>, ki označuje odstranitev/izbridizbris.<ref name="html5-s-element">{{citation|url=http://developers.whatwg.org/text-level-semantics.html#the-s-element |title=4.6 Text-level semantics — The s element |publisher=Developers.whatwg.org |date= |accessdate=2012-03-26}}</ref>
:<code>S</code> '''nezaželjeno''' v [[#HTML401|HTML 4.0 Transitional]] in '''napačno''' v [[#HTML401|HTML 4.0 Strict]]. Element <code>s</code> je bil ponovno uveden v HTML 5.
 
{{Anchor|big|big_tag}}{{XMLElement|big|Big|...|}}
:IncreasedPovečana fontvelikost sizepisave (<big>biggerpovečano</big> textbesedilo). Zapis s CSS: <code>{font-size: larger}</code>
:'''Standardizirano''' v [[#HTML32|HTML 3.2]]; notnepodprto supported inv [[HTML5]].
 
{{Anchor|strike|strike_tag}}{{XMLElement|strike|Strikethrough|...|}}
Vrstica 346 ⟶ 347:
 
{{Anchor|tt|tt_tag}}{{XMLElement|tt|Teletype|...|}}
:[[non-proportionalPisava font|Fixed-width]]s fontčrkami (<tt>typewriter-like</tt>)enake širine, alsoki known asje <tt>[[teletype]]vgrajena v pisalnih strojih</tt> (angl. ''typewriter type''). (Zapis s CSS: <code>{font-family: monospace;}</code>)
:<code>TT</code> je obstajal v ''[[#HTMLDRAFT12|HTML Internet Draft 1.2]]'', '''standardizirano''' v [[#HTML20|HTML 2.0]]; not supportednepodprto<ref name="html5-tt-not-supported">{{citation|url=http://www.w3.org/TR/html5/obsolete.html#non-conforming-features |title=11 Obsolete features — HTML5 |publisher=W3.org |date= |accessdate=2012-03-26}}</ref> inv HTML 5.
 
<!-- font description start -->
{{Anchor|font|font_tag}}{{XMLElement|font|Teletype|...|}}
:<code>&lt;font [color=<var>colorbarva</var>] [size=<var>sizevelikost</var>] [face=<var>faceime pisave</var>]&gt;...&lt;/font&gt;</code>
:CanDoloči specifyse thelahko font color with theatribut <code>color</code> attribute, typefacetip withpisave thez atributom <code>face</code> attribute,in andabsolutna absoluteali orrelativna relative sizevelikost withz theatributom <code>size</code> attribute.
:Primeri (vsi tipi uporab so nezaželjeni, uporablja se ekvivalenten CSS, če je to mogoče):
:Examples (all uses are deprecated, use CSS equivalents if possible):
:# <code>&lt;font color="green">textbesedilo&lt;/font></code> createsizpiše <span style="color:green;">greenzeleno textbesedilo</span>.
:# <code>&lt;font color="#114499">textbesedilo&lt;/font></code> createsizpiše <span style="color:#149;">textbesedilo withv [[HexSpletna tripletbarva|hexadecimalšestnajstiškem colorzapisu barv]] #114499</span>.
:# <code>&lt;font size="4">textbesedilo&lt;/font></code> createsizpiše <font size="4">textbesedilo</font> withz sizevelikostjo 4. SizesVelikosti areso fromlahko od 1 todo 7. Standardna Thevelikost standard size isje 3, unlessrazen otherwiseče specifiedni indrugače theopredeljeno v elementu &lt;body> orali v otherdrugih tagsznačkah.
:# <code>&lt;font size="+1">textbesedilo&lt;/font></code> createsizpiše <font size="+1">textbesedilo, withki sizeje za 1 biggervelikost thanvečje theod standardstandardne.</font> <code>&lt;font size="-1">textbesedilo&lt;/font></code> isje oppositepomanjšano za 1.
:# <code>&lt;font face="Courier">textbesedilo&lt;/font></code> makesizpiše <span style="font-family:Courier;">textbesedilo</span> withs pisavo Courier font.
:Zapis s CSS zaatributom <code>font atribute</code>:
:*<code>&lt;font size="<var>N</var>"></code> corresponds toustreza <code>{font-size: <var>Y</var><var>units</var>}</code> (thespecifikacija HTML specificationne doesdoloča notrazmerja definemed the relationship between sizevelikostjo <var>N</var> andin unit-sizevelikostjo enote <var>Y</var>, nor does itniti definene adoloča unitenote).
:*<code>&lt;font color="red"></code> corresponds toustreza <code>{color: red}</code>
:*<code>&lt;font face="Courier"></code> corresponds toustreza <code>{font-family: "Courier"}</code>
:'''Standardizirano''' v [[#HTML32|HTML 3.2]]; '''nezaželjeno''' v [[#HTML401|HTML 4.0 Transitional]]; '''napačno''' v [[#HTML401|HTML 4.0 Strict]].
 
Vrstica 387 ⟶ 388:
 
{{Anchor|del|del_tag}}{{XMLElement|del|Deleted|...}}
:DeletedIzbrisno textbesedilo. Običajno Typicallyje renderedprikazano as a [[strikethrough]]prečrtano: <del>DeletedIzbrisno textbesedilo.</del>
:'''Standardizirano''' v [[#HTML401|HTML 4.0]].
 
{{Anchor|ins|ins_tag}}{{XMLElement|ins|Inserted|...}}
:InsertedVstavljeno textbesedilo. Običajno Oftense useduporabi toza markoznačitev upbesedila replacementzamenjanega text forz <code>&lt;del></code>'d textbesedilom. TypicallyObičajno je renderedprikazano [[underline]]dpodčrtano: <ins>InsertedVstavljeno textbesedilo.</ins>
:'''Standardizirano''' v [[#HTML401|HTML 4.0]].
 
Vrstica 409 ⟶ 410:
:'''Standardizirano''' v [[#HTML32|HTML 3.2]]; still current.
 
{{Anchor|sub|sub_tag}}{{XMLElement|sub|Subscript|...}} andin {{XMLElement|sup|Superscript|...}}
:MarkOznači <sub>[[subscript]]podpisano</sub> or(angl. ''subscript'') ali <sup>[[superscript]]nadpisano</sup> text(angl. ''superscript'') besedilo. (Zapis s CSS: <code>{vertical-align: sub}</code> orali <code>{vertical-align: super}</code>.)
:BothObadva werepredlagana proposed in thev [[#HTML30|HTML 3.0 Drafts]]; '''Standardiziranostandardizirano''' v [[#HTML32|HTML 3.2]].
 
{{Anchor|wbr|wbr_tag}}{{HTMLElement|wbr|Optional line break|end=no}}